Gentoo Archives: gentoo-science

From: Steven Trogdon <strogdon@×××××.edu>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] ecls/maxima summarry
Date: Thu, 07 Oct 2010 02:04:13
Message-Id: 1286413510.13296.4@ledaig
In Reply to: [gentoo-science] ecls/maxima summarry by "François Bissey"
1 On 10/06/10 - 19:11:41, François Bissey wrote:
2 > I am at work and cannot directly answer the thread from here.
3 >
4 > There are several issue.
5 > 1) ecl-config includes LDFLAGS it shouldn't in my opinion. I am not
6 > positive
7 > that removing "-Wl,-O1..." from ecl-config will solve the problem. It
8 > will get
9 > rid of the duplication of these flags but I am not 100% sure that the
10 > failure
11 > comes from the flags added by ecl-config.
12 >
13 > 2)the ecls ebuild shouldn't ship the following (unrelated):
14 > /usr/lib/Copyright
15 > /usr/lib/LGPL
16 >
17 > 3) There are configuration problems with ecls with some LDFLAGS from
18 > what Steve says. It may need some filtering at least on some hardware.
19 >
20 > 4) On my x86 box, ecls picks neither CFLAGS or LDFLAGS while my ~x86
21 > box at
22 > work, Steve's and J-F's boxes do. Stab in the dark: what's your
23 > version of
24 > autoconf, Steve?
25
26 [ebuild R ] sys-devel/autoconf-2.65-r1 USE="-emacs"
27 on both amd64 and chroot.
28
29 >
30 > Just in. I have just recompiled ecls and then maxima on my ~x86 box
31 > with
32 > no problem whatsoever even so there is flag duplication in maxima:
33 > "-Wl,-O1 -Wl,--as-needed" -Wl,-O1 -Wl,--as-needed -lecl -lgmp
34 > -lgc -ldl
35 > -lm
36 >
37 > I haven't synced that box in the last two weeks - I fear we may have
38 > a subtle
39 > eclass breakage. Also this was with 20.1-r2 from the tree, not -r3
40 > from the
41 > science overlay so the autotools eclass wasn't involved. Can you try
42 > -r2
43 > Steve?
44
45 maxima-5.20.1-r2 builds fine on amd64 and in the chroot with the
46 default profile ldflags
47 (LDFLAGS="-Wl,-O1 -Wl,--as-needed"); however
48
49 LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common" emerge maxima
50
51 fails everywhere with the same "unrecognized option '--as-needed -Wl'"
52
53 >
54 > Francois
55 >
56
57 Steve

Replies

Subject Author
Re: [gentoo-science] ecls/maxima summarry "François Bissey" <f.r.bissey@×××××××××.nz>