Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 2013 13:20:34 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        David Wolfskill <david@catwhisker.org>
Cc:        Jeff Roberson <jeff@FreeBSD.org>, freebsd-ports@freebsd.org
Subject:   Re: x11/nvidia-driver build failure in head/i386 @r253985 with clang
Message-ID:  <20130807132034.GA10293@FreeBSD.org>
In-Reply-To: <20130807130241.GC1746@albert.catwhisker.org>
References:  <20130807130241.GC1746@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130807132034.GA10293>