From 3e052e242f8749ede2113deaa68c9994c9939e82 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 17 Dec 2013 12:18:07 +0100 Subject: [PATCH] gfortran48: disable parallel make to avoid apparent race condition See as an example of a failed build. --- pkgs/development/compilers/gcc/4.8/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/gcc/4.8/default.nix b/pkgs/development/compilers/gcc/4.8/default.nix index 3e4a9bb030c..3d42ae2ca3f 100644 --- a/pkgs/development/compilers/gcc/4.8/default.nix +++ b/pkgs/development/compilers/gcc/4.8/default.nix @@ -484,11 +484,15 @@ stdenv.mkDerivation ({ passthru = { inherit langC langCC langAda langFortran langVhdl langGo enableMultilib version; }; - /* From gccinstall.info: - "parallel make is currently not supported since collisions in profile - collecting may occur" - */ - enableParallelBuilding = !profiledCompiler; + /* gccinstall.info says that "parallel make is currently not supported since + collisions in profile collecting may occur". + + Parallel make of gfortran is disabled because of an apparent race + condition concerning the generation of "bconfig.h". Please try and + re-enable parallel make for a later release of gfortran to check whether + the error has been fixed. + */ + enableParallelBuilding = !profiledCompiler && !langFortran; meta = { homepage = http://gcc.gnu.org/;