From owner-freebsd-current@FreeBSD.ORG Wed Sep 5 13:27:31 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBF971065689; Wed, 5 Sep 2012 13:27:31 +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 9CAA18FC15; Wed, 5 Sep 2012 13:27:31 +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 q85DRP3i006498; Wed, 5 Sep 2012 06:27:25 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.5/8.14.5/Submit) id q85DRP06006497; Wed, 5 Sep 2012 06:27:25 -0700 (PDT) (envelope-from david) Date: Wed, 5 Sep 2012 06:27:25 -0700 From: David Wolfskill To: current@freebsd.org Message-ID: <20120905132725.GE1486@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gMR3gsNFwZpnI/Ts" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: delphij@freebsd.org Subject: buildkernel fails after r240104 (i386, clang) 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: Wed, 05 Sep 2012 13:27:31 -0000 --gMR3gsNFwZpnI/Ts Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Running: FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #669 240081= M: Tue Sep 4 05:02:11 PDT 2012 root@g1-227.catwhisker.org:/usr/obj/usr= /src/sys/CANARY i386 After updating sources to r240131, I see: =2E.. >>> stage 3.2: building everything =2E.. clang -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -= Wstrict -prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wu= ndef=20 -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics= -show -option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-= paren theses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -= D_KER NEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mno-aes -mno-avx -= mno-m mx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror /usr/src= /sys/ dev/fe/if_fe_isa.c ctfconvert -L VERSION -g if_ed_wd80x3.o clang -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -= Wstrict -prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wu= ndef=20 -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics= -show -option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-= paren theses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -= D_KER NEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mno-aes -mno-avx -= mno-m mx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror /usr/src= /sys/ dev/hpt27xx/osm_bsd.c clang -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -= Wstrict -prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wu= ndef=20 -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics= -show -option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-= paren theses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -= D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mno-aes -mno-= avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror= /usr/src/sys/dev/hpt27xx/os_bsd.c /usr/src/sys/dev/hpt27xx/osm_bsd.c:170:66: warning: for loop has empty body= [-Wempty-body] for (order=3D0, size=3DPAGE_SIZE; sizesize; order++, si= ze<<=3D1) ; = ^ /usr/src/sys/dev/hpt27xx/osm_bsd.c:170:66: note: put the semicolon on a sep= arate line to silence this warning /usr/src/sys/dev/hpt27xx/osm_bsd.c:1180:25: error: format string is not a s= tring literal (potentially insecure) [-Werror,-Wformat-security] S_IRUSR | S_IWUSR, driver_name); ^~~~~~~~~~~ /usr/src/sys/dev/hpt27xx/hpt27xx_config.h:46:21: note: expanded from macro = 'driver_name' #define driver_name hpt27xx_driver_name ^~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. *** [osm_bsd.o] Error code 1 ctfconvert -L VERSION -g if_fe_isa.o ctfconvert -L VERSION -g os_bsd.o 1 warning generated. ctfconvert -L VERSION -g if_bwn.o ld -d -warn-common -r -d -o if_bwn.kld if_bwn.o ctfmerge -L VERSION -g -o if_bwn.kld if_bwn.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk if_bwn.kld export_syms | xargs -J% = objcopy % if_bwn.kld ld -Bshareable -d -warn-common -o if_bwn.ko.debug if_bwn.kld objcopy --only-keep-debug if_bwn.ko.debug if_bwn.ko.symbols objcopy --strip-debug --add-gnu-debuglink=3Dif_bwn.ko.symbols if_bwn.ko.deb= ug if_bwn.ko =2E.. =3D=3D=3D> zlib (all) 1 error *** [buildkernel] Error code 2 1 error *** [buildkernel] Error code 2 1 error I suspect that: ------------------------------------------------------------------------ r240104 | delphij | 2012-09-04 14:02:57 -0700 (Tue, 04 Sep 2012) | 4 lines Add hpt27xx to GENERIC kernel for amd64 and i386 systems. MFC after: 2 weeks ------------------------------------------------------------------------ (from "svn log sys/conf/i386/GENERIC") has a fair bit of involvement. 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. --gMR3gsNFwZpnI/Ts Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlBHUzwACgkQmprOCmdXAD1+dQCgh+hSa9DSj8MVFfAoOJmzlQZZ DeEAnjFwM2878rQip0hEksaqlsMIfKGB =wSnk -----END PGP SIGNATURE----- --gMR3gsNFwZpnI/Ts--