[forwarded from http://bugs.debian.org/440015] this started to show up with 20070804. asked our port maintainers for a testcase, build logs currently can be seen at http://buildd.debian.org/fetch.cgi?&pkg=openh323&ver=1.18.0.dfsg-4&arch=mips&stamp=1187867576&file=log http://buildd.debian.org/fetch.cgi?&pkg=openh323&ver=1.18.0.dfsg-4&arch=mipsel&stamp=1187890191&file=log Retrying with binutils 2.18 instead of 2.18~cvs20070812-1 still shows the same for opal: make[1]: Leaving directory `/build/opal-2.2.8~dfsg1/samples/simple' samples/simple/obj_*_n/simpleopal --help >/dev/null samples/simple/obj_linux_mips_n/simpleopal: symbol lookup error: samples/simple/obj_linux_mips_n/simpleopal: undefined symbol: _ZNK49H245_MiscellaneousCommand_type_videoFastUpdateGOB7CompareERK7PObject make: *** [build-arch-stamp] Error 127 and for openh323: make[1]: Leaving directory `/build/openh323-1.18.0.dfsg/samples/simple' samples/simple/obj_*_r/simph323 --help >/dev/null samples/simple/obj_linux_mips_r/simph323: symbol lookup error: samples/simple/obj_linux_mips_r/simph323: undefined symbol: _ZNK18H245_FECCapability5CloneEv make: *** [build-arch-stamp] Error 127
Hi, > this started to show up with 20070804. asked our port maintainers for a > testcase, build logs currently can be seen at The testcase is up at <http://people.debian.org/~jblache/440015/binutils-4988-deb440015-testcase.tar.bz2> The build.sh file contains the g++ (4.1) command line used to link the test program (main.o, output is simph323) and the ld command line generated by g++. The g++-libs directory contains the standard libraries and object files added by g++ to the original list of objects. If anything is missing, please contact me.
Hi Julien, Hi Matthias, The test case is missing a few libraries: -llber -lsasl2 -lssl -lcrypto -lexpat -lresolv -ldl. Looking at the ChangeLogs I do not see anything in particular that changed around 20070804 so it is hard to guess what might have caused this problem. I take it that problem still exists in the current mainline sources ? Cheers Nick
Hi, > The test case is missing a few libraries: -llber -lsasl2 -lssl -lcrypto > -lexpat -lresolv -ldl. Oops, sorry I missed those. I've put the missing libraries up at <http://people.debian.org/~jblache/440015/testcase-4988-deb440015-missinglibs.tar.bz2> libdl is included in the original testcase tarball, it's libdl-2.6.1.so which I didn't rename like I did for the others. libc & other standard stuff are in the g++-libs subdir in the original testcase, too. Thanks, JB.
Subject: Re: [2.18/HEAD regression] Assertion failures in ld Hi Julien, Thanks for the extra libraries. My attempt to build the simph323 binary gets further now, but it still fails with some missing libaries (and a missing loader). Note - I do not have a mips-linux system available to me so I am building the binary using a cross-hosted mipsel-linux-gnu toolchain on an x86_64 host. The missing files are: libcrypt.so.1 libgnutls.so.13 ld.so.1 libz.so.1 libasound.so.2 libdirectfb-0.9.so.25 libfusion-0.9.so.25 libdirect-0.9.so.25 Plus of course any other libraries that these libraries need. :-) Cheers Nick
Hi, Kilian Krause prepared a tarball of a full build chroot, see <http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=52;bug=440015> JB.
(In reply to comment #4) > Plus of course any other libraries that these libraries need. :-) > > Cheers > Nick Nick, would you be interested in an account on a mipsel box so you could take a look? Unfortunately, it seems that nobody's looking into this issue and this bug is a big problem for Debian/MIPS. Thanks.
Actually, it seems this problem no longer shows up on HEAD.
(In reply to comment #7) > Actually, it seems this problem no longer shows up on HEAD. However, I can reproduce it with the 2.18 branch as well as with 2.18.50.20070930. I'll try to narrow it down, but CVS makes that a pain. Does anyone have a SVN mirror of the CVS repo?
The problem is fixed by http://sourceware.org/ml/binutils-cvs/2007-10/msg00087.html which happily applies to 2.18.
Thanks! I've merged it to the branch.