Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2013 18:56:18 -0500
From:      Andre Goree <andre@drenet.info>
To:        freebsd-questions@freebsd.org
Subject:   Can't build kernel
Message-ID:  <1891100.Xa0R7QjnRb@desktop.drenet.local>

next in thread | raw e-mail | index | archive | help
I'm running 8.3-STABLE (not sure if I should've posted this to freebsd-stable, 
please correct me if so).

I'm able to successfully buildworld after an svn up of /usr/src, however when 
I try to build my customer kernel, the build stops at the following:

/usr/local/libexec/ccache/world/cc -c -O2 -frename-registers -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 -nostdinc  -I. -I/usr/src/sys -
I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --
param large-function-growth=1000  -fno-omit-frame-pointer -mcmodel=kernel -
mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow  -
msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -
Werror  /usr/src/sys/x86/x86/local_apic.c
cc1: warnings being treated as errors
/usr/src/sys/x86/x86/local_apic.c:166: warning: 'lapic_resume' declared 
'static' but never defined
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


Here is my kernel configuration [1].  Any suggestions on how to get this built 
properly or otherwise troubleshoot?  I've also tried with GENERIC, which fails 
at the same exact spot.  Building without ccache also fails at the same exact 
spot :(  

Thanks in advance for any guidance you can provide.

[1]http://www.drenet.net/images/BUILD011313.txt

-- 
Andre Goree
andre@drenet.info



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