v2.8.0 won't compile if g++ compiler doesn't understand "-fstack-protector-strong"
Bug #1660599 reported by
Uqbar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
For example, Ubuntu Trusty (LTS 14.04) uses g++ v4.8.5.
Compilation fails with a syntax error saying that the ""-fstack-
Instead, under Ubuntu Xenial (LTS 16.04), the g++ compiler is v5.4.0 and the compilation goes on smoothly.
To post a comment you must log in.
Could you provide the command you've used? stack-protector && make` in Ubuntu 14.04 and qemu v2.8.0. It didn't set `-fstack- protector- strong` flag, only `-fstack- protector- all`.
I tried `CC=gcc-4.8 ./configure --enable-