https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80196
Guillaume <gr.audio at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gr.audio at gmail dot com --- Comment #7 from Guillaume <gr.audio at gmail dot com> --- Same problem while trying to build gcc 11.1.0 on Arch Linux (host and target = Windows). Configuration: configure --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix="$PREFIX" --disable-nls --enable-languages=c,c++,ada --with-pkgversion=GR20210618 --enable-threads=win32 --disable-win32-registry --disable-multilib --enable-shared --enable-static --disable-sjlj-exceptions --with-dwarf2 Adding the '--disable-libstdcxx-pch' option doesn't help in my case, same errors. The cross-compiler installed on my Arch Linux for building Windows executables is x86_64-w64-mingw32-gcc. 'x86_64-w64-mingw32-gcc -v' yields: Utilisation des specs internes. COLLECT_GCC=x86_64-w64-mingw32-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-w64-mingw32/11.1.0/lto-wrapper Cible : x86_64-w64-mingw32 Configuré? avec: /build/mingw-w64-gcc/src/gcc/configure --prefix=/usr --libexecdir=/usr/lib --target=x86_64-w64-mingw32 --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,lto,c++,ada,objc,obj-c++,fortran --enable-shared --enable-static --enable-threads=posix --enable-fully-dynamic-string --enable-libstdcxx-time=yes --enable-libstdcxx-filesystem-ts=yes --with-system-zlib --enable-cloog-backend=isl --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-sjlj-exceptions --with-dwarf2 Modè?le de thread: posix Algorithmes de compression LTO supporté?s: zlib zstd gcc version 11.1.0 (GCC)