From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11586 invoked by alias); 25 Jun 2004 19:27:16 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 11526 invoked by uid 48); 25 Jun 2004 19:27:14 -0000 Date: Fri, 25 Jun 2004 19:28:00 -0000 From: "mckinlay at redhat dot com" To: java-prs@gcc.gnu.org Message-ID: <20040625192712.16204.mckinlay@redhat.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libgcj/16204] New: File I/O fails on files >= 2^31 bytes (2GB) X-Bugzilla-Reason: CC X-SW-Source: 2004-q2/txt/msg00272.txt.bz2 List-Id: libgcj does not appear to support files > 2GB. However the Sun implementation works fine on the same system & file system. The attached test case fails with the following error: $ gij LargeFile Exception in thread "main" java.io.IOException: Invalid argument at gnu.java.nio.channels.FileChannelImpl.seek(long) (/local/gcc-clean/lib/libgcj.so.6.0.0) at gnu.java.nio.channels.FileChannelImpl.position(long) (/local/gcc-clean/lib/libgcj.so.6.0.0) at java.io.RandomAccessFile.seek(long) (/local/gcc-clean/lib/libgcj.so.6.0.0) It appears we need to enable LFS support. see: http://www.suse.de/~aj/linux_lfs.html -- Summary: File I/O fails on files >= 2^31 bytes (2GB) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mckinlay at redhat dot com CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16204