https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860

--- Comment #32 from Jonathan Wakely <redi at gcc dot gnu.org> ---
FWIW Wine gives this error when trying to run binaries created by GCC trunk
(and binutils 2.34):

0104:err:process:exec_process L"Z:\\tmp\\a.exe" not supported on this system

Comparing the objdump -h output for a working a.exe (compiled with GCC 10.2)
and trunk, I see these extra sections for the trunk version:

  0 .debug_loclists 001e7053  0000000100000000  0000000100000000  00000480 
2**0
                  CONTENTS, READONLY, DEBUGGING
  1 .debug_rnglists 00058653  0000000100000000  0000000100000000  001e7680 
2**0
                  CONTENTS, READONLY, DEBUGGING

I'm not sure what else to compare.

Stripping all debug symbols from a.exe makes it usable with Wine.

Reply via email to