From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7AA383858001; Fri, 5 Mar 2021 08:53:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7AA383858001 From: "brechtsanders at users dot sourceforge.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99401] New: GCC11 MinGW-w64 32-bit build fails with undefined reference to `LC0' Date: Fri, 05 Mar 2021 08:53:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: brechtsanders at users dot sourceforge.net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2021 08:53:54 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99401 Bug ID: 99401 Summary: GCC11 MinGW-w64 32-bit build fails with undefined reference to `LC0' 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 50301 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D50301&action=3Dedit make output When building GCC11 (last tested with 11-20210228) for Windows 32-bit with MinGW-w64 the build fails with undefined references to LC0/LC1/LC2/LC3. My build was done using the following configure command: ../configure --prefix=3D/R/winlibs32_stage/inst_gcc-11-20210228/share/gcc --build=3Di686-w64-mingw32 --host=3Di686-w64-mingw32 --with-pkgversion=3DMi= nGW-W64 i686-posix-dwarf, built by Brecht Sanders --with-tune=3Dgeneric --enable-checking=3Drelease --enable-threads=3Dposix --with-dwarf2 --disable-sjlj-exceptions --disable-libunwind-exceptions --disable-serial-configure --disable-bootstrap --enable-host-shared --enable-plugin --disable-default-ssp --disable-rpath --disable-libstdcxx-p= ch --enable-libstdcxx-time=3Dyes --disable-libstdcxx-debug --disable-version-specific-runtime-libs --with-stabs --disable-symvers --enable-languages=3Dc,c++,lto,objc,obj-c++,d --disable-gold --disable-nls --disable-stage1-checking --disable-win32-registry --disable-multilib --enable-ld --enable-libquadmath --enable-libada --enable-libssp --enable-libstdcxx --enable-lto --enable-fully-dynamic-string --enable-libg= omp --enable-graphite --enable-mingw-wildcard --with-mpc=3D/d/Prog/winlibs32_stage/custombuilt --with-mpfr=3D/d/Prog/winlibs32_stage/custombuilt --with-gmp=3D/d/Prog/winlibs32_stage/custombuilt --with-isl=3D/d/Prog/winlibs32_stage/custombuilt --enable-install-libiberty --enable-__cxa_atexit --without-included-gettext --with-diagnostics-color= =3Dauto --with-libiconv --with-system-zlib --with-build-sysroot=3D/R/winlibs32_stage/gcc-11-20210228/mingw-w64 --enable-large-address-aware CFLAGS=3D-I/d/Prog/winlibs32_stage/custombuilt/include/libdl-win32 Note that I was able to build the 32-bit compiler once, but I had to disable fortran to work around this error. This is the second iteration where I try= to build GCC 11-20210228 with the same version of GCC from the first iteration. Windows 64-bit builds work fine, so this error is limited to Windows 32-bit. Any idea what causes this?=