From owner-freebsd-current@FreeBSD.ORG Fri Feb 3 23:27:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0622C16A423; Fri, 3 Feb 2006 23:27:51 +0000 (GMT) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1378B43D4C; Fri, 3 Feb 2006 23:27:49 +0000 (GMT) (envelope-from max@love2party.net) Received: from [84.163.242.197] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1F5ALE30WQ-0006yH; Sat, 04 Feb 2006 00:27:49 +0100 From: Max Laier Organization: FreeBSD To: freebsd-current@freebsd.org Date: Sat, 4 Feb 2006 00:28:41 +0100 User-Agent: KMail/1.9.1 References: <20060203230755.B8CA57302F@freebsd-current.sentex.ca> In-Reply-To: <20060203230755.B8CA57302F@freebsd-current.sentex.ca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1286987.uLmHBk7in1"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200602040028.47826.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: Robert N M Watson Subject: Re: [head tinderbox] failure on amd64/amd64 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, 03 Feb 2006 23:27:51 -0000 --nextPart1286987.uLmHBk7in1 Content-Type: multipart/mixed; boundary="Boundary-01=_rc+4Do6Z1GZsyoy" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_rc+4Do6Z1GZsyoy Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 04 February 2006 00:07, FreeBSD Tinderbox wrote: > -finstrument-functions -Wno-inline /src/sys/security/audit/audit_arg.c > /src/sys/security/audit/audit_arg.c: In function `audit_arg_upath': > /src/sys/security/audit/audit_arg.c:676: warning: long long unsigned int > format, u_int64_t arg (arg 2) /src/sys/security/audit/audit_arg.c:678: > warning: long long unsigned int format, u_int64_t arg (arg 2) *** Error > code 1 Once again, fixed by - for example - the attached patch. Alternatively: .. "%ju", (uintmax_t)arg .. // we are so C99 I take this a chance to rant if we could remove this stupid 64bit=20 unportability. It should be possible to have a CASSERT somewhere that shut= s=20 this up if "sizeof(u_int64_t) =3D=3D sizeof(unsigned long long)" or the lik= e. I=20 hope somebody has more insight and how/where to fix it properly. Otherwise= =20 we will run into this portability issue over and over again. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --Boundary-01=_rc+4Do6Z1GZsyoy Content-Type: text/x-diff; charset="iso-8859-6"; name="longlongahrg.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="longlongahrg.diff" Index: audit_arg.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/store/mlaier/fcvs/src/sys/security/audit/audit_arg.c,v retrieving revision 1.1 diff -u -r1.1 audit_arg.c =2D-- audit_arg.c 1 Feb 2006 20:01:18 -0000 1.1 +++ audit_arg.c 3 Feb 2006 23:19:26 -0000 @@ -674,9 +674,9 @@ * XXXAUDIT: Witness warning for possible sleep here? */ KASSERT((flag =3D=3D ARG_UPATH1) || (flag =3D=3D ARG_UPATH2), =2D ("audit_arg_upath: flag %llu", flag)); + ("audit_arg_upath: flag %llu", (unsigned long long)flag)); KASSERT((flag !=3D ARG_UPATH1) || (flag !=3D ARG_UPATH2), =2D ("audit_arg_upath: flag %llu", flag)); + ("audit_arg_upath: flag %llu", (unsigned long long)flag)); =20 ar =3D currecord(); if (ar =3D=3D NULL) --Boundary-01=_rc+4Do6Z1GZsyoy-- --nextPart1286987.uLmHBk7in1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBD4+cvXyyEoT62BG0RArbgAJ93TBqmmhr2a/QXUAcoVd2jgYXShQCbBv0X jcIpDstGefIQ2JGPGPbhY6U= =O6G0 -----END PGP SIGNATURE----- --nextPart1286987.uLmHBk7in1--