[krbdev.mit.edu #6565] HP-UX IA64 wrong endian

Ken Raeburn via RT rt-comment at krbdev.mit.edu
Mon Sep 14 22:36:15 EDT 2009


On Sep 14, 2009, at 21:45, Arlene Berry via RT wrote:
> For krb5-1.7 all IA64 platforms are identified as little endian but
> HP-UX is big endian.

I wondered if there should be some startup-time sanity check of that,  
just to be safe.

The current GCC sources indicate that it'll define __BIG_ENDIAN__ on  
big-endian IA64 targets.  It may be good to add __BIG_ENDIAN__ and  
__LITTLE_ENDIAN__ to the list of macros we test for; certainly several  
GCC configurations seem to define one or the other for several  
processors that can go either way.

I'll take a look....

Ken




More information about the krb5-bugs mailing list