buildkernel fails in zlib (all)

AN andy at neu.net
Sun Apr 28 02:20:40 UTC 2013



On Sun, 28 Apr 2013, Steven Hartland wrote:

>
> ----- Original Message ----- From: "AN" <andy at neu.net>
> To: <freebsd-current at freebsd.org>
> Sent: Sunday, April 28, 2013 3:09 AM
> Subject: buildkernel fails in zlib (all)
>
>
>> FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #62 r249867: Wed Apr 24 
>> 21:53:34 CDT 2013     root at FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64
>> 
>> Trying to buildkernel at:
>> # svn info
>> Path: .
>> Working Copy Root Path: /usr/src
>> URL: svn://svn.freebsd.org/base/head
>> Repository Root: svn://svn.freebsd.org/base
>> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
>> Revision: 250001
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: wkoszek
>> Last Changed Rev: 250001
>> Last Changed Date: 2013-04-27 18:59:15 -0500 (Sat, 27 Apr 2013)
>> 
>> fails with:
>> 
>> ===> zlib (all)
>> cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc 
>> -DHAVE_KERNEL_OPTION_HEADERS -include 
>> /usr/obj/usr/src/sys/MYKERNEL/opt_global.h -I. -I@ -I@/contrib/altq 
>> -fno-common  -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/MYKERNEL 
>> -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse 
>> -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding 
>> -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector 
>> -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 -c 
>> /usr/src/sys/modules/zlib/../../net/zlib.c
>> ld  -d -warn-common -r -d -o zlib.ko zlib.o
>> :> export_syms
>> awk -f /usr/src/sys/conf/kmod_syms.awk zlib.ko  export_syms | xargs -J% 
>> objcopy % zlib.ko
>> objcopy --strip-debug zlib.ko
>> 1 error
>> *** [buildkernel] Error code 2
>> 1 error
>> *** [buildkernel] Error code 2
>> 1 error
>> 
>> 
>> Is anyone else seeing this?
>
> Are you building with a -jXX option to make as I don't see the source
> of the error in your output there, so I suspect its actually failing
> earlier elsewhere but that's what your seeing from because multiple
> compiles are being actioned by make.
>
>   Regards
>   Steve
>

Hi Steve:

Yes, I'm using time make -j6 buildkernel KERNCONF=MYKERNEL.

How can I find out where it's failing?  Should I post full output?



More information about the freebsd-current mailing list