http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59474

            Bug ID: 59474
           Summary: Invalid binaries produced when making win32 EXEs with
                    -gsplit-dwarf
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roothorick at gmail dot com

This in mingw-builds MinGW:

roothorick@MODESTMONSTER ~
$ cat test.c
int main()
{
}
roothorick@MODESTMONSTER ~
$ gcc -gsplit-dwarf -o test.exe test.c

roothorick@MODESTMONSTER ~
$ ./test.exe
sh: ./test.exe: Bad file number

roothorick@MODESTMONSTER ~
$ gcc --version
gcc.exe (rev5, Built by MinGW-W64 project) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Reply via email to