Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 367877

Summary: net-libs/gnet fails because of underlinking
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: QA CC: jer
Priority: Normal Keywords: Inclusion
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 372079    
Attachments: Build log

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2011-05-18 01:23:11 UTC
Created attachment 273783 [details]
Build log

Hello there!

You're getting this bug because the package in Summary failed to build in my tinderbox using the gold link editor from binutils. Before closing the bug as INVALID let me explain why this is still important!

The gold link editor does not support underlinking of shared objects, which is something I have described in my blog post:

http://blog.flameeyes.eu/2010/11/26/it-s-not-all-gold-that-shines-why-underlinking-is-a-bad-thing

Even the basic link editor (ld.bfd) has an option to support this but it is a heck to enable and get passed, so linking with gold is simply quicker.

Fixing underlinking provides optimized --as-needed builds (because the "softer" version no longer need to recover libraries that are underlinked), so it is a Good Thing To Do.

Thank you very much for the attention!
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-09 17:03:00 UTC
You can simply fix this by running eautoreconf so that examples/xmlrpc/Makefile.in is redone.
Comment 2 Pacho Ramos gentoo-dev 2012-03-09 19:56:52 UTC
Didn't know that :-O

Feel free to commit if you have time (I don't know :( )
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-10 05:44:12 UTC
(In reply to comment #2)
> Didn't know that :-O
> 
> Feel free to commit if you have time (I don't know :( )

I don't know what to commit. When I add eautoreconf, some eclass or other complains about elibtoolize having being run already, and I am not really sure how that's supposed to be fixed.
Comment 4 Pacho Ramos gentoo-dev 2012-03-10 08:27:14 UTC
Moving gnome_src_prepare to the last at src_prepare phase will solve it ;)
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-10 18:55:15 UTC
Fixed without a revision bump, then.