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: Florian Weimer <fweimer at redhat dot com>
- Cc: 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>, libc-alpha at sourceware dot org
- Date: Wed, 5 Mar 2014 13:07:04 -0500
- 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> <530F79C1 dot 2040508 at cs dot ucla dot edu> <20140305091331 dot GA6031 at domone dot podge> <5316FF9F dot 1060301 at redhat dot com>
On Wed, Mar 05, 2014 at 11:42:39AM +0100, Florian Weimer wrote:
> On 03/05/2014 10:13 AM, OndÅej BÃlka wrote:
>
> >Changing default would be better. I dig while how to do it and can not
> >find a nonugly solution. How should we do this?
>
> Isn't this a global ABI change? I don't think we can do this.
No, it's just a change in the default exposed features. There's no ABI
issue because programs built with _FILE_OFFSET_BITS=64 access
different symbols (the nasty namespace-violating ones with the 64
suffix) rather than the ordinary ones. I'd like to see this fixed at
the same time by making new public names along the lines of __open64,
__lseek64, etc. instead, but that's much less urgent than just
switching the default away from the broken 32-bit functions.
Rich