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 failure comes 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 of autoconf, Steve? Just in. I have just recompiled ecls and then maxima on my ~x86 box with no problem whatsoever even so there is flag duplication in maxima: "-Wl,-O1 -Wl,--as-needed" -Wl,-O1 -Wl,--as-needed -lecl -lgmp -lgc -ldl -lm I 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 -r2 Steve? Francois
