while building gcc's shared libs, we end up with this error:
collect2: ld terminated with signal 8 [Floating point exception]
i'm attaching a tarball of the objects from glibc/gcc which are used to trigger
this bug. to reproduce, hopefully you should be able to extract and just run
`./doit.sh` (m
--- 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
strip seems to have always behaved this way. versions 2.16 and older stripped
both types of objects, but with 2.17 and newer, "j" is correctly left. tested
2.1{5,6,7,8,9} and 2.19.51.0.2.
$ cat test.c
int i;
int j = 1;
$ gcc -c test.c
$ readelf -s test.o | grep OBJ
7: 4