Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2013 09:06:32 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Dan Mack <mack@macktronics.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: build kernel fail on 250341 in vxge...
Message-ID:  <9EC579CC-5B4A-4359-A283-1D44D2EBFD55@FreeBSD.org>
In-Reply-To: <20130507201037.Q84230@coco.macktronics.com>
References:  <20130507201037.Q84230@coco.macktronics.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On May 8, 2013, at 03:24, Dan Mack <mack@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:
>=20
> =3D=3D=3D> 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@ =
-I@/contrib/altq -fno-common -g -fno-omit-frame-poi
> nter -I/usr/obj/usr/src/sys/MACKGEN  -mno-aes -mno-avx -mcmodel=3Dkernel=
 -mno-red-zone -mno-mmx -mno-sse -msof
> t-float  -fno-asynchronous-unwind-tables -ffreestanding =
-fstack-protector -std=3Diso9899: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=3Dzlib.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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9EC579CC-5B4A-4359-A283-1D44D2EBFD55>