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: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Paul Eggert <eggert at cs dot ucla dot edu>
- Cc: Mike Frysinger <vapier at gentoo dot org>, <libc-alpha at sourceware dot org>, OndÅej BÃlka <neleai at seznam dot cz>, Denis Obrezkov <reprofy at etersoft dot ru>
- Date: Fri, 14 Mar 2014 14:13:08 +0000
- 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> <5322A4AC dot 2050104 at cs dot ucla dot edu>
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