ToT build error with ToT GCC on Aarch64

Steve Ellcey sellcey@cavium.com
Mon Jul 23 15:51:00 GMT 2018


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



More information about the Libc-alpha mailing list