|
From: | Richard Henderson |
Subject: | Re: clang build error on i686 |
Date: | Mon, 12 Jul 2021 09:10:17 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
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~
[Prev in Thread] | Current Thread | [Next in Thread] |