Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-04-06 Thread Alex Bennée
Sean Bruno writes: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > > > On 03/20/16 12:20, Sean Bruno wrote: >> aarch64 targets are now failing to build on i386 hosts due to >> missing __atomic_load_8() calls since this commit: >> >> https://github.com/qemu/qemu/commit/a0aa44b488b3601415d

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-04-06 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/20/16 12:20, Sean Bruno wrote: > aarch64 targets are now failing to build on i386 hosts due to > missing __atomic_load_8() calls since this commit: > > https://github.com/qemu/qemu/commit/a0aa44b488b3601415d55041e4619aef5f 3a4ba8#diff-c143d6

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-31 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 This seems to at least allow things to compile, qemu-system seems to be able to boot images on i386, but I may have missed something: diff --git a/cpus.c b/cpus.c index 23cf7aa..11f8bab 100644 - --- a/cpus.c +++ b/cpus.c @@ -338,15 +338,8 @@ static

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-28 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 This seems to at least allow things to compile, qemu-system seems to be able to boot images on i386, but I may have missed something: diff --git a/cpus.c b/cpus.c index 23cf7aa..11f8bab 100644 - --- a/cpus.c +++ b/cpus.c @@ -338,15 +338,8 @@ static

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-22 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/21/16 08:56, Paolo Bonzini wrote: > > > On 21/03/2016 16:36, Alex Bennée wrote: >>> 341 /* The icount_warp_timer is rescheduled soon after >>> vm_clock_warp_start 342 * changes from -1 to another >>> value, so the race here is okay

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-22 Thread Alex Bennée
Sean Bruno writes: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > > > On 03/21/16 08:56, Paolo Bonzini wrote: >> >> >> On 21/03/2016 16:36, Alex Bennée wrote: 341 /* The icount_warp_timer is rescheduled soon after vm_clock_warp_start 342 * changes from -1 to another >

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-21 Thread Paolo Bonzini
On 21/03/2016 16:36, Alex Bennée wrote: > > 341 /* The icount_warp_timer is rescheduled soon after > > vm_clock_warp_start > > 342 * changes from -1 to another value, so the race here is okay. > > 343 */ > > 344 if (atomic_read(&vm_clock_warp_start) == -1) { > > 345

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-21 Thread Alex Bennée
Sean Bruno writes: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > > > On 03/21/16 02:11, Alex Bennée wrote: >> >> Peter Maydell writes: >> >>> On 20 March 2016 at 19:20, Sean Bruno >>> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 aarch64 targets are now failin

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-21 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/21/16 02:11, Alex Bennée wrote: > > Peter Maydell writes: > >> On 20 March 2016 at 19:20, Sean Bruno >> wrote: >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 >>> >>> aarch64 targets are now failing to build on i386 hosts due to >>>

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-21 Thread Alex Bennée
Paolo Bonzini writes: > On 21/03/2016 10:35, Peter Maydell wrote: >> > x86 can actually do 64-bit atomic loads and stores through the FPU, but >> > I'm not sure about other 32-bit targets? >> >> As I say, ppc32 linux is one that can't -- see commit 8a5956ad6392f1155 >> for last time this came up

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-21 Thread Paolo Bonzini
On 21/03/2016 10:35, Peter Maydell wrote: > > x86 can actually do 64-bit atomic loads and stores through the FPU, but > > I'm not sure about other 32-bit targets? > > As I say, ppc32 linux is one that can't -- see commit 8a5956ad6392f1155 > for last time this came up. Yes, I remember that. Loa

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-21 Thread Peter Maydell
On 21 March 2016 at 09:06, Paolo Bonzini wrote: > x86 can actually do 64-bit atomic loads and stores through the FPU, but > I'm not sure about other 32-bit targets? As I say, ppc32 linux is one that can't -- see commit 8a5956ad6392f1155 for last time this came up. Ideally we should put a compile

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-21 Thread Alex Bennée
Peter Maydell writes: > On 20 March 2016 at 19:20, Sean Bruno wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA512 >> >> aarch64 targets are now failing to build on i386 hosts due to missing >> __atomic_load_8() calls since this commit: >> >> https://github.com/qemu/qemu/commit/a0aa44b4

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-21 Thread Paolo Bonzini
On 20/03/2016 20:20, Sean Bruno wrote: > aarch64 targets are now failing to build on i386 hosts due to missing > __atomic_load_8() calls since this commit: > > https://github.com/qemu/qemu/commit/a0aa44b488b3601415d55041e4619aef5f3a4ba8#diff-c143d686899ae51d7b927d9c682e12fd > > I'm unsure if Li

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-20 Thread Peter Maydell
On 20 March 2016 at 19:20, Sean Bruno wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > aarch64 targets are now failing to build on i386 hosts due to missing > __atomic_load_8() calls since this commit: > > https://github.com/qemu/qemu/commit/a0aa44b488b3601415d55041e4619aef5f3a4ba8#d

[Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-20 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 aarch64 targets are now failing to build on i386 hosts due to missing __atomic_load_8() calls since this commit: https://github.com/qemu/qemu/commit/a0aa44b488b3601415d55041e4619aef5f3a4ba8#diff-c143d686899ae51d7b927d9c682e12fd I'm unsure if Linux