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

next in thread | previous in thread | raw e-mail | index | archive | help
Never mind, fixed already in 250361 ...

Dan

On Wed, 8 May 2013, Dan Mack wrote:

>
> Ack; sorry for being lazy here, looks like the problem might be from 
> vm_phys.c (I'll try a fresh rebuild without -j when I get home tonight):
>
>  maybe this commit? r250338 | attilio | 2013-05-07 17:46:24 -0500 (Tue, 07 
> May 2013) | 8 lines
>
> ...
> cc -c -O2 -pipe -fno-strict-aliasing  -std=c99 -g -Wall -Wredundant-decls 
> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
> -Win
> line -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions 
> -Wmissing-include-dirs -fdiagnostics-show-option 
> -Wno-error-tautological-compare -Wno-e
> rror-empty-body  -Wno-error-parentheses-equality -nostdinc  -I. 
> -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL 
> -DHAVE_KERNEL_OPTION_HEADERS -includ
> e opt_global.h  -fno-omit-frame-pointer -mno-aes -mno-avx -mcmodel=kernel 
> -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
> -
> ffreestanding -fstack-protector -Werror  /usr/src/sys/vm/vm_unix.c
> /usr/src/sys/vm/vm_phys.c:467:5: error: 'VM_NDOMAIN' is not defined, 
> evaluates to 0 [-Werror,-Wundef]
> cc -c -O2 -pipe -fno-strict-aliasing  -std=c99 -g -Wall -Wredundant-decls 
> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
> -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions 
> -Wmissing-include-dirs -fdiagnostics-show-option 
> -Wno-error-tautological-compare -Wno-error-empty-body 
> -Wno-error-parentheses-equality -nostdinc  -I. -I/usr/src/sys 
> -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
> opt_global.h  -fno-omit-frame-pointer -mno-aes -mno-avx -mcmodel=kernel 
> -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
> -ffreestanding -fstack-protector -Werror  /usr/src/sys/vm/vm_zeroidle.c
> #if VM_NDOMAIN > 1
>    ^
> /usr/src/sys/vm/vm_phys.c:480:5: error: 'VM_NDOMAIN' is not defined, 
> evaluates to 0 [-Werror,-Wundef]
> #if VM_NDOMAIN > 1
>    ^
> ctfconvert -L VERSION -g vm_init.o
> 2 errors generated.
> *** [vm_phys.o] Error code 1
>
>
>
>
>
> On Wed, 8 May 2013, Dimitry Andric wrote:
>
>> 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:
>>> 
>>> ===> 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=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.
>> 
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



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