public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: Richard Copley <rcopley@gmail.com> To: gcc-bugs@gcc.gnu.org Subject: Incorrect message "'--jobserver-auth=' is not present in MAKEFLAGS" Date: Mon, 10 Jun 2024 23:05:11 +0100 [thread overview] Message-ID: <CAPM58oicjaG5dKfMg6WnA00y5Cce1ZNcyoQX47V4vhOUyAcvMA@mail.gmail.com> (raw) 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.
reply other threads:[~2024-06-10 22:05 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CAPM58oicjaG5dKfMg6WnA00y5Cce1ZNcyoQX47V4vhOUyAcvMA@mail.gmail.com \ --to=rcopley@gmail.com \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).