This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Make _FILE_OFFSET_BITS=64 default.


On Thu, 13 Mar 2014, Paul Eggert wrote:

> Joseph's message gave me pause, as I worry it's asking for an enormous task
> that can never truly said to be done.  Regardless, I took one step to do this,
> and exhaustively surveyed all libraries installed on my Fedora 20 host as part
> of my routine development for building coreutils, GNU Emacs, etc.  I found the
> following issues:

Enumerating all affected types and grepping the headers installed by all 
development packages in a distribution (documenting the details of what 
was done, so distributors can repeat it for other distributions) - not 
just those installed on a particular system - would seem a reasonable 
approach.

> glibc's own fts.h refuses to compile if __USE_FILE_OFFSET64 is defined.

The lack of a 64-bit version of some of glibc's own interfaces would seem 
to be a fairly critical issue with any change to the default; before 
changing the default, either a 64-bit version of those interfaces would 
need adding, or those interfaces would all need to be made into compat 
symbols for existing binaries only and the header removed.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]