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

            Bug ID: 26048
           Summary: -gsplit-dwarf leads to invalid PE file
           Product: binutils
           Version: 2.30
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: trass3r at gmail dot com
  Target Milestone: ---

int main() {}

g++ -c -O3 -gsplit-dwarf test.cpp
g++ test.o -o test

Produces an executable that can't be started ("This app can't run on your PC").
It looks like there's a problem with the SizeOfImage header entry and there are
suspicious sections /4, /24 and /36 all mapped to address FFC00000.

Tested with MinGW 8.1 as distributed by Qt.

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

Reply via email to