public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "iains at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/108182] gm2 driver mishandles target and multilib options Date: Fri, 06 Jan 2023 14:39:25 +0000 [thread overview] Message-ID: <bug-108182-4-35lITkDySz@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-108182-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Iain Sandoe from comment #5) > (In reply to Gaius Mulley from comment #4) > > Created attachment 54184 [details] > > Potential fix for target multilib_dir handling -m and -f. > > > > Work in progress. > > 1. (I think) the string you need is "multilib_os_dir" not "multilib_dir" > (but ICBW about that .. there are many twisty passages in the determination > of these things). It seems that I was wrong about this ... at least on x86_65-linux-gnu (which does use MULTILIB_OSDIRNAMES) and *-darwin* (which does not). It seems to DTRT. (tested on linux with a 32b multilib) > 2. The concern remains that the language spec handler is run pretty much > first in the stack and there are several other claims on the command line > that could have specs that alter (or add) flags to the command line, giving > a different outcome to the computation of mulilib_{,os_}dir. > > perhaps it would be a good idea to post this and ask the opinion of someone > like Joseph on the direction. So ... the proposed patch seems to fix the problem for Darwin and X86_64 Linux. definitely post it! (we still need to fix the issue with the shared libraries hidden by the additional -Ls but that's a one-line patch)
next prev parent reply other threads:[~2023-01-06 14:39 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-12-19 23:36 [Bug modula2/108182] New: " iains at gcc dot gnu.org 2022-12-19 23:36 ` [Bug modula2/108182] " iains at gcc dot gnu.org 2022-12-19 23:45 ` pinskia at gcc dot gnu.org 2023-01-02 12:38 ` iains at gcc dot gnu.org 2023-01-03 21:20 ` gaius at gcc dot gnu.org 2023-01-04 1:55 ` gaius at gcc dot gnu.org 2023-01-05 17:09 ` iains at gcc dot gnu.org 2023-01-06 14:39 ` iains at gcc dot gnu.org [this message] 2023-01-06 21:16 ` gaius at gcc dot gnu.org 2023-01-06 21:23 ` gaius at gcc dot gnu.org 2023-01-09 1:28 ` gaius at gcc dot gnu.org 2023-01-09 15:08 ` gaius at gcc dot gnu.org 2023-01-09 20:35 ` iains at gcc dot gnu.org 2023-01-10 11:39 ` iains at gcc dot gnu.org 2023-01-11 16:16 ` iains at gcc dot gnu.org 2023-01-12 23:49 ` iains at gcc dot gnu.org 2023-01-13 0:15 ` iains at gcc dot gnu.org 2023-01-17 16:59 ` iains at gcc dot gnu.org 2023-01-23 17:29 ` cvs-commit at gcc dot gnu.org 2023-01-23 17:34 ` iains at gcc dot gnu.org 2023-01-25 15:24 ` cvs-commit at gcc dot gnu.org 2023-01-25 15:46 ` iains at gcc dot gnu.org 2023-01-27 8:48 ` cvs-commit at gcc dot gnu.org
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-108182-4-35lITkDySz@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).