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 1P3SP7-0004VQ-9o for garchives@archives.gentoo.org; Wed, 06 Oct 2010 11:43:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 950D3E0922; Wed, 6 Oct 2010 11:43:13 +0000 (UTC) Received: from mxi2.callplus.net.nz (mx194.callplus.net.nz [202.180.66.194]) by pigeon.gentoo.org (Postfix) with ESMTP id 18E42E0922 for ; Wed, 6 Oct 2010 11:43:12 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAGABr+q0x8xQFN/2dsb2JhbACUM44PcsB/hUcEikA Received: from 124-197-1-77.callplus.net.nz (HELO vrooom.localnet) ([124.197.1.77]) by ismtp02.callplus.net.nz with ESMTP; 07 Oct 2010 00:43:11 +1300 From: =?iso-8859-1?q?Fran=E7ois_Bissey?= To: gentoo-science@lists.gentoo.org Subject: Re: [gentoo-science] sci-mathematics/maxima fails to build Date: Thu, 7 Oct 2010 00:43:09 +1300 User-Agent: KMail/1.13.5 (Linux/2.6.32-gentoo-r7; KDE/4.4.5; i686; ; ) References: <1286364856.14223.1@pavilion64> In-Reply-To: <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: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201010070043.10016.f.r.bissey@massey.ac.nz> X-Archives-Salt: 9793f90f-8f1e-4d87-a10b-2a60b0277d3b X-Archives-Hash: 93c94b694a8af0c9425c2a4f71d5d6f7 > 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 --nod= eps > >> 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 -l= gc > >> -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 -l= gc > >> -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 > > 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, >=20 > I have for > ecl-config --ldflags && ecl-config --libs >=20 > on 32bit >=20 > -L/usr/lib/ -lecl -Wl,-O1 -ldl -lm > -L/usr/lib/ -lecl -Wl,-O1 -ldl -lm >=20 > and on amd64 >=20 > -L/usr/lib64/ -lecl -Wl,-O1 -lpthread -ldl -lm > -L/usr/lib64/ -lecl -Wl,-O1 -lpthread -ldl -lm >=20 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? =46rancois