This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Broken glibc in CVS for most 64bit targets
- From: Jakub Jelinek <jakub at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Mon, 13 Feb 2006 23:30:16 +0100
- Subject: Re: Broken glibc in CVS for most 64bit targets
- References: <20060213222738.GA3824@lucon.org>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Feb 13, 2006 at 02:27:38PM -0800, H. J. Lu wrote:
> 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.
Yeah, I posted it to the ml as well:
http://sources.redhat.com/ml/libc-hacker/2006-02/msg00022.html
> Also the ChangeLog
> entry for sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h is
> missing.
True, also noticed that.
Jakub