nickg / nvc

VHDL compiler and simulator
https://www.nickg.me.uk/nvc/
GNU General Public License v3.0
589 stars 75 forks source link

Windows build broken #861

Closed nickg closed 3 months ago

nickg commented 3 months ago

I'd suggest not updating MSYS2 for the time being as it fails with:

checking whether pthreads work with --thread-safe... no
checking whether pthreads work with -mt... no
checking for pthread-config... no
configure: error: pthread not found

I think it's caused by a recent update to the winpthreads package which means you now have to include a Windows header before the <pthread.h> header, which the configure script doesn't. I suspect this will break a lot of projects so maybe it will get reverted, but probably the proper fix is to use real Windows threads instead of this emulation layer.