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

Bug 445826

Summary: sys-fs/fuse-2.9.2 fails to build with ld.gold: symbol __fuse_process_cmd has undefined version
Product: Gentoo Linux Reporter: Alexandre Rostovtsev (RETIRED) <tetromino>
Component: [OLD] Core systemAssignee: Gentoo Kernel Miscellaneous <kernel-misc>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dark.knight.ita, esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 269315    
Attachments: build log
emerge --info

Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-12-03 18:46:20 UTC
Created attachment 331334 [details]
build log

# binutils-config --linker ld.gold
 * Setting default linker to ld.gold for x86_64-pc-linux-gnu-2.22 ...     [ ok ]
# emerge -1 fuse
[...]
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=native -O2 -pipe -pthread -lrt -ldl   -version-number 2:9:2 -Wl,--version-script,./fuse_versionscript -Wl,--as-needed -Wl,-O1 -o libfuse.la -rpath /usr/lib64 fuse.lo fuse_kern_chan.lo fuse_loop.lo fuse_loop_mt.lo fuse_lowlevel.lo fuse_mt.lo fuse_opt.lo fuse_session.lo fuse_signals.lo buffer.lo cuse_lowlevel.lo helper.lo subdir.lo iconv.lo mount.lo mount_util.lo  
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/fuse.o .libs/fuse_kern_chan.o .libs/fuse_loop.o .libs/fuse_loop_mt.o .libs/fuse_lowlevel.o .libs/fuse_mt.o .libs/fuse_opt.o .libs/fuse_session.o .libs/fuse_signals.o .libs/buffer.o .libs/cuse_lowlevel.o .libs/helper.o .libs/subdir.o .libs/iconv.o .libs/mount.o .libs/mount_util.o   -lrt -ldl -Wl,--as-needed  -march=native -O2 -pthread -Wl,--version-script -Wl,./fuse_versionscript -Wl,-O1   -pthread -Wl,-soname -Wl,libfuse.so.2 -o .libs/libfuse.so.2.9.2
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld: error: symbol __fuse_process_cmd has undefined version 
collect2: error: ld returned 1 exit status
make[1]: *** [libfuse.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-fs/fuse-2.9.2/work/fuse-2.9.2/lib'
make: *** [all-recursive] Error 1
 * ERROR: sys-fs/fuse-2.9.2 failed (compile phase):
 *   emake failed


Note that fuse-2.9.2 builds successfully when ld.bfd is used as the linker.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-12-03 18:48:22 UTC
Created attachment 331336 [details]
emerge --info
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-01-22 01:13:47 UTC
Looks like this is essentially unfixable in the fuse-2.x series due to glibc bugs combined with fuse upstream's unwillingness to change their ABI: http://blog.flameeyes.eu/2011/06/gold-readiness-obstacle-2-base-versioning

But judging by fuse git, fuse-3.0 should be buildable with gold.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-30 10:03:20 UTC

*** This bug has been marked as a duplicate of bug 402967 ***