Re: [Qemu-devel] [PATCH] w32: Fix build with older gcc (unresolved symbol)

2013-05-11 Thread Stefan Weil
Am 11.05.2013 11:01, schrieb Igor Mitsyanko: > On 11.05.2013 10:41, Stefan Weil wrote: >> Am 10.05.2013 22:14, schrieb Igor Mitsyanko: >>> On 29.03.2013 21:20, Stefan Weil wrote: The cross i586-mingw32msvc-gcc 4.4.4 from Debian Squeeze does not support __sync_val_compare_and_swap by

Re: [Qemu-devel] [PATCH] w32: Fix build with older gcc (unresolved symbol)

2013-05-11 Thread Igor Mitsyanko
On 11.05.2013 10:41, Stefan Weil wrote: Am 10.05.2013 22:14, schrieb Igor Mitsyanko: On 29.03.2013 21:20, Stefan Weil wrote: The cross i586-mingw32msvc-gcc 4.4.4 from Debian Squeeze does not support __sync_val_compare_and_swap by default. Using -march=i686 fixes that and should also result in

Re: [Qemu-devel] [PATCH] w32: Fix build with older gcc (unresolved symbol)

2013-05-10 Thread Stefan Weil
Am 10.05.2013 22:14, schrieb Igor Mitsyanko: > On 29.03.2013 21:20, Stefan Weil wrote: >> The cross i586-mingw32msvc-gcc 4.4.4 from Debian Squeeze does not >> support >> __sync_val_compare_and_swap by default. >> >> Using -march=i686 fixes that and should also result in better code. >> >> Signed-of

Re: [Qemu-devel] [PATCH] w32: Fix build with older gcc (unresolved symbol)

2013-05-10 Thread Igor Mitsyanko
On 29.03.2013 21:20, Stefan Weil wrote: The cross i586-mingw32msvc-gcc 4.4.4 from Debian Squeeze does not support __sync_val_compare_and_swap by default. Using -march=i686 fixes that and should also result in better code. Signed-off-by: Stefan Weil --- Maybe this modification is also needed f

Re: [Qemu-devel] [PATCH] w32: Fix build with older gcc (unresolved symbol)

2013-03-30 Thread Blue Swirl
Thanks, applied. On Fri, Mar 29, 2013 at 5:20 PM, Stefan Weil wrote: > The cross i586-mingw32msvc-gcc 4.4.4 from Debian Squeeze does not support > __sync_val_compare_and_swap by default. > > Using -march=i686 fixes that and should also result in better code. > > Signed-off-by: Stefan Weil > ---

Re: [Qemu-devel] [PATCH] w32: Fix build with older gcc (unresolved symbol)

2013-03-30 Thread Peter Maydell
On 30 March 2013 13:44, Blue Swirl wrote: > On Fri, Mar 29, 2013 at 5:58 PM, Peter Maydell > wrote: >> On 29 March 2013 17:20, Stefan Weil wrote: >>> Maybe this modification is also needed for native gcc-4.4 and older >>> on Linux i386. If yes, we can move the new script code out of the >>> Min

Re: [Qemu-devel] [PATCH] w32: Fix build with older gcc (unresolved symbol)

2013-03-30 Thread Blue Swirl
On Fri, Mar 29, 2013 at 5:58 PM, Peter Maydell wrote: > On 29 March 2013 17:20, Stefan Weil wrote: >> Maybe this modification is also needed for native gcc-4.4 and older >> on Linux i386. If yes, we can move the new script code out of the >> MinGW conditional code. > > There are at least a few pe

Re: [Qemu-devel] [PATCH] w32: Fix build with older gcc (unresolved symbol)

2013-03-29 Thread Peter Maydell
On 29 March 2013 17:20, Stefan Weil wrote: > Maybe this modification is also needed for native gcc-4.4 and older > on Linux i386. If yes, we can move the new script code out of the > MinGW conditional code. There are at least a few people who want to run on older CPUs still (though the use of rdt

[Qemu-devel] [PATCH] w32: Fix build with older gcc (unresolved symbol)

2013-03-29 Thread Stefan Weil
The cross i586-mingw32msvc-gcc 4.4.4 from Debian Squeeze does not support __sync_val_compare_and_swap by default. Using -march=i686 fixes that and should also result in better code. Signed-off-by: Stefan Weil --- Maybe this modification is also needed for native gcc-4.4 and older on Linux i386.