Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371449 - www-client/surf fails because of underlinking
Summary: www-client/surf fails because of underlinking
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: underlinking
  Show dependency tree
 
Reported: 2011-06-13 18:22 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2011-08-10 17:22 UTC (History)
0 users

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


Attachments
Build log (surf-0.4.1:20110607-203129.log,5.03 KB, text/plain)
2011-06-13 18:22 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2011-06-13 18:22:06 UTC
Created attachment 276935 [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 2011-06-17 16:50:46 UTC
1) How do I get that gold linker installed?
2) Where in the attached build log do I spot the difference between ld and gold?

Thanks.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-10 17:22:28 UTC
I can't find anything wrong with this. Please explain how to reproduce whatever problem you are seeing, and how to actually see the problem, and then perhaps reopen this bug report.