[Bug bootstrap/106624] [13 Regression] LTO plugin fails to build in parallel builds: xgcc: fatal error: cannot execute '/build/build/./prev-gcc/collect2': execv: Bad address since r13-2011-g53e3b2bf16a486

slyfox at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 16 06:02:42 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106624

--- Comment #7 from Sergei Trofimovich <slyfox at gcc dot gnu.org> ---
I'm using GNU make from
https://git.savannah.gnu.org/cgit/make.git/commit/?id=621d3196fae94e9006a7e9c5ffdaf5ec209bf832
commit (from around 22 June, before FIFO support).

On top of that I apply --shuffle=random by default:

--- a/src/main.c
+++ b/src/main.c
@@ -1513,6 +1513,10 @@ main (int argc, char **argv, char **envp)
       arg_job_slots = env_slots;
   }

+  /* Set less conservative default. */
+  if (! shuffle_mode)
+    shuffle_mode= xstrdup ("random");
+
   /* Handle shuffle mode argument.  */
   if (shuffle_mode)
     {

But I think I also see crashes with GNU make-4.2.1.

I don't yet see anything wrong with `lto: support --jobserver-style=fifo for
recent GNU make` patch. I'll keep digging what's wrong with my environment.


More information about the Gcc-bugs mailing list