GNOME Bugzilla – Bug 600671
Debian#554325: fails to link when using binutils-gold
Last modified: 2009-11-04 18:03:53 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
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(-)
I haven't tried this with gold, but the patch is good even if it turns out to be insufficient.
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.