Hide Forgot
Ping?
This looks like a testsuite bug to me. AFAICT the problem is the test doesn't account for the possibility that the debug_range sections have relocations: if [ `readelf -WS [xy].o | grep debug_ranges | wc -l` -eq 2 ]; then if [ `readelf -WS x | grep debug_ranges | wc -l` -eq 1 ]; then export RESULT=PASS fi fi Note the -eq 2. We're expecting precisely two hits when grepping for debug_ranges, but we actually get 3 because y.o has relocs in that section: [law@stumpy 241252]$ readelf -WS y.o | grep debug_range [13] .debug_ranges PROGBITS 0000000000000000 000b39 000030 00 0 0 1 [15] .debug_ranges PROGBITS 0000000000000000 000bbc 000060 00 0 0 1 [16] .rela.debug_ranges RELA 0000000000000000 002878 0000c0 18 25 15 8 You might filter out the REL/RELA sections or require PROGBITS. Only the first test should be changed, the second test is operating on an executable and thus shouldn't have relocs against the debug_ranges section.
Thanks. Fixed the test.