* elfutils-0.170 * glibc 2.26 * gcc 7.2.0 ----test-suite.log---- ========================================== elfutils 0.170: tests/test-suite.log ========================================== # TOTAL: 174 # PASS: 169 # SKIP: 4 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: run-strip-strmerge.sh =========================== elflint /build/elfutils/src/elfutils-0.170/tests/elfstrmerge No errors elfstrmerge elflint merged.elf No errors strip elflint merged.elf.stripped No errors elflint merged.elf.debug No errors unstrip elflint remerged.elf No errors elfcmp elflint /build/elfutils/src/elfutils-0.170/tests/elfstrmerge.o No errors elfstrmerge elflint merged.elf No errors strip elflint merged.elf.stripped No errors elflint merged.elf.debug No errors unstrip /build/elfutils/src/elfutils-0.170/src/unstrip: invalid string offset in symbol [1] FAIL run-strip-strmerge.sh (exit status: 1) SKIP: run-backtrace-data.sh =========================== /build/elfutils/src/elfutils-0.170/tests/backtrace-data: Unwinding not supported for this architecture data: arch not supported SKIP run-backtrace-data.sh (exit status: 77) SKIP: run-backtrace-native-biarch.sh ==================================== biarch testing disabled SKIP run-backtrace-native-biarch.sh (exit status: 77) SKIP: run-backtrace-native-core.sh ================================== No core.14739 file generated SKIP run-backtrace-native-core.sh (exit status: 77) SKIP: run-backtrace-native-core-biarch.sh ========================================= biarch testing disabled SKIP run-backtrace-native-core-biarch.sh (exit status: 77) -------------------------
I couldn't replicate this with gcc 7.1.1. Would you mind attaching your tests/elfstrmerge.o object file?
Created attachment 10394 [details] elfstrmerge.o file
Thanks. Replicated with that object file. But not yet understood.
(In reply to Mark Wielaard from comment #3) > Thanks. Replicated with that object file. But not yet understood. Filtering -fno-plt from CFLAGS fixes the issue
(In reply to Laurent Carlier from comment #4) > (In reply to Mark Wielaard from comment #3) > > Thanks. Replicated with that object file. But not yet understood. > > Filtering -fno-plt from CFLAGS fixes the issue Thanks. That is interesting. Would you mind also attaching the elfstrmerge.o file binary produced without -fno-plt? That would make it easier to see exactly what change in the binary causes the breakage.
Created attachment 10528 [details] run-strip-strmerge.sh result without -fno-plt
Created attachment 10529 [details] run-strip-strmerge.sh result with -fno-plt Sorry for the delay, i built both with the same gcc/glibc