Error building kernel WITH_META_MODE=yes

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Fri, 17 Jun 2016 14:28:32 -0300
Here is relevant data from my system, in case anyone has idea about what could be wrong:

/etc/src.conf:
WITH_CCACHE_BUILD=yes
WITH_SYSTEM_COMPILER=yes

WITHOUT_EE=yes
WITHOUT_FLOPPY=yes
WITHOUT_HAST=yes
WITHOUT_IPFILTER=yes
WITHOUT_IPFW=yes
WITHOUT_ISCSI=yes
WITHOUT_KERBEROS=yes
WITHOUT_LPR=yes
WITHOUT_MAIL=yes
WITHOUT_PC_SYSINSTALL=yes
WITHOUT_PPP=yes
WITHOUT_QUOTAS=yes
WITHOUT_SVNLITE=yes
WITHOUT_TESTS=yes
WITHOUT_UNBOUND=yes

/etc/src-env.conf:
WITH_META_MODE=yes

/etc/make.conf:
KERNCONF=GENERIC-NODEBUG

And here is the error I got trying to build kernel:

===> vxge (all)
Building /usr/obj/usr/obj/usr/src/sys/GENERIC-NODEBUG/modules/usr/src/sys/modules/vxge/vxgehal-blockpool.o
ERROR: vxgehal-blockpool.c: sou vxge_hal_mrpcim_reg_t has too many members: 1911 > 1023
Building /usr/obj/usr/obj/usr/src/sys/GENERIC-NODEBUG/modules/usr/src/sys/modules/vxge/vxgehal-ring.o
ERROR: vxgehal-ring.c: sou vxge_hal_mrpcim_reg_t has too many members: 1911 > 1023
Building /usr/obj/usr/obj/usr/src/sys/GENERIC-NODEBUG/modules/usr/src/sys/modules/vxge/vxgehal-virtualpath.o
/usr/src/sys/modules/vxge/../../dev/vxge/vxgehal/vxgehal-virtualpath.c:7313:38: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
            (hldev->header.config.intr_mode ==
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/src/sys/modules/vxge/../../dev/vxge/vxgehal/vxgehal-virtualpath.c:7313:38: note: remove extraneous parentheses around the comparison to silence this warning
            (hldev->header.config.intr_mode ==
            ~                               ^
/usr/src/sys/modules/vxge/../../dev/vxge/vxgehal/vxgehal-virtualpath.c:7313:38: note: use '=' to turn this equality comparison into an assignment
            (hldev->header.config.intr_mode ==
                                            ^~
                                            =
/usr/src/sys/modules/vxge/../../dev/vxge/vxgehal/vxgehal-virtualpath.c:7386:38: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
            (hldev->header.config.intr_mode ==
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/src/sys/modules/vxge/../../dev/vxge/vxgehal/vxgehal-virtualpath.c:7386:38: note: remove extraneous parentheses around the comparison to silence this warning
            (hldev->header.config.intr_mode ==
            ~                               ^
/usr/src/sys/modules/vxge/../../dev/vxge/vxgehal/vxgehal-virtualpath.c:7386:38: note: use '=' to turn this equality comparison into an assignment
            (hldev->header.config.intr_mode ==
                                            ^~
                                            =
2 warnings generated.
ERROR: vxgehal-virtualpath.c: sou vxge_hal_mrpcim_reg_t has too many members: 1911 > 1023
Building /usr/obj/usr/obj/usr/src/sys/GENERIC-NODEBUG/modules/usr/src/sys/modules/vxge/vxge.ko.full
Building /usr/obj/usr/obj/usr/src/sys/GENERIC-NODEBUG/modules/usr/src/sys/modules/vxge/vxge.ko.debug
Building /usr/obj/usr/obj/usr/src/sys/GENERIC-NODEBUG/modules/usr/src/sys/modules/vxge/vxge.ko
===> wb (all)
===> wbwd (all)
===> wi (all)
===> wlan (all)
===> wlan_acl (all)
===> wlan_amrr (all)
===> wlan_ccmp (all)
===> wlan_rssadapt (all)
===> wlan_tkip (all)
===> wlan_wep (all)
===> wlan_xauth (all)
===> wpi (all)
===> wpifw (all)
===> x86bios (all)
===> xe (all)
===> xl (all)
===> zfs (all)
===> zlib (all)
Building /usr/obj/usr/obj/usr/src/sys/GENERIC-NODEBUG/ia32_genassym.o
In file included from <built-in>:312:
<command line>:4:10: fatal error: 'opt_global.h' file not found
#include "opt_global.h"
         ^
1 error generated.
*** [ia32_genassym.o] Error code 1

bmake[2]: stopped in /usr/obj/usr/src/sys/GENERIC-NODEBUG
.ERROR_TARGET='ia32_genassym.o'
.ERROR_META_FILE='/usr/obj/usr/obj/usr/src/sys/GENERIC-NODEBUG/ia32_genassym.o.meta'
.MAKE.LEVEL='2'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose curdirOk=yes'
.CURDIR='/usr/obj/usr/src/sys/GENERIC-NODEBUG'
.MAKE='/usr/obj/usr/src/make.amd64/bmake'
.OBJDIR='/usr/obj/usr/obj/usr/src/sys/GENERIC-NODEBUG'
.TARGETS='all'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX='/usr/obj'
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20160606'
PATH='/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/usr/obj/usr/src'
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/obj/usr/src/sys/GENERIC-NODEBUG/Makefile /usr/src/sys/conf/kern.pre.mk /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/sys/conf/kern.opts.mk /usr/src/sys/conf/kern.post.mk /usr/src/sys/conf/kern.mk'
.PATH='. /usr/obj/usr/src/sys/GENERIC-NODEBUG'
1 error

bmake[2]: stopped in /usr/obj/usr/src/sys/GENERIC-NODEBUG
.ERROR_TARGET='ia32_genassym.o'
.ERROR_META_FILE='/usr/obj/usr/obj/usr/src/sys/GENERIC-NODEBUG/ia32_genassym.o.meta'
.MAKE.LEVEL='2'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose curdirOk=yes'
.CURDIR='/usr/obj/usr/src/sys/GENERIC-NODEBUG'
.MAKE='/usr/obj/usr/src/make.amd64/bmake'
.OBJDIR='/usr/obj/usr/obj/usr/src/sys/GENERIC-NODEBUG'
.TARGETS='all'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX='/usr/obj'
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20160606'
PATH='/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/usr/obj/usr/src'
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/obj/usr/src/sys/GENERIC-NODEBUG/Makefile /usr/src/sys/conf/kern.pre.mk /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/sys/conf/kern.opts.mk /usr/src/sys/conf/kern.post.mk /usr/src/sys/conf/kern.mk'
.PATH='. /usr/obj/usr/src/sys/GENERIC-NODEBUG'
*** [buildkernel] Error code 2

bmake[1]: stopped in /usr/src
.ERROR_TARGET='buildkernel'
.ERROR_META_FILE=''
.MAKE.LEVEL='1'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
.CURDIR='/usr/src'
.MAKE='/usr/obj/usr/src/make.amd64/bmake'
.OBJDIR='/usr/src/obj'
.TARGETS='buildkernel'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX='/usr/obj'
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20160606'
PATH='/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/obj/usr/src'
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/Makefile.inc1 /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk /usr/src/Makefile.libcompat /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk'
.PATH='. /usr/src'
1 error

bmake[1]: stopped in /usr/src
.ERROR_TARGET='buildkernel'
.ERROR_META_FILE=''
.MAKE.LEVEL='1'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
.CURDIR='/usr/src'
.MAKE='/usr/obj/usr/src/make.amd64/bmake'
.OBJDIR='/usr/src/obj'
.TARGETS='buildkernel'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX='/usr/obj'
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20160606'
PATH='/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/obj/usr/src'
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/Makefile.inc1 /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk /usr/src/Makefile.libcompat /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk'
.PATH='. /usr/src'
*** [buildkernel] Error code 2

make: stopped in /usr/src
.ERROR_TARGET='buildkernel'
.ERROR_META_FILE=''
.MAKE.LEVEL='0'
MAKEFILE=''
.MAKE.MODE='normal'
.CURDIR='/usr/src'
.MAKE='make'
.OBJDIR='/usr/src/obj'
.TARGETS='buildkernel'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX='/usr/obj'
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20160512'
PATH='/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/obj/usr/src'
1 error

make: stopped in /usr/src
.ERROR_TARGET='buildkernel'
.ERROR_META_FILE=''
.MAKE.LEVEL='0'
MAKEFILE=''
.MAKE.MODE='normal'
.CURDIR='/usr/src'
.MAKE='make'
.OBJDIR='/usr/src/obj'
.TARGETS='buildkernel'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX='/usr/obj'
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20160512'
PATH='/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/obj/usr/sr

--
Renato Botelho
Received on Fri Jun 17 2016 - 15:28:36 UTC

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