installing info files in parallel is dangerous, because `install-info` will write to a `dir-file` as a side-effect, and it has no protection against multiple `install-info` processes running in parallel and overwriting each others' changes. Local fix until we can fix the `Makefile.in` generation upstream Fixes #229470
16 lines
622 B
Diff
16 lines
622 B
Diff
diff -Naur gcc-12.2.0/gcc/Makefile.in gcc-12.2.0-new/gcc/Makefile.in
|
|
--- gcc-12.2.0/gcc/Makefile.in 2022-08-19 10:09:52.280658631 +0200
|
|
+++ gcc-12.2.0-new/gcc/Makefile.in 2023-05-04 14:35:44.401420184 +0200
|
|
@@ -3781,6 +3781,11 @@
|
|
fi; \
|
|
fi
|
|
|
|
+# We don't care about the order in which the info files are built, but
|
|
+# install-info doesn't support multiple parallel invocations writing to
|
|
+# the same `dir-file`, so we have to disable parallelism for that reason:
|
|
+.NOTPARALLEL: install-info
|
|
+
|
|
# Install the info files.
|
|
# $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
|
|
# to do the install.
|