From owner-freebsd-current@FreeBSD.ORG Sat Mar 9 15:03:05 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 80175A33 for ; Sat, 9 Mar 2013 15:03:05 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 5F284795 for ; Sat, 9 Mar 2013 15:03:05 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.6/8.14.6) with ESMTP id r29F34fO067199; Sat, 9 Mar 2013 07:03:04 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.6/8.14.6/Submit) id r29F34UX067198; Sat, 9 Mar 2013 07:03:04 -0800 (PST) (envelope-from david) Date: Sat, 9 Mar 2013 07:03:04 -0800 From: David Wolfskill To: "Hartmann, O." Subject: Re: r248093: Kernel build failure: /usr/src/sys/net80211/ieee80211_output.c:600:23: error: unused variable 'ic' [-Werror,-Wunused-variable] Message-ID: <20130309150304.GQ13861@albert.catwhisker.org> References: <513B1609.3020204@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/2aDF+7ylDoDOrjt" Content-Disposition: inline In-Reply-To: <513B1609.3020204@zedat.fu-berlin.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 09 Mar 2013 15:03:05 -0000 --/2aDF+7ylDoDOrjt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 09, 2013 at 11:59:21AM +0100, Hartmann, O. wrote: > On CURRENT, r248093, build of kernel fails due to the below shown error. >=20 > [...] >=20 > cc -c -O3 -O3 -Wno-error=3Dunused-variable -fno-strict-aliasing > ... > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror > /usr/src/sys/net80211/ieee80211_output.c > /usr/src/sys/net80211/ieee80211_output.c:600:23: error: unused variable > 'ic' [-Werror,-Wunused-variable] > struct ieee80211com *ic =3D ni->ni_ic; > ^ > 1 error generated. > *** [ieee80211_output.o] Error code 1 >=20 > Stop in /usr/obj/usr/src/sys/GATE. > *** [buildkernel] Error code 1 >=20 > Stop in /usr/src. > *** [buildkernel] Error code 1 >=20 > Stop in /usr/src. > .... I use clang, and did not encounter that: FreeBSD g1-235.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #832 r2480= 33M/248035: Fri Mar 8 07:36:04 PST 2013 root@localhost:/usr/obj/usr/sr= c/sys/CANARY i386 Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --/2aDF+7ylDoDOrjt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlE7TycACgkQmprOCmdXAD1D+wCfSdeclQnAQ2JAvDcqOsJmkZME QqYAnRJZh3QFkKhiX/Ay+IUDHYUiQTtl =NhT4 -----END PGP SIGNATURE----- --/2aDF+7ylDoDOrjt--