Disable stack protection for AArch64. F23's GCC thinks that it is available but F23's glibc does not support it.

This commit is contained in:
Peter Robinson 2015-07-01 11:26:59 +01:00
parent 749c3c43c3
commit 806ecbe49c

View File

@ -40,7 +40,7 @@
Summary: QEMU is a FAST! processor emulator
Name: qemu
Version: 2.3.0
Release: 11%{?dist}
Release: 12%{?dist}
Epoch: 2
License: GPLv2+ and LGPLv2+ and BSD
Group: Development/Tools
@ -612,6 +612,9 @@ unicore32-linux-user aarch64-softmmu"
%ifnarch aarch64
--extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" \
--extra-cflags="%{optflags}" \
%endif
%ifarch aarch64
--extra-cflags="%{optflags} -fno-stack-protector" \
%endif
--enable-pie \
--disable-werror \
@ -1195,6 +1198,9 @@ getent passwd qemu >/dev/null || \
%changelog
* Wed Jul 01 2015 Nick Clifton <nickc@redhat.com> - 2:2.3.0-12
- Disable stack protection for AArch64. F23's GCC thinks that it is available but F23's glibc does not support it.
* Fri Jun 26 2015 Paolo Bonzini <pbonzini@redhat.com> - 2:2.3.0-10
- Rebuild for libiscsi soname bump