Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756121AbXLFWkc (ORCPT ); Thu, 6 Dec 2007 17:40:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752351AbXLFWkP (ORCPT ); Thu, 6 Dec 2007 17:40:15 -0500 Received: from one.firstfloor.org ([213.235.205.2]:44060 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751880AbXLFWkN (ORCPT ); Thu, 6 Dec 2007 17:40:13 -0500 Date: Thu, 6 Dec 2007 23:40:11 +0100 From: Andi Kleen To: Dave Anderson Cc: Andi Kleen , linux-kernel@vger.kernel.org Subject: Re: [NEW-PATCH] exec: allow > 2GB executables to run on 64-bit systems Message-ID: <20071206224011.GI20595@one.firstfloor.org> References: <4756C590.9080301@redhat.com> <475702E7.1000607@redhat.com> <20071205195637.GA20595@one.firstfloor.org> <47570B0A.6040404@redhat.com> <20071206221520.GG20595@one.firstfloor.org> <47587995.4000403@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47587995.4000403@redhat.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 644 Lines: 17 > Thanks Andi -- I just tested open_exec() w/O_LARGEFILE on an > i386 with a 2.5GB+ binary (mostly debuginfo), and it works as > expected. Interesting to note that the test binary couldn't > be compiled with i386 gcc, but it could be built with x86_64 > gcc -m32. I guess the i386 binutils or gcc don't use O_LARGEFILE. They probably just need to be rebuilt with -D_FILE_OFFSET_BITS=64 -Andi > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/