All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel <qemu-devel@nongnu.org>,
	Cole Robinson <crobinso@redhat.com>
Subject: Re: clang build error on i686
Date: Mon, 12 Jul 2021 09:10:17 -0700	[thread overview]
Message-ID: <ec055ee4-bb12-a40b-3110-603c6d15ca67@linaro.org> (raw)
In-Reply-To: <CAFEAcA8NN3RKScgCgZ_E0fHich1vc-QJibsMzA3wbdVkMKLYMQ@mail.gmail.com>

On 7/11/21 10:50 AM, Peter Maydell wrote:
>>>> Lots of errors like:
>>>>
>>>> /usr/bin/ld: libqemu-aarch64-softmmu.fa.p/accel_tcg_cputlb.c.o: in
>>>> function `helper_atomic_cmpxchgq_le_mmu':
>>>> /builddir/build/BUILD/qemu-6.0.0/accel/tcg/atomic_template.h:86:
>>>> undefined reference to `__atomic_compare_exchange_8'
>>>> /usr/bin/ld: libqemu-aarch64-softmmu.fa.p/accel_tcg_cputlb.c.o: in
>>>> function `helper_atomic_xchgq_le_mmu':
>>>> /builddir/build/BUILD/qemu-6.0.0/accel/tcg/atomic_template.h:134:
>>>> undefined reference to `__atomic_exchange_8'
...
> The first part of the problem isn't just a warning, though -- it's clang
> actually emitting calls to libatomic.

I wasn't able to reproduce this part, only the compile-time warning.


r~


      reply	other threads:[~2021-07-12 16:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-03 14:34 clang build error on i686 Cole Robinson
2021-07-03 16:20 ` Philippe Mathieu-Daudé
2021-07-03 16:27   ` Philippe Mathieu-Daudé
2021-07-03 16:25 ` Philippe Mathieu-Daudé
2021-07-03 17:45 ` Peter Maydell
2021-07-11 15:17   ` Richard Henderson
2021-07-11 17:50     ` Peter Maydell
2021-07-12 16:10       ` Richard Henderson [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=ec055ee4-bb12-a40b-3110-603c6d15ca67@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=crobinso@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.