public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* Incorrect message "'--jobserver-auth=' is not present in MAKEFLAGS"
@ 2024-06-10 22:05 Richard Copley
  0 siblings, 0 replies; only message in thread
From: Richard Copley @ 2024-06-10 22:05 UTC (permalink / raw)
  To: gcc-bugs

There is a missing "else" in 'jobserver_info::jobserver_info' in
"opts-common.cc".

As a result, if MAKEFLAGS is set and contains "--jobserver-auth=" and
the jobserver auth string is not in one of the expected formats, then
the message '"--jobserver-auth=' is not present in MAKEFLAGS" is
printed. The message apparently intended in that case, "cannot access
'--jobserver-auth=' file descriptors", can never be printed.

Native Windows builds of GNU make put the name of a named semaphore in
the auth string, as "--jobserver-auth=gmake_semaphore_22416". (This is
"--jobserver-style=sem" and is the only available style in native
Windows GNU Make, as of Make 4.4.) It would be nice to mention in the
"-flto" documentation that this is not supported.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-10 22:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-10 22:05 Incorrect message "'--jobserver-auth=' is not present in MAKEFLAGS" Richard Copley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).