This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Broken glibc in CVS for most 64bit targets
- From: "H. J. Lu" <hjl at lucon dot org>
- To: GNU C Library <libc-alpha at sources dot redhat dot com>
- Cc: drepper at redhat dot com, jakub at redhat dot com
- Date: Mon, 13 Feb 2006 14:27:38 -0800
- Subject: Broken glibc in CVS for most 64bit targets
Today's glibc in CVS won't build on most 64bit targets due to the nptl
change:
2006-02-12 Ulrich Drepper <drepper@redhat.com>
* allocatestack.c (allocate_stack): Initialize robust_list.
* init.c (__pthread_initialize_minimal_internal): Likewise.
* descr.h (struct xid_command): Pretty printing.
(struct pthread): Use __pthread_list_t or __pthread_slist_t for
robust_list. Adjust macros.
* pthread_create.c (start_thread): Adjust robust_list handling.
* phtread_mutex_unlock.c: Don't allow unlocking from any thread
but the owner for all robust mutex types.
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Define
__pthread_list_t and __pthread_slist_t. Use them in
pthread_mutex_t.
* sysdeps/pthread/pthread.h: Adjust mutex initializers.
__pthread_list_t is now used for 64bit targets. But it is only defined
for x86-64. I saw Jakub fix it on fedora-branch. Also the ChangeLog
entry for sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h is
missing.
H.J.
H.J.