blob: 596cb04f359227f56d98fa28aa1e1d20c507dfef (
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
|
graphic: 0.789
device: 0.705
semantic: 0.624
other: 0.473
network: 0.414
performance: 0.374
PID: 0.306
vnc: 0.284
socket: 0.272
debug: 0.267
boot: 0.194
files: 0.167
permissions: 0.164
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.]
|