[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Should 32-bit apps work with a 64-bit kernel?



On Wed, Feb 25, 2009 at 10:52:30PM +0000, Roger Leigh wrote:

> Personally, I would prefer the glibc headers to just set the LFS
> macros to the 64 bit versions by default, so that rather than
> taking extra steps to enable LFS, LFS would be the default and you
> would then need to take extra steps to disable it.

> i.e. just default _FILE_OFFSET_BITS to 64 rather than 32.

> If someone really, really, wanted 32 bit file offsets, they could
> just set it back to 32 again.

There are libraries in existence that (unfortunately) expose libc types that
are sensitive to _FILE_OFFSET_BITS as part of their ABIs.  Making a change
like this without first identifying and handling those libraries would cause
a mess.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org


Reply to: