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

Bug 367701

Summary: media-video/qx11grab fails because of underlinking
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
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-17 09:39:50 UTC
Created attachment 273637 [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 Davide Pesavento (RETIRED) gentoo-dev 2011-12-31 13:20:13 UTC
Does 0.3.1 still fail?
Comment 2 Michael Palimaka (kensington) gentoo-dev 2012-01-21 19:04:45 UTC
(In reply to comment #1)
> Does 0.3.1 still fail?
0.3.1 compiles fine for me using gold from binutils-2.21.1-r1.
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2012-01-21 19:07:41 UTC
Thanks kensington.