On Mon, Jul 05, 2021 at 12:31:01PM +0200, Philippe Mathieu-Daudé wrote: > +Richard/Stefan for "atomic" error. ... > > [2363/9207] Linking target qemu-system-aarch64 > > FAILED: qemu-system-aarch64 > > clang++ @qemu-system-aarch64.rsp > > libqemu-aarch64-softmmu.fa.p/accel_tcg_cputlb.c.o: In function > > `helper_atomic_cmpxchgq_le_mmu': > > /tmp/tmp.VkWONZ62bA/build/../accel/tcg/atomic_template.h:86: undefined > > reference to `__atomic_compare_exchange_8' > > libqemu-aarch64-softmmu.fa.p/accel_tcg_cputlb.c.o: In function > > `helper_atomic_xchgq_le_mmu': > > /tmp/tmp.VkWONZ62bA/build/../accel/tcg/atomic_template.h:134: undefined > > reference to `__atomic_exchange_8' > > libqemu-aarch64-softmmu.fa.p/accel_tcg_cputlb.c.o: In function > > `helper_atomic_fetch_addq_le_mmu':
According to docs/devel/atomics.rst: These operations are polymorphic; they operate on any type that is as wide as a pointer or smaller. It looks like the compiler doesn't support 8-bit atomics here? Stefan
signature.asc
Description: PGP signature