From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1P3bAv-0002j3-6R for garchives@archives.gentoo.org; Wed, 06 Oct 2010 21:05:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E794E0B29 for ; Wed, 6 Oct 2010 21:05:20 +0000 (UTC) Received: from mx1.d.umn.edu (mx1.d.umn.edu [131.212.109.15]) by pigeon.gentoo.org (Postfix) with ESMTP id C1C10E0779 for ; Wed, 6 Oct 2010 20:48:18 +0000 (UTC) Received: from mxr1.d.umn.edu (mxr1.d.umn.edu [131.212.109.92]) by mx1.d.umn.edu (8.13.8/8.13.8) with ESMTP id o96KjsCD016997 for ; Wed, 6 Oct 2010 15:45:54 -0500 (CDT) Received: from mxv2.d.umn.edu (mxv2.d.umn.edu [131.212.109.136]) by mxr1.d.umn.edu (8.13.8/8.13.8) with ESMTP id o96Kjr1k021067 for ; Wed, 6 Oct 2010 15:45:53 -0500 (CDT) Received: from smtp.d.umn.edu (mx3.d.umn.edu [131.212.109.40]) by mxv2.d.umn.edu (8.13.8/8.13.8) with ESMTP id o96Kjq9a008745 for ; Wed, 6 Oct 2010 15:45:53 -0500 (CDT) Received: from ledaig (ledaig.d.umn.edu [131.212.64.12]) (authenticated bits=0) by smtp.d.umn.edu (8.13.8/8.13.8) with ESMTP id o96KjMcc006760 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 6 Oct 2010 15:45:22 -0500 (CDT) Date: Wed, 06 Oct 2010 15:45:22 -0500 From: Steven Trogdon Subject: Re: [gentoo-science] sci-mathematics/maxima fails to build To: gentoo-science@lists.gentoo.org In-Reply-To: <201010070043.10016.f.r.bissey@massey.ac.nz> (from f.r.bissey@massey.ac.nz on Wed Oct 6 06:43:09 2010) X-Mailer: Balsa 2.4.8 Message-Id: <1286397922.13296.3@ledaig> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=PGP-SHA1; boundary="=-cyuKrUEnPxl1/saFaE75" X-Virus-Scanned: clamav-milter 0.96.3 at mxv2.d.umn.edu X-Virus-Status: Clean X-Archives-Salt: c777e5cc-6231-41e1-a3f7-0244e3ad8a95 X-Archives-Hash: e7a8c7660530ff63e300d9b0d28812fb --=-cyuKrUEnPxl1/saFaE75 Content-Type: text/plain; charset=ISO-8859-1; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 10/06/10 - 06:43:09, Fran=E7ois Bissey wrote: > > > Actually, what does: > > > ecl-config --libs > > > ecl-config --ldflags > > > show? For you and Jean-Francis? > > > I suspect that the bad argument comes from there. > > > > > > Francois > > > > Fran=E7ois, > > > > I have for > > ecl-config --ldflags && ecl-config --libs > > > > on 32bit > > > > -L/usr/lib/ -lecl -Wl,-O1 -ldl -lm > > -L/usr/lib/ -lecl -Wl,-O1 -ldl -lm > > > > and on amd64 > > > > -L/usr/lib64/ -lecl -Wl,-O1 -lpthread -ldl -lm > > -L/usr/lib64/ -lecl -Wl,-O1 -lpthread -ldl -lm > > > I suppose you installed ecls before -Wl,--as-needed became standard. > Now why on my machine neither CFLAGS or LDFLAGS are picked by ecls > and the ecl portion of maxima? >=20 > Francois >=20 Well perhaps the ecls issue is resolved here. I rebuilt both ecls and =20 maxima to use the default profile ldflags (LDFLAGS=3D"-Wl,-O1 =20 -Wl,--as-needed") and ecl-config --ldflags gives -L/usr/lib64/ -lecl -Wl,-O1 -Wl,--as-needed -lpthread -ldl -lm ecls can now be configured and built with something like LDFLAGS=3D"-Wl,-O1 -Wl,--as-needed -Wl,--sort-common" emerge -1v --nodeps =20 ecls However, no luck with maxima. The above with ecls replaced with maxima =20 now gives =20 \"/var/tmp/portage/sci-mathematics/maxima-5.20.1-r3/work/maxima-5.20.1/src/= binary-ecl/init-cl.o\" =20 \"-Wl,-O1 -Wl,--as-needed -Wl,--sort-common\" -Wl,-O1 =20 -Wl,--as-needed -lecl -lgmp -lgc -lpthread -ldl -lm ") ;;; =20 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/= ld: =20 unrecognized option '--as-needed -Wl' Steve --=-cyuKrUEnPxl1/saFaE75 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAkys3+IACgkQSh5h5U6haiGMoQCfQSf9syy23Wh2byjGW0EIoAzk w5YAoIa0pNok+oIVhdwUO2GLb3joYLUI =gutt -----END PGP SIGNATURE----- --=-cyuKrUEnPxl1/saFaE75--