Error build nvidia-driver with r334555
David Wolfskill
david at catwhisker.org
Sun Jun 3 12:08:36 UTC 2018
On Sun, Jun 03, 2018 at 06:48:01PM +0700, Alex V. Petrov wrote:
> ....
> --- nvidia_subr.o ---
>
>
> 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)?
>
> memset(ci, 0, sizeof(ci));
> ^~
> 1 error generated.
> *** [nvidia_subr.o] Error code 1
> ....
Aye; please ref.
<https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228709> 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
--
David H. Wolfskill david at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20180603/9e214064/attachment.sig>
More information about the freebsd-current
mailing list