Building phobos fails on linux system

Dicebot public at dicebot.lv
Fri Dec 6 11:09:12 PST 2013


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