This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
ToT build error with ToT GCC on Aarch64
- From: Steve Ellcey <sellcey at cavium dot com>
- To: libc-alpha <libc-alpha at sourceware dot org>
- Date: Mon, 23 Jul 2018 08:51:32 -0700
- Subject: ToT build error with ToT GCC on Aarch64
- Reply-to: sellcey at cavium dot com
I have run into a problem when building the ToT glibc with the ToT GCC on
Aarch64. I haven't dug into this enough to know if this is a GCC problem,
a glibc problem, or just a message that needs to be ignored but I wanted to
send out an email in case this is something that needs to be addressed
before GCC 2.28 is released.
Steve Ellcey
sellcey@cavium.com
In file included from fnmatch.c:244:
fnmatch_loop.c: In function ‘internal_fnwmatch’:
../locale/weightwc.h:124:28: error: array subscript 1 is outside array bounds of
‘wint_t[1]’ {aka ‘unsigned int[1]’} [-Werror=array-bounds]
if (cp[nhere - 1] > usrc[nhere -1])
~~~~^~~~~~~~~~
In file included from fnmatch.c:244:
fnmatch_loop.c: In function ‘internal_fnwmatch’:
../locale/weightwc.h:124:28: error: array subscript 1 is outside array bounds of
‘wint_t[1]’ {aka ‘unsigned int[1]’} [-Werror=array-bounds]
if (cp[nhere - 1] > usrc[nhere -1])
~~~~^~~~~~~~~~
cc1: all warnings being treated as errors
../o-iterator.mk:9: recipe for target '/home/sellcey/tot/obj/glibc64/posix/fnmat
ch.o' failed