This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] Make _FILE_OFFSET_BITS=64 default.
- From: Rich Felker <dalias at aerifal dot cx>
- To: Russ Allbery <eagle at eyrie dot org>
- Cc: Mike Frysinger <vapier at gentoo dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>, libc-alpha at sourceware dot org, OndÅej BÃlka <neleai at seznam dot cz>, Paul Eggert <eggert at cs dot ucla dot edu>, Denis Obrezkov <reprofy at etersoft dot ru>
- Date: Fri, 14 Mar 2014 14:09:15 -0400
- Subject: Re: [RFC] Make _FILE_OFFSET_BITS=64 default.
- Authentication-results: sourceware.org; auth=none
- References: <1393521776-1102-1-git-send-email-reprofy at etersoft dot ru> <26837730 dot jZzKCPMtpS at vapier> <Pine dot LNX dot 4 dot 64 dot 1403131254080 dot 4888 at digraph dot polyomino dot org dot uk> <1818532 dot 29kOdgNHi0 at vapier> <8738ilw9ok dot fsf at windlord dot stanford dot edu>
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