Subject: Re: gcc4 status
To: None <tech-toolchain@netbsd.org>
From: None <ebe-list@get2net.dk>
List: tech-toolchain
Date: 05/25/2006 14:02:54
2006/5/22, matthew green <mrg@eterna.com.au>:
powerpc could when people
verify that all the non-macppc powerpc platforms
build..
I observed the following after doing a sh make build.sh
tools kernel=HJEMME on my beige g3 :
compile HJEMME/obio.o
compile HJEMME/oea_machdep.o
cc1: warnings being treated as errors
/home/NetBSD/src/sys/arch/powerpc/oea/oea_machdep.c: In
function 'oea_init':
/home/NetBSD/src/sys/arch/powerpc/oea/oea_machdep.c:166:
warning: null argument where non-null required (argument
1)
*** Failed target: oea_machdep.o
*** Failed command: echo ' ' "compile
HJEMME/oea_machdep.o"; : echo
/home/NetBSD/tooldir/bin/powerpc--netbsd-gcc
-mno-strict-align -msoft-float -Wa,-maltivec
-ffreestanding -O2 -Wreturn-type -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wreturn-type
-Wswitch -Wshadow -Wcast-qual -Wwrite-strings
-Wno-sign-compare -Wno-pointer-sign -Wno-attributes
-fno-zero-initialized-in-bss -fno-strict-aliasing
-Dmacppc=macppc -I.
-I/home/NetBSD/src/sys/../common/include
-I/home/NetBSD/src/sys/arch -I/home/NetBSD/src/sys
-nostdinc -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I/home/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/home/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/string
-I/home/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/arch/powerpc/string
-I/home/NetBSD/src/sys/dist/ipf -c
/home/NetBSD/src/sys/arch/powerpc/oea/oea_machdep.c;
/home/NetBSD/tooldir/bin/powerpc--netbsd-gcc
-mno-strict-align -msoft-float -Wa,-maltivec
-ffreestanding -O2 -Wreturn-type -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wreturn-type
-Wswitch -Wshadow -Wcast-qual -Wwrite-strings
-Wno-sign-compare -Wno-pointer-sign -Wno-attributes
-fno-zero-initialized-in-bss -fno-strict-aliasing
-Dmacppc=macppc -I.
-I/home/NetBSD/src/sys/../common/include
-I/home/NetBSD/src/sys/arch -I/home/NetBSD/src/sys
-nostdinc -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I/home/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/home/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/string
-I/home/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/arch/powerpc/string
-I/home/NetBSD/src/sys/dist/ipf -c
/home/NetBSD/src/sys/arch/powerpc/oea/oea_machdep.c
*** Error code 1
Line 166 is the memset in:
/*
* Cause a PGM trap if we branch to 0.
*/
memset(0, 0, 0x100);
Kind regards
- Erik