public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Palmer Dabbelt <palmer@dabbelt.com>
To: gcc-patches@gcc.gnu.org
Cc: kito.cheng@sifive.com, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH 0/2] New target hook TARGET_COMPUTE_MULTILIB and implementation for RISC-V
Date: Thu, 29 Jul 2021 12:00:29 -0700 (PDT)	[thread overview]
Message-ID: <mhng-ec5906c8-1f45-425b-ba93-dddd755a24b3@palmerdabbelt-glaptop> (raw)
In-Reply-To: <CA+yXCZA1zvCxrLvxicPkpx2UxADbRryUXTd6ubcGp6qWfkhHyA@mail.gmail.com>

On Thu, 29 Jul 2021 11:44:09 PDT (-0700), gcc-patches@gcc.gnu.org wrote:
> ping
>
> On Wed, Jul 21, 2021 at 5:28 PM Kito Cheng <kito.cheng@sifive.com> wrote:
>>
>> This patch set allow target to use customized multi-lib mechanism rather than the built-in
>> multi-lib mechanism.
>>
>> The motivation of this patch is RISC-V might have very complicated multi-lib re-use
>> rule*, which is hard to maintain and use current multi-lib scripts,
>> we even hit the "argument list too long" error when we tried to add more
>> multi-lib reuse rule.
>>
>> * Here is an example for RISC-V multi-lib rules:
>> https://gist.github.com/kito-cheng/0289cd42d9a756382e5afeb77b42b73b
>>
>> V2 Changes:
>> - NO changes for first patch(TARGET_COMPUTE_MULTILIB part) since first version.
>> - Handle option other than -march and -mabi for riscv_compute_multilib.

This generally LGTM, but I think it's the sort of thing that should be 
looked at by a global reviewer.  There's a bit of a policy decision 
being made here in that this allows external hooks during the build 
process.

I'm fine with this, as it's just the multilib list, those are really 
specific to a specific toolchain distribution, and there's never going 
to be a way to catalog all the interested cases for the embedded 
toolchains.  I'm still not comfortable calling that a review, though, as 
these things are subtle and I don't always have the same bar for 
external bits that the rest of the GCC folks do.

  reply	other threads:[~2021-07-29 19:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-21  9:28 Kito Cheng
2021-07-21  9:28 ` [PATCH 1/2] Add TARGET_COMPUTE_MULTILIB hook to override multi-lib result Kito Cheng
2021-09-01  0:16   ` Jim Wilson
2021-07-21  9:28 ` [PATCH 2/2] RISC-V: Implement TARGET_COMPUTE_MULTILIB Kito Cheng
2021-09-01  0:22   ` Jim Wilson
2021-09-01  0:23     ` Jim Wilson
2021-09-16  4:12     ` Kito Cheng
2022-09-09  7:20   ` Andreas Schwab
2022-09-09  9:58     ` Kito Cheng
2021-07-29 18:44 ` [PATCH 0/2] New target hook TARGET_COMPUTE_MULTILIB and implementation for RISC-V Kito Cheng
2021-07-29 19:00   ` Palmer Dabbelt [this message]
2022-09-02  9:28     ` Kito Cheng

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=mhng-ec5906c8-1f45-425b-ba93-dddd755a24b3@palmerdabbelt-glaptop \
    --to=palmer@dabbelt.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=kito.cheng@sifive.com \
    /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: link
Be 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).