blob: 88b6ef22e77f4729fd41a691f130d7a5284b515f (
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
|
mistranslation: 0.814
graphic: 0.789
device: 0.705
instruction: 0.673
semantic: 0.624
other: 0.473
network: 0.414
vnc: 0.284
socket: 0.272
boot: 0.194
assembly: 0.061
KVM: 0.019
v2.8.0 won't compile if g++ compiler doesn't understand "-fstack-protector-strong"
For example, Ubuntu Trusty (LTS 14.04) uses g++ v4.8.5.
Compilation fails with a syntax error saying that the ""-fstack-protector-strong" option in g++ is unrecognized.
Instead, under Ubuntu Xenial (LTS 16.04), the g++ compiler is v5.4.0 and the compilation goes on smoothly.
Could you provide the command you've used?
I tried `CC=gcc-4.8 ./configure --enable-stack-protector && make` in Ubuntu 14.04 and qemu v2.8.0. It didn't set `-fstack-protector-strong` flag, only `-fstack-protector-all`.
Which version of gcc (i.e. normal C-compiler, not g++) did you use here? Can you still reproduce this issue with the latest release of QEMU?
[Expired for QEMU because there has been no activity for 60 days.]
|