From owner-freebsd-current@freebsd.org Sat Dec 17 17:48:13 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF667C8537F for ; Sat, 17 Dec 2016 17:48:13 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B06A8C1; Sat, 17 Dec 2016 17:48:12 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.walstatt.dynvpn.de ([78.52.69.192]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MVZuV-1c6MBJ1KXv-00Z1sM; Sat, 17 Dec 2016 18:48:10 +0100 Date: Sat, 17 Dec 2016 18:48:04 +0100 From: "O. Hartmann" To: Dimitry Andric Cc: "O. Hartmann" , FreeBSD CURRENT Subject: Re: r310188: kernel build failure due to mlx4_ib_sysfs.c:90:22: error: format specifies type 'unsigned long long Message-ID: <20161217184804.67c54193@thor.walstatt.dynvpn.de> In-Reply-To: References: <20161217124634.131a97b4@thor.walstatt.dynvpn.de> Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/5BgTymoGxJ7wYuGAX3U/7ft"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:RJ91vhh0RqIpFykW8lIR/OG1OGGqqVOuMh1v+iVOtbeB2EsClvD FvPsHYt8XrNVfiUqKy3sYDX1zFNjgA05oC2WkjffYfBDqGgp504M/O3CI+B0YUR1gw9UYqD uDT3nn5J3GdNm7yh26KvJZKmZpcpFAQrwVcbDswjFXGQIIdNwI+FbB/N5Pc0bh1EgVXx9gD 96spEQx82wOka3pQIxhmA== X-UI-Out-Filterresults: notjunk:1;V01:K0:aukqo96oT9E=:+lWdGfjVblK4b+BkzIpAwq WtslSTQXaPcttQosXfxtKaVPibOl7JVGej6cZUfOYeyU09YiPSpw/nSlCiADfE7tGEKo2hwFu suVLODauDCMbcg0IaTP7SIS46dFINDFyBDEFM1rqRQ6jlLB3Hyy5oj89+dmvquBqLmHgsXDCj pDTwD9+pqE2Py+ynmF/0fwIadzCMvCegcNf1n3aG0Cinmf0DIBfgNaAf3ltLDg410non3SOcS dgCeDhhWNHDuRu6PWDSPbfCMIrsX/NWJNq04Yka4ACTa2URBVBzZceCdoCLyqVyjNln1XPCCB 8Ui5wTR7cAsgQc1Bn+GOcgLRCG74BFGaZQc9So80EguBHdzQUc6Y/K3mgiK+Ng+Ni4MH8fA2v +mAb9RlQS6C6MD7A/sotsikcy3ngMnC9hjDB4TKiCJIlzzXZl1V+1Xe9e1w7Ov1QvGIHRn2CB 2aiiaykFE8Fkh3Bj+Dys78kVB8tvc2O6/zyOODLbJtoUQjJI7nTqon35GE2IdiaBq0MaehrX0 Vjr1qe7FtU6/KrS19Fi2r7phTfTLOzQqDlHSCcUnnWYiFi/Wn8Npw/T5LhkN9pikTMMsNIdSA t58A/fdbC5IbDXIyd3qhQUTA4oc3oYtaOCDHaxb4NzSxhB0A34jwI9k2Al1hVjHwwSjWIHisn ATFmwJBSZhvF8Jer4sowU966ZMe8iWBjfg+lm/saDv9KffOWWHQGkNtLW7hcB9ZTMM4o51RSd A1h0st22UppDioakSJmO4dtBhdvHwN623BFRZYGuqSdQsE0p9l4hbtJZfsQ= X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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, 17 Dec 2016 17:48:14 -0000 --Sig_/5BgTymoGxJ7wYuGAX3U/7ft Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Sat, 17 Dec 2016 18:27:18 +0100 Dimitry Andric schrieb: > On 17 Dec 2016, at 12:46, O. Hartmann wrote: > >=20 > > Recent kernel source reject to build: > >=20 > > [...] > > --- all_subdir_mlx4ib --- > > --- mlx4_ib_sysfs.o --- > > /usr/src/sys/modules/mlx4ib/../../dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c:90:2= 2: error: > > format specifies type 'unsigned long long *' but the argument has type = 'u64 *' (aka > > 'unsigned long *') [-Werror,-Wformat] sscanf(buf, "%llx", &sysadmin_ag_= val); ~~~~ > > ^~~~~~~~~~~~~~~~ %lx > > 1 error generated. =20 >=20 > Ha, my r310171, which enabled sscanf() format checking, is already > working, it seems! I built kernels for both i386 and amd64 without > problems, but you may be using some non-default module or settings which > trigger this warning. >=20 > For which arch are you building here, and do you have any particular > build settings which might influence this? >=20 > -Dimitry >=20 Building system is: FreeBSD 12.0-CURRENT #74 r310129: Fri Dec 16 00:33:09 CET 2016 /etc/rc.conf is: # CPUTYPE?=3D native # CFLAGS+=3D -O3 COPTFLAGS+=3D -O3 # #CXXFLAGS+=3D -std=3Dc++11 # WITH_CLANG_FULL=3D YES WITH_CLANG_EXTRAS=3D YES WITH_LLDB=3D YES # WITH_IDEA=3D YES # #WITH_BSD_GREP=3D YES # WITH_OFED=3D YES WITH_NAND=3D YES # #WITH_CTF=3D YES # WITH_SVN=3D YES # #WITH_META_MODE=3D YES # #WITH_SORT_THREADS=3D YES # MALLOC_PRODUCTION=3D YES # WITHOUT_ASSERT_DEBUG=3D YES # WITHOUT_DEBUG_FILES=3D YES --=20 O. Hartmann Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.= 4 BDSG). --Sig_/5BgTymoGxJ7wYuGAX3U/7ft Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWFV6VAAKCRDS528fyFhY lPERAgCktqcjYcTNMtKJObdeTG7IITeTyH4OofZvsm///6gmSzMNrCU6JXKPRmeI GfWwM7VIC+D8afQqDmtLQeMWKctlAf9Wy33S0N3OCjW6sFVWc70dmhKGqYv/nBr1 iDIi+Itglav8zdjz4YxxKiQKoTLFPENJz3voQZ5m1mJ71sXtP7I9 =J4vx -----END PGP SIGNATURE----- --Sig_/5BgTymoGxJ7wYuGAX3U/7ft--