This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ToT build error with ToT GCC on Aarch64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]