Blame SOURCES/make-4.3-j8k.patch

a2bd06
diff -Nrup a/src/main.c b/src/main.c
a2bd06
--- a/src/main.c	2016-05-31 03:17:26.000000000 -0400
a2bd06
+++ b/src/main.c	2016-09-22 16:18:52.283889265 -0400
a2bd06
@@ -2051,6 +2051,21 @@ main (int argc, char **argv, char **envp
a2bd06
     }
a2bd06
 #endif
a2bd06
 
a2bd06
+#ifdef PIPE_BUF
a2bd06
+  if (job_slots > PIPE_BUF)
a2bd06
+#elif defined _POSIX_PIPE_BUF
a2bd06
+  if (job_slots > _POSIX_PIPE_BUF)
a2bd06
+#else
a2bd06
+  if (job_slots > 512)
a2bd06
+#endif
a2bd06
+    {
a2bd06
+      O (error, NILF,
a2bd06
+            _("More parallel jobs (-jN) than this platform can handle requested."));
a2bd06
+      O (error, NILF, _("Resetting to single job (-j1) mode."));
a2bd06
+      job_slots = 1;
a2bd06
+    }
a2bd06
+
a2bd06
+
a2bd06
   /* If we have >1 slot at this point, then we're a top-level make.
a2bd06
      Set up the jobserver.
a2bd06