Subject: LUBBOCK kernel build fails
To: None <>
From: Ian Zagorskih <>
List: port-arm
Date: 06/23/2004 15:15:57
NetBSD NBSD1 2.0_BETA NetBSD 2.0_BETA (NBSD1) #1: Tue Jun 15 15:33:23 NOVST 
2004  ianzag@NBSD1:/usr/src/sys/arch/i386/compile/NBSD1 i386

Completely updated from CVS right now and re-buil evbarm tools.

# cd /sys/arch/evbarm/conf
# config LUBBOCK
Build directory is ../compile/LUBBOCK
Don't forget to run "make depend"
# cd ../compile/LUBBOCK/
# make depend
depending the kern library objects
depending the compat library objects
#    create  LUBBOCK/assym.h
cat ../../../../arch/arm/arm32/  |  sh ../../../../kern/ 
cc     -mcpu=xscale -ffreestanding -mcpu=xscale  -O2 -Werror -Wall -Wno-main 
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes 
-Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss  -I.  
-I../../../../arch -I../../../.. -nostdinc -DCOTULLA -DLUBBOCK -DDIAGNOSTIC 
-DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   > assym.h.tmp &&  mv -f assym.h.tmp 
cc1: error: bad value (xscale) for -mcpu= switch
*** Error code 1

make: stopped in /usr/src/sys/arch/evbarm/compile/LUBBOCK

Any ideas ?

// wbr