configure:2628: checking for suffix of executables │ configure:2635: /var/tmp/portage/sys-devel/automake-1.9.6-r2/work/automake-1.9.6/tests/testSubDir/build/../Mycomp -o conftest -Wl,-O│ configure:2638: $? = 1 │ configure:2655: error: cannot compute suffix of executables: cannot compile and link
Created attachment 139747 [details, diff] automake-1.9.6-reset-test-ldflags.patch Patch against 1.9.6, didn't check if it applies to 1.10, too. Drop a line, if you want me to apply it.
upstream is ok with the changes, but they're wondering what flags you had in play i cant seem to reproduce the failure over here ...
Ah, don't know if bugzilla botched it or /me messed copy&paste. -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=both are my linker flags.
yeah, original comment did not include that info ... the -Wl,--sort-common was the key, thanks
this is fixed in automake-1.10.1
Can you please apply this fix to sys-devel/automake:1.7 ?
At the moment automake-1.9.6-r2 still fails the ccnoco.test using the default LDFLAGS. The patch for 1.10 only updates the test-case itself, see http://www.mail-archive.com/automake-patches@gnu.org/msg01064.html That link has the actual patch for the test-case included. Could you please apply this patch to the 1.9.6 branch as well to reduce the number of known failing test-cases in the tree? ps) sorry that I'm unable to attach the patch, still busy getting that system running gentoo again.
really you should just stop installing older automake versions http://sources.gentoo.org/sys-devel/automake/automake-1.5.ebuild?r1=1.30&r2=1.31 http://sources.gentoo.org/sys-devel/automake/automake-1.6.3.ebuild?r1=1.39&r2=1.40 http://sources.gentoo.org/sys-devel/automake/automake-1.7.9-r1.ebuild?r1=1.18&r2=1.19 http://sources.gentoo.org/sys-devel/automake/automake-1.8.5-r3.ebuild?r1=1.18&r2=1.19 http://sources.gentoo.org/sys-devel/automake/automake-1.9.6-r2.ebuild?r1=1.19&r2=1.20
(In reply to comment #8) Many thanks for fixing that testcase Spanky! ps) I don't recall (or have a clue!) why portage in this case pulled in the older automake versions. Definitely not something I specifically requested, just a dependency for a package that I don't recall.