YosysHQ / fpga-toolchain

Multi-platform nightly builds of open source FPGA tools
GNU General Public License v3.0
291 stars 26 forks source link

yosys-abc started crashing on windows #74

Open edbordin opened 3 years ago

edbordin commented 3 years ago

yosys-abc.exe has been crashing with an access violation exit code on windows. It doesn't look like the code has changed (although it's possible the way it's building has changed). Looks like the binutils version changed from mingw-w64-x86_64-binutils-2.36-1 to mingw-w64-x86_64-binutils-2.36-3 when this started happening so it might be worth rolling that back as a first step.

edbordin commented 3 years ago

Pinning binutils seems to fix it. Possibly related https://github.com/msys2/MINGW-packages/issues/7890

edbordin commented 3 years ago

reopening because pinning binutils is possibly now causing other errors...

lto1.exe: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:152
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://github.com/msys2/MINGW-packages/issues> for instructions.
lto-wrapper.exe: fatal error: D:\msys64\mingw64\bin\x86_64-w64-mingw32-g++.exe returned 1 exit status
compilation terminated.
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
edbordin commented 3 years ago

This won't be fixed unless someone resurrects the project, leaving open just in case.