Bug#554693: FTBFS with binutils-gold
Simon Josefsson
simon at josefsson.org
Fri Nov 6 07:44:58 UTC 2009
Peter Fritzsche <peter.fritzsche at gmx.de> writes:
> Source: gnutls26
> Version: 2.8.4-1
> Severity: minor
> User: peter.fritzsche at 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 cc -std=gnu99 -g -O2 -D_REENTRANT -g -Wall -O2 -o gnutls-serv serv.o common.o ../lib/libgnutls.la ../libextra/libgnutls-extra.la libcmd-serv.la ../gl/libgnu.la
> libtool: link: cc -std=gnu99 -g -O2 -D_REENTRANT -g -Wall -O2 -o .libs/gnutls-serv serv.o common.o ../lib/.libs/libgnutls.so ../libextra/.libs/libgnutls-extra.so ./.libs/libcmd-serv.a ../gl/.libs/libgnu.a
> /usr/bin/ld: serv.o: in function main:serv.c:822: error: undefined reference to 'gcry_control'
> /usr/bin/ld: serv.o: in function main:serv.c:855: error: undefined reference to 'gcry_control'
> collect2: ld returned 1 exit status
> make[4]: *** [gnutls-serv] Error 1
Thanks, I'm working on fixing this upstream for 2.10.x. I'm not sure it
is worth the effort to back-port to 2.8.x, thoughts?
/Simon
More information about the Pkg-gnutls-maint
mailing list