Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203914 - sys-devel/automake-1.9.6-r2 and 1.10 both fail ccnoco.test because of custom LDFLAGS
Summary: sys-devel/automake-1.9.6-r2 and 1.10 both fail ccnoco.test because of custom ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://lists.gnu.org/archive/html/aut...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-31 17:56 UTC by Carsten Lohrke (RETIRED)
Modified: 2009-06-02 06:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
automake-1.9.6-reset-test-ldflags.patch (automake-1.9.6-reset-test-ldflags.patch,329 bytes, patch)
2007-12-31 17:59 UTC, Carsten Lohrke (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2007-12-31 17:56:53 UTC
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
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2007-12-31 17:59:05 UTC
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.
Comment 2 SpanKY gentoo-dev 2008-01-02 20:30:31 UTC
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 ...
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-01-02 20:46:11 UTC
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.
Comment 4 SpanKY gentoo-dev 2008-01-02 21:51:01 UTC
yeah, original comment did not include that info ... the -Wl,--sort-common was the key, thanks
Comment 5 SpanKY gentoo-dev 2008-04-13 23:20:51 UTC
this is fixed in automake-1.10.1
Comment 6 Olivier Huber 2008-08-17 23:45:58 UTC
Can you please apply this fix to sys-devel/automake:1.7 ?
Comment 7 moesasji 2009-03-30 08:50:04 UTC
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. 
Comment 9 moesasji 2009-06-02 06:22:15 UTC
(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.