DMD 2.063 produces broken binaries

Walter Bright newshound2 at digitalmars.com
Mon Jun 10 14:57:42 PDT 2013


On 6/10/2013 2:56 PM, Walter Bright wrote:
> On 6/10/2013 2:38 PM, nazriel wrote:
>> 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.
>
> linking with -g -debug -unittest will statically link, it will not link with the
> .so

One way to be sure - delete all the libphobos2.so files. All of them, then try 
again.


More information about the Digitalmars-d mailing list