This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][AArch64] Use builtins for fpcr/fpsr
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- Cc: Szabolcs Nagy <Szabolcs dot Nagy at arm dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, nd <nd at arm dot com>
- Date: Fri, 9 Feb 2018 22:34:31 +0000
- Subject: Re: [PATCH][AArch64] Use builtins for fpcr/fpsr
- Authentication-results: sourceware.org; auth=none
- References: <DB6PR0801MB20530C40FDB2D3561E6728BC83100@DB6PR0801MB2053.eurprd08.prod.outlook.com>,<5A60A7BF.6090000@arm.com>,<DB6PR0801MB20535C53FE803D3DD74A695083EF0@DB6PR0801MB2053.eurprd08.prod.outlook.com> <DB6PR0801MB20535E76ABF67E12E616C0F083F20@DB6PR0801MB2053.eurprd08.prod.outlook.com>
I'm seeing:
In file included from ../include/fpu_control.h:2:0,
from test-fpucw.c:19:
../sysdeps/aarch64/fpu/fpu_control.h:24:5: error: "__GNUC_PREREQ" is not defined, evaluates to 0 [-Werror=undef]
#if __GNUC_PREREQ (6,0)
^~~~~~~~~~~~~
../sysdeps/aarch64/fpu/fpu_control.h:24:19: error: missing binary operator before token "("
#if __GNUC_PREREQ (6,0)
^
fpu_control.h is missing an include of features.h, as needed to use
__GNUC_PREREQ.
--
Joseph S. Myers
joseph@codesourcery.com