Return-Path: Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU [18.7.7.80]) by krbdev.mit.edu (Postfix) with ESMTP id 85936CCA02 for ; Tue, 15 Sep 2009 02:36:14 +0000 (UTC) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id n8F2aCNT015172; Mon, 14 Sep 2009 22:36:12 -0400 (EDT) Received: from [10.0.0.158] ([76.119.237.235]) (authenticated bits=0) (User authenticated as raeburn@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id n8F2aBX4027633 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 14 Sep 2009 22:36:11 -0400 (EDT) Message-ID: From: Ken Raeburn To: rt@krbdev.mit.edu In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Subject: Re: [krbdev.mit.edu #6565] HP-UX IA64 wrong endian MIME-Version: 1.0 (Apple Message framework v936) Date: Mon, 14 Sep 2009 22:36:11 -0400 References: X-Mailer: Apple Mail (2.936) X-Scanned-BY: MIMEDefang 2.42 X-Spam-Flag: NO X-Spam-Score: 0.00 RT-Send-Cc: X-RT-Original-Encoding: us-ascii Content-Length: 578 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