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

2017-07-13 Thread Nigel Horne
On 7/13/17 9:34 AM, Nigel Horne wrote: I'm going to explicitly add '-cc=gcc-7' and see if that helps. That fixed it. Sorry for the noise. -Nigel -- Nigel Horne Conductor: Rockville Brass Band, Washington Metropolitan GSO @nigelhorne | fb/nigel.horne | bandsman.co.uk | concert-bands.co.uk |

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

2017-07-13 Thread Nigel Horne
Thanks for running with this. I'm starting to suspect that my set-up is broken and I'm trying to mix and match gcc-6 and 7. My CFLAGS are: -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings -Wuninitialized -Wall -pipe -fomit-frame-pointer -D_FORTIFY_SOU

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

2017-07-13 Thread Philippe Mathieu-Daudé
Hi Nigel, On 07/13/2017 09:59 AM, Nigel Horne wrote: On 7/13/17 8:57 AM, Peter Maydell wrote: On 13 July 2017 at 13:51, Nigel Horne wrote: The latest version in github fails to link (using gcc-7) with this error: LINKaarch64-softmmu/qemu-system-aarch64 accel/tcg/cputlb.o: In function

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

2017-07-13 Thread Nigel Horne
On 7/13/17 8:57 AM, Peter Maydell wrote: On 13 July 2017 at 13:51, Nigel Horne wrote: The latest version in github fails to link (using gcc-7) with this error: LINKaarch64-softmmu/qemu-system-aarch64 accel/tcg/cputlb.o: In function `helper_atomic_cmpxchgo_le_mmu': cputlb.c:(.text+0x5f3d

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

2017-07-13 Thread Peter Maydell
On 13 July 2017 at 13:51, Nigel Horne wrote: > The latest version in github fails to link (using gcc-7) with this error: > > LINKaarch64-softmmu/qemu-system-aarch64 > accel/tcg/cputlb.o: In function `helper_atomic_cmpxchgo_le_mmu': > cputlb.c:(.text+0x5f3d): undefined reference to > `__atomi

[Qemu-devel] Link error with github source

2017-07-13 Thread Nigel Horne
The latest version in github fails to link (using gcc-7) with this error: LINKaarch64-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