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

Bug#224207: libc6-i686: Doesn't work with kernel 2.4 + nptl patch



Package: libc6-i686
Version: 2.3.2.ds1-10
Severity: important

The libc6-i686 doesn't work with kernel 2.4 with applied nptl patch.

$ /lib/tls/ld-linux.so.2
FATAL: kernel too old
$ uname -a
Linux ginger 2.4.22pre1-redhat-4.0.1.el-pentiumiii #1 Tue Nov 25 15:51:05 CET 2003 i686 GNU/Linux

See http://kernellabo.alioth.debian.org/kernellabo/packages/redhat/ for
kernel package built from RedHat sources.

The linker's message is caused by bad test on kernel version number.

The RedHat provides additional patch. This code checks if it is
implemented __NR_set_tid_address syscall. Additional test is checking of
"ntpl" string in kernel version (which would not correct for other kernel
flavours).

I've extracted this patch and prepared simple test. If you run attached
glibc-nptl-check on kernel with NTPL, you should get '2'. On kernel
without NTPL you should get '1'. It might be a first step to modifing
Debian's libc6 linker.

-- 
Piotr Roszatycki, Netia S.A.                            .''`.
mailto:Piotr_Roszatycki@netia.net.pl                   : :' :
mailto:dexter@debian.org                               `. `'
                                                         `-



Reply to: