Re: [head tinderbox] failure on amd64/amd64

From: Garrett Cooper <yanegomi_at_gmail.com>
Date: Sun, 11 Dec 2011 01:31:07 -0800
On Dec 11, 2011, at 12:09 AM, FreeBSD Tinderbox wrote:

> TB --- 2011-12-11 05:20:00 - tinderbox 2.8 running on freebsd-current.sentex.ca
> TB --- 2011-12-11 05:20:00 - starting HEAD tinderbox run for amd64/amd64
> TB --- 2011-12-11 05:20:00 - cleaning the object tree
> TB --- 2011-12-11 05:20:31 - cvsupping the source tree
> TB --- 2011-12-11 05:20:31 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/amd64/amd64/supfile
> TB --- 2011-12-11 05:25:55 - building world
> TB --- 2011-12-11 05:25:55 - CROSS_BUILD_TESTING=YES
> TB --- 2011-12-11 05:25:55 - MAKEOBJDIRPREFIX=/obj
> TB --- 2011-12-11 05:25:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2011-12-11 05:25:55 - SRCCONF=/dev/null
> TB --- 2011-12-11 05:25:55 - TARGET=amd64
> TB --- 2011-12-11 05:25:55 - TARGET_ARCH=amd64
> TB --- 2011-12-11 05:25:55 - TZ=UTC
> TB --- 2011-12-11 05:25:55 - __MAKE_CONF=/dev/null
> TB --- 2011-12-11 05:25:55 - cd /src
> TB --- 2011-12-11 05:25:55 - /usr/bin/make -B buildworld
>>>> World build started on Sun Dec 11 05:25:56 UTC 2011
>>>> Rebuilding the temporary build tree
>>>> stage 1.1: legacy release compatibility shims
>>>> stage 1.2: bootstrap tools
>>>> stage 2.1: cleaning up the object tree
>>>> stage 2.2: rebuilding the object tree
>>>> stage 2.3: build tools
>>>> stage 3: cross tools
>>>> stage 4.1: building includes
>>>> stage 4.2: building libraries
>>>> stage 4.3: make dependencies
>>>> stage 4.4: building everything
>>>> stage 5.1: building 32 bit shim libraries
>>>> World build completed on Sun Dec 11 08:02:01 UTC 2011
> TB --- 2011-12-11 08:02:02 - generating LINT kernel config
> TB --- 2011-12-11 08:02:02 - cd /src/sys/amd64/conf
> TB --- 2011-12-11 08:02:02 - /usr/bin/make -B LINT
> TB --- 2011-12-11 08:02:02 - cd /src/sys/amd64/conf
> TB --- 2011-12-11 08:02:02 - /usr/sbin/config -m LINT-NOINET
> TB --- 2011-12-11 08:02:02 - building LINT-NOINET kernel
> TB --- 2011-12-11 08:02:02 - CROSS_BUILD_TESTING=YES
> TB --- 2011-12-11 08:02:02 - MAKEOBJDIRPREFIX=/obj
> TB --- 2011-12-11 08:02:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2011-12-11 08:02:02 - SRCCONF=/dev/null
> TB --- 2011-12-11 08:02:02 - TARGET=amd64
> TB --- 2011-12-11 08:02:02 - TARGET_ARCH=amd64
> TB --- 2011-12-11 08:02:02 - TZ=UTC
> TB --- 2011-12-11 08:02:02 - __MAKE_CONF=/dev/null
> TB --- 2011-12-11 08:02:02 - cd /src
> TB --- 2011-12-11 08:02:02 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET
>>>> Kernel build for LINT-NOINET started on Sun Dec 11 08:02:02 UTC 2011
>>>> stage 1: configuring the kernel
>>>> stage 2.1: cleaning up the object tree
>>>> stage 2.2: rebuilding the object tree
>>>> stage 2.3: build tools
>>>> stage 3.1: making dependencies
>>>> stage 3.2: building everything
> [...]
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/ed/if_ed_rtl80x9.c
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/ed/if_ed_pccard.c
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/ed/if_ed_pci.c
> awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/eisa/eisa_if.m -c ;  cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue eisa_if.c
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/e1000/if_em.c -I/src/sys/dev/e1000
> cc1: warnings being treated as errors
> /src/sys/dev/e1000/if_em.c: In function 'em_ioctl':
> /src/sys/dev/e1000/if_em.c:1047: warning: unused variable 'ifa' [-Wunused-variable]
> *** Error code 1

Hi Jack,
	The following blurb fixes LINT-NOINET so it compiles properly again on amd64.
Thanks!
-Garrett

Index: sys/dev/e1000/if_igb.c
===================================================================
--- sys/dev/e1000/if_igb.c	(revision 228404)
+++ sys/dev/e1000/if_igb.c	(working copy)
_at__at_ -990,7 +990,7 _at__at_
 {
 	struct adapter	*adapter = ifp->if_softc;
 	struct ifreq	*ifr = (struct ifreq *)data;
-#if defined(INET) || defined(INET6)
+#ifdef INET
 	struct ifaddr	*ifa = (struct ifaddr *)data;
 #endif
 	int		error = 0;
Index: sys/dev/e1000/if_em.c
===================================================================
--- sys/dev/e1000/if_em.c	(revision 228404)
+++ sys/dev/e1000/if_em.c	(working copy)
_at__at_ -1043,7 +1043,7 _at__at_
 {
 	struct adapter	*adapter = ifp->if_softc;
 	struct ifreq	*ifr = (struct ifreq *)data;
-#if defined(INET) || defined(INET6)
+#ifdef INET
 	struct ifaddr	*ifa = (struct ifaddr *)data;
 #endif
 	bool		avoid_reset = FALSE;
Received on Sun Dec 11 2011 - 08:31:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:21 UTC