blob: d6b458e3a3d03f2c68b95623090b51eaeeb23c7d (
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
|
other: 0.952
vnc: 0.692
graphic: 0.686
semantic: 0.600
device: 0.600
socket: 0.501
instruction: 0.500
mistranslation: 0.485
boot: 0.460
network: 0.456
assembly: 0.317
KVM: 0.282
8.1-rc0 failure to build with capstone 5.0
Description of problem:
Use >=capstone-5.0 dependency, try to build qemu, get this error:
```
/opt/homebrew/Cellar/capstone/5.0/include/capstone/tricore.h:561:3: error:
redefinition of 'tricore_feature' as different kind of symbol
} tricore_feature;
^
../target/tricore/cpu.h:261:19: note: previous definition is here
static inline int tricore_feature(CPUTriCoreState *env, int feature)
^
1 error generated.
```
The fix is trivial and it was already mentioned in the mailing list but wasn't fixed for rc0, so I figured it might have been forgotten about.
https://lore.kernel.org/qemu-devel/CA+PgxXVxVKpT0SZ3N+Fc1YvXCiwkkbqm0FmLKqLTbgcDpYCNgg@mail.gmail.com/
If you meet any other problem with capstone (e.g. some regression), please don't hesitate to report it mainstream.
There are plans to make a new patch release soon with fixes for some most annoying bugs since the 5.0 release: https://github.com/capstone-engine/capstone/issues/2081
https://github.com/capstone-engine/capstone/releases
|