blob: c4ed65fd9d307a194dd5cf99a1a8ff1a7eaca2aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
PID: 0.669
mistranslation: 0.651
socket: 0.625
device: 0.624
semantic: 0.496
debug: 0.449
i386: 0.440
ppc: 0.420
arm: 0.408
vnc: 0.401
kernel: 0.373
VMM: 0.370
permissions: 0.356
network: 0.352
x86: 0.342
user-level: 0.338
boot: 0.335
architecture: 0.327
hypervisor: 0.311
register: 0.310
TCG: 0.304
performance: 0.266
files: 0.257
risc-v: 0.236
graphic: 0.178
virtual: 0.142
assembly: 0.124
KVM: 0.098
peripherals: 0.083
migration.c:293: undefined reference to `__sync_val_compare_and_swap_4'
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:
> 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
Please post your gcc version:
$ gcc --version
therock247uk@dell-PC ~
$ gcc --version
gcc.exe (GCC) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
therock247uk@dell-PC ~
$
I assume this had been fixed by this commit here: http://git.qemu.org/?p=qemu.git;a=commitdiff;h=1405b6290fa2143e02dce - so I'm closing this ticket now. If you still hit the problem with the latest version of QEMU, please feel free to open this ticket again.
|