[RFC] Make _FILE_OFFSET_BITS=64 default.

Rich Felker dalias@aerifal.cx
Fri Mar 14 18:09:00 GMT 2014


On Thu, Mar 13, 2014 at 11:55:55PM -0700, Russ Allbery wrote:
> Mike Frysinger <vapier@gentoo.org> writes:
> 
> > i'm debating adding it to the next Gentoo glibc version to gather some
> > actual data since no one seems to want to move w/out data, but no one
> > wants to gather data either.
> 
> The change will definitely break INN, which uses off_t in on-disk data
> structures.  (A bad design decision made years ago and never properly
> expunged.)  That said, it's already the case that INN built with
> large-file support and without uses incompatible data structures and
> whether to do so is a standard compile-time option, so distributions are
> already aware of this problem and are already dealing with it in some
> fashion, and INN could be changed to undefine the relevant macros if
> configured to *not* have large file support (instead of what it does
> now).

Do you have a link to INN? The name isn't exactly googlable... In any
case, they probably should just deprecate the non-64-bit build since
other things are likely broken too (e.g. if they use stat) and add
automatic file format conversion if they don't already have it..

Rich



More information about the Libc-alpha mailing list