This is the mail archive of the libc-help@sourceware.org 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]

Re: [PowerPC] private futex build error


On Mon, 2008-04-28 at 13:46 +0900, Hiroki Kaminaga wrote:
> ---
>  nptl/sysdeps/powerpc/tcb-offsets.sym |    2 	2 +	0 -	0 !
>  nptl/sysdeps/powerpc/tls.h           |    3 	3 +	0 -	0 !
>  2 files changed, 5 insertions(+)
> 
> Index: b/nptl/sysdeps/powerpc/tls.h
> ===================================================================
> --- a/nptl/sysdeps/powerpc/tls.h
> +++ b/nptl/sysdeps/powerpc/tls.h
> @@ -70,6 +70,9 @@ typedef struct
>    uintptr_t pointer_guard;
>    uintptr_t stack_guard;
>    dtv_t *dtv;
> +#ifndef __ASSUME_PRIVATE_FUTEX
> +  int private_futex;
> +#endif
>  } tcbhead_t;
> 
>  /* This is the size of the initial TCB.  */
> Index: b/nptl/sysdeps/powerpc/tcb-offsets.sym
> ===================================================================
> --- a/nptl/sysdeps/powerpc/tcb-offsets.sym
> +++ b/nptl/sysdeps/powerpc/tcb-offsets.sym
> @@ -15,4 +15,6 @@ MULTIPLE_THREADS_OFFSET		thread_offsetof
>  PID				thread_offsetof (pid)
>  TID				thread_offsetof (tid)
>  POINTER_GUARD			(offsetof (tcbhead_t, pointer_guard) - TLS_TCB_OFFSET - sizeof (tcbhead_t))
> +#ifndef __ASSUME_PRIVATE_FUTEX
>  PRIVATE_FUTEX_OFFSET		thread_offsetof (header.private_futex)
> +#endif

Hiroki,

Sorry this slipped through the cracks.  We've finally run into this
ourselves and my team member Carlos is going to take a look.  He'll test
your patch and verify whether it is appropriate.

He'll also create a GLIBC community bugzilla.

Regards,
Ryan S. Arnold
IBM Linux Technology Center
Linux Toolchain Development


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