https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111330
Bug ID: 111330 Summary: [13 Regression] Bootstrap failure building SeqFile.lo Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 Assignee: gaius at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- I've done a successful Fedora distro build of GCC 13 r13-7622-g3e9aaa9bcb2fc64e64 based snapshot and that and all earlier ones went fine, but when trying to build a r13-7778-g78f63dd9fa9ff29949 based snapshot, I'm seeing weird Modula 2 failures. See https://kojipkgs.fedoraproject.org//work/tasks/4565/105824565/build.log or https://kojipkgs.fedoraproject.org//work/tasks/4525/105824525/build.log etc., it is all arches. What I see in the logs is: /bin/sh ../libtool --tag=CC --mode=compile /builddir/build/BUILD/gcc-13.2.1-20230906/obj-x86_64-redhat-linux/./gcc/gm2 -B/builddir/build/BUILD/gcc-13.2.1-20230906/obj-x86_64-redhat-linux/./gcc/ -c -O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fm2-pathname=m2iso -I. -Ilibm2iso -I/builddir/build/BUILD/gcc-13.2.1-20230906/gcc/m2/gm2-libs-iso -fm2-pathname=m2pim -I/builddir/build/BUILD/gcc-13.2.1-20230906/gcc/m2/gm2-libs -fiso -fextended-opaque -fm2-g -g -Wreturn-type -fcase -fm2-prefix=m2iso ../../../../libgm2/libm2iso/../../gcc/m2/gm2-libs-iso/SeqFile.mod -o SeqFile.lo libtool: compile: /builddir/build/BUILD/gcc-13.2.1-20230906/obj-x86_64-redhat-linux/./gcc/gm2 -B/builddir/build/BUILD/gcc-13.2.1-20230906/obj-x86_64-redhat-linux/./gcc/ -c -O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fm2-pathname=m2iso -I. -Ilibm2iso -I/builddir/build/BUILD/gcc-13.2.1-20230906/gcc/m2/gm2-libs-iso -fm2-pathname=m2pim -I/builddir/build/BUILD/gcc-13.2.1-20230906/gcc/m2/gm2-libs -fiso -fextended-opaque -fm2-g -g -Wreturn-type -fcase -fm2-prefix=m2iso ../../../../libgm2/libm2iso/../../gcc/m2/gm2-libs-iso/SeqFile.mod -fPIC -DPIC -o .libs/SeqFile.o ../../gcc/m2/gm2-compiler/M2SymInit.def:1:case statement has no matching selection make[5]: *** [Makefile:912: SeqFile.lo] Error 1 Now, I have no idea if this case statement has no matching selection message is an error or not and if it is, if it is what caused SeqFile.lo to fail building. I've reproduced it in a local Fedora mock, but when I do make -j32 in the libgm2 build directory afterwards, everything including SeqFile.lo builds fine, so I wonder if it isn't another case of missing Makefile dependencies or something similar. Any ideas (including ideas what I could try to understand what's going on)?