From owner-freebsd-current@freebsd.org Fri Dec 30 19:35:17 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 6295DC98E66 for ; Fri, 30 Dec 2016 19:35:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2928F1F4D; Fri, 30 Dec 2016 19:35:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::5974:e26f:ec92:4d78] (unknown [IPv6:2001:7b8:3a7:0:5974:e26f:ec92:4d78]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id A8BE2194A9; Fri, 30 Dec 2016 20:35:13 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_750BFABF-EC7C-4C41-858F-F0A5871949EA"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: r 310850: buildworld failure due to: nandfs.c:1049:15: error: too many arguments to function call, From: Dimitry Andric In-Reply-To: <20161230202338.73e7d00b@thor.walstatt.dynvpn.de> Date: Fri, 30 Dec 2016 20:35:06 +0100 Cc: FreeBSD CURRENT , Toomas Soome Message-Id: <30C71053-94F3-44D1-9089-CE31E67912DF@FreeBSD.org> References: <20161230202338.73e7d00b@thor.walstatt.dynvpn.de> To: "O. Hartmann" X-Mailer: Apple Mail (2.3124) 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: Fri, 30 Dec 2016 19:35:17 -0000 --Apple-Mail=_750BFABF-EC7C-4C41-858F-F0A5871949EA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 30 Dec 2016, at 20:23, O. Hartmann wrote: >=20 > Recent update of CURRENT to 2310850 fails with buildworld error: >=20 > [...] > =3D=3D=3D> lib/atf/libatf-c++ (all) > --- all_subdir_lib/libstand --- > --- nandfs.o --- > /usr/src/lib/libstand/nandfs.c:1049:15: error: too many arguments to = function call, > expected 6, have 7 buffer, NULL); > ^~~~ > /usr/obj/usr/src/tmp/usr/include/sys/_null.h:32:14: note: expanded = from macro 'NULL' > #define NULL ((void *)0) > ^~~~~~~~~~~ > 1 error generated. > *** [nandfs.o] Error code 1 This looks like the culprit to me: On 30 Dec 2016, at 20:06, Toomas Soome wrote: > Author: tsoome > Date: Fri Dec 30 19:06:29 2016 > New Revision: 310850 > URL: https://svnweb.freebsd.org/changeset/base/310850 >=20 > Log: > dosfs support in libstand is broken since r298230 >=20 > Apparently the libstand dosfs optimization is a bit too optimistic > and did introduce possible memory corruption. >=20 > This patch is backing out the bad part and since this results in > dosfs reading full blocks now, we can also remove extra offset = argument > from dv_strategy callback. >=20 > The analysis of the issue and the backout patch is provided by = Mikhail Kupchik. >=20 > PR: 214423 > Submitted by: Mikhail Kupchik > Reported by: Mikhail Kupchik > Reviewed by: bapt, allanjude > Approved by: allanjude (mentor) > MFC after: 1 month > Differential Revision: https://reviews.freebsd.org/D864 For some reason, your build seems to pick up an older stand.h header? -Dimitry --Apple-Mail=_750BFABF-EC7C-4C41-858F-F0A5871949EA Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAlhmtvEACgkQsF6jCi4glqNBxQCg4pXuGX/ceECiXHNY5tPbYEEJ 9vEAoIwuYogT22U/Xez+TkIa+Rx/Wbzj =9ywB -----END PGP SIGNATURE----- --Apple-Mail=_750BFABF-EC7C-4C41-858F-F0A5871949EA--