From owner-freebsd-ports@FreeBSD.ORG Sat May 28 12:32:17 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF12016A41C; Sat, 28 May 2005 12:32:17 +0000 (GMT) (envelope-from gerald@pfeifer.com) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E0F343D49; Sat, 28 May 2005 12:32:17 +0000 (GMT) (envelope-from gerald@pfeifer.com) Received: from [128.131.111.60] (acrux [128.131.111.60]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id 0D9A313799; Sat, 28 May 2005 14:32:15 +0200 (CEST) Date: Sat, 28 May 2005 14:32:18 +0200 (CEST) From: Gerald Pfeifer To: ports@freebsd.org In-Reply-To: <20050527043911.GA62816@xor.obsecurity.org> Message-ID: References: <20050527043911.GA62816@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Loren James Rittle , Alexander Kabaev Subject: GCC and /usr/bin/ld: unrecognized option '-Wl,-rpath X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2005 12:32:18 -0000 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