Summary: | [2.18/HEAD regression] Assertion failures in ld | ||
---|---|---|---|
Product: | binutils | Reporter: | Matthias Klose <doko> |
Component: | ld | Assignee: | unassigned |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bug-binutils, drow, tbm |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | mips*-linux-gnu | |
Build: | Last reconfirmed: |
Description
Matthias Klose
2007-09-01 11:16:56 UTC
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. |