Re: build kernel fail on 250341 in vxge...

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Wed, 8 May 2013 09:06:32 +0200
On May 8, 2013, at 03:24, Dan Mack <mack_at_macktronics.com> wrote:
> FYI:  fresh buildworld and buildkernel tonight with 250341 and I see a bunch of errors while building vxge like this (my kernel config file has device vx commented out btw).   Any pointers/help ?  I'm building this on my build machine which is FreeBSD 10.0-CURRENT #26 r250314: Mon May  6 20:32:29 CDT 2013
...
> ERROR: vxgehal-mrpcim.c: sou vxge_hal_mrpcim_reg_t has too many members: 1911 > 1023
> ERROR: vxgehal-mgmtaux.c: sou vxge_hal_mrpcim_reg_t has too many members: 1911 > 1023

You can ignore these, they are due to a limitation of ctfconvert.  The
"errors" are really warnings.


> Then, after zlib, it bombs:
> 
> ===> zlib (all)
> cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -i
> nclude /usr/obj/usr/src/sys/MACKGEN/opt_global.h -I. -I_at_ -I_at_/contrib/altq -fno-common -g -fno-omit-frame-poi
> nter -I/usr/obj/usr/src/sys/MACKGEN  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msof
> t-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-argumen
> ts -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpo
> inter-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdi
> agnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equalit
> y -c /usr/src/sys/modules/zlib/../../net/zlib.c
> ctfconvert -L VERSION -g zlib.o
> ld  -d -warn-common -r -d -o zlib.ko.debug zlib.o
> ctfmerge -L VERSION -g -o zlib.ko.debug zlib.o
> :> export_syms
> awk -f /usr/src/sys/conf/kmod_syms.awk zlib.ko.debug  export_syms | xargs -J% objcopy % zlib.ko.debug
> objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols
> objcopy --strip-debug --add-gnu-debuglink=zlib.ko.symbols zlib.ko.debug zlib.ko
> 1 error
> *** [buildkernel] Error code 2
> 1 error
> *** [buildkernel] Error code 2
> 1 error

Actually, the error happens much earlier, but since you are doing a -j
build, the message is not visible.  Try building your kernel without -j,
or upload the full build log somewhere.
Received on Wed May 08 2013 - 05:06:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:37 UTC