This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] Fix build failure with --enable-kernel=2.5.65; `firstcall' undeclared
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Ulrich Drepper <drepper at redhat dot com>, Roland McGrath <roland at redhat dot com>, Andrew Walrond <andrew at walrond dot org>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Fri, 21 Mar 2003 14:12:42 +0100
- Subject: [PATCH] Fix build failure with --enable-kernel=2.5.65; `firstcall' undeclared
- References: <3E7B0BE1.4030805@walrond.org>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Mar 21, 2003 at 12:56:01PM +0000, Andrew Walrond wrote:
> This is the build error:
>
> ../sysdeps/generic/libc-tls.c: In function `__libc_setup_tls':
> ../sysdeps/generic/libc-tls.c:199: `firstcall' undeclared (first use in
> this function)
> ../sysdeps/generic/libc-tls.c:199: (Each undeclared identifier is
> reported only once
> ../sysdeps/generic/libc-tls.c:199: for each function it appears in.)
Obvious typo.
linuxthreads --with-tls is not beeing tested very much lately.
2003-03-21 Jakub Jelinek <jakub at redhat dot com>
* sysdeps/i386/tls.h [__ASSUME_SET_THREAD_AREA_SYSCALL]
(TLS_SETUP_GS_SEGMENT): Fix a typo.
--- libc/linuxthreads/sysdeps/i386/tls.h.jj 2003-03-06 12:26:17.000000000 -0500
+++ libc/linuxthreads/sysdeps/i386/tls.h 2003-03-21 08:10:19.000000000 -0500
@@ -171,7 +171,7 @@ TLS_DO_MODIFY_LDT_KERNEL_CHECK(
# ifdef __ASSUME_SET_THREAD_AREA_SYSCALL
# define TLS_SETUP_GS_SEGMENT(descr, secondcall) \
- (TLS_DO_SET_THREAD_AREA (descr, firstcall) \
+ (TLS_DO_SET_THREAD_AREA (descr, secondcall) \
? "set_thread_area failed when setting up thread-local storage" : NULL)
# elif defined __NR_set_thread_area
# define TLS_SETUP_GS_SEGMENT(descr, secondcall) \
Jakub