public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug modula2/101389] New: Parallel build doesn't work
@ 2021-07-09 12:20 ro at gcc dot gnu.org
2021-08-18 0:07 ` [Bug modula2/101389] " gaiusmod2 at gmail dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: ro at gcc dot gnu.org @ 2021-07-09 12:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101389
Bug ID: 101389
Summary: Parallel build doesn't work
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: modula2
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
Target Milestone: ---
I initially tried the builds of the devel/modula-2 branch on both Solaris 11
and Linux/x86_64 in parallel mode (-j48/-j64/-j32). This failed like this
make[5]: *** No rule to make target 'ASCII.lo', needed by 'libm2pim.la'. Stop.
make[5]: Leaving directory
'/var/gcc/gcc-12.0.0-20210708/11.4-gm2/i386-pc-solaris2.11/libgm2/libm2pim'
make[4]: *** [Makefile:538: all] Error 2
ASCII.mod lives in gcc/m2/gm2-libs, but there's no ASCII.lo anywhere in the
tree
at this time.
Running the build sequentially allows it to continue past this error.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug modula2/101389] Parallel build doesn't work
2021-07-09 12:20 [Bug modula2/101389] New: Parallel build doesn't work ro at gcc dot gnu.org
@ 2021-08-18 0:07 ` gaiusmod2 at gmail dot com
2021-09-14 10:55 ` ro at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: gaiusmod2 at gmail dot com @ 2021-08-18 0:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101389
Gaius Mulley <gaiusmod2 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gaiusmod2 at gmail dot com
--- Comment #1 from Gaius Mulley <gaiusmod2 at gmail dot com> ---
Thanks for the report - I've pushed some fixes to various Makefiles. I've
tested it using make -j48 and believe it is fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug modula2/101389] Parallel build doesn't work
2021-07-09 12:20 [Bug modula2/101389] New: Parallel build doesn't work ro at gcc dot gnu.org
2021-08-18 0:07 ` [Bug modula2/101389] " gaiusmod2 at gmail dot com
@ 2021-09-14 10:55 ` ro at gcc dot gnu.org
2022-01-13 21:11 ` gaius at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ro at gcc dot gnu.org @ 2021-09-14 10:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101389
--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> ---
(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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug modula2/101389] Parallel build doesn't work
2021-07-09 12:20 [Bug modula2/101389] New: Parallel build doesn't work ro at gcc dot gnu.org
2021-08-18 0:07 ` [Bug modula2/101389] " gaiusmod2 at gmail dot com
2021-09-14 10:55 ` ro at gcc dot gnu.org
@ 2022-01-13 21:11 ` gaius at gcc dot gnu.org
2022-01-19 18:50 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-05-03 10:22 ` gaius at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: gaius at gcc dot gnu.org @ 2022-01-13 21:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101389
--- Comment #3 from Gaius Mulley <gaius at gcc dot gnu.org> ---
I've pushed some changes to gcc/m2/Makefile.in on Tue Jan 11 19:21:06 2022
+0000
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug modula2/101389] Parallel build doesn't work
2021-07-09 12:20 [Bug modula2/101389] New: Parallel build doesn't work ro at gcc dot gnu.org
` (2 preceding siblings ...)
2022-01-13 21:11 ` gaius at gcc dot gnu.org
@ 2022-01-19 18:50 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-05-03 10:22 ` gaius at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2022-01-19 18:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101389
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #3 from Gaius Mulley <gaius at gcc dot gnu.org> ---
> I've pushed some changes to gcc/m2/Makefile.in on Tue Jan 11 19:21:06 2022
> +0000
> 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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug modula2/101389] Parallel build doesn't work
2021-07-09 12:20 [Bug modula2/101389] New: Parallel build doesn't work ro at gcc dot gnu.org
` (3 preceding siblings ...)
2022-01-19 18:50 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2022-05-03 10:22 ` gaius at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: gaius at gcc dot gnu.org @ 2022-05-03 10:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101389
Gaius Mulley <gaius at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Gaius Mulley <gaius at gcc dot gnu.org> ---
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-05-03 10:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-09 12:20 [Bug modula2/101389] New: Parallel build doesn't work ro at gcc dot gnu.org
2021-08-18 0:07 ` [Bug modula2/101389] " gaiusmod2 at gmail dot com
2021-09-14 10:55 ` ro at gcc dot gnu.org
2022-01-13 21:11 ` gaius at gcc dot gnu.org
2022-01-19 18:50 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-05-03 10:22 ` gaius at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).