Building phobos fails on linux system

Nikhil Padmanabhan nikhil.padmanabhan at gmail.com
Fri Dec 6 11:19:37 PST 2013


That fixed it! Thanks!

On Friday, 6 December 2013 at 19:09:26 UTC, Dicebot wrote:
> On Friday, 6 December 2013 at 19:04:08 UTC, Nikhil Padmanabhan 
> wrote:
>> Hi,
>>
>> I've been trying to build phobos on a linux system, and it's 
>> failing during the link step :
>>  /usr/bin/ld: unrecognized option '--no-warn-search-mismatch'
>>
>> Poking at this a little, I see that I'm running a relatively 
>> old version of ld :
>>
>> [np274 at login-0-0 phobos]$ ld --version
>> GNU ld version 2.17.50.0.6-20.el5_8.3 20061020
>>
>> and this flag wasn't available then.
>>     
>> https://sourceware.org/binutils/docs-2.17/ld/Options.html#Options
>>
>> Unfortunately, I can't upgrade this and was wondering if there 
>> was a way to change the linker flags that dmd sends to ld..
>>
>> Thanks in advance!
>> -- Nikhil
>
> I think this flags is set in /etc/dmd.conf (or whenever 
> dmd.conf is located on your system). At least mine has 
> "-L--no-warn-search-mismatch" there.



More information about the Digitalmars-d mailing list