Bug 198654 - find missing Large File Support
find missing Large File Support
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: findutils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Miloslav Trmač
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2006-07-12 11:17 EDT by Bastien Nocera
Modified: 2007-11-30 17:07 EST (History)
2 users (show)

See Also:
Fixed In Version: RHBA-2006-0679
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-09-27 02:35:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Bastien Nocera 2006-07-12 11:17:12 EDT

Microsoft NFS servers are known to create very high inode numbers in their
stat() output (see bug #163365 for example)

When running find on such a server, one would get the error:
Value too large for defined data type

Doing this change (tested by Hideshi Fuchi <hfuchi@redhat.com>):
-%define        optflags $RPM_OPT_FLAGS -D_GNU_SOURCE
+%define        optflags $RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
to the spec file fixes the problem.
Comment 1 Miloslav Trmač 2006-07-15 16:07:17 EDT
Looks fine.

(The -D_FILE_OFFSET_BITS=64 is necessary even though the top-level configure
sets up _FILE_OFFSET_BITS because the included gnulib has its own configure script.)
Comment 18 Red Hat Bugzilla 2006-09-27 02:35:44 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.