DMD 2.063 produces broken binaries

John Colvin john.loughran.colvin at gmail.com
Mon Jun 10 01:38:44 PDT 2013


On Monday, 10 June 2013 at 06:41:39 UTC, Jerry wrote:
> "Andrei Alexandrescu" <SeeWebsiteForEmail at erdani.org> writes:
>
>> On Sunday, 9 June 2013 at 17:23:16 UTC, Andrei Alexandrescu 
>> wrote:
>>> On Sunday, 9 June 2013 at 17:22:36 UTC, Andrei Alexandrescu 
>>> wrote:
>>>> On Wednesday, 5 June 2013 at 02:30:37 UTC, Jerry wrote:
>>>>> jlquinn at wyvern:~/re/test$ 
>>>>> /home/jlquinn/dmd2/linux/bin64/dmd -v -w junk.d
>>>>> binary    /home/jlquinn/dmd2/linux/bin64/dmd
>>>>> version   v2.063
>>>> [snip]
>>>>
>>>> I've done a clean room attempt at reproducing the bug, was 
>>>> unable
>>>> to. Jerry, anything you can think of that's unusual with 
>>>> your installation?
>>>
>>> Forgot to mention - details at
>>> http://d.puremagic.com/issues/show_bug.cgi?id=10274
>>
>> One thought that comes to mind - you may want to double-check 
>> LD_LIBRARY_PATH
>> to make sure there's no stray reference to an old libphobos.a 
>> dir.
>
> LD_LIBRARY_PATH is empty.  I've now reproduced this segfault on 
> a Debian
> testing machine as well as my Ubuntu one.  I'm pretty confused.
>
> Jerry

I can't reproduce this anywhere. What's the output for these:

gcc --version
ldd --version

Also, check for any stray installations or config files:
find /usr /etc /opt /home/$(whoami) -name \*phobos\* -o -name 
\*druntime\* -o -name dmd\* 2>/dev/null

Be warned that will take a while (a few minutes on my machine).
Also, and I know this sounds stupidly simple, but have to tried 
re-downloading?


More information about the Digitalmars-d mailing list