This is the mail archive of the 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]

[PATCH] Fix build failure with --enable-kernel=2.5.65; `firstcall' undeclared

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(						   
 #   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) \


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