YosysHQ / fpga-toolchain

Multi-platform nightly builds of open source FPGA tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yosys-abc started crashing on windows

edbordin opened this issue · comments

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.

Pinning binutils seems to fix it. Possibly related msys2/MINGW-packages#7890

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

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