GCC and /usr/bin/ld: unrecognized option '-Wl,-rpath

Loren James Rittle rittle at latour.waar.labs.mot.com
Tue May 31 14:43:39 PDT 2005


>> [...] I've seen the following breakage on 5.4.
>> /usr/bin/ld: unrecognized option '-Wl,-rpath
>> Any ideas what might be broken now??

> No ideas off-hand.  [...]  I'm bootstrapping today.  Will also
> bootstrap with system ld, if I fail to see the problem.

Hi Gerald, I don't see this issue on 5.4-STABLE (circa May 12) with
today's FSF mainline sources against either (FSF) GNU ld version 2.16
20050510 or the system ld.  FYI, I always use this general configure line:

[gcc-src]/configure --with-gnu-as --with-gnu-ld \
  --with-as=/usr/bin/as --with-ld=/usr/bin/ld

(In my typical bootstrap case, I point to another location for as and ld.)

Regards,
Loren


More information about the freebsd-ports mailing list