Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368873 - x11-misc/xoo fails because of underlinking
Summary: x11-misc/xoo fails because of underlinking
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal QA
Assignee: GPE Desktop project
URL:
Whiteboard: Pending removal: 2016-02-03
Keywords: PMASKED
Depends on:
Blocks: underlinking
  Show dependency tree
 
Reported: 2011-05-27 11:31 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2016-02-20 17:28 UTC (History)
1 user (show)

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


Attachments
Build log (xoo-0.7:20110527-110512.log,9.35 KB, text/plain)
2011-05-27 11:31 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-27 11:31:40 UTC
Created attachment 274769 [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 Pacho Ramos gentoo-dev 2015-10-26 15:25:06 UTC
Also fails with:
usr/include/glib-2.0/glib/gmessages.h:29:2: error: #error "Only <glib.h> can be included directly."
 #error "Only <glib.h> can be included directly."
Comment 2 Pacho Ramos gentoo-dev 2016-02-20 17:28:34 UTC
removed