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

Bug 370017

Summary: x11-misc/xtscal fails because of underlinking
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: embedded, patrick, treecleaner
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-06-04 12:09:04 UTC
Created attachment 275773 [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 Diego Elio Pettenò (RETIRED) gentoo-dev 2014-10-23 08:22:04 UTC
*** Bug 514262 has been marked as a duplicate of this bug. ***
Comment 2 Pacho Ramos gentoo-dev 2015-06-05 08:58:31 UTC
It keeps failing
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-06-05 14:03:53 UTC
The original bug report was for underlinking (which failed with ld.gold)

Are you sure that you are seeing the very same issue? I am pretty sure that it compiled in default profiles as recently as last year.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-06-05 14:50:45 UTC
libXrender was added to libs, seems to build now. Please reopen if you still see this.