https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99913
Bug ID: 99913
Summary: GCC11 fails to build for MinGW-w64 for Windows 32-bit
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: brechtsanders at users dot sourceforge.net
Target Milestone: ---
Created attachment 50509
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50509&action=edit
i686-w64-mingw32/libgomp/config.log
When building GCC 11 (including latest snapshot 20210404) against MinGW-w64 for
Windows 32-bit using an existing MinGW-w64 Windows 32-bit gcc configure stops
with the following error:
configure: error: unsupported system, cannot find sizeof (omp_lock_t)
This error is logged to file i686-w64-mingw32/libgomp/config.log which I have
attached.
At first glance it seems like it's not finding symbols that require
-lwinpthread
Note that there are no issues building GCC 11 against MinGW-w64 for Windows
64-bit.