From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5349 invoked by alias); 2 Aug 2012 20:46:53 -0000 Received: (qmail 5332 invoked by uid 22791); 2 Aug 2012 20:46:51 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Aug 2012 20:46:38 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1Sx2I1-0001t7-Ot from joseph_myers@mentor.com ; Thu, 02 Aug 2012 13:46:37 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 2 Aug 2012 13:46:37 -0700 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Thu, 2 Aug 2012 21:46:35 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1Sx2Hy-0008CN-Ax; Thu, 02 Aug 2012 20:46:34 +0000 Date: Thu, 02 Aug 2012 20:46:00 -0000 From: "Joseph S. Myers" To: Roland McGrath CC: , Subject: Re: [PATCH roland/off64_t] clean up wordsize-64 off_t functions In-Reply-To: <20120802172110.E4A912C0DF@topped-with-meat.com> Message-ID: References: <20120802172110.E4A912C0DF@topped-with-meat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00019.txt.bz2 On Thu, 2 Aug 2012, Roland McGrath wrote: > ia64 and powerpc64 don't have their own bits/typesizes.h files. So some > more work will be required there too and again I'm not entirely sure > what's best to do. We can make the generic bits/typesizes.h test > __LP64__, but I'm not positive that all compiler versions that we > support for those targets defined that. (Note that here we have to be > concerned with all compilers that we support for building applications > with libc headers, not just the compilers we support for building libc > itself.) How is this definition *used* by installed headers? If installed headers don't use it (only define it), it could be conditioned on _LIBC so it's clear it's not a public interface. It appears __LP64__ has been defined (if long and pointers are 64-bit and int is 32-bit) since at least GCC 3.4. -- Joseph S. Myers joseph@codesourcery.com