qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: qemu-devel@nongnu.org, Thomas Huth <thuth@redhat.com>
Subject: Re: [PATCH] host-utils: Drop workaround for buggy Apple Clang __builtin_subcll()
Date: Thu, 17 Jul 2025 17:59:41 +0100	[thread overview]
Message-ID: <CAFEAcA8hznDWTOXYMPbBscHmy5F_gKXhaAtyPk1LPcGf54RPXQ@mail.gmail.com> (raw)
In-Reply-To: <2b9a18a9-239d-40cc-bd65-225bad2706d3@linaro.org>

On Mon, 14 Jul 2025 at 20:52, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
>
> On 14/7/25 16:50, Peter Maydell wrote:
> > In commit b0438861efe ("host-utils: Avoid using __builtin_subcll on
> > buggy versions of Apple Clang") we added a workaround for a bug in
> > Apple Clang 14 where its __builtin_subcll() implementation was wrong.
> > This bug was only present in Apple Clang 14, not in upstream clang,
> > and is not present in Apple Clang versions 15 and newer.
> >
> > Since commit 4e035201 we have required at least Apple Clang 15, so we
> > no longer build with the buggy versions.  We can therefore drop the
> > workaround. This is effectively a revert of b0438861efe.
> >
> > This should not be backported to stable branches, which may still
> > need to support Apple Clang 14.
> >
> > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3030
> > Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> > ---
> >   include/qemu/compiler.h   | 13 -------------
> >   include/qemu/host-utils.h |  2 +-
> >   2 files changed, 1 insertion(+), 14 deletions(-)
>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Thanks all for the review; I'll pick this up via target-arm.next.

-- PMM


      reply	other threads:[~2025-07-17 19:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-14 14:50 [PATCH] host-utils: Drop workaround for buggy Apple Clang __builtin_subcll() Peter Maydell
2025-07-14 15:27 ` Thomas Huth
2025-07-14 16:02 ` Richard Henderson
2025-07-14 19:52 ` Philippe Mathieu-Daudé
2025-07-17 16:59   ` Peter Maydell [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=CAFEAcA8hznDWTOXYMPbBscHmy5F_gKXhaAtyPk1LPcGf54RPXQ@mail.gmail.com \
    --to=peter.maydell@linaro.org \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.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 NNTP newsgroup(s).