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

From: Dan Mack <mack_at_macktronics.com>
Date: Wed, 8 May 2013 10:34:06 -0500 (CDT)
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_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.
>> 
>> _______________________________________________
>> freebsd-current_at_freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Wed May 08 2013 - 13:34:07 UTC

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