public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pexu@gcc-bugzilla.mail.kapsi.fi" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/98275] -flto=auto fails if nthreads_var is zero, must not pass -j0 Date: Tue, 15 Dec 2020 10:12:47 +0000 [thread overview] Message-ID: <bug-98275-4-5KbgKCSwhl@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-98275-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98275 --- Comment #4 from Pekka S <pexu@gcc-bugzilla.mail.kapsi.fi> --- (I wrote this prior the ticked was modifed and the patch committed.) Thanks. Applied the patch on the latest trunk, built aarch64-none-gcc cross compiler (mingw64). Using -flto=auto -v reports `LTO parallelism level set to 1' and `make -f <temporary.mk> -j1 all'; Linking now succeeds. Tested using GNU make 4.2.93 and 4.3 (msys2). I do not know whether or not the number of processors should be actually detectable. I presume I'll be simply using -flto=N (N>1) as it appears to work just fine. As a side note behaviour is now slightly different between -flto=auto if nthreads_var<=1 and -flto=N where N<=1.
prev parent reply other threads:[~2020-12-15 10:12 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-14 13:55 [Bug lto/98275] New: " pexu@gcc-bugzilla.mail.kapsi.fi 2020-12-14 16:15 ` [Bug lto/98275] " marxin at gcc dot gnu.org 2020-12-15 9:07 ` cvs-commit at gcc dot gnu.org 2020-12-15 9:10 ` marxin at gcc dot gnu.org 2020-12-15 10:12 ` pexu@gcc-bugzilla.mail.kapsi.fi [this message]
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=bug-98275-4-5KbgKCSwhl@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --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).