From owner-freebsd-sparc64@FreeBSD.ORG Wed May 12 04:46:15 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67C7116A4CE for ; Wed, 12 May 2004 04:46:15 -0700 (PDT) Received: from thumbler.kulnet.kuleuven.ac.be (thumbler.kulnet.kuleuven.ac.be [134.58.240.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15C1D43D45 for ; Wed, 12 May 2004 04:46:15 -0700 (PDT) (envelope-from tijl@ulyssis.org) Received: from localhost (localhost [127.0.0.1]) by thumbler.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 295C91377AF for ; Wed, 12 May 2004 13:46:14 +0200 (CEST) Received: from octavianus.kulnet.kuleuven.ac.be (octavianus.kulnet.kuleuven.ac.be [134.58.240.71]) by thumbler.kulnet.kuleuven.ac.be (Postfix) with ESMTP id A0BFE1377C3 for ; Wed, 12 May 2004 13:46:13 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [10.4.40.235]) by octavianus.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 4AF59AF098 for ; Wed, 12 May 2004 13:46:13 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by kalimero.kotnet.org (8.12.11/8.12.11) with SMTP id i4CBkCCo072513 for ; Wed, 12 May 2004 13:46:12 +0200 (CEST) (envelope-from tijl@ulyssis.org) Date: Wed, 12 May 2004 13:46:11 +0200 From: Tijl Coosemans To: sparc64@freebsd.org Message-Id: <20040512134611.6fdec454.tijl@ulyssis.org> In-Reply-To: <20040511222311.GA728@timesink.dyndns.org> References: <20040511010823.GB72214@xor.obsecurity.org> <20040511213757.37a2189e.tijl@ulyssis.org> <20040511222311.GA728@timesink.dyndns.org> X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by KULeuven Antivirus Cluster Subject: Re: [ports-sparc64@bento.FreeBSD.org: libticables-3.7.7_2 failed on sparc64 5] X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2004 11:46:15 -0000 On Wed, 12 May 2004 00:23:11 +0200, Thomas Moestl wrote: > On Tue, 2004/05/11 at 21:37:57 +0200, Tijl Coosemans wrote: > > > Apparently src/sys/sparc64/include/sysarch.h uses > > utrap_entry_t and utrap_handler_t without defining them. They are > > however defined in src/sys/sparc64/utrap.h. > > > > So I'm wondering, should I file a PR for my port to include > > machine/utrap.h(?) before machine/sysarch.h in case > > of a sparc64 build (or get rid of it since it is only used on > > i386), or is this a bug and should > > src/sys/sparc64/include/sysarch.h include machine/utrap.h > > (probably wrapped inside an #ifndef _KERNEL)? > > Since machine/sysarch.h is by definition architecture dependent, it > would probably be best to include it only when it is needed (i.e. in > the i386 case). Ok, thanks, I was just wondering since there aren't any build errors on other platforms.