make buildkernel is broken (linuxkpi vs drm)

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Wed, 20 Jan 2021 21:46:46 -0800
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.
-- 
Steve
Received on Thu Jan 21 2021 - 04:46:55 UTC

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