Subject: bug#21827: closed (Re: Large file support)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 31 Dec 2015 07:46:02 +0000

Your bug report

#21827: Large file support

which was filed against the grep package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
21827: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21827
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: Large file support
From: Paul Eggert <[email-masked]>
To: [email-masked]
Date: Wed, 30 Dec 2015 23:45:22 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Since this problem was not in 'grep' I am closing the bug report.

Subject: Large file support
From: Michael Brunnbauer <[email-masked]>
To: [email-masked]
Date: Wed, 4 Nov 2015 14:07:44 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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 [email-masked]
++  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