bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/26048] New: -gsplit-dwarf leads to invalid PE file


From: trass3r at gmail dot com
Subject: [Bug ld/26048] New: -gsplit-dwarf leads to invalid PE file
Date: Tue, 26 May 2020 18:35:06 +0000

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

[Prev in Thread] Current Thread [Next in Thread]