From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24288 invoked by alias); 8 Dec 2004 23:45:57 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 24262 invoked from network); 8 Dec 2004 23:45:50 -0000 Received: from unknown (HELO mail.mcneil.com) (24.199.45.54) by sourceware.org with SMTP; 8 Dec 2004 23:45:50 -0000 Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id C8AA4F1A26 for ; Wed, 8 Dec 2004 15:45:49 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11268-09 for ; Wed, 8 Dec 2004 15:45:48 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 267F1F1997 for ; Wed, 8 Dec 2004 15:45:48 -0800 (PST) Subject: --with-libiconv-prefix messes up libjava From: Sean McNeil To: gcc@gcc.gnu.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-y9XMMPkS534F9A26cl+q" Date: Wed, 08 Dec 2004 23:45:00 -0000 Message-Id: <1102549548.29494.18.camel@server.mcneil.com> Mime-Version: 1.0 X-SW-Source: 2004-12/txt/msg00313.txt.bz2 --=-y9XMMPkS534F9A26cl+q Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 557 I configure my build with configure --disable-nls --with-system-zlib --with-libiconv-prefix=3D/usr/local when it does the libjava stuff, it ends up making a libgcj.spec that is inappropriate: *lib: -lgcj -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -lpthread -lz %(libgcc) %(liborig) This ends up breaking collect2 on a final link of the library because it passes in -Wl,-rpath -Wl,/usr/local/lib instead of just -rpath /usr/local/lib. I am going to attempt to rebuild using --disable-rpath to get around this problem. Cheers, Sean --=-y9XMMPkS534F9A26cl+q Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part Content-length: 187 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBt5IryQsGN30uGE4RAvZJAJ9clqTF9HqsezUhxwNcnznkHeWjBgCeNj3h 2XzNpPlFjeqFrOM2Q0kHP3k= =gGTG -----END PGP SIGNATURE----- --=-y9XMMPkS534F9A26cl+q--