Subject: port-macppc/31336: COMPAT_DARWIN kernel does not compile
To: None <port-macppc-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Thomas Klausner <wiz@NetBSD.org>
List: netbsd-bugs
Date: 09/18/2005 13:14:00
>Number: 31336
>Category: port-macppc
>Synopsis: COMPAT_DARWIN kernel does not compile
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: port-macppc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 18 13:14:00 +0000 2005
>Originator: Thomas Klausner
>Release: NetBSD-3.99.9/20050918
>Organization:
>Environment:
Architecture: powerpc
Machine: macppc
>Description:
A kernel with the COMPAT_DARWIN option enabled doesn't compile:
# compile KRAFTLACKEL/darwin_commpage.o
/build/tools/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 -fno-zero-initialized-in-bss -Dmacppc=macppc -I. -I/disk/wd1a/archive/cvs/src/sys/arch -I/disk/wd1a/archive/cvs/src/sys -nostdinc -DDIAGNOSTIC -DTRAP_PANICWAIT -DOFB_ENABLE_CACHE -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /disk/wd1a/archive/cvs/src/sys/compat/darwin/darwin_commpage.c
In file included from powerpc/darwin_machdep.h:42,
from machine/darwin_machdep.h:3,
from /disk/wd1a/archive/cvs/src/sys/compat/darwin/darwin_commpage.c:49:
/disk/wd1a/archive/cvs/src/sys/compat/darwin/darwin_signal.h:65: error: parse error before "sigset13_t"
/disk/wd1a/archive/cvs/src/sys/compat/darwin/darwin_signal.h:65: warning: no semicolon at end of struct or union
/disk/wd1a/archive/cvs/src/sys/compat/darwin/darwin_signal.h:70: error: parse error before '}' token
/disk/wd1a/archive/cvs/src/sys/compat/darwin/darwin_signal.h:78: error: parse error before "sigset13_t"
/disk/wd1a/archive/cvs/src/sys/compat/darwin/darwin_signal.h:78: warning: no semicolon at end of struct or union
/disk/wd1a/archive/cvs/src/sys/compat/darwin/darwin_signal.h:80: error: parse error before '}' token
In file included from machine/darwin_machdep.h:3,
from /disk/wd1a/archive/cvs/src/sys/compat/darwin/darwin_commpage.c:49:
powerpc/darwin_machdep.h:74: error: field `uctx' has incomplete type
Adding COMPAT_13 (and later) options to the kernel doesn't help.
Kernel config available on request.
>How-To-Repeat:
Try to build kernel with darwin compatibility.
>Fix:
Not provided.
>Unformatted: