LFS with glibc2.1 / kernel 2.2

Urban Widmark urban at teststation.com
Fri Feb 8 13:34:05 GMT 2002


On Thu, 7 Feb 2002, Harald Koenig wrote:

> a) 
> if I build samba binaries on a machine running a 2.2.x kernel,
> those binaries won't support LFS when running on 2.4.x kernels.
> 
> if you really care about the kernel include files on the build host,
> maybe you better include <linux/version.h> and check those version settings
> (if at all).
> 
> 
> b)
> glibc 2.1 does have (limited?) LFS support too, why don't allow it 
> for using LFS support too ?

http://www.suse.de/~aj/linux_lfs.html

It lists the glibc 2.1 implementation of LFS as incomplete. Notably the
"64 bit file locking interface" is listed as unsupported. I think someone
would have to verify that glibc 2.1 is good enough.

The 2.4 kernel test was probably added since that is what was tested. If
glibc hides that 2.2 doesn't have LFS then I think it could be removed.

It would be easy to add a "--with-lfs" flag to allow user override.

/Urban





More information about the samba-technical mailing list