Re: make buildkernel is broken (linuxkpi vs drm)

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Wed, 20 Jan 2021 22:13:10 -0800
On Thu, Jan 21, 2021 at 07:07:27AM +0100, Hans Petter Selasky wrote:
> On 1/21/21 6:46 AM, Steve Kargl wrote:
> > My buildkernel after a buildworld is dying with
> > 
> > In file included from /media/obj/usr/src/i386.i386/sys/MOBILE/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_7/linuxkpi/gplv2/include/linux/pci.h:10:
> > In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:51:
> > In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
> > In file included from /media/obj/usr/src/i386.i386/sys/MOBILE/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_7/linuxkpi/gplv2/include/linux/scatterlist.h:32:
> > In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:36:
> > In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/slab.h:43:
> > In file included from /media/obj/usr/src/i386.i386/sys/MOBILE/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_7/linuxkpi/gplv2/include/linux/llist.h:64:
> > In file included from /media/obj/usr/src/i386.i386/sys/MOBILE/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_7/linuxkpi/gplv2/include/linux/kernel.h:4:
> > In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:49:
> > In file included from /media/obj/usr/src/i386.i386/sys/MOBILE/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_7/linuxkpi/gplv2/include/linux/sched.h:4:
> > In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:41:
> > /usr/src/sys/compat/linuxkpi/common/include/linux/bitmap.h:338:10: error: implicit declaration of function 'kmalloc_array' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
> > 
> > I have removed the drm-current-kmod port and still get this error.
> > 
> 
> Is /usr/src and /usr/ports up-to-date ?
> 

It is 'make buildkernel' in /usr/src after a 'make buildworld'.
I have 'PORTS_MODULES+= graphics/drm-current-kmod' in /etc/make.conf.

-- 
Steve
Received on Thu Jan 21 2021 - 05:13:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC