This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
ToT build problem with nextafterl/nexttowardl (when using ToT GCC)
- From: Steve Ellcey <sellcey at cavium dot com>
- To: libc-alpha <libc-alpha at sourceware dot org>
- Date: Fri, 08 Dec 2017 08:51:43 -0800
- Subject: ToT build problem with nextafterl/nexttowardl (when using ToT GCC)
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Steve dot Ellcey at cavium dot com;
- Reply-to: sellcey at cavium dot com
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Is anyone else seeing this problem when building glibc. I am using the
ToT GCC to build ToT glibc.
Steve Ellcey
sellcey@cavium.com
In file included from ../include/bits/mathcalls.h:1,
from ../math/math.h:350,
from ../include/math.h:7,
from ../sysdeps/aarch64/fpu/s_llround.c:19:
../math/bits/mathcalls.h:259:1: error: ignoring attribute ‘const’ in declaration of a built-in function ‘nextafterl’ because it conflicts with attribute ‘pure’ [-Werror=attributes]
__MATHCALLX (nextafter,, (_Mdouble_ __x, _Mdouble_ __y), (__const__));
^~~~~~~~~~~
<built-in>: note: previous declaration here
../math/bits/mathcalls.h:261:1: error: ignoring attribute ‘const’ in declaration of a built-in function ‘nexttowardl’ because it conflicts with attribute ‘pure’ [-Werror=attributes]
__MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__));
^~~~~~~~~~~
<built-in>: note: previous declaration here