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 1P3SVF-0005lo-PP for garchives@archives.gentoo.org; Wed, 06 Oct 2010 11:49:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78691E0793; Wed, 6 Oct 2010 11:49:38 +0000 (UTC) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.213.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 4D9E4E0793 for ; Wed, 6 Oct 2010 11:49:38 +0000 (UTC) Received: by yxh35 with SMTP id 35so4761029yxh.40 for ; Wed, 06 Oct 2010 04:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=gYT1M7+Dqouw1nNOEhqWUJtyzLMiPfEn2Tg6g10f0IU=; b=ef/MNLJNRvLqVxS47dz4um/PTtcB+QF3Ft6kBpj/THFwdLzz4DWQjKtFAtN2OuaD6+ Q8C0C/DQeV7BrxSHLJVDeZ3amGI95owLhLq0x1UoWaV91+EgRGVGxfzsa48eM+lh41bI 1ADlGi8m3UhE2BPR4Mxvg/PpnFCYSP0seEb7c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=MngwI6d0JtmTYatNOzrJiw/v/6AiAYIGaVz6qQv+uy5qnDE0zPbx3sVWQeXaMQDJQX tSIgKouutDuUuCEPQgUk57quWtDUY9Pe4tZgpbnl0mEShaqo+y4nzD5Lb00cRuelL3ZG R0CGdEmbZrOY1DoKa8pz0mfZ1X44os6ve4YWM= Received: by 10.101.106.10 with SMTP id i10mr9669189anm.154.1286365777877; Wed, 06 Oct 2010 04:49:37 -0700 (PDT) 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 Received: by 10.220.184.74 with HTTP; Wed, 6 Oct 2010 04:49:17 -0700 (PDT) In-Reply-To: <201010070043.10016.f.r.bissey@massey.ac.nz> References: <1286364856.14223.1@pavilion64> <201010070043.10016.f.r.bissey@massey.ac.nz> From: Jean-Francis Roy Date: Wed, 6 Oct 2010 07:49:17 -0400 Message-ID: Subject: Re: [gentoo-science] sci-mathematics/maxima fails to build To: gentoo-science@lists.gentoo.org Content-Type: multipart/alternative; boundary=001636c5c1953dd9da0491f15fae X-Archives-Salt: 53aa2523-1124-4062-bf56-def65c46ba2f X-Archives-Hash: ce68a528d656e0f257105a1247887db0 --001636c5c1953dd9da0491f15fae Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Oct 6, 2010 at 7:43 AM, Fran=E7ois Bissey = wrote: > > On 10/06/2010 03:01:35 AM, Fran=E7ois Bissey wrote: > > >> On 10/05/2010 10:59:20 PM, Fran=E7ois Bissey wrote: > > >> > > >> Interesting. Invoking > > >> > > >> LDFLAGS=3D"-Wl,-01 -Wl,--sort-common -Wl,--as-needed" emerge -1v > --nodeps > > >> maxima > > >> > > >> I get, > > >> > > >> 32bit chroot: > > >> > > >> ;;; 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" > > >> > > >> ... a very long line ... > > >> > > >> "-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' > > >> > > >> ---------------------- > > >> 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" > > >> > > >> ... a very long line ... > > >> > > >> "-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' > > >> > > >> So in both cases -Wl,-O1 is appended to the LDFLAGS passed to emerge= . > > > > > > 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? > > Francois > > Here is mine : # ecl-config --ldflags && ecl-config --libs -L/usr/lib64/ -lecl -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -ldl -lm -L/usr/lib64/ -lecl -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -ldl -lm --001636c5c1953dd9da0491f15fae Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Wed, Oct 6, 2010 at 7:43 AM, F= ran=E7ois Bissey <f.r.bissey@massey.ac.nz> wrote:
> On 10/06/2010 03:01:35 AM, Fran=E7oi= s Bissey wrote:
> >> On 10/05/2010 10:59:20 PM, Fran=E7ois Bissey wrote:
> >>
> >> Interesting. Invoking
> >>
> >> LDFLAGS=3D"-Wl,-01 -Wl,--sort-common -Wl,--as-needed&quo= t; emerge -1v --nodeps
> >> maxima
> >>
> >> I get,
> >>
> >> 32bit chroot:
> >>
> >> ;;; Note:
> >> ;;; =A0 Invoking external command:
> >> ;;; =A0 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"
> >>
> >> ... a very long line ...
> >>
> >> "-Wl,-01 -Wl,--sort-common -Wl,--as-needed" =A0 -Wl= ,-O1 =A0-lecl =A0-lgmp -lgc
> >> -ldl -lm
> >> usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux= -gnu/bin/ld
> >> : unrecognized option '-01 -Wl'
> >>
> >> ----------------------
> >> amd64:
> >> ;;; Note:
> >> ;;; =A0 Invoking external command:
> >> ;;; =A0 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"
> >>
> >> ... a very long line ...
> >>
> >> "-Wl,-01 -Wl,--sort-common -Wl,--as-needed" =A0 -Wl= ,-O1 =A0-lecl =A0-lgmp -lgc
> >> -lpthread -ldl =A0-lm
> >> ;;;
> >> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-= linux-gnu/b
> >> in/ ld: unrecognized option '-01 -Wl'
> >>
> >> So in both cases -Wl,-O1 is appended to the LDFLAGS passed to= emerge.
> >
> > 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
>
> =A0 -L/usr/lib/ -lecl -Wl,-O1 =A0 -ldl =A0-lm
> =A0 -L/usr/lib/ -lecl -Wl,-O1 =A0 -ldl =A0-lm
>
> and on amd64
>
> =A0 -L/usr/lib64/ -lecl -Wl,-O1 =A0 -lpthread -ldl =A0-lm
> =A0 -L/usr/lib64/ -lecl -Wl,-O1 =A0 -lpthread -ldl =A0-lm
>
I suppose you installed ecls before -Wl,--as-needed became standard.<= br> Now why on my machine neither CFLAGS or LDFLAGS are picked by ecls
and the ecl portion =A0of maxima?

Francois

Here is mine :

# ecl-config = --ldflags && ecl-config --libs
=A0-L/usr/lib64/ -lecl -Wl= ,-O1 -Wl,--sort-common -Wl,--as-needed =A0 -ldl =A0-lm=A0
=A0-L/usr/lib64/ -lecl -Wl,-O1 -Wl,--sort-common -Wl,--as-needed =A0 -= ldl =A0-lm=A0=A0

--001636c5c1953dd9da0491f15fae--