Much more info in Gentoo bug 288977 This commit: fa1d4447b16f16ff9056a24163b175fcbc3a57cf is the first bad commit commit fa1d4447b16f16ff9056a24163b175fcbc3a57cf Author: Lubomir Rintel <lkundrak> Date: Tue Jul 21 21:04:47 2009 -0700 Fix handling of gaps between sections when writing files in libelf. Breaks crtfastmath.o from gcc if debugedit is run on it, causing problems for all programs using the -ffast-math gcc switch: gcc -ffast-math test.c -o test /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/crtfastmath.o:(.ctors+0x0): undefined reference to `no symbol' collect2: ld gab 1 als Ende-Status zurück Previously, an assertion would be thrown and debugedit would not be run on the file. A testscript is attached to the gentoo bug report to reproduce the error.
Created attachment 365828 [details] Untouched crtfastmath.o Commandline used to create crtfastmath.o: gcc -O2 -g \ -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -isystem -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 \ -D__GCC_FLOAT_NOT_NEEDED -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o crtfastmath.o -MT crtfastmath.o -MD -MP -msse \ -minline-all-stringops -c crtfastmath.c
Created attachment 365829 [details] After debugedit with buggy libelf linked in has been over it. Commandline used to create the file: debugedit -b $(pwd) -d chookafluie -l debug crtfastmath.o
Created attachment 365832 [details] diff between rpm5.org trunk debugedit.c and gentoo debugedit.c
Created attachment 365833 [details] x86_64 binary, built against gentoo toolchain. Needs libelf and libpopt
I did not know this is already filed, closing as duplicate. *** This bug has been marked as a duplicate of bug 530704 ***