From owner-freebsd-current@freebsd.org Sun Jun 3 12:08:36 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ADC88F7257D for ; Sun, 3 Jun 2018 12:08:36 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EE9FA81963; Sun, 3 Jun 2018 12:08:35 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id w53C8Ydc004880; Sun, 3 Jun 2018 12:08:34 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id w53C8Y8t004879; Sun, 3 Jun 2018 05:08:34 -0700 (PDT) (envelope-from david) Date: Sun, 3 Jun 2018 05:08:34 -0700 From: David Wolfskill To: "Alex V. Petrov" Cc: FreeBSD Current Subject: Re: Error build nvidia-driver with r334555 Message-ID: <20180603120834.GT1389@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , "Alex V. Petrov" , FreeBSD Current References: <83fec8d8-699f-e86c-9884-9d8698a86a91@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Yg/4YF7t1SayoUom" Content-Disposition: inline In-Reply-To: <83fec8d8-699f-e86c-9884-9d8698a86a91@gmail.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 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: Sun, 03 Jun 2018 12:08:36 -0000 --Yg/4YF7t1SayoUom Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 03, 2018 at 06:48:01PM +0700, Alex V. Petrov wrote: > .... > --- nvidia_subr.o --- >=20 >=20 > nvidia_subr.c:367:26: error: 'memset' call operates on objects of type > 'struct nv_ioctl_card_info' while the size is based on a different type > 'struct nv_ioctl_card_info *' [-Werror,-Wsizeof > -pointer-memaccess] > memset(ci, 0, sizeof(ci)); > ~~ ^~ > nvidia_subr.c:367:26: note: did you mean to dereference the argument to > 'sizeof' (and multiply it by the number of elements)? >=20 > memset(ci, 0, sizeof(ci)); > ^~ > 1 error generated. > *** [nvidia_subr.o] Error code 1 > .... Aye; please ref. for additional details. The issue has been narrowed down to the range r334529 - r334535; I'm suspecting r334533 and/or r334534. (Not that the commits are in any way "faulty" -- merely that the nvidia-driver port may need some "evasive action" to allow for the change). Peace, david --=20 David H. Wolfskill david@catwhisker.org Mr. Trump, you reap what you sow: This is YOUR trade war. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --Yg/4YF7t1SayoUom Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEzLfO+ReoAfQwZNd7FTnMQKBJ7hcFAlsT2kFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEND QjdDRUY5MTdBODAxRjQzMDY0RDc3QjE1MzlDQzQwQTA0OUVFMTcACgkQFTnMQKBJ 7hcD2Qf/RGiTBLWuYSuyx7evgeAlhSz3O5OEOk665tYA3ftmXEH7sIzcwQHCjkoQ 9vshBiNJjwPiF0/lYNMksSlNpVQt6NbZ+Lx8N8Pjzdt6La/+X4XtiJLEmYfclgVj F1QDRN4CXjNVbwDXQNTHGr76Sk588j0J3Jzp+pohc1/pzLHygctcYlv3nDtPUDM5 Gjj32ktYQTjFogCLBUQes8XNPgDj/xvd2n+cOoJDNUINDTJUwHWMoMxvqE2SGlLt fc9kl19cO64P2tSsM5lKngOfxE19/HjRFxIjJQTvxfDxGne8GjLU4rG3Ku/53Xme dOYHC9zPUZikP3bES6iUNKm2PWxAwg== =4UxO -----END PGP SIGNATURE----- --Yg/4YF7t1SayoUom--