Date: Sat, 28 May 2005 14:32:18 +0200 (CEST) From: Gerald Pfeifer <gerald@pfeifer.com> To: ports@freebsd.org Cc: Loren James Rittle <rittle@labs.mot.com>, Alexander Kabaev <ak03@gte.com> Subject: GCC and /usr/bin/ld: unrecognized option '-Wl,-rpath Message-ID: <Pine.BSF.4.62.0505281419340.4268@acrux.dbai.tuwien.ac.at> In-Reply-To: <20050527043911.GA62816@xor.obsecurity.org> References: <20050527043911.GA62816@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Now that upstream GCC (4.1 development) finally is able to build again on FreeBSD after fixes to account for limited /bin/sh and everything works fine on FreeBSD 4.x, I've seen the following breakage on 5.4. /usr/bin/ld: unrecognized option '-Wl,-rpath Any ideas what might be broken now?? > creating libgij.la > (cd .libs && rm -f libgij.la && ln -s ../libgij.la libgij.la) > /bin/sh ./libtool --tag=GCJ --mode=link /work/a/ports/lang/gcc41/work/build/./gcc/gcj -B/work/a/ports/lang/gcc41/work/build/./gcc/ -B/usr/local/i386-portbld-freebsd5.4/bin/ -B/usr/local/i386-portbld-freebsd5.4/lib/ -isystem /usr/local/i386-portbld-freebsd5.4/include -isystem /usr/local/i386-portbld-freebsd5.4/sys-include -L/work/a/ports/lang/gcc41/work/build/i386-portbld-freebsd5.4/libjava -ffloat-store -fno-omit-frame-pointer -g -O2 -o jv-convert --main=gnu.gcj.convert.Convert -rpath /usr/local/lib -shared-libgcc -pthread -L/work/a/ports/lang/gcc41/work/build/i386-portbld-freebsd5.4/libjava/.libs libgcj.la > /work/a/ports/lang/gcc41/work/build/./gcc/gcj -B/work/a/ports/lang/gcc41/work/build/./gcc/ -B/usr/local/i386-portbld-freebsd5.4/bin/ -B/usr/local/i386-portbld-freebsd5.4/lib/ -isystem /usr/local/i386-portbld-freebsd5.4/include -isystem /usr/local/i386-portbld-freebsd5.4/sys-include -ffloat-store -fno-omit-frame-pointer -g -O2 -o jv-convert --main=gnu.gcj.convert.Convert -shared-libgcc -pthread -L/work/a/ports/lang/gcc41/work/build/i386-portbld-freebsd5.4/libjava -L/work/a/ports/lang/gcc41/work/build/i386-portbld-freebsd5.4/libjava/.libs ./.libs/libgcj.a -L/work/a/ports/lang/gcc41/work/build/i386-portbld-freebsd5.4/libstdc++-v3/src -L/work/a/ports/lang/gcc41/work/build/i386-portbld-freebsd5.4/libstdc++-v3/src/.libs -lz -L/work/a/ports/lang/gcc41/work/build/./gcc -L/usr/local/lib -lgcc -lgcc -Wl,--rpath -Wl,/usr/local/lib > /usr/bin/ld: unrecognized option '-Wl,-rpath' > /usr/bin/ld: use the --help option for usage information > collect2: ld returned 1 exit status > gmake[3]: *** [jv-convert] Error 1 > gmake[3]: Leaving directory `/work/a/ports/lang/gcc41/work/build/i386-portbld-freebsd5.4/libjava' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory `/work/a/ports/lang/gcc41/work/build/i386-portbld-freebsd5.4/libjava' > gmake[1]: *** [all-target-libjava] Error 2 Gerald
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.62.0505281419340.4268>