Bug 204844 - Kernel compiling error
Summary: Kernel compiling error
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-27 11:32 UTC by Łukasz
Modified: 2015-11-28 17:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :)