summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc/11/default.nix
diff options
context:
space:
mode:
authorArnout Engelen <arnout@bzzt.net>2023-05-04 14:57:50 +0200
committerArnout Engelen <arnout@bzzt.net>2023-05-09 19:02:41 +0200
commitf3995cee01fad5aeb5b67de8426a7a0321c74ebf (patch)
treefbfe208c7807443ecd9ab742728738e684e1164e /pkgs/development/compilers/gcc/11/default.nix
parentda45bf6ec7bbcc5d1e14d3795c025199f28e0de0 (diff)
downloadnixpkgs-f3995cee01fad5aeb5b67de8426a7a0321c74ebf.tar
nixpkgs-f3995cee01fad5aeb5b67de8426a7a0321c74ebf.tar.gz
nixpkgs-f3995cee01fad5aeb5b67de8426a7a0321c74ebf.tar.bz2
nixpkgs-f3995cee01fad5aeb5b67de8426a7a0321c74ebf.tar.lz
nixpkgs-f3995cee01fad5aeb5b67de8426a7a0321c74ebf.tar.xz
nixpkgs-f3995cee01fad5aeb5b67de8426a7a0321c74ebf.tar.zst
nixpkgs-f3995cee01fad5aeb5b67de8426a7a0321c74ebf.zip
gcc: install info files serially
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
Diffstat (limited to 'pkgs/development/compilers/gcc/11/default.nix')
-rw-r--r--pkgs/development/compilers/gcc/11/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/gcc/11/default.nix b/pkgs/development/compilers/gcc/11/default.nix
index 32742594666..505b9abf06b 100644
--- a/pkgs/development/compilers/gcc/11/default.nix
+++ b/pkgs/development/compilers/gcc/11/default.nix
@@ -63,6 +63,7 @@ let majorVersion = "11";
         sha256 = "0sd52c898msqg7m316zp0ryyj7l326cjcn2y19dcxqp15r74qj0g";
       })
       ./fix-struct-redefinition-on-glibc-2.36.patch
+      ../install-info-files-serially.patch
     ] ++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
       ++ optional noSysDirs ../no-sys-dirs.patch
       ++ optional (noSysDirs && hostPlatform.isRiscV) ../no-sys-dirs-riscv.patch