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: [PATCH 0/2] Squashing long inodes.


On Wed, Mar 05, 2014 at 10:20:41AM -0800, Paul Eggert wrote:
> On 03/05/2014 05:32 AM, Denis Obrezkov wrote:
> >we have some legacy programs which couldn't be recompiled at all
> 
> Which are those?  Can you give an example?
> >
> >and programs which couldn't be recompiled with this flag due to their
> >nature(mixing 32bit and 64bit things will cause undefined behavior).
> 
> That's a problem already.  You can't reliably mix code compiled with
> different settings of FILE_OFFSET_BITS.  We already expose both
> ABIs, and I don't see why the ABI issue would be made worse (or
> better) if we merely changed the default.

Indeed it would be better because there would be less mixing. Rather
than having a large number of mismatches in application and
third-party library code due merely to folks *forgetting* to add
-D_FILE_OFFSET_BITS=64 or not even knowing they should be doing it, we
would only have a few mismatches left where -D_FILE_OFFSET_BITS=32 is
being set explicitly.

Personally I would love to see that phased out too, over a couple
release cycles. In the long term, the legacy symbols could be left
usable only by existing binaries, with no way to build new binaries
using them, and eventually this whole mess could be relegated to the
history books.

Rich


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