chapter 5 - host system requirements - glibc requires 2.6

Laurens Blankers lblankers at xs4all.nl
Tue Aug 10 06:09:46 PDT 2004


Hi All,

The Host System Requirements states 2 reasons why a kernel > 2.6.2 
compiled with gcc > 3.0 is required.

However I have a third one: When building glibc (chapter 5, pass 1) with 
2.6 headers but with a 2.4 kernel running it fails with:

CPP='gcc -B/tools/bin/ -E -x c-header' 
/mnt/data/sources/glibc-build/elf/ld-linux.so.2 --library-path 
/mnt/data/sources/glibc-build:/mnt/data/sources/glibc-build/math:/mnt/data/sources/glibc-build/elf:/mnt/data/sources/glibc-build/dlfcn:/mnt/data/sources/glibc-build/nss:/mnt/data/sources/glibc-build/nis:/mnt/data/sources/glibc-build/rt:/mnt/data/sources/glibc-build/resolv:/mnt/data/sources/glibc-build/crypt:/mnt/data/sources/glibc-build/nptl 
/mnt/data/sources/glibc-build/sunrpc/rpcgen -Y ../scripts -c 
rpcsvc/bootparam_prot.x -o 
/mnt/data/sources/glibc-build/sunrpc/xbootparam_prot.T
FATAL: kernel too old
make[2]: *** [/mnt/data/sources/glibc-build/sunrpc/xbootparam_prot.stmp] 
Error 1
make[2]: Leaving directory `/mnt/data/sources/glibc-2.3.4-20040701/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/mnt/data/sources/glibc-2.3.4-20040701'
make: *** [all] Error 2

The fatal occurs in

sysdeps/unix/sysv/linux/dl-osinfo.h

incombination with the

--enable-kernel=2.6.0

option.

I can live with a failed testsuite and some problems with udev, but not 
without glibc. :-(

I guess I will have to install 2.6.x. I am going to try to compile it 
with gcc 2.95.3 though and report any problems here.

It might be a good idea to include to problem in the reasons for 2.6 
with 3.x in host system requirements.

Sincerly,

Laurens



More information about the lfs-dev mailing list