Subject: kern/27142: Can not build kernel 2.0_RC2 4 Oct, 2004 on NetBSD/Alpha
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hhako@seagreen.ocn.ne.jp>
List: netbsd-bugs
Date: 10/04/2004 15:29:13
>Number: 27142
>Category: kern
>Synopsis: Can not build kernel 2.0_RC2 4 Oct, 2004 on NetBSD/Alpha
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 04 15:30:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Hiroshi Hakoyama
>Release: 2.0_RC2
>Organization:
NRIFS
>Environment:
NetBSD eco-math20.nrifs.affrc.go.jp 2.0_RC2 NetBSD 2.0_RC2 (UP1000) #0: Mon Oct 4 15:35:24 JST 2004 hako@eco-math20.nrifs.affrc.go.jp:/usr/src/sys/arch/alpha/compile/UP1000 alpha
>Description:
Modification for Linux emulation seems to break kernel build on NetBSD/Alpha.
# compile GENERIC/linux_sysent.o
/usr/src/obj/tooldir.NetBSD-2.0_RC2-alpha/bin/alpha--netbsd-gcc -mno-fp-regs -ffreestanding -mcpu=21264a -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Dalpha -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DDIAGNOSTIC -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/compat/linux/arch/alpha/linux_sysent.c
/usr/src/sys/compat/linux/arch/alpha/linux_sysent.c:483: error: invalid application of `sizeof' to an incomplete type
*** Failed target: linux_sysent.o
*** Failed command: echo '# ' "compile GENERIC/linux_sysent.o"; echo /usr/src/obj/tooldir.NetBSD-2.0_RC2-alpha/bin/alpha--netbsd-gcc -mno-fp-regs -ffreestanding -mcpu=21264a -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Dalpha -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DDIAGNOSTIC -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/compat/linux/arch/alpha/linux_sysent.c; /usr/src/obj/tooldir.NetBSD-2.0_RC2-alpha/bin/alpha--netbsd-gcc -mno-fp-regs -ffreestanding -mcpu=21264a -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Dalpha -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DDIAGNOSTIC -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/compat/linux/arch/alpha/linux_sysent.c
*** Error code 1
Stop.
nbmake: stopped in /usr/obj/sys/arch/alpha/compile/GENERIC
ERROR: Failed to make all in /usr/src/sys/arch/alpha/compile/obj/GENERIC
*** BUILD ABORTED ***
>How-To-Repeat:
build GENERIC kernel on NetBSD/Alpha
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted: