Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367589 - media-sound/lash fails because of underlinking
Summary: media-sound/lash 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: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
: 514748 (view as bug list)
Depends on:
Blocks: underlinking
  Show dependency tree
 
Reported: 2011-05-16 21:35 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2014-07-09 18:26 UTC (History)
1 user (show)

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


Attachments
Build log (lash-0.5.4-r1:20110516-211141.log,28.39 KB, text/plain)
2011-05-16 21:35 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-05-16 21:35:24 UTC
Created attachment 273503 [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 Samuli Suominen (RETIRED) gentoo-dev 2014-07-09 18:11:32 UTC
*** Bug 514748 has been marked as a duplicate of this bug. ***
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2014-07-09 18:26:02 UTC
+  09 Jul 2014; Samuli Suominen <ssuominen@gentoo.org>
+  +files/lash-0.5.4-strcmp.patch, +files/lash-0.5.4-underlinking.patch,
+  lash-0.5.4-r2.ebuild:
+  Fix underlinking bugs #367589 (missing -luuid) and #514748 (missing -lm).
+  Thanks to Diego Elio Pettenò, Christian Compagnon and Ted Tanberry. Fix
+  missing include of string.h for strcmp() while at it.