Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Apr 2013 22:20:35 -0400 (EDT)
From:      AN <andy@neu.net>
To:        Steven Hartland <killing@multiplay.co.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: buildkernel fails in  zlib (all)
Message-ID:  <alpine.BSF.2.00.1304272217570.88373@mail.neu.net>
In-Reply-To: <B539CD6B9E74484D8406BCEE872C859C@multiplay.co.uk>
References:  <mailman.3.1366545601.34226.freebsd-current@freebsd.org> <alpine.BSF.2.00.1304272202450.88373@mail.neu.net> <B539CD6B9E74484D8406BCEE872C859C@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sun, 28 Apr 2013, Steven Hartland wrote:

>
> ----- Original Message ----- From: "AN" <andy@neu.net>
> To: <freebsd-current@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@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?




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