Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 595262

Summary: sys-fs/fuse-2.9.7: ld.gold: error: symbol __fuse_exited has undefined version
Product: Gentoo Linux Reporter: Marek Szuba <marecki>
Component: Current packagesAssignee: Tim Harder <radhermit>
Status: RESOLVED FIXED    
Severity: normal CC: bug, de.techno, esigra, nicolasbock, stijn+gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://blog.flameeyes.eu/2011/06/gold-readiness-obstacle-2-base-versioning
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 595288    
Bug Blocks: 269315    
Attachments: Switch to ld.bfd if ld.gold is in use

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.