An endian error

mdh mdh_lists at yahoo.com
Tue Oct 14 08:01:41 PDT 2008


--- On Tue, 10/14/08, Jeremy Chadwick <koitsu at FreeBSD.org> wrote:
> From: Jeremy Chadwick <koitsu at FreeBSD.org>
> Subject: Re: An endian error
> To: "Unga" <unga888 at yahoo.com>
> Cc: freebsd-questions at freebsd.org
> Date: Tuesday, October 14, 2008, 8:50 AM
> On Tue, Oct 14, 2008 at 05:00:26AM -0700, Unga wrote:
> > Hi all
> > 
> > I'm trying to compile RELENG_7 kernel on i386.
> > 
> > The "make buildkernel" develops an endian
> related error:
> 
> I cannot reproduce this error on any of our i386 boxes or
> our amd64
> boxes.
> 
> Is this kernel being built with the new gcc you've been
> messing around
> with in other threads?  I have to ask that question, for
> obvious
> reasons.

I wonder if that code is right - normally an endian check on FreeBSD entails comparing BYTE_ORDER with _BIG_ENDIAN and/or _LITTLE_ENDIAN to determine which is the case, which would seemingly imply that it is OK to have both of those defined.  
- mdh



      


More information about the freebsd-questions mailing list