Bug 39305

Summary: Alpha Kernel Build for Miata dies if no `device sio0'
Product: Base System Reporter: Michael Hogsett <hogsett>
Component: alphaAssignee: freebsd-alpha (Nobody) <alpha>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.6-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Michael Hogsett 2002-06-14 21:10:01 UTC
With the following in a kernel config file :

options         DEC_ST550

#device         sio0 

The kernel build will fail with

cc -c -O -pipe -mcpu=ev4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf  -mno-fp-regs -Wa,-mev56  vers.c
linking kernel
dec_st550.o: In function `st550_cons_init':
dec_st550.o(.text+0x124): undefined reference to `comconsole'
dec_st550.o(.text+0x134): undefined reference to `siocnattach'
dec_st550.o(.text+0x138): undefined reference to `siocnattach'
*** Error code 1

Fix: I recommend a comment stating that the serial device(s) are required.

How-To-Repeat: Comment out `device sio0' in the kernel config file.
Comment 1 Matt Jacob freebsd_committer freebsd_triage 2002-06-14 21:20:32 UTC
State Changed
From-To: open->closed

Applied suggested fix to GENERIC. Will MFC as soon as -stable opens up. Thanks.