Bug 204844

Summary: Kernel compiling error
Product: Base System Reporter: Łukasz <szymluk86>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Not A Bug    
Severity: Affects Only Me    
Priority: ---    
Version: 10.2-STABLE   
Hardware: Any   
OS: Any   

Description Łukasz 2015-11-27 11:32:04 UTC
Hi,
I'm trying to upgrade my kernel from FreeBSD's sources.
Info:
root@maszynka:/usr/src # svnlite info
Path: .
Working Copy Root Path: /usr/src
URL: https://svn0.us-west.freebsd.org/base/stable/10
Relative URL: ^/stable/10
Repository Root: https://svn0.us-west.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 291374
Node Kind: directory
Schedule: normal
Last Changed Author: gnn
Last Changed Rev: 291355
Last Changed Date: 2015-11-26 03:24:45 +0100 (czw, 26 lis 2015)

When I build kernel got error message:

cc: error: unable to execute command: Killed
cc: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd10.2
Thread model: posix
cc: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
cc: note: diagnostic msg: Error generating preprocessed source(s).
*** Error code 254

Stop.
make[4]: stopped in /usr/src/sys/modules/pms
*** Error code 1

Stop.
make[3]: stopped in /usr/src/sys/modules
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/usr/src/sys/CUSTOM
*** Error code 1

Kernel's config file:
http://pastebin.com/ykE8FL3b

Thanks for help.
Comment 1 Łukasz 2015-11-28 17:16:10 UTC
Ok, problem solved.
I uncommented options:
#device         vga                     # VGA video card driver
#options        VESA                    # Add support for VESA BIOS Extensions (VBE)

and

#device         sc
#options        SC_PIXEL_MODE           # add support for the raster text mode

Kernel compiled :)