Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379325 - x11-misc/touchfreeze fails because of underlinking
Summary: x11-misc/touchfreeze fails because of underlinking
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: underlinking
  Show dependency tree
 
Reported: 2011-08-15 20:19 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2012-01-30 14:53 UTC (History)
1 user (show)

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


Attachments
Build log (touchfreeze-0.2.5:20110815-192012.log,5.26 KB, text/plain)
2011-08-15 20:19 UTC, Diego Elio Pettenò (RETIRED)
Details
touchfreeze-0.2.5-gold.patch (touchfreeze-0.2.5-gold.patch,226 bytes, patch)
2012-01-19 16:12 UTC, Michael Palimaka (kensington)
Details | Diff
touchfreeze-0.2.5.ebuild.patch (touchfreeze-0.2.5.ebuild.patch,975 bytes, patch)
2012-01-19 16:19 UTC, Michael Palimaka (kensington)
Details | Diff

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-08-15 20:19:26 UTC
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 2011-08-15 20:19:39 UTC
Created attachment 283473 [details]
Build log
Comment 2 Michael Palimaka (kensington) gentoo-dev 2012-01-19 16:12:57 UTC
Created attachment 299313 [details, diff]
touchfreeze-0.2.5-gold.patch

Patch to fix underlinking.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2012-01-19 16:19:48 UTC
Created attachment 299315 [details, diff]
touchfreeze-0.2.5.ebuild.patch

Ebuild patch to bump EAPI and add missing deps. Moved x11-drivers/xf86-input-synaptics to RDEPEND as while it's a recommended package, it is not used during build at all.
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2012-01-30 14:53:26 UTC
Fixed in =x11-misc/touchfreeze-0.2.5-r1. Thanks kensington.