StephanTLavavej / mingw-distro

MinGW distro build scripts.
494 stars 55 forks source link

binutils 2.30 triggers an ICE in gcc bootstrap #51

Closed StephanTLavavej closed 5 years ago

StephanTLavavej commented 6 years ago

binutils 2.29.1 works, but binutils 2.30 consistently triggers:

make[3]: Entering directory '/c/temp/gcc/build/gcc'
/c/temp/gcc/build/./gcc/xgcc -B/c/temp/gcc/build/./gcc/ -nostdinc -x c /dev/null -S -o /dev/null -fself-test=../../src/gcc/testsuite/selftests
cc1.exe: internal compiler error: in initialize, at alloc-pool.h:257
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[3]: *** [Makefile:1933: s-selftest] Error 1
ssbssa commented 6 years ago

binutils 2.30 is broken for mingw, see binutils bug #22762. It's fixed in git already.

StephanTLavavej commented 6 years ago

Thanks! That's exactly the information I was looking for. It appears that 2.30.1 (if it is released) will contain the fix too.

ssbssa commented 6 years ago

On that note, gdb 8.1 for win64 has a relatively bad bug as well: gdb bug #22854