On 10/06/10 - 19:11:41, François Bissey wrote:
I am at work and cannot directly answer the thread from here.There are several issue.1) ecl-config includes LDFLAGS it shouldn't in my opinion. I am not positive that removing "-Wl,-O1..." from ecl-config will solve the problem. It will get rid of the duplication of these flags but I am not 100% sure that the failurecomes from the flags added by ecl-config. 2)the ecls ebuild shouldn't ship the following (unrelated): /usr/lib/Copyright /usr/lib/LGPL 3) There are configuration problems with ecls with some LDFLAGS from what Steve says. It may need some filtering at least on some hardware.4) On my x86 box, ecls picks neither CFLAGS or LDFLAGS while my ~x86 box at work, Steve's and J-F's boxes do. Stab in the dark: what's your version ofautoconf, Steve?
[ebuild R ] sys-devel/autoconf-2.65-r1 USE="-emacs" on both amd64 and chroot.
Just in. I have just recompiled ecls and then maxima on my ~x86 box withno problem whatsoever even so there is flag duplication in maxima:"-Wl,-O1 -Wl,--as-needed" -Wl,-O1 -Wl,--as-needed -lecl -lgmp -lgc -ldl-lmI haven't synced that box in the last two weeks - I fear we may have a subtle eclass breakage. Also this was with 20.1-r2 from the tree, not -r3 from the science overlay so the autotools eclass wasn't involved. Can you try -r2Steve?
maxima-5.20.1-r2 builds fine on amd64 and in the chroot with the default profile ldflags
(LDFLAGS="-Wl,-O1 -Wl,--as-needed"); however LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common" emerge maxima fails everywhere with the same "unrecognized option '--as-needed -Wl'"
Francois
Steve
pgpZFQiS15gjW.pgp
Description: PGP signature
