Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: build.sh release fails (on sparc and i386)
Kurt Schreiner wrote:
Hi,
(cross) building release for sparc (and i386, at least) fails:
compile MRCOFFEE_OFW/init_main.o
cc1: warnings being treated as errors
/u/NetBSD/src/sys/kern/init_main.c: In function 'main':
/u/NetBSD/src/sys/kern/init_main.c:344: warning: implicit declaration of
function 'spec_init'
*** Failed target: init_main.o
*** Failed command: echo ' ' "compile MRCOFFEE_OFW/init_main.o"; : echo
/u/NetBSD/arch/sparc/TOOLS/bin/sparc--netbsdelf-gcc -pipe -mno-fpu -ffreestanding
-fno-zero-initialized-in-bss -pipe -mcpu=supersparc -O2 -std=gnu99 -fno-strict-aliasing
-Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code
-Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Werror -I.
-I/u/NetBSD/src/sys/../common/include -I/u/NetBSD/src/sys/arch -I/u/NetBSD/src/sys
-nostdinc -DPROM_AT_F0 -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/string
-I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/arch/sparc/string -c
/u/NetBSD/src/sys/kern/init_main.c; /u/NetBSD/arch/sparc/TOOLS/bin/sparc--netbsdelf-gcc
-pipe -mno-fpu -ffreestanding -fno-zero-initialized-in-bss -pipe -mcpu=s
upersparc -O2 -std=gnu99 -fno-strict-aliasing -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings
-Wno-unreachable-code -Wno-sign-compare -Wno-pointer-sign -Wno-attributes
-Werror -I. -I/u/NetBSD/src/sys/../common/include -I/u/NetBSD/src/sys/arch
-I/u/NetBSD/src/sys -nostdinc -DPROM_AT_F0 -DMAXUSERS=32 -D_KERNEL
-D_KERNEL_OPT -I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/string
-I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/arch/sparc/string -c
/u/NetBSD/src/sys/kern/init_main.c
*** Error code 1
Stop.
nbmake: stopped in /u/NetBSD/arch/sparc/obj/sys/arch/sparc/compile/MRCOFFEE_OFW
Source last updated Nov 14 21:18 CET.
Amd64 compiles fine, btw.
Kurt
Interesting because I did a release build on i386. Update
sys/kern/init_main.c and try again.
Thanks,
-e.
Home |
Main Index |
Thread Index |
Old Index