Subject: Re: Another build failure in libpthread
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: current-users
Date: 01/22/2007 15:14:53
In article <Pine.NEB.4.64.0701220615380.22313@quicky.whooppee.com>,
Paul Goyette  <paul@whooppee.com> wrote:
>BTW, it is not enough here just to make the variable 'olduc' volatile. 
>I tried this, and while it avoids the specific error (ie, 'might be 
>clobbered'), it results in "discards attribute" error when passing 
>&olduc->uc_sigmask to __sigdelset14() at line 967.

I think it depends on where you put the volatile.

>All of the libpthread stuff seems to have been a result of recent 
>changes to src/sys/lib/libpthread/arch/i386/_getsetc.s

No, it is a result of setting WARNS=4 in the Makefile.

christos