On Mon, May 13, 2013 at 08:46:27PM -0000, therock247uk wrote:
> Public bug reported:
>
> latest git qemu error i get on compiling with mingw
>
> LINK i386-softmmu/qemu-system-i386w.exe
> ../migration.o: In function `migrate_finish_set_state':
> C:\MinGW\msys\1.0\home\therock247uk\qemu/migration.c:293: undefined reference to
> `__sync_val_compare_and_swap_4'
> C:\MinGW\msys\1.0\home\therock247uk\qemu/migration.c:293: undefined reference to
> `__sync_val_compare_and_swap_4'
> C:\MinGW\msys\1.0\home\therock247uk\qemu/migration.c:293: undefined reference to
> `__sync_val_compare_and_swap_4'
> collect2.exe: error: ld returned 1 exit status
> make[1]: *** [qemu-system-i386w.exe] Error 1
> make: *** [subdir-i386-softmmu] Error 2
On Mon, May 13, 2013 at 08:46:27PM -0000, therock247uk wrote: qemu-system- i386w.exe finish_ set_state' : msys\1. 0\home\ therock247uk\ qemu/migration. c:293: undefined reference to val_compare_ and_swap_ 4' msys\1. 0\home\ therock247uk\ qemu/migration. c:293: undefined reference to val_compare_ and_swap_ 4' msys\1. 0\home\ therock247uk\ qemu/migration. c:293: undefined reference to val_compare_ and_swap_ 4' i386w.exe] Error 1 i386-softmmu] Error 2
> Public bug reported:
>
> latest git qemu error i get on compiling with mingw
>
> LINK i386-softmmu/
> ../migration.o: In function `migrate_
> C:\MinGW\
> `__sync_
> C:\MinGW\
> `__sync_
> C:\MinGW\
> `__sync_
> collect2.exe: error: ld returned 1 exit status
> make[1]: *** [qemu-system-
> make: *** [subdir-
Please post your gcc version:
$ gcc --version