[ports-sparc64@bento.FreeBSD.org: libticables-3.7.7_2 failed on sparc64 5]

Tijl Coosemans tijl at ulyssis.org
Wed May 12 04:46:15 PDT 2004


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.


More information about the freebsd-sparc64 mailing list