NetBSD Problem Report #16203

Received: (qmail 28155 invoked from network); 4 Apr 2002 21:46:34 -0000
Message-Id: <Pine.SOL.4.33.0204042239130.2906-100000@draco.cus.cam.ac.uk>
Date: Thu, 4 Apr 2002 22:46:33 +0100 (BST)
From: Ben Harris <bjh21@netbsd.org>
Sender: Ben Harris <bjh21@cus.cam.ac.uk>
To: <gnats-bugs@gnats.netbsd.org>
Subject: amigappc seems to need amiga include files in userland

>Number:         16203
>Category:       port-amiga
>Synopsis:       amigappc seems to need amiga include files in userland
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amiga-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 04 21:47:00 +0000 2002
>Closed-Date:    Fri Jul 02 04:46:08 +0000 2004
>Last-Modified:  Fri Jul 02 04:46:08 +0000 2004
>Originator:     Ben Harris
>Release:        2002-04-04
>Organization:
>Environment:
Cross-compile from Debian GNU/Linux 2.2
>Description:
While building libc:

CC=/u1/ben/netbsd/tools/bin/powerpc--netbsd-gcc /u1/ben/netbsd/tools/bin/powerpc--netbsd-lint -chapbxzF -X 272 -d /u1/ben/netbsd/dest.amigappc/usr/include -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/u1/ben/netbsd/src/lib/libc/include -DHESIOD -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE -I/u1/ben/netbsd/src/lib/libc/../../libexec/ld.elf_so -I/u1/ben/netbsd/src/lib/libc/dlfcn -DI18NMODULE_MAJOR=4 -DWITH_RUNE -I/u1/ben/netbsd/src/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -i /u1/ben/netbsd/src/lib/libc/arch/powerpc/gen/syncicache.c
In file included from /u1/ben/netbsd/dest.amigappc/usr/include/machine/cpu.h:42,
                 from /u1/ben/netbsd/src/lib/libc/arch/powerpc/gen/syncicache.c:41:
/u1/ben/netbsd/dest.amigappc/usr/include/machine/intr.h:48: amiga/amiga/isr.h: No such file or directory
/u1/ben/netbsd/dest.amigappc/usr/include/machine/intr.h:49: amiga/include/mtpr.h: No such file or directory

>How-To-Repeat:
	MACHINE=amigappc
        sh build.sh \
                -U -m $MACHINE \
                -T /u1/ben/netbsd/tools \
                -O /u1/ben/netbsd/obj.$MACHINE \
                -D /u1/ben/netbsd/dest.$MACHINE \
                -R /u1/ben/netbsd/release.$MACHINE \
                > build.log.$MACHINE 2>&1

>Fix:
Maybe those includes should be #ifdef _KERNEL.  Come to that, maybe
<machine/intr.h> shouldn't be included in userland at all.  Don't ask me,
I'm only trying to compile things.



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->port-amiga-maintainer 
Responsible-Changed-By: fair 
Responsible-Changed-When: Tue Apr 30 13:58:02 PDT 2002 
Responsible-Changed-Why:  
the GNATS DB admin is not responsible for port-amiga bugs. 
State-Changed-From-To: open->closed 
State-Changed-By: jmc 
State-Changed-When: Fri Jul 2 04:45:44 UTC 2004 
State-Changed-Why:  
amigappc builds a build.sh "build" w. no errors currently (release has never 
been finished though) 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.