From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Vq1aA-0005XS-7I for ptxdist@pengutronix.de; Mon, 09 Dec 2013 15:13:10 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1Vq1aA-0008Du-5N for ptxdist@pengutronix.de; Mon, 09 Dec 2013 15:13:10 +0100 Date: Mon, 9 Dec 2013 15:13:10 +0100 From: Michael Olbrich Message-ID: <20131209141310.GB2415@pengutronix.de> References: <20131207184035.GA14105@static.117.165.47.78.clients.your-server.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] 32 or 64 bits file offsets? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Sun, Dec 08, 2013 at 08:14:37AM +0000, Felix Mellmann wrote: > Bernhard Walle writes: > > No, not in general. This flag "just" sets --enable-lfs or > > --enable-largefile as configure option for programs that support it. > > Grep for 'PTXCONF_GLOBAL_LARGE_FILE' and 'GLOBAL_LARGE_FILE_OPTION'. > > > > It doesn't set compile flags directly. > > D'oh! But your clue was the right direction. > The problem lies in how apr (Apache Portable Runtime) detects how to use > large file support. On the one hand side it detects, that additional CFLAGS > are not needed on the other hand side it detects, that off_t should be > redefined as off64_t (which is ok for my x86-64 machine). > > As I'm using apr-1.4.8 instead of current shipped apr-0.9.20, I'm going to > investigate, if this happens also to apr-0.9.20. > If so, I would post a patch. This patch should include selectable large file > support as well? Don't add an extra option. Just use PTXCONF_GLOBAL_LARGE_FILE. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de