Subject: port-macppc/18038: macppc GENERIC no longer compiles
To: None <gnats-bugs@gnats.netbsd.org>
From: Lennart Augustsson <lennart@terc.augustsson.net>
List: netbsd-bugs
Date: 08/22/2002 05:53:21
>Number: 18038
>Category: port-macppc
>Synopsis: macppc GENERIC no longer compiles
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: port-macppc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 22 06:54:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Lennart Augustsson
>Release: NetBSD 1.6F
>Organization:
>Environment:
System: NetBSD terc 1.6D NetBSD 1.6D (TERC) #0: Thu Jul 25 12:03:05 EDT 2002 lennart@terc:/usr/src/sys/arch/macppc/compile/TERC macppc
Architecture: powerpc
Machine: macppc
>Description:
There are compilation errors when trying to compile the macppc
GENERIC kernel.
>How-To-Repeat:
cd sys/arch/macppc/conf; config GENERIC; cd ../compile/GENERIC; make
...
/usr/obj/tools/bin/powerpc--netbsd-gcc -msoft-float -ffreestanding -O2 -Wreturn-type -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -Dmacppc -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DDIAGNOSTIC -DZS_CONSOLE_ABORT -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/arch/macppc/compile/GENERIC/../../../../arch/powerpc/mpc6xx/pmap.c
cc1: warnings being treated as errors
/usr/src/sys/arch/macppc/compile/GENERIC/../../../../arch/powerpc/mpc6xx/pmap.c: In function `pmap_pte_spill':
/usr/src/sys/arch/macppc/compile/GENERIC/../../../../arch/powerpc/mpc6xx/pmap.c:784: warning: implicit declaration of function `PMAPCOUNT2'
/usr/src/sys/arch/macppc/compile/GENERIC/../../../../arch/powerpc/mpc6xx/pmap.c:786: `pmap_evcnt_ptes_secondary' undeclared (first use in this function)
/usr/src/sys/arch/macppc/compile/GENERIC/../../../../arch/powerpc/mpc6xx/pmap.c:786: (Each undeclared identifier is reported only once
/usr/src/sys/arch/macppc/compile/GENERIC/../../../../arch/powerpc/mpc6xx/pmap.c:786: for each function it appears in.)
/usr/src/sys/arch/macppc/compile/GENERIC/../../../../arch/powerpc/mpc6xx/pmap.c:786: `pmap_evcnt_ptes_primary' undeclared (first use in this function)
/usr/src/sys/arch/macppc/compile/GENERIC/../../../../arch/powerpc/mpc6xx/pmap.c: In function `pmap_pvo_enter':
/usr/src/sys/arch/macppc/compile/GENERIC/../../../../arch/powerpc/mpc6xx/pmap.c:1454: `pmap_evcnt_ptes_secondary' undeclared (first use in this function)
/usr/src/sys/arch/macppc/compile/GENERIC/../../../../arch/powerpc/mpc6xx/pmap.c:1454: `pmap_evcnt_ptes_primary' undeclared (first use in this function)
*** Error code 1
>Fix:
Dunno.
>Release-Note:
>Audit-Trail:
>Unformatted: