DMD 2.063 produces broken binaries
nazriel
spam at dzfl.pl
Mon Jun 10 14:38:44 PDT 2013
On Monday, 10 June 2013 at 21:33:20 UTC, Walter Bright wrote:
> On 6/10/2013 2:28 PM, nazriel wrote:
>>> program was compiled with dmd (2.063) using the following
>>> flags: -g -debug
>>> -unittest
>>
>> I suspected it may be the problem with shared libraries.
>> Can you try compiling that hello world with static libphobos?
>> Or can you attach your segfaulting binary?
>
> Statically linking with libphobos2.a is the default.
Brandon's back-trace mentions libphobos2.so.0.63
OP's backtrace shows that SIGSEGV occurs in _d_dso_registry()
My guess would be to check that first.
More information about the Digitalmars-d
mailing list