From owner-freebsd-current@FreeBSD.ORG Fri Apr 6 12:09:08 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4FE73106564A; Fri, 6 Apr 2012 12:09:08 +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 0A6B88FC08; Fri, 6 Apr 2012 12:09:07 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.5/8.14.5) with ESMTP id q36C971N051932; Fri, 6 Apr 2012 05:09:07 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.5/8.14.5/Submit) id q36C97Uw051931; Fri, 6 Apr 2012 05:09:07 -0700 (PDT) (envelope-from david) Date: Fri, 6 Apr 2012 05:09:07 -0700 From: David Wolfskill To: melifaro@FreeBSD.org Message-ID: <20120406120907.GX1420@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , melifaro@FreeBSD.org, current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WbkWELb8d/6oR4nB" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: current@FreeBSD.org Subject: Problem with r233937 on i386 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: Fri, 06 Apr 2012 12:09:08 -0000 --WbkWELb8d/6oR4nB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Kernel build @ r233941 failed for me this morning, running: FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #525 233918= M: Thu Apr 5 04:42:37 PDT 2012 root@g1-227.catwhisker.org:/usr/obj/usr= /src/sys/CANARY i386 thus: =2E.. ototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wunde= f -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnosti= cs-show-option -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq = -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -f= inline-limit=3D8000 --param inline-unit-growth=3D100 --param large-function= -growth=3D1000 -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno= -mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror /usr/s= rc/sys/net/bpf.c /usr/src/sys/net/bpf.c: In function 'bpf_setf': /usr/src/sys/net/bpf.c:1683: error: 'need_upgrade' undeclared (first use in= this function) /usr/src/sys/net/bpf.c:1683: error: (Each undeclared identifier is reported= only once /usr/src/sys/net/bpf.c:1683: error: for each function it appears in.) *** [bpf.o] Error code 1 Stop in /common/S4/obj/usr/src/sys/CANARY. *** [buildkernel] Error code 1 Stop in /usr/src. *** [buildkernel] Error code 1 Stop in /usr/src. It looks to me as if perhaps the problem is that in net/bpf.c, the int need_upgrade =3D 0; on line 1601 is in the block (lines 1598 - 1611) controlled by #ifdef COMPAT_FREEBSD32 And in FreeBSD/i386, I believe that means the block in question is not getting compiled. So I moved the line in question above the #ifdef; that seems to get beyond the above failure, but I have no idea if it's correct. Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --WbkWELb8d/6oR4nB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk9+3OIACgkQmprOCmdXAD1PgwCfax3sB6p0/3gbK1Vse2rn6pSb +64Aniidlc+qPV/+yhILQgLOUF+hj4GH =Qbg+ -----END PGP SIGNATURE----- --WbkWELb8d/6oR4nB--