Bug#556333: FTBFS with binutils-gold
Source: rvm
Version: 1.16+debian-4
Severity: minor
User: peter.fritzsche@gmx.de
Usertags: no-add-needed
Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.
More informations can be found at
http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -o rvmutl rvmutl-rvmutl.o librvmlwp.la
gcc -g -O2 -Wall -o .libs/rvmutl rvmutl-rvmutl.o ./.libs/librvmlwp.so
/usr/bin/ld: rvmutl-rvmutl.o: in function find_tail:rvmutl.c:4234: error: undefined reference to 'ObtainWriteLock'
/usr/bin/ld: rvmutl-rvmutl.o: in function find_tail:rvmutl.c:4234: error: undefined reference to 'ReleaseWriteLock'
/usr/bin/ld: rvmutl-rvmutl.o: in function do_open_log:../include/rvm_lwp.h:74: error: undefined reference to 'LWP_CurrentProcess'
/usr/bin/ld: rvmutl-rvmutl.o: in function do_recover:../include/rvm_lwp.h:74: error: undefined reference to 'LWP_CurrentProcess'
collect2: ld returned 1 exit status
make[3]: *** [rvmutl] Error 1
Reply to: