From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from plane.gmane.org ([80.91.229.3]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VpZVz-0004Gv-Oa for ptxdist@pengutronix.de; Sun, 08 Dec 2013 09:15:00 +0100 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VpZVz-0003nH-0Q for ptxdist@pengutronix.de; Sun, 08 Dec 2013 09:14:59 +0100 Received: from ppp-46-244-217-136.dynamic.mnet-online.de ([46.244.217.136]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Dec 2013 09:14:58 +0100 Received: from felix.mellmann by ppp-46-244-217-136.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Dec 2013 09:14:58 +0100 From: Felix Mellmann Date: Sun, 8 Dec 2013 08:14:37 +0000 (UTC) Message-ID: References: <20131207184035.GA14105@static.117.165.47.78.clients.your-server.de> Mime-Version: 1.0 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 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? Felix -- ptxdist mailing list ptxdist@pengutronix.de