[Top][All Lists]

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

Re: all largefile checks broken

From: Mark Kettenis
Subject: Re: all largefile checks broken
Date: Thu, 4 Jan 2001 23:15:48 +0100

   From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
   Date: Thu, 4 Jan 2001 22:45:14 +0100

   On Thu, Jan 04, 2001 at 04:04:14PM -0500, Roland McGrath wrote:
   > > some largefile autoconf check included in shellutils, fileutils and 
   > > elsewhere doesn't recognize the Hurd stubs returning EOPNOTSUPP 
   > > For all those, a special case in the Debian packaging is needed to add
   > > --disable-largefile to configure invocation.
   > Please give details.  autoconf is only supposed to notice ENOSYS.

   Ok, I think I misunderstood that.

To clarify things: All autoconf does is check whether it can get a
64-bit off_t by defining an appropriate macro.  For the Hurd this
is the case for

   #define _FILE_OFFSET_BITS 64

and autoconf assumes everything else is kosher even though we do not
claim to support LFS (we don't define any of the _LFS* constants in
<unistd.h>), and a lot of the *64 functions are only implemented as
stubs and cleary marked as such.

I raised the issue with the autoconf folks, suggesting they'd check
the proper _LFS* defines, but was told that most of the systems out
there were subtly broken such that this wouldn't work.

At that time Roland suggested that we'd simply add the necessary *64
functions to libc (emulating them with the 32-bit interfaces), but I
only did those that were necessary to support libio.  I'll have a go
at it now.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]