Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595262 - sys-fs/fuse-2.9.7: ld.gold: error: symbol __fuse_exited has undefined version
Summary: sys-fs/fuse-2.9.7: ld.gold: error: symbol __fuse_exited has undefined version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
URL: https://blog.flameeyes.eu/2011/06/gol...
Whiteboard:
Keywords:
: 595282 610788 (view as bug list)
Depends on: 595288
Blocks: systemwide-gold
  Show dependency tree
 
Reported: 2016-09-27 09:14 UTC by Marek Szuba
Modified: 2017-03-22 12:27 UTC (History)
5 users (show)

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


Attachments
Switch to ld.bfd if ld.gold is in use (patch,1.80 KB, patch)
2016-10-05 20:45 UTC, Ian Stakenvicius (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba archtester gentoo-dev 2016-09-27 09:14:42 UTC
sys-fs/fuse-2.9.7 fails to emerge when gold is used as the system linker. This is a known - and quite old - problem. The ebuild emerges fine when ld.bfd is used instead.
Comment 1 Mike Gilbert gentoo-dev 2016-09-27 15:05:09 UTC
*** Bug 595282 has been marked as a duplicate of this bug. ***
Comment 3 Nicolas Bock gentoo-dev 2016-09-27 15:22:38 UTC
sys-fs/fuse-2.9.7 links with sys-devel/binutils-2.26.1
Comment 4 Nicolas Bock gentoo-dev 2016-09-27 15:25:26 UTC
Opened stabilization request, Bug 595288.
Comment 5 Ian Stakenvicius (RETIRED) gentoo-dev 2016-10-05 20:45:07 UTC
Created attachment 449278 [details, diff]
Switch to ld.bfd if ld.gold is in use

The following patch is to fuse-2.9.7.ebuild , which forces ld.bfd in place of ld.gold.

Note that its a lot bigger than necessary because libtool is used in fuse to handle linking, and it strips out the '-fuse-ld=bfd' option that the 'tc-ld-disable-gold' function from toolchain-funcs provides.  I looked into patching libtool.eclass instead but it's a little over my head.

As this is the only consumer of the function right now I don't see much point in adding it to an eclass, so I just appended it in the ebuild for now.
Comment 6 Tim Harder gentoo-dev 2017-02-25 07:29:17 UTC
*** Bug 610788 has been marked as a duplicate of this bug. ***
Comment 7 Marek Szuba archtester gentoo-dev 2017-03-22 12:27:42 UTC
gold from sys-devel/binutils-2.26.1 does indeed handle this version of FUSE well. Now that said version of binutils has been widely stabilised, the bug can be closed.