Subject: cobalt, hpcmips r3 won't build
To: port-mips@netbsd.org, NetBSD-cobalt <port-cobalt@netbsd.org>
From: Andy Ruhl <acruhl@gmail.com>
List: port-cobalt
Date: 03/11/2006 08:00:27
Sorry if this is a known issue. I copied port-mips and only the ports
I actually tried building for.

I just synched release-3 this morning and tried to build, and this is
what I get for both cobalt and hpcmips:

#   compile  GENERIC/pmap.o
/usr/tools-cobalt-r3/bin/mipsel--netbsd-gcc -G 0 -mno-abicalls
-msoft-float -ffreestanding -O2 -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss
-Dcobalt -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DMIPS3
-DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT -c
/usr/src/sys/arch/mips/mips/pmap.c
/usr/src/sys/arch/mips/mips/pmap.c: In function `pmap_zero_page':
/usr/src/sys/arch/mips/mips/pmap.c:1593: error: parse error before '<<' tok=
en
/usr/src/sys/arch/mips/mips/pmap.c:1604: error: parse error before '=3D=3D'=
 token
/usr/src/sys/arch/mips/mips/pmap.c:1606:9: too many decimal points in numbe=
r
/usr/src/sys/arch/mips/mips/pmap.c:1613: error: `bank_' undeclared
(first use in this function)
/usr/src/sys/arch/mips/mips/pmap.c:1613: error: (Each undeclared
identifier is reported only once
/usr/src/sys/arch/mips/mips/pmap.c:1613: error: for each function it
appears in.)
/usr/src/sys/arch/mips/mips/pmap.c:1613: error: `pg_' undeclared
(first use in this function)
/usr/src/sys/arch/mips/mips/pmap.c: At top level:
/usr/src/sys/arch/mips/mips/pmap.c:1613: error: parse error before ')' toke=
n
/usr/src/sys/arch/mips/mips/pmap.c:1620: error: parse error before '(' toke=
n
/usr/src/sys/arch/mips/mips/pmap.c:1621:9: too many decimal points in numbe=
r

*** Failed target:  pmap.o
*** Failed command: echo '# ' "compile GENERIC/pmap.o"; echo
/usr/tools-cobalt-r3/bin/mipsel--netbsd-gcc -G 0 -mno-abicalls
-msoft-float -ffreestanding -O2 -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss
-Dcobalt -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DMIPS3
-DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT -c
/usr/src/sys/arch/mips/mips/pmap.c;
/usr/tools-cobalt-r3/bin/mipsel--netbsd-gcc -G 0 -mno-abicalls
-msoft-float -ffreestanding -O2 -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss
-Dcobalt -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DMIPS3
-DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT -c
/usr/src/sys/arch/mips/mips/pmap.c
*** Error code 1

Stop.
nbmake: stopped in /usr/obj-cobalt-r3/sys/arch/cobalt/compile/GENERIC

ERROR: Failed to make all in /usr/obj-cobalt-r3/sys/arch/cobalt/compile/GEN=
ERIC
*** BUILD ABORTED ***

(I am not subscribed to port-mips)

Any ideas?

I'm going to try current next, then I'm out for the weekend so I'll
have to continue Monday.

Thanks.

Andy