Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2013 03:27:12 +0100
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "AN" <andy@neu.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: buildkernel fails in  zlib (all)
Message-ID:  <69F30EA9CDE34DA9B1D3F031D8B404BB@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> <alpine.BSF.2.00.1304272217570.88373@mail.neu.net>

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

----- Original Message ----- 
From: "AN" <andy@neu.net>
To: "Steven Hartland" <killing@multiplay.co.uk>
Cc: <freebsd-current@freebsd.org>
Sent: Sunday, April 28, 2013 3:20 AM
Subject: Re: buildkernel fails in zlib (all)


> 
> 
> 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?

Easy way to re-run the make like this:-
make -DNO_CLEAN buildkernel KERNCONF=MYKERNEL

This will continue your build without cleaning first, which will
mean it should fail pretty quickly and you'll get the real error.

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster@multiplay.co.uk.




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