https://bugzilla.suse.com/show_bug.cgi?id=1203497 Bug ID: 1203497 Summary: Strip glibc ojbects debuginfo Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: screening-team-bugs@suse.de Reporter: tdevries@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- openSUSE is a bit unusual in that a hello world compiled without debuginfo still contains debug info: ... $ gcc ~/hello.c $ readelf -S -W a.out | grep debug [28] .debug_aranges PROGBITS 0000000000000000 001060 000100 00 0 0 16 [29] .debug_info PROGBITS 0000000000000000 001160 000269 00 0 0 1 [30] .debug_abbrev PROGBITS 0000000000000000 0013c9 000183 00 0 0 1 [31] .debug_line PROGBITS 0000000000000000 00154c 0001e7 00 0 0 1 [32] .debug_str PROGBITS 0000000000000000 001733 000435 01 MS 0 0 1 [33] .debug_loc PROGBITS 0000000000000000 001b68 00013e 00 0 0 1 [34] .debug_ranges PROGBITS 0000000000000000 001cb0 000080 00 0 0 16 ... This is due to linked-in glibc objects which contain debug info: ... $ readelf -S -W a.out | grep debug [28] .debug_aranges PROGBITS 0000000000000000 001060 000100 00 0 0 16 [29] .debug_info PROGBITS 0000000000000000 001160 000269 00 0 0 1 [30] .debug_abbrev PROGBITS 0000000000000000 0013c9 000183 00 0 0 1 [31] .debug_line PROGBITS 0000000000000000 00154c 0001e7 00 0 0 1 [32] .debug_str PROGBITS 0000000000000000 001733 000435 01 MS 0 0 1 [33] .debug_loc PROGBITS 0000000000000000 001b68 00013e 00 0 0 1 [34] .debug_ranges PROGBITS 0000000000000000 001cb0 000080 00 0 0 16 ... This caused quite a few FAils in the gdb testsuite, that are all fixed by now, but ... In tumbleweed, we now have a ctf-capable gcc compiler, and all ctf-related tests in the testsuite are failing, due to upstream PR https://sourceware.org/bugzilla/show_bug.cgi?id=29160 . Basically the problem is that gdb doesn't handle an object with both dwarf and ctf info, or rather, it gives priority to the dwarf info and ignores the ctf info. I could try to fixup the testsuite, but at this point I think it's better to either strip the glibc objects, or make it optional. -- You are receiving this mail because: You are on the CC list for the bug.