GNU bug report logs - #21827
Large file support

Previous Next

Package: grep;

Reported by: Michael Brunnbauer <brunni <at> netestate.de>

Date: Wed, 4 Nov 2015 16:26:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Brunnbauer <brunni <at> netestate.de>
To: bug-grep <at> gnu.org
Subject: Large file support
Date: Wed, 4 Nov 2015 14:07:44 +0100
[Message part 1 (text/plain, inline)]
hi all,

I am quite surprised that my grep (suddenly?) has problems with large files:

 fiano:~$ ls -l todelete.txt 
 -rw-r--r-- 1 brunni users 2981338204 Nov  4 13:40 todelete.txt
 fiano:~$ grep test todelete.txt
 grep: todelete.txt: Value too large for defined data type

I work with files > 2GB regularly and used to have these problems years ago.
Upgrading from grep-2.14 to grep-2.22 did not help. The configure output
containing "large" is:

 checking for special C compiler options needed for large files... no
 checking for _FILE_OFFSET_BITS value needed for large files... 64

I tried compiling without PCRE but this did not help either. My basic setup
is glibc-2.22, gcc 4.7.4 and Linux 3.4.109.

Any ideas what could be going wrong?

Regards,

Michael Brunnbauer

-- 
++  Michael Brunnbauer
++  netEstate GmbH
++  Geisenhausener Straße 11a
++  81379 München
++  Tel +49 89 32 19 77 80
++  Fax +49 89 32 19 77 89 
++  E-Mail brunni <at> netestate.de
++  http://www.netestate.de/
++
++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
++  USt-IdNr. DE221033342
++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 9 years and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.