Bug#768685: libtheora: FTBFS in jessie: ld: player_example-player_example.o: undefined reference to symbol 'rintf@@GLIBC_2.2.5'

Lucas Nussbaum lucas at debian.org
Sun Nov 9 08:36:11 UTC 2014


On 09/11/14 at 09:08 +0100, Petter Reinholdtsen wrote:
> [Lucas Nussbaum]
> > Relevant part (hopefully):
> 
> >> gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 \
> >>   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall \
> >>   -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer \
> >>   -finline-functions -funroll-loops -g -O2 -fstack-protector-strong \
> >>   -Wformat -Werror=format-security -c -o \
> >>   player_example-player_example.o `test -f 'player_example.c' || echo \
> >>   './'`player_example.c
> >> /bin/bash ../libtool --tag=CC --mode=link gcc -I/usr/include/SDL \
> >>   -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wno-parentheses -O3 \
> >>   -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops \
> >>   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security \
> >>   -Wl,-z,relro -o player_example player_example-player_example.o \
> >>   ../lib/libtheoradec.la -logg -L/usr/lib/x86_64-linux-gnu -lSDL \
> >>   -lvorbis
> >> libtool: link: gcc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT \
> >>   -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer \
> >>   -finline-functions -funroll-loops -g -O2 -fstack-protector-strong \
> >>   -Wformat -Werror=format-security -Wl,-z -Wl,relro -o \
> >>   .libs/player_example player_example-player_example.o \
> >>   ../lib/.libs/libtheoradec.so -logg -L/usr/lib/x86_64-linux-gnu \
> >>   -lSDL /usr/lib/x86_64-linux-gnu/libvorbis.so \
> >> /usr/bin/ld: player_example-player_example.o: undefined reference
> >>   to symbol 'rintf@@GLIBC_2.2.5'
> >> //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing
> >>   from command line
> >> collect2: error: ld returned 1 exit status
> 
> My best guess is that some -lm entry is missing, as rint() is in libm,
> but I find it strange as this code built in unstable a few days ago.
> Anyone got a clue what changed in the mean time?

No, sorry.

> Is this rebuild using a different linker than the one used by the
> autobuilders?

I don't think so. It's not entirely impossible that my chroot is
slightly broken.

If you still have your log from your unstable upload around, it would be
interesting to diff it against mine.

Lucas



More information about the pkg-xiph-maint mailing list