Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2016 18:48:04 +0100
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        "O. Hartmann" <ohartmann@walstatt.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>
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: <ADE40992-9103-442F-8445-BC3BD38629D8@FreeBSD.org>
References:  <20161217124634.131a97b4@thor.walstatt.dynvpn.de> <ADE40992-9103-442F-8445-BC3BD38629D8@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <dim@FreeBSD.org> schrieb:

> On 17 Dec 2016, at 12:46, O. Hartmann <ohartmann@walstatt.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161217184804.67c54193>