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