[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/24747] New: dwz: Allocatable section in 1 after non-allocatable ones (empty allocatable section)



https://sourceware.org/bugzilla/show_bug.cgi?id=24747

            Bug ID: 24747
           Summary: dwz: Allocatable section in 1 after non-allocatable
                    ones (empty allocatable section)
           Product: dwz
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: nobody at sourceware dot org
          Reporter: vries at gcc dot gnu.org
                CC: dwz at sourceware dot org
  Target Milestone: ---

When running tests using make check CC="gcc -fuse-ld=gold", we run into:
...
Running /data/dwz/build/../src/testsuite/dwz.tests/dwz-tests.exp ...
dwz: Allocatable section in 1 after non-allocatable ones
dwz: Allocatable section in 2 after non-allocatable ones
dwz: Too few files for multifile optimization
child process exited abnormally
FAIL: /data/dwz/build/../src/testsuite/dwz.tests/pr24542.sh
...

The trigger is the empty data section having the same offset as .debug_info:
...
Section Headers:
[Nr] Name              Type             Address           Offset
     Size              EntSize          Flags  Link  Info  Align
...
[ 5] .data             PROGBITS         0000000000401000  00001000
     0000000000000000  0000000000000000  WA       0     0     1
[ 6] .bss              NOBITS           0000000000401000  00001000
     0000000000000000  0000000000000000  WA       0     0     1
[ 7] .debug_info       PROGBITS         0000000000000000  00001000
     0000000000000047  0000000000000000           0     0     1
...

AFAIU atm, this is not the same PR as PR24251 "Allocatable section after
non-allocatable ones".

-- 
You are receiving this mail because:
You are on the CC list for the bug.