Subject: Re: Current build failure
To: Christos Zoulas <christos@zoulas.com>
From: Aymeric Vincent <Aymeric.Vincent@labri.fr>
List: current-users
Date: 09/13/2003 17:20:30
I get the same error here on macppc with 

pthread_sig.c 1.20
pthread_int.h 1.19

The problem lies in the use of the PTHREAD_UCONTEXT_SIGCONTEXT
macro. The former "oldmask" variable was replaced by the stack
pointer, and this appears to be wrong. (line 921 of pthread_sig.c)

Just my 2 cents, I'm not familiar with the code... :-/

 Aymeric

christos@zoulas.com (Christos Zoulas) writes:

> In article <200309131209.h8DC9Iih014240@ren.fdy2.net>,
> Robert Swindells <rjs@fdy2.demon.co.uk> wrote:
> 
> What version of pthread_sig.c and pthread_int.h?
> 
> christos
> 
> >
> >Current is still failing to build on non SA_SIGINFO ports.
> >
> >The alpha and sparc64 autobuilds failed in lib/pthread/pthread_sig.c.
> >
> >I get the same on sparc and cats:
> >
> >CC=/u31/build/cats-tools/bin/arm--netbsdelf-gcc
> >/u31/build/cats-tools/bin/arm--netbsdelf-lint -chapbxzF -d
> >/u31/build/cats/usr/include -I/u31/src/lib/libpthread/arch/arm
> >-I/u31/src/lib/libpthread -I/u31/src/lib/libpthread/obj -D_LIBC  -i
> >/u31/src/lib/libpthread/pthread_sig.c
> >/u31/src/lib/libpthread/pthread_sig.c(921): void type illegal in
> >expression [109]
> >/u31/src/lib/libpthread/pthread_sig.c(922): syntax error [249]
> >/u31/src/lib/libpthread/pthread_sig.c(905): warning: argument handler
> >unused in function pthread__signal_tramp [231]
> >/u31/src/lib/libpthread/pthread_sig.c(906): warning: argument info
> >unused in function pthread__signal_tramp [231]
> >
> >Robert Swindells