Source: gcc-15 Version: 15.1.0-8 Severity: normal User: debian-sup...@lists.debian.org Usertags: sh4 X-Debbugs-Cc: debian-sup...@lists.debian.org
Hi, on sh4, the gcc-15 build fails with: Comparing stages 2 and 3 Comparison successful. if false; then \ rm -rf stage2-*; \ echo timestamp > stage2-lean; \ fi make[4]: Leaving directory '/<<PKGBUILDDIR>>/build' make[3]: Leaving directory '/<<PKGBUILDDIR>>/build' make[3]: Entering directory '/<<PKGBUILDDIR>>/build' make[3]: Leaving directory '/<<PKGBUILDDIR>>/build' make[3]: Entering directory '/<<PKGBUILDDIR>>/build' Makefile:660: *** Recursive variable 'GA68' references itself (eventually). Stop. make[3]: Leaving directory '/<<PKGBUILDDIR>>/build' make[2]: *** [Makefile:25610: bootstrap] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/build' Since this already happens after stage 2 and 3 were built and successfully built, I suspect this to be an issue with the build system. Looking at debian/rules.defs, sh4 is the only architecture in algol_no_cpus which explains why this Algol-related failure occurs on sh4 only. I suspect there to be a logic error in any of the rules files. I'm trying to build gcc-15 on sh4 with Algol enabled now while also cherry-picking upstream patches to fix LRA support in the SH backend and also enable it by default. I will file a separate bug report for that patch. Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913