https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98729
--- Comment #13 from Jonathan Wakely ---
(In reply to Brecht Sanders from comment #8)
> Also, my win64 build uses SEH, not dwarf,
DWARF is still used for debug info even if you don't use it for EH.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98729
Eric Botcazou changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98729
--- Comment #11 from Brecht Sanders ---
Created attachment 50113
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50113=edit
objdump -h
List of sections attached (created using `objdump -h`)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98729
Eric Botcazou changed:
What|Removed |Added
CC||ebotcazou at gcc dot gnu.org
Ever
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98729
--- Comment #9 from Brecht Sanders
---
The attached .exe will run on Windows after removing the section called `/20`
from the PE file using: `strip conftest.exe --remove-section="/20"`
I don't know what this section does, but I did notice it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98729
--- Comment #8 from Brecht Sanders
---
Also, my win64 build uses SEH, not dwarf, so it doesn't look like dwarf is the
issue. I also tried to build with `--enable-compressed-debug-sections=none`,
but that fix the problem either.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98729
--- Comment #7 from Brecht Sanders
---
Adding flag `-gdwarf-4` to the above command still results in a file that won't
execute, see attached file `conftest-gdwarf-4.exe`
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98729
--- Comment #6 from Brecht Sanders
---
Created attachment 50004
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50004=edit
test built with -gdwarf-4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98729
--- Comment #5 from Richard Biener ---
Yes, the attached file contains DWARF 5 debug info. Try to build the test
file with -gdwarf-4 and see if that makes it work.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98729
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |11.0
Summary|GCC 11 MinGW
10 matches
Mail list logo