Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369967 - =media-libs/quarter-1.0.0-r1 fails because of underlinking: libQuarter.so: error: undefined reference to 'glEnable'
Summary: =media-libs/quarter-1.0.0-r1 fails because of underlinking: libQuarter.so: er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: underlinking
  Show dependency tree
 
Reported: 2011-06-03 21:35 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2016-08-27 16:28 UTC (History)
1 user (show)

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


Attachments
Build log (quarter-1.0.0-r1:20110603-185259.log,67.46 KB, text/plain)
2011-06-03 21:35 UTC, Diego Elio Pettenò (RETIRED)
Details
info.txt (info.txt,6.32 KB, text/plain)
2015-09-21 11:44 UTC, Toralf Förster
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-03 21:35:16 UTC
Created attachment 275735 [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 Toralf Förster gentoo-dev 2015-09-21 11:44:11 UTC
Created attachment 412424 [details]
info.txt

confirmed
  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named amd64-hardened-unstable_20150918-212347) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

  Portage 2.2.20.1 (python 2.7.10-final-0, hardened/linux/amd64, gcc-4.9.3, glibc-2.21-r1, 4.1.7-hardened x86_64)
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2016-08-27 16:28:43 UTC
Added -lGL depend as: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0e7d3a13581b299286888b7c5080d18906a29c5

Thank you!