From owner-freebsd-current@FreeBSD.ORG Sun Dec 11 09:31:14 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73084106566B for ; Sun, 11 Dec 2011 09:31:14 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3CB648FC0A for ; Sun, 11 Dec 2011 09:31:13 +0000 (UTC) Received: by iakl21 with SMTP id l21so1632002iak.13 for ; Sun, 11 Dec 2011 01:31:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=+NrOAZms9l/iu5R9q36PN3ZsFaPTfYHk/5/sPFMs7/U=; b=Z4sfpTXiupLE/S6XgSnhvKs+jmsQEss5yZBZgvMZkJMJ4dU9uees2kk04n46vphglG y7ED7TgmmSjLgyyU6VrHpLu3b+5s7//VuzsYD2SaYQKnFPbNspFE23zvUyMinO03zapf 0tMiGXXkx2kBkCequLf5JbhYTzVb6xGzWNxas= Received: by 10.50.12.161 with SMTP id z1mr10251298igb.85.1323595873388; Sun, 11 Dec 2011 01:31:13 -0800 (PST) Received: from [192.168.20.5] (c-24-6-49-154.hsd1.ca.comcast.net. [24.6.49.154]) by mx.google.com with ESMTPS id z22sm35218408ibg.5.2011.12.11.01.31.11 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 11 Dec 2011 01:31:12 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Garrett Cooper In-Reply-To: <201112110809.pBB891LH069031@freebsd-current.sentex.ca> Date: Sun, 11 Dec 2011 01:31:07 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <2BE45634-A45D-4D3C-8DF1-AF57CDB0054F@gmail.com> References: <201112110809.pBB891LH069031@freebsd-current.sentex.ca> To: Jack F Vogel X-Mailer: Apple Mail (2.1084) Cc: "freebsd-current@freebsd.org Current" Subject: Re: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2011 09:31:14 -0000 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;=