huge stack of __dmd_personality_v0 when static libraries are used.
Basile B. via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Wed Jun 1 10:13:55 PDT 2016
Hello, I'm trying to use LDC (via LDMD2) to compile a "runnable"
module.
When no static library is used it works fine but when I try a
complex runnable, I get a huge amount of messages (about 1200!)
related to "__dmd_personality_v0" (and "_d_throwdwarf") even if
all the static libraries used by the runnable have been
themselves recompiled with LDMD2.
system spec:
- Opensuse 13.2 x86_64
- LDC 1.0.0-beta2
Any idea of what's happening ?
example messages:
__________________
/usr/include/dmd/phobos/std/conv.d:(.text._D3std4conv15__T5parseTwTAaZ5parseFNaNfKAaZw+0xbf): référence indéfinie vers « _d_throwdwarf »
/home/basile/Dev/dproj/kheops/bin/kheops.a(conv_9d8_9ff.o):(.eh_frame+0x13): référence indéfinie vers « __dmd_personality_v0 »
/home/basile/Dev/dproj/kheops/bin/kheops.a(properties.o):(.eh_frame+0x13): référence indéfinie vers « __dmd_personality_v0 »
/home/basile/Dev/dproj/kheops/bin/kheops.a(rtti.o):(.eh_frame+0x13): référence indéfinie vers « __dmd_personality_v0 »
/home/basile/Dev/dproj/kheops/bin/kheops.a(serializer.o):(.eh_frame+0x13): référence indéfinie vers « __dmd_personality_v0 »
/home/basile/Dev/dproj/kheops/bin/kheops.a(types.o):(.eh_frame+0x13): référence indéfinie vers « __dmd_personality_v0 »
/home/basile/Dev/dproj/kheops/bin/kheops.a(canvas.o):(.eh_frame+0x13): encore plus de références indéfinies suivent vers « __dmd_personality_v0 »
__________________
It looks like the compilation is OK but that's the linking phase
that fails. However the invalid symbol name comes from LDC.
More information about the digitalmars-d-ldc
mailing list