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 1P3LAA-0004OH-HM for garchives@archives.gentoo.org; Wed, 06 Oct 2010 03:59:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E0B59E0929; Wed, 6 Oct 2010 03:59:22 +0000 (UTC) Received: from mxi2.callplus.net.nz (mx194.callplus.net.nz [202.180.66.194]) by pigeon.gentoo.org (Postfix) with ESMTP id 6043EE0929 for ; Wed, 6 Oct 2010 03:59:22 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag0GAO2Qq0x8xQFN/2dsb2JhbACUMo4McsNohUcEikA Received: from 124-197-1-77.callplus.net.nz (HELO vrooom.localnet) ([124.197.1.77]) by ismtp02.callplus.net.nz with ESMTP; 06 Oct 2010 16:59:21 +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: Wed, 6 Oct 2010 16:59:20 +1300 User-Agent: KMail/1.13.5 (Linux/2.6.32-gentoo-r7; KDE/4.4.5; i686; ; ) References: <1286324661.21123.5@ledaig> <201010061608.59484.f.r.bissey@massey.ac.nz> <201010061625.47649.f.r.bissey@massey.ac.nz> In-Reply-To: <201010061625.47649.f.r.bissey@massey.ac.nz> 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="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201010061659.20751.f.r.bissey@massey.ac.nz> X-Archives-Salt: 5890b930-5973-4072-bb67-7b5268b15c68 X-Archives-Hash: db9cf5d1d6a1840ecce183332304518a > Hey, what do I know! > > On x86 maxima doesn't respect LDFLAGS! And I remember talking with David > Kirby on sage-devel that actually ecls doesn't either. > But from the logs from JF, on amd64 the LDFLAGS are duplicated and the > problem is that in the failing call one of them is still in double quotes > which I think is the problem. Just a bit more details on this. From JF's log: ;;; 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/src/binary-ecl/init-cl.fas" - L"/usr/lib64/" "/var/tmp/portage/sci-mathematics/maxima-5.20.1- r3/temp/ECLINITcTeFmu.o" "/var/tmp/portage/sci-mathematics/maxima-5.20.1- r3/work/maxima-5.20.1/src/binary-ecl/init-cl.o" -shared -Wl,-O1 -Wl,--sort- common -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -lecl -lgmp -lgc -ldl -lm ;;; but the failing call ends with: "/var/tmp/portage/sci-mathematics/maxima-5.20.1- r3/work/maxima-5.20.1/src/binary-ecl/init-cl.o" "-Wl,-O1 -Wl,--sort-common - Wl,--as-needed" -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -lecl -lgmp -lgc -ldl -lm /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: unrecognized option '--sort-common -Wl' ------------------- in contrast on my x86 system: ;;; 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/src/binary-ecl/init-cl.fas" - L"/usr/lib/" "/var/tmp/portage/sci-mathematics/maxima-5.20.1- r3/temp/ECLINITL4BVJx.o" "/var/tmp/portage/sci-mathematics/maxima-5.20.1- r3/work/maxima-5.20.1/src/binary-ecl/init-cl.o" -shared -lecl -lgmp -lgc -ldl -lm No LDFLAGS in the call where JF's build fail either. Francois