[Pkg-alsa-devel] Bug#709900: alsa-lib: FTBFS with binutils 2.23.2 from experimental: Undefined reference to symbol 'sin'

Daniel Schepler dschepler at gmail.com
Sun May 26 15:16:02 UTC 2013


Source: alsa-lib
Version: 1.0.27-4
Severity: important

>From my pbuilder build log, set up with binutils 2.23.2-2 installed:

...
Making check in test
make[2]: Entering directory `/tmp/buildd/alsa-lib-1.0.27/test'
Making check in .
make[3]: Entering directory `/tmp/buildd/alsa-lib-1.0.27/test'
make  control pcm pcm_min latency seq playmidi1 timer rawmidi midiloop oldapi queue_timer namehint client_event_filter chmap audio_time
make[4]: Entering directory `/tmp/buildd/alsa-lib-1.0.27/test'
gcc -DHAVE_CONFIG_H -I. -I../include -I../include  -D_FORTIFY_SOURCE=2 -Wall -pipe -g -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_GNU_SOURCE -c control.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc -Wall -pipe -g -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_GNU_SOURCE  -Wl,-z,relro -o control control.o ../src/libasound.la 
libtool: link: gcc -Wall -pipe -g -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_GNU_SOURCE -Wl,-z -Wl,relro -o .libs/control control.o  ../src/.libs/libasound.so
gcc -DHAVE_CONFIG_H -I. -I../include -I../include  -D_FORTIFY_SOURCE=2 -Wall -pipe -g -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_GNU_SOURCE -c pcm.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc -Wall -pipe -g -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_GNU_SOURCE  -Wl,-z,relro -o pcm pcm.o ../src/libasound.la 
libtool: link: gcc -Wall -pipe -g -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_GNU_SOURCE -Wl,-z -Wl,relro -o .libs/pcm pcm.o  ../src/.libs/libasound.so
/usr/bin/ld: pcm.o: undefined reference to symbol 'sin@@GLIBC_2.2.5'
/usr/bin/ld: note: 'sin@@GLIBC_2.2.5' is defined in DSO /lib/x86_64-linux-gnu/libm.so.6 so try adding it to the linker command line
/lib/x86_64-linux-gnu/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[4]: *** [pcm] Error 1
make[4]: Leaving directory `/tmp/buildd/alsa-lib-1.0.27/test'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/tmp/buildd/alsa-lib-1.0.27/test'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/alsa-lib-1.0.27/test'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/alsa-lib-1.0.27'
dh_auto_test: make -j1 check returned exit code 2
make: *** [build-arch] Error 29
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

The severity of this issue may be raised before the jessie release.
-- 
Daniel Schepler



More information about the Pkg-alsa-devel mailing list