[Bug modula2/101389] Parallel build doesn't work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101389 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Gaius Mulley --- I've fixed the PR modula2/101391 (comment 4) and applied changes to getopt (also added extra testsuite tests to check that this links cleanly). I'm going to close this PR as I believe these issues are resolved now.
[Bug modula2/101389] Parallel build doesn't work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101389 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #3 from Gaius Mulley --- > I've pushed some changes to gcc/m2/Makefile.in on Tue Jan 11 19:21:06 2022 > + > which fix parallel build errors on stage1 binaries (exposed when -j48 was > used). I've rebuilt gm2 using -j48 and -j64 and all regression test pass on > x86_64 debian gnu/linux. Curious to know if it still fails on ASCII.lo on > Solaris 11. I just tried again and got the same error on Solaris 11.4/x86 with -j48, while Linux/x86_64 with -j64 was fine. Afterwards I found the culprit (I think): initially I'd been using make 4.2.92 (don't ask). After I replaced that by 4.3, the build error went away. Btw., could you please have a look at the patch in Comment 4 of PR modula2/101391? It is necessary to fix about 2000+ testsuite failures per multilib on both Solaris and Linux, making m2 testing very hard. Thanks.
[Bug modula2/101389] Parallel build doesn't work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101389 --- Comment #3 from Gaius Mulley --- I've pushed some changes to gcc/m2/Makefile.in on Tue Jan 11 19:21:06 2022 + which fix parallel build errors on stage1 binaries (exposed when -j48 was used). I've rebuilt gm2 using -j48 and -j64 and all regression test pass on x86_64 debian gnu/linux. Curious to know if it still fails on ASCII.lo on Solaris 11.
[Bug modula2/101389] Parallel build doesn't work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101389 --- Comment #2 from Rainer Orth --- (In reply to Gaius Mulley from comment #1) > Thanks for the report - I've pushed some fixes to various Makefiles. I've > tested it using make -j48 and believe it is fixed. A -j48 build on x86_64-pc-linux-gnu worked ok yesterday. However, on i386-pc-solaris2.11 I ran into exactly the same issue again (i.e. affecting the build of ASCII.lo). I managed to complete the build sequentially afterwards, but it's still strange. Investigation was hampered by the libgm2 Makefiles not being self-contained. I'll file a separate PR for that.
[Bug modula2/101389] Parallel build doesn't work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101389 Gaius Mulley changed: What|Removed |Added CC||gaiusmod2 at gmail dot com --- Comment #1 from Gaius Mulley --- Thanks for the report - I've pushed some fixes to various Makefiles. I've tested it using make -j48 and believe it is fixed.