From owner-freebsd-current@FreeBSD.ORG Thu Oct 18 13:36:18 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 34DE042F; Thu, 18 Oct 2012 13:36:18 +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 04A108FC18; Thu, 18 Oct 2012 13:36:17 +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 q9IDaG2w015507; Thu, 18 Oct 2012 06:36:16 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.5/8.14.5/Submit) id q9IDaGi4015506; Thu, 18 Oct 2012 06:36:16 -0700 (PDT) (envelope-from david) Date: Thu, 18 Oct 2012 06:36:16 -0700 From: David Wolfskill To: current@freebsd.org Subject: buildkernel fails for i386 @r241679 -- suspect r241646 Message-ID: <20121018133616.GX1817@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ByM1h5nouWwd3kz8" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: emax@freebsd.org 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: Thu, 18 Oct 2012 13:36:18 -0000 --ByM1h5nouWwd3kz8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Presently running: FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #708 241627= M: Wed Oct 17 06:05:26 PDT 2012 root@g1-227.catwhisker.org:/usr/obj/usr= /src/sys/CANARY i386 buildkernel proceeds: =2E.. >>> stage 3.2: building everything =2E.. =3D=3D=3D> mxge (all) =3D=3D=3D> mxge/mxge (all) clang -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdi= nc -DHAVE_KERNEL_OPTION_HEADERS -include /common/S4/obj/usr/src/sys/CANAR= Y/opt_global.h -I. -I@ -I@/contrib/altq -fno-common -g -I/common/S4/obj/usr= /src/sys/CANARY -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreesta= nding -fstack-protector -std=3Diso9899:1999 -Qunused-arguments -fstack-prot= ector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissi= ng-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-si= gn -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -= Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parenthese= s-equality -c /usr/src/sys/modules/mxge/mxge/../../../dev/mxge/mxge_lro.c clang -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdi= nc -DHAVE_KERNEL_OPTION_HEADERS -include /common/S4/obj/usr/src/sys/CANAR= Y/opt_global.h -I. -I@ -I@/contrib/altq -fno-common -g -I/common/S4/obj/usr= /src/sys/CANARY -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreesta= nding -fstack-protector -std=3Diso9899:1999 -Qunused-arguments -fstack-prot= ector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissi= ng-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-si= gn -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -= Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parenthese= s-equality -c /usr/src/sys/modules/mxge/mxge/../../../dev/mxge/if_mxge.c ctfconvert -L VERSION -g mxge_lro.o /usr/src/sys/modules/mxge/mxge/../../../dev/mxge/if_mxge.c:3020:29: error: = implicit conversion from 'unsigned long long' to 'u_long' (aka 'unsigned lo= ng') changes value from 10000000000 to 1410065408 [-Werror,-Wconstant-conve= rsion] sc->ifp->if_baudrate =3D IF_Gbps(10UL); ~ ^~~~~~~~~~~~~ @/net/if.h:184:21: note: expanded from macro 'IF_Gbps' #define IF_Gbps(x) (IF_Mbps((x) * 1000)) /* gigabits/sec. */ ^ @/net/if.h:183:21: note: expanded from macro 'IF_Mbps' #define IF_Mbps(x) (IF_Kbps((x) * 1000)) /* megabits/sec. */ ^ @/net/if.h:182:36: note: expanded from macro 'IF_Kbps' #define IF_Kbps(x) ((uintmax_t)(x) * 1000) /* kilobits/sec. */ ~~~~~~~~~~~~~~~^~~~~~ /usr/src/sys/modules/mxge/mxge/../../../dev/mxge/if_mxge.c:4776:21: error: = implicit conversion from 'unsigned long long' to 'u_long' (aka 'unsigned lo= ng') changes value from 10000000000 to 1410065408 [-Werror,-Wconstant-conve= rsion] ifp->if_baudrate =3D IF_Gbps(10UL); ~ ^~~~~~~~~~~~~ @/net/if.h:184:21: note: expanded from macro 'IF_Gbps' #define IF_Gbps(x) (IF_Mbps((x) * 1000)) /* gigabits/sec. */ ^ @/net/if.h:183:21: note: expanded from macro 'IF_Mbps' #define IF_Mbps(x) (IF_Kbps((x) * 1000)) /* megabits/sec. */ ^ @/net/if.h:182:36: note: expanded from macro 'IF_Kbps' #define IF_Kbps(x) ((uintmax_t)(x) * 1000) /* kilobits/sec. */ ~~~~~~~~~~~~~~~^~~~~~ 2 errors generated. *** [if_mxge.o] Error code 1 1 error *** [all] Error code 2 1 error *** [all] Error code 2 1 error *** [modules-all] Error code 2 1 error *** [buildkernel] Error code 2 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. --ByM1h5nouWwd3kz8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCABc8ACgkQmprOCmdXAD00TgCcCYyIR2jzGxpM3y2p3b76tS3J JD0An380iyw75ipNe/igHJ9C5y93yBrm =36wM -----END PGP SIGNATURE----- --ByM1h5nouWwd3kz8--