Building phobos fails on linux system

Nikhil Padmanabhan nikhil.padmanabhan at gmail.com
Fri Dec 6 11:04:07 PST 2013


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


More information about the Digitalmars-d mailing list