gfortran48: disable parallel make to avoid apparent race condition

See <http://hydra.nixos.org/build/7125754> as an example of a failed build.
This commit is contained in:
Peter Simons 2013-12-17 12:18:07 +01:00
parent 42560c78bb
commit 3e052e242f

View File

@ -484,11 +484,15 @@ stdenv.mkDerivation ({
passthru = { inherit langC langCC langAda langFortran langVhdl passthru = { inherit langC langCC langAda langFortran langVhdl
langGo enableMultilib version; }; langGo enableMultilib version; };
/* From gccinstall.info: /* gccinstall.info says that "parallel make is currently not supported since
"parallel make is currently not supported since collisions in profile collisions in profile collecting may occur".
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; enableParallelBuilding = !profiledCompiler && !langFortran;
meta = { meta = {
homepage = http://gcc.gnu.org/; homepage = http://gcc.gnu.org/;