Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2021 22:13:10 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: make buildkernel is broken (linuxkpi vs drm)
Message-ID:  <20210121061310.GA61889@troutmask.apl.washington.edu>
In-Reply-To: <c654e9c8-4d20-898c-0954-fe81c7b67f9f@selasky.org>
References:  <20210121054646.GA61716@troutmask.apl.washington.edu> <c654e9c8-4d20-898c-0954-fe81c7b67f9f@selasky.org>

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



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