x11/nvidia-driver build failure in head/i386 @r253985 with clang
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Aug 7 13:20:34 UTC 2013
On Wed, Aug 07, 2013 at 06:02:41AM -0700, David Wolfskill wrote:
> [...]
> nvidia_subr.c:997:19: error: incompatible pointer types passing 'vm_map_t'
> (aka 'struct vm_map *') to parameter of type 'struct vmem *' [-Werror,
> -Wincompatible-pointer-types]
> kmem_free(kernel_map,
> ^~~~~~~~~~
> @/vm/vm_extern.h:58:29: note: passing argument to parameter here
> void kmem_free(struct vmem *, vm_offset_t, vm_size_t);
I've tested the new driver on my Julyish -CURRENT and it was all fine...
I suspect the problem might be with Jeff's r254025 (CC'ed). I will see
what I can do about it, thanks for your report!
> In the mean time, I will try to figure out what's wrong:
> nvidia-driver-304.51 built/ran OK in head/i386 @r253985 (with clang).
Please share your findings once you have them. :-)
./danfe
More information about the freebsd-ports
mailing list