Subject: kern/31076: sparc64 has GENERIC.MP config file whereas SMP is not supported on sparc64
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <ghen@telenet.be>
List: netbsd-bugs
Date: 08/26/2005 20:58:00
>Number: 31076
>Category: kern
>Synopsis: sparc64 has GENERIC.MP config file whereas SMP is not supported on sparc64
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Aug 26 20:58:00 +0000 2005
>Originator: Geert Hendrickx
>Release: NetBSD 2.1_RC4
>Organization:
>Environment:
>Description:
There is a GENERIC.MP config file in arch/sparc64/conf/ while SMP is not even supported on sparc64. This may confuse users (it confused me...). It doesn't even build, I tried it:
# compile GENERIC.MP/zs.o
/cvs/obj/tooldir.NetBSD-2.1_RC1-i386/bin/sparc64--netbsd-gcc -pipe -mcmodel=medlow -mno-fpu -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Dsparc64 -D__sparc64__ -D_LP64 -Wa,-Av9a -I. -I/cvs/src/sys/arch -I/cvs/src/sys -nostdinc -DLKM -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -I/cvs/src/sys/dist/ipf -c /cvs/src/sys/arch/sparc64/dev/zs.c
/cvs/src/sys/arch/sparc64/dev/zs.c: In function `zs_abort':
/cvs/src/sys/arch/sparc64/dev/zs.c:710: warning: implicit declaration of function `mp_pause_cpus'
/cvs/src/sys/arch/sparc64/dev/zs.c:710: warning: implicit declaration of function `mp_resume_cpus'
*** Failed target: zs.o
*** Failed command: echo '# ' "compile GENERIC.MP/zs.o"; echo /cvs/obj/tooldir.NetBSD-2.1_RC1-i386/bin/sparc64--netbsd-gcc -pipe -mcmodel=medlow -mno-fpu -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Dsparc64 -D__sparc64__ -D_LP64 -Wa,-Av9a -I. -I/cvs/src/sys/arch -I/cvs/src/sys -nostdinc -DLKM -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -I/cvs/src/sys/dist/ipf -c /cvs/src/sys/arch/sparc64/dev/zs.c; /cvs/obj/tooldir.NetBSD-2.1_RC1-i386/bin/sparc64--netbsd-gcc -pipe -mcmodel=medlow -mno-fpu -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Dsparc64 -D__sparc64__ -D_LP64 -Wa,-Av9a -I. -I/cvs/src/sys/arch -I/cvs/src/sys -nostdinc -DLKM -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -I/cvs/src/sys/dist/ipf -c /cvs/src/sys/arch/sparc64/dev/zs.c
*** Error code 1
Stop.
nbmake: stopped in /cvs/obj/sys/arch/sparc64/compile/GENERIC.MP
ERROR: Failed to make all in /cvs/obj/sys/arch/sparc64/compile/GENERIC.MP
*** BUILD ABORTED ***
>How-To-Repeat:
>Fix:
cvs delete arch/sparc64/conf/GENERIC.MP
cvs ci
:-)