GNU bug report logs - #45756
Prepending '+' to the recipe line when linking with GCC's -flto=jobserver

Previous Next

Package: automake;

Reported by: "R. Diez" <rdiezmail-temp2 <at> yahoo.de>

Date: Sun, 10 Jan 2021 06:27:02 UTC

Severity: normal

Tags: confirmed, help

Full log


Message #8 received at 45756 <at> debbugs.gnu.org (full text, mbox):

From: "R. Diez" <rdiezmail-temp2 <at> yahoo.de>
To: 45756 <at> debbugs.gnu.org
Subject: Always prepend '+' to the recipe line
Date: Wed, 13 Jan 2021 13:15:03 +0100
This is not just an issue while linking. Any stage, including compilation of a single object file, could use the GNU Make jobs server. So 
there should be a global option in Autoconf or Automake to prepend a '+' to all generated rules.

In fact, you would have thought that this should be the default, because any tool, at any stage, could decide in the future to go 
multithread, and there is no reason to ignore an existing GNU Make job server to limit the overall system load.

Beware that you cannot test this issue well with GCC at the moment, because GCC option -flto=jobserver will not issue any warning if the 
file descriptors are not available. I reported this a while ago, and it got fixed, but the target GCC version is 11, which has not been 
released yet:

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




This bug report was last modified 4 years and 128 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.