[libvirt] [PATCH] aarch64: Disable -fstack-protector.
Eric Blake
eblake at redhat.com
Wed Jan 1 13:52:09 UTC 2014
On 01/01/2014 06:42 AM, Richard W.M. Jones wrote:
> From: "Richard W.M. Jones" <rjones at redhat.com>
>
> I'm using gcc-4.8.2-7.fc21.aarch64 which does not appear to support
> this option.
> ---
> m4/virt-compile-warnings.m4 | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/m4/virt-compile-warnings.m4 b/m4/virt-compile-warnings.m4
> index 1547e03..574fbc4 100644
> --- a/m4/virt-compile-warnings.m4
> +++ b/m4/virt-compile-warnings.m4
> @@ -163,6 +163,9 @@ AC_DEFUN([LIBVIRT_COMPILE_WARNINGS],[
> dnl -fstack-protector stuff passes gl_WARN_ADD with gcc
> dnl on Mingw32, but fails when actually used
> case $host in
> + aarch64-*-*)
> + dnl "error: -fstack-protector not supported for this target [-Werror]"
> + ;;
ACK. It would be nicer to figure out why gl_WARN_ADD isn't able to flag
this warning as broken for your setup in the first place, but as that's
probably more of a task for gnulib, I'm okay with this patch in the
meantime.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140101/eb3b4754/attachment-0001.sig>
More information about the libvir-list
mailing list