Date: Mon, 3 Oct 2016 12:09:51 +0000 From: Rick Macklem <rmacklem@uoguelph.ca> To: Konstantin Belousov <kostikbel@gmail.com>, David Wolfskill <david@catwhisker.org>, "stable@freebsd.org" <stable@freebsd.org>, "Rick Macklem" <rmacklem@FreeBSD.org> Subject: Re: stable/11 build fails @r306629; I suspect r306609 Message-ID: <YTXPR01MB0189302ED1190577EAD43AA8DDC20@YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM> In-Reply-To: <20161003115409.GO38409@kib.kiev.ua> References: <20161003112901.GG1103@albert.catwhisker.org>, <20161003115409.GO38409@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, I forgot that the userland commits were needed as soon as the kernel commit went in. I have just done the userland commits and things should be fixed now. (I don't know what r305146 is, but I don't think it is related t= o this.) Again, sorry for breaking the build, rick ________________________________ From: owner-freebsd-stable@freebsd.org <owner-freebsd-stable@freebsd.org> o= n behalf of Konstantin Belousov <kostikbel@gmail.com> Sent: Monday, October 3, 2016 7:54:09 AM To: David Wolfskill; stable@freebsd.org; Rick Macklem Subject: Re: stable/11 build fails @r306629; I suspect r306609 On Mon, Oct 03, 2016 at 04:29:01AM -0700, David Wolfskill wrote: > This is for a src-based in-place upgrade of stable/11 (amd64) from > r306576 to r306629; both my laptop and build machine show errors, > starting with: > > ... > >>> stage 4.3: building everything > ... > --- all_subdir_usr.bin --- > --- all_subdir_usr.bin/nfsstat --- > --- nfsstat.o --- > /usr/src/usr.bin/nfsstat/nfsstat.c:301:4: error: array index 72 is past t= he end of the array (which contains 49 elements) [-Werror,-Warray-bounds] > ext_nfsstats.srvrpccnt[NFSV4OP_SYMLINK], > ^ ~~~~~~~~~~~~~~~ > /usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array 'srv= rpccnt' declared here > int srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS]; > ^ > /usr/src/usr.bin/nfsstat/nfsstat.c:302:4: error: array index 73 is past t= he end of the array (which contains 49 elements) [-Werror,-Warray-bounds] > ext_nfsstats.srvrpccnt[NFSV4OP_MKDIR], > ^ ~~~~~~~~~~~~~ > /usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array 'srv= rpccnt' declared here > int srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS]; > ^ > /usr/src/usr.bin/nfsstat/nfsstat.c:303:4: error: array index 74 is past t= he end of the array (which contains 49 elements) [-Werror,-Warray-bounds] > ext_nfsstats.srvrpccnt[NFSV4OP_RMDIR], > ^ ~~~~~~~~~~~~~ > /usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array 'srv= rpccnt' declared here > int srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS]; > ^ > /usr/src/usr.bin/nfsstat/nfsstat.c:305:4: error: array index 75 is past t= he end of the array (which contains 49 elements) [-Werror,-Warray-bounds] > ext_nfsstats.srvrpccnt[NFSV4OP_READDIRPLUS], > ^ ~~~~~~~~~~~~~~~~~~~ > /usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array 'srv= rpccnt' declared here > int srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS]; > ^ > /usr/src/usr.bin/nfsstat/nfsstat.c:310:4: error: array index 76 is past t= he end of the array (which contains 49 elements) [-Werror,-Warray-bounds] > ext_nfsstats.srvrpccnt[NFSV4OP_MKNOD], > ^ ~~~~~~~~~~~~~ > /usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array 'srv= rpccnt' declared here > int srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS]; > ^ > /usr/src/usr.bin/nfsstat/nfsstat.c:311:4: error: array index 77 is past t= he end of the array (which contains 49 elements) [-Werror,-Warray-bounds] > ext_nfsstats.srvrpccnt[NFSV4OP_FSSTAT], > ^ ~~~~~~~~~~~~~~ > /usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array 'srv= rpccnt' declared here > int srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS]; > ^ > /usr/src/usr.bin/nfsstat/nfsstat.c:312:4: error: array index 78 is past t= he end of the array (which contains 49 elements) [-Werror,-Warray-bounds] > ext_nfsstats.srvrpccnt[NFSV4OP_FSINFO], > ^ ~~~~~~~~~~~~~~ > /usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array 'srv= rpccnt' declared here > int srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS]; > ^ > /usr/src/usr.bin/nfsstat/nfsstat.c:313:4: error: array index 79 is past t= he end of the array (which contains 49 elements) [-Werror,-Warray-bounds] > ext_nfsstats.srvrpccnt[NFSV4OP_PATHCONF], > ^ ~~~~~~~~~~~~~~~~ > /usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array 'srv= rpccnt' declared here > int srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS]; > ^ > /usr/src/usr.bin/nfsstat/nfsstat.c:544:7: error: array index 80 is past t= he end of the array (which contains 49 elements) [-Werror,-Warray-bounds] > ext_nfsstats.srvrpccnt[NFSV4OP_V3CREATE], > ^ ~~~~~~~~~~~~~~~~ > /usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array 'srv= rpccnt' declared here > int srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS]; > ^ > /usr/src/usr.bin/nfsstat/nfsstat.c:554:7: error: array index 72 is past t= he end of the array (which contains 49 elements) [-Werror,-Warray-bounds] > ext_nfsstats.srvrpccnt[NFSV4OP_SYMLINK], > ^ ~~~~~~~~~~~~~~~ > /usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array 'srv= rpccnt' declared here > int srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS]; > ^ > /usr/src/usr.bin/nfsstat/nfsstat.c:555:7: error: array index 73 is past t= he end of the array (which contains 49 elements) [-Werror,-Warray-bounds] > ext_nfsstats.srvrpccnt[NFSV4OP_MKDIR], > ^ ~~~~~~~~~~~~~ > /usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array 'srv= rpccnt' declared here > int srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS]; > ^ > /usr/src/usr.bin/nfsstat/nfsstat.c:556:7: error: array index 74 is past t= he end of the array (which contains 49 elements) [-Werror,-Warray-bounds] > ext_nfsstats.srvrpccnt[NFSV4OP_RMDIR], > ^ ~~~~~~~~~~~~~ > /usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array 'srv= rpccnt' declared here > int srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS]; > ^ > /usr/src/usr.bin/nfsstat/nfsstat.c:558:7: error: array index 75 is past t= he end of the array (which contains 49 elements) [-Werror,-Warray-bounds] > ext_nfsstats.srvrpccnt[NFSV4OP_READDIRPLUS], > ^ ~~~~~~~~~~~~~~~~~~~ > /usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array 'srv= rpccnt' declared here > int srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS]; > ^ > /usr/src/usr.bin/nfsstat/nfsstat.c:566:7: error: array index 76 is past t= he end of the array (which contains 49 elements) [-Werror,-Warray-bounds] > ext_nfsstats.srvrpccnt[NFSV4OP_MKNOD], > ^ ~~~~~~~~~~~~~ > /usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array 'srv= rpccnt' declared here > int srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS]; > ^ > /usr/src/usr.bin/nfsstat/nfsstat.c:567:7: error: array index 77 is past t= he end of the array (which contains 49 elements) [-Werror,-Warray-bounds] > .... > > > Based on what I've seen in the past, I suspect that changes to a > small number (e.g., 1) of files) didn't make it to the commit. The missed revisions are r304058, r304059, r304066, r304194, r305146, it seems. WRT r305146, I am not completely sure about other Makefiles, but preceeding revisions are definitely needed. Do svn merge -c r304058,r304059,r304066,r304194,r305146 \^/head and rebuild the world. _______________________________________________ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YTXPR01MB0189302ED1190577EAD43AA8DDC20>