Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2021 21:46:46 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-current@freebsd.org
Subject:   make buildkernel is broken (linuxkpi vs drm)
Message-ID:  <20210121054646.GA61716@troutmask.apl.washington.edu>

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



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