On 7/3/21 4:34 PM, Cole Robinson wrote: > Hi, I'm hitting build errors with clang on i686 userspace on x86_64 > kernel. Affects both qemu 6.0.0 and qemu.git, tested with fedora > clang-12.0.1~rc3-1.fc35.i686. > > Full build log from the 6.0.0 build: > https://gist.githubusercontent.com/crobinso/7b1206044eac7326490b2adce829e861/raw/9dddef968051fd6383ba7adb9e595081ad4f8fa4/gistfile1.txt > > 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'
Marc-André reported this one recently: https://www.mail-archive.com/qemu-devel@nongnu.org/msg814163.html Peter once replied smth related: https://lists.gnu.org/archive/html/qemu-devel/2018-01/msg02103.html