Date: Sun, 11 Dec 2011 01:31:07 -0800 From: Garrett Cooper <yanegomi@gmail.com> To: Jack F Vogel <jfv@FreeBSD.org> Cc: "freebsd-current@freebsd.org Current" <freebsd-current@freebsd.org> Subject: Re: [head tinderbox] failure on amd64/amd64 Message-ID: <2BE45634-A45D-4D3C-8DF1-AF57CDB0054F@gmail.com> In-Reply-To: <201112110809.pBB891LH069031@freebsd-current.sentex.ca> References: <201112110809.pBB891LH069031@freebsd-current.sentex.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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=3DYES > TB --- 2011-12-11 05:25:55 - MAKEOBJDIRPREFIX=3D/obj > TB --- 2011-12-11 05:25:55 - PATH=3D/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2011-12-11 05:25:55 - SRCCONF=3D/dev/null > TB --- 2011-12-11 05:25:55 - TARGET=3Damd64 > TB --- 2011-12-11 05:25:55 - TARGET_ARCH=3Damd64 > TB --- 2011-12-11 05:25:55 - TZ=3DUTC > TB --- 2011-12-11 05:25:55 - __MAKE_CONF=3D/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=3DYES > TB --- 2011-12-11 08:02:02 - MAKEOBJDIRPREFIX=3D/obj > TB --- 2011-12-11 08:02:02 - PATH=3D/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2011-12-11 08:02:02 - SRCCONF=3D/dev/null > TB --- 2011-12-11 08:02:02 - TARGET=3Damd64 > TB --- 2011-12-11 08:02:02 - TARGET_ARCH=3Damd64 > TB --- 2011-12-11 08:02:02 - TZ=3DUTC > TB --- 2011-12-11 08:02:02 - __MAKE_CONF=3D/dev/null > TB --- 2011-12-11 08:02:02 - cd /src > TB --- 2011-12-11 08:02:02 - /usr/bin/make -B buildkernel = KERNCONF=3DLINT-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=3Dc99 = -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=3D8000 --param = inline-unit-growth=3D100 --param large-function-growth=3D1000 -DGPROF = -falign-functions=3D16 -DGPROF4 -DGUPROF -fno-builtin = -fno-omit-frame-pointer -mno-sse -mcmodel=3Dkernel -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=3Dc99 = -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=3D8000 --param = inline-unit-growth=3D100 --param large-function-growth=3D1000 -DGPROF = -falign-functions=3D16 -DGPROF4 -DGUPROF -fno-builtin = -fno-omit-frame-pointer -mno-sse -mcmodel=3Dkernel -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=3Dc99 = -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=3D8000 --param = inline-unit-growth=3D100 --param large-function-growth=3D1000 -DGPROF = -falign-functions=3D16 -DGPROF4 -DGUPROF -fno-builtin = -fno-omit-frame-pointer -mno-sse -mcmodel=3Dkernel -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=3Dc99 = -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=3D8000 --param = inline-unit-growth=3D100 --param large-function-growth=3D1000 -DGPROF = -falign-functions=3D16 -DGPROF4 -DGUPROF -fno-builtin = -fno-omit-frame-pointer -mno-sse -mcmodel=3Dkernel -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=3Dc99 = -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=3D8000 --param = inline-unit-growth=3D100 --param large-function-growth=3D1000 -DGPROF = -falign-functions=3D16 -DGPROF4 -DGUPROF -fno-builtin = -fno-omit-frame-pointer -mno-sse -mcmodel=3Dkernel -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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/dev/e1000/if_igb.c (revision 228404) +++ sys/dev/e1000/if_igb.c (working copy) @@ -990,7 +990,7 @@ { struct adapter *adapter =3D ifp->if_softc; struct ifreq *ifr =3D (struct ifreq *)data; -#if defined(INET) || defined(INET6) +#ifdef INET struct ifaddr *ifa =3D (struct ifaddr *)data; #endif int error =3D 0; Index: sys/dev/e1000/if_em.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/dev/e1000/if_em.c (revision 228404) +++ sys/dev/e1000/if_em.c (working copy) @@ -1043,7 +1043,7 @@ { struct adapter *adapter =3D ifp->if_softc; struct ifreq *ifr =3D (struct ifreq *)data; -#if defined(INET) || defined(INET6) +#ifdef INET struct ifaddr *ifa =3D (struct ifaddr *)data; #endif bool avoid_reset =3D FALSE;=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2BE45634-A45D-4D3C-8DF1-AF57CDB0054F>