bug-glibc
[Top][All Lists]
Advanced

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

Build failure in nscd_setup_thread.c with linux 2.4 headers


From: Curtis Magyar
Subject: Build failure in nscd_setup_thread.c with linux 2.4 headers
Date: Fri, 17 Sep 2004 16:18:47 -0500

Hello all.

I came across a build failure when compiling glibc with Linux 2.4
kernel headers installed.  There is a bug with details here:

  http://bugs.gentoo.org/show_bug.cgi?id=64371

The problem seems to be in a recent commit on Wed Sep 8 17:50:27 2004
by "drepper" here:
   
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/nscd_setup_thread.c?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=glibc

I worked around the issue here by copying the workaround in nptl/init.c here:
  
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nptl/init.c?rev=1.48&content-type=text/x-cvsweb-markup&cvsroot=glibc

because __NR_set_tid_address is not defined in linux kernel 2.4.

So I thought I would ask for advice as to the best solution.  Should
the #ifndef in that file be moved elsewhere, where it can be #included
from nscd_setup_thread.c?  Or shall we harass the Linux 2.4 kernel
maintainer to make the change to asm/unistd.h which appears in the 2.6
kernel?

-- 
Curtis Magyar
address@hidden




reply via email to

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