https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98380
--- Comment #4 from cqwrteur <unlvsur at live dot com> --- D:/msys64/mingw32/lib/gcc/i686-w64-mingw32/11.0.0/../../../../i686-w64-mingw32/bin/ld.exe: ../build-i686-w64-mingw32/libcpp/libcpp.a(lex.o):lex.c:(.text+0x8): undefined reference to `LC0' D:/msys64/mingw32/lib/gcc/i686-w64-mingw32/11.0.0/../../../../i686-w64-mingw32/bin/ld.exe: ../build-i686-w64-mingw32/libcpp/libcpp.a(lex.o):lex.c:(.text+0xf): undefined reference to `LC1' D:/msys64/mingw32/lib/gcc/i686-w64-mingw32/11.0.0/../../../../i686-w64-mingw32/bin/ld.exe: ../build-i686-w64-mingw32/libcpp/libcpp.a(lex.o):lex.c:(.text+0x16): undefined reference to `LC2' D:/msys64/mingw32/lib/gcc/i686-w64-mingw32/11.0.0/../../../../i686-w64-mingw32/bin/ld.exe: ../build-i686-w64-mingw32/libcpp/libcpp.a(lex.o):lex.c:(.text+0x47): undefined reference to `LC3' collect2.exe: error: ld returned 1 exit status make[2]: *** [Makefile:2987: build/genmatch.exe] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:4446: all-gcc] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:973: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... undefined reference