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 1P3SIj-0003Sb-RF for garchives@archives.gentoo.org; Wed, 06 Oct 2010 11:36:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A53EE06B7; Wed, 6 Oct 2010 11:36:31 +0000 (UTC) Received: from mx1.d.umn.edu (mx1.d.umn.edu [131.212.109.15]) by pigeon.gentoo.org (Postfix) with ESMTP id E0702E06B7 for ; Wed, 6 Oct 2010 11:36:30 +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 o96BYk7I024129 for ; Wed, 6 Oct 2010 06:34:46 -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 o96BYkTa012168 for ; Wed, 6 Oct 2010 06:34:46 -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 o96BYkqD025676 for ; Wed, 6 Oct 2010 06:34:46 -0500 (CDT) Received: from pavilion64 (71-36-215-112.dlth.qwest.net [71.36.215.112]) (authenticated bits=0) by smtp.d.umn.edu (8.13.8/8.13.8) with ESMTP id o96BYGF0020908 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 6 Oct 2010 06:34:17 -0500 (CDT) Date: Wed, 06 Oct 2010 06:33:53 -0500 From: Steven Trogdon Subject: Re: [gentoo-science] sci-mathematics/maxima fails to build To: gentoo-science@lists.gentoo.org In-Reply-To: <201010062101.35203.f.r.bissey@massey.ac.nz> (from f.r.bissey@massey.ac.nz on Wed Oct 6 03:01:35 2010) X-Mailer: Balsa 2.4.8 Message-Id: <1286364856.14223.1@pavilion64> 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="=-821P9fx083sxPHfacQpU" X-Virus-Scanned: clamav-milter 0.96.3 at mxv2.d.umn.edu X-Virus-Status: Clean X-Archives-Salt: 23a6ffc8-0fdd-45b9-8094-cb74ce3895c9 X-Archives-Hash: be62550cbee7ab4eb1f85058237cee50 --=-821P9fx083sxPHfacQpU Content-Type: text/plain; charset=ISO-8859-1; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 10/06/2010 03:01:35 AM, Fran=E7ois Bissey wrote: >> On 10/05/2010 10:59:20 PM, Fran=E7ois Bissey wrote: >>=20 >> Interesting. Invoking >>=20 >> LDFLAGS=3D"-Wl,-01 -Wl,--sort-common -Wl,--as-needed" emerge -1v --nodep= s >> maxima >>=20 >> I get, >>=20 >> 32bit chroot: >>=20 >> ;;; Note: >> ;;; Invoking external command: >> ;;; i686-pc-linux-gnu-gcc -o >> "/var/tmp/portage/sci-mathematics/maxima-5.20.1-r3/work/maxima-5.20.1/sr= c/b >> inary-ecl/maxima" >>=20 >> ... a very long line ... >>=20 >> "-Wl,-01 -Wl,--sort-common -Wl,--as-needed" -Wl,-O1 -lecl -lgmp -lgc >> -ldl -lm >> usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld= : >> unrecognized option '-01 -Wl' >>=20 >> ---------------------- >> amd64: >> ;;; Note: >> ;;; Invoking external command: >> ;;; x86_64-pc-linux-gnu-gcc -o >> "/var/tmp/portage/sci-mathematics/maxima-5.20.1-r3/work/maxima-5.20.1/sr= c/b >> inary-ecl/maxima" >>=20 >> ... a very long line ... >>=20 >> "-Wl,-01 -Wl,--sort-common -Wl,--as-needed" -Wl,-O1 -lecl -lgmp -lgc >> -lpthread -ldl -lm >> ;;; >> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/b= in/ >> ld: unrecognized option '-01 -Wl' >>=20 >> So in both cases -Wl,-O1 is appended to the LDFLAGS passed to emerge. >>=20 >=20 > Actually, what does: > ecl-config --libs > ecl-config --ldflags > show? For you and Jean-Francis? > I suspect that the bad argument comes from there. >=20 > Francois >=20 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 Steve --=-821P9fx083sxPHfacQpU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAkysXrcACgkQSh5h5U6haiFRbQCfV/hhhpysQ7mvgfckWWGSP8Hc I+4An3QnFDPSEmi3rRYRFa5uynRZnMQ4 =k6i3 -----END PGP SIGNATURE----- --=-821P9fx083sxPHfacQpU--