From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24539 invoked by alias); 11 Nov 2009 05:09:38 -0000 Received: (qmail 24529 invoked by uid 22791); 11 Nov 2009 05:09:37 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Nov 2009 05:09:33 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nAB59AQo017999 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 11 Nov 2009 00:09:10 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nAB598q5006635 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Nov 2009 00:09:09 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id nAB597XT027340; Wed, 11 Nov 2009 06:09:07 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id nAB5978X027337; Wed, 11 Nov 2009 06:09:07 +0100 Date: Wed, 11 Nov 2009 05:09:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: Joel Brobecker , gdb-patches@sourceware.org Subject: Re: [patch] AC_SYS_LARGEFILE Message-ID: <20091111050907.GC26791@host0.dyn.jankratochvil.net> References: <20091103094427.GA6724@host0.dyn.jankratochvil.net> <20091103140003.GF4557@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-17) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-11/txt/msg00251.txt.bz2 On Tue, 03 Nov 2009 17:54:47 +0100, Tom Tromey wrote: > >>>>> "Joel" == Joel Brobecker writes: > > Joel> This macro ran a bell, and I found: > Joel> http://www.sourceware.org/ml/binutils/2008-11/msg00248.html > > Joel> Basically, we cannot use AC_SYS_LARGEFILE on Solaris. The little > Joel> piece of code that I wrote to disable it on solaris-native should > Joel> work well in this case too. > > libiberty uses AC_SYS_LARGEFILE without any Solaris-specific code. Why > does that work? Because the Solaris exception is required only for bfd/ and libiberty has no ABI dependencies related to the largefile support. bfd/ interface has such ABI dependencies (at least `struct stat' of bfd_stat()). http://gcc.gnu.org/ml/gcc-patches/2009-11/msg00289.html > If this code is still needed, then let me suggest the more painful but > also nicer approach of a new .m4 file in config/. There is now config/largefile.m4. This mail thread is now closed by the checked-in ACX_LARGEFILE macro usage: http://sourceware.org/ml/gdb-cvs/2009-11/msg00079.html Regards, Jan