Bug 198806 - kern_cons.c compiler internal error
Summary: kern_cons.c compiler internal error
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
Depends on:
Reported: 2015-03-22 21:27 UTC by Larry Rosenman
Modified: 2015-06-06 02:05 UTC (History)
0 users

See Also:

/tmp/kern_cons-b94774.c (935.52 KB, text/plain)
2015-03-22 21:27 UTC, Larry Rosenman
no flags Details
/tmp/kern_cons-b94774.sh (1.75 KB, text/plain)
2015-03-22 21:27 UTC, Larry Rosenman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Larry Rosenman freebsd_committer 2015-03-22 21:27:14 UTC
Created attachment 154676 [details]

--- kern_exec.o ---
cc  -c -O2 -pipe -fno-strict-aliasing  -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign  -mno-aes -mno-avx  -std=iso9899:1999 -Werror  /usr/src/sys/kern/kern_exec.c
--- kern_cons.o ---
cc: error: unable to execute command: Bus error (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 3.6.0 (tags/RELEASE_360/final 230434) 20150225
Target: x86_64-unknown-freebsd11.0
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.
--- init_main.o ---
ctfconvert -L VERSION -g init_main.o
--- kern_cons.o ---
cc: note: diagnostic msg:

Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/kern_cons-b94774.c
cc: note: diagnostic msg: /tmp/kern_cons-b94774.sh
cc: note: diagnostic msg:

*** [kern_cons.o] Error code 254

Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/head
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 280347
Node Kind: directory
Schedule: normal
Last Changed Author: mav
Last Changed Rev: 280347
Last Changed Date: 2015-03-22 11:10:28 -0500 (Sun, 22 Mar 2015)

# uname -a
FreeBSD oldtbh.lerctr.org 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r278960: Wed Feb 18 19:39:45 CST 2015     root@oldtbh.lerctr.org:/usr/obj/usr/src/sys/VT-LER  amd64
Comment 1 Larry Rosenman freebsd_committer 2015-03-22 21:27:42 UTC
Created attachment 154677 [details]
Comment 2 Larry Rosenman freebsd_committer 2015-03-22 21:54:14 UTC
did an svn up /usr/src and then a 
make -DNO_CLEAN -j 8 buildworld buildkernel >>make.noc.out 2>&1 

and it compiled and linked. 

So, may be a 1 time hit, BUT.....