[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-14 Thread vapier at gentoo dot org
--- Additional Comments From vapier at gentoo dot org 2009-03-14 11:39 --- thanks guys, the patches seem to work for us -- http://sourceware.org/bugzilla/show_bug.cgi?id=9934 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching som

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-13 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-03-13 13:38 --- (In reply to comment #17) > Created an attachment (id=3820) --> (http://sourceware.org/bugzilla/attachment.cgi?id=3820&action=view) > Gracefully handle object files with relocs but no symbol tables. > Per

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-13 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-03-13 11:38 --- Hi Mike, I have checked in a revised version of my previous patch (uploaded) which will stop the linker from seg-faulting. It will still refuse to produce an executable because of the non-representable section

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-13 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-03-13 11:35 --- Created an attachment (id=3820) --> (http://sourceware.org/bugzilla/attachment.cgi?id=3820&action=view) Gracefully handle object files with relocs but no symbol tables. -- What|Removed

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-13 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-03-13 11:34 --- Subject: Bug 9934 CVSROOT:/cvs/src Module name:src Changes by: ni...@sourceware.org2009-03-13 11:34:43 Modified files: bfd: ChangeLog elf-bfd.h elflink.c elf32-ar

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-13 Thread vapier at gentoo dot org
--- Additional Comments From vapier at gentoo dot org 2009-03-13 06:58 --- as i said, the linker should not be crashing. even if the strip issue is fixed, the linker is misbehaving here. -- What|Removed |Added

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-12 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-03-12 21:22 --- *** This bug has been marked as a duplicate of 9945 *** -- What|Removed |Added

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-12 Thread vapier at gentoo dot org
--- Additional Comments From vapier at gentoo dot org 2009-03-12 21:02 --- yes, we use --strip-unneeded on the .o files. even if PR 9945 were fixed, the linker shouldnt fail with an FPE error. -- http://sourceware.org/bugzilla/show_bug.cgi?id=9934 --- You are receiving this mai

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-12 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-03-12 18:46 --- I think this may be a dup for PR 9945. -- http://sourceware.org/bugzilla/show_bug.cgi?id=9934 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching som

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-12 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-03-12 18:36 --- Did you run "strip --strip-unneeded" on crtn.o? -- http://sourceware.org/bugzilla/show_bug.cgi?id=9934 --- You are receiving this mail because: --- You are on the CC list for the bug, or are wa

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-12 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-03-12 18:30 --- (In reply to comment #8) > i dont think the host matters, but people who have tested so far seem to be > amd64 users only ... > > simply running the linker on the crtn.o object should also trigger the crash

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-12 Thread armin76 at gentoo dot org
--- Additional Comments From armin76 at gentoo dot org 2009-03-12 10:23 --- This also happens on arm native. If i build >=binutils-2.18.50.0.5 and rebuild glibc, all compilations break after that. -- http://sourceware.org/bugzilla/show_bug.cgi?id=9934 --- You are receiving this

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-11 Thread vapier at gentoo dot org
--- Additional Comments From vapier at gentoo dot org 2009-03-12 04:37 --- i dont think the host matters, but people who have tested so far seem to be amd64 users only ... simply running the linker on the crtn.o object should also trigger the crash i think ... arm-softfloat-linux-gnueab

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-11 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-03-12 04:25 --- Is that reproducible with a cross linker on Linux/ia32? -- http://sourceware.org/bugzilla/show_bug.cgi?id=9934 --- You are receiving this mail because: --- You are on the CC list for the bug, or

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-11 Thread vapier at gentoo dot org
--- Additional Comments From vapier at gentoo dot org 2009-03-11 11:52 --- while true, this is coming from building gcc, so interrupting the process to manually run things is kind of a pain ... plus, that just gets us pass the libgcc_s.so stage. iirc, anything linking against crtn.o wil

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-11 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-03-11 10:40 --- Hi Mike, > running with --verbose shows no info as to why ld decided to exit(1) ... Yeah my bad. Delete the last frag of the patch to elflink.c, (the one that calls bfd_set_error) and you will get your error m

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-10 Thread vapier at gentoo dot org
--- Additional Comments From vapier at gentoo dot org 2009-03-10 23:13 --- that does fix the crash, but now ld exits with 1 without any error message (patch applied to binutils-2.19.1) running with --verbose shows no info as to why ld decided to exit(1) ... -- http://sourceware.org/

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-10 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-03-10 17:53 --- Hi Mike, The crtn.o file in your tarball is the culprit - it contains relocs that do not not refer to any symbols. Since those are the only kind of relocs in that file there is no symbol table either and this i

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-10 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-03-10 17:51 --- Created an attachment (id=3806) --> (http://sourceware.org/bugzilla/attachment.cgi?id=3806&action=view) Allow object files with relocs but no symbol table. -- http://sourceware.org/bugzilla/show_bug.cgi?id=99

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-09 Thread armin76 at gentoo dot org
-- What|Removed |Added CC||armin76 at gentoo dot org http://sourceware.org/bugzilla/show_bug.cgi?id=9934 --- You are receiving this

[Bug ld/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-08 Thread vapier at gentoo dot org
--- Additional Comments From vapier at gentoo dot org 2009-03-08 23:47 --- Created an attachment (id=3800) --> (http://sourceware.org/bugzilla/attachment.cgi?id=3800&action=view) arm-softfloat-linux-gnueabi-ld-libgcc-FPE.tar.bz2 -- http://sourceware.org/bugzilla/show_bug.cgi?id=993