This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] check kernel headers for thread library


On Fri, Mar 14, 2003 at 11:05:14AM +1100, Ian Wienand wrote:
> Hello,
> 
> NPTL requires recent kernel versions to work properly.  Without
> checking the headers stupid people like me might occasionally forget
> the --with-headers flag and get silly errors like _exit not using
> exit_group & then wondering why their threads don't exit.

IMHO it is better to
#if !defined __NR_exit_group || !defined __NR_set_tid_address etc
# error Too old kernel headers to build NPTL
#endif
in one of the NPTL files or in NPTL configure.

We're running NPTL on 2.4.20 kernel (on IA-32 so far) just fine
(it has all the threading patches backported).

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]