Yavor Doganov wrote:
> forcemerge 526536 553940
> thanks
> 
> > Tried to build your package and it fails to build with GNU binutils-gold.
> 
> It fails to build with the default linker as well.  This is fixed in a
> new upload, waiting for a sponsor.  I haven't tested it with the gold
> linker, though, but I suspect I'd work.  The package is at mentors.d.n,
> in case you'd wish to give it a try.
> 
I tried it and got following failure.

/bin/bash ../../libtool --tag=CXX   --mode=link g++  -Wall -g -O2 -ffast-math 
-fomit-frame-pointer -pipe   -o avibench 
benchmark.o ../../lib/libaviplay.la
libtool: link: g++ -Wall -g -O2 -ffast-math -fomit-frame-pointer -pipe -o 
.libs/avibench benchmark.o  
../../lib/.libs/libaviplay.so
/usr/bin/ld: benchmark.o: in function main:benchmark.cpp:179: error: undefined 
reference to 'XOpenDisplay'
/usr/bin/ld: benchmark.o: in function main:benchmark.cpp:362: error: undefined 
reference to 'XCloseDisplay'

This means that benchmark.cpp uses symbols from libX11.so, but doesn't
inform the linker that it wants to link to it. I would guess that
libaviplay.so currently links to it - which makes it work with the old
GNU linker.

I have added more information about that problem at
 
http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

Best regards,
        Peter



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to