After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 600671 - Debian#554325: fails to link when using binutils-gold
Debian#554325: fails to link when using binutils-gold
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: General
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2009-11-04 12:26 UTC by Simon McVittie
Modified: 2009-11-04 18:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/fs-linking-600671 (336 bytes, patch)
2009-11-04 17:36 UTC, Guillaume Desmottes
none Details | Review

Description Simon McVittie 2009-11-04 12:26:14 UTC
When using 'gold' rather than the normal GNU ld, the default behaviour is --no-add-needed, not --add-needed. This reduces the impact of dependency chains on the final executable, but does mean you need to link against all libraries used.

In the Debian bug report below, it seems Empathy does not explicitly link against Farsight, but uses, for example, fs_element_added_notifier_new() anyway.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554325

http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking
Comment 1 Guillaume Desmottes 2009-11-04 17:36:47 UTC
Created attachment 146931 [details] [review]
http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/fs-linking-600671

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Comment 2 Simon McVittie 2009-11-04 17:50:05 UTC
I haven't tried this with gold, but the patch is good even if it turns out to be insufficient.
Comment 3 Guillaume Desmottes 2009-11-04 18:03:53 UTC
Merged to master and gnome-2.28.
Feel free to re-open if linking still fail with gold.

This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.