qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Link error with github source


From: Peter Maydell
Subject: Re: [Qemu-devel] Link error with github source
Date: Thu, 13 Jul 2017 13:57:54 +0100

On 13 July 2017 at 13:51, Nigel Horne <address@hidden> wrote:
> The latest version in github fails to link (using gcc-7) with this error:
>
>   LINK    aarch64-softmmu/qemu-system-aarch64
> accel/tcg/cputlb.o: In function `helper_atomic_cmpxchgo_le_mmu':
> cputlb.c:(.text+0x5f3d): undefined reference to
> `__atomic_compare_exchange_16'
> accel/tcg/cputlb.o: In function `helper_atomic_cmpxchgo_be_mmu':
> cputlb.c:(.text+0x6000): undefined reference to
> `__atomic_compare_exchange_16'
> accel/tcg/cputlb.o: In function `helper_atomic_ldo_be_mmu':
> cputlb.c:(.text+0x602f): undefined reference to `__atomic_load_16'
> accel/tcg/cputlb.o: In function `helper_atomic_ldo_le_mmu':
> cputlb.c:(.text+0x5f73): undefined reference to `__atomic_load_16'
> accel/tcg/cputlb.o: In function `helper_atomic_sto_le_mmu':
> cputlb.c:(.text+0x5fa9): undefined reference to `__atomic_store_16'
> accel/tcg/cputlb.o: In function `helper_atomic_sto_be_mmu':
> cputlb.c:(.text+0x607f): undefined reference to `__atomic_store_16'
> collect2: error: ld returned 1 exit status
> Makefile:197: recipe for target 'qemu-system-aarch64' failed
> make[1]: *** [qemu-system-aarch64] Error 1
> Makefile:328: recipe for target 'subdir-aarch64-softmmu' failed
> make: *** [subdir-aarch64-softmmu] Error 2

Emilio's recent-ish change (commit f3ced3c5928) maybe?

Nigel -- what host architecture are you building for?

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]