svn commit: r213161 - head/lib/libthr/thread

Anonymous swell.k at gmail.com
Sat Sep 25 09:30:29 UTC 2010


David Xu <davidxu at FreeBSD.org> writes:

> Author: davidxu
> Date: Sat Sep 25 08:36:46 2010
> New Revision: 213161
> URL: http://svn.freebsd.org/changeset/base/213161
>
> Log:
>   Add missing field.
>
> Modified:
>   head/lib/libthr/thread/thr_private.h
>
> Modified: head/lib/libthr/thread/thr_private.h
> ==============================================================================
> --- head/lib/libthr/thread/thr_private.h	Sat Sep 25 08:19:34 2010	(r213160)
> +++ head/lib/libthr/thread/thr_private.h	Sat Sep 25 08:36:46 2010	(r213161)
> @@ -452,6 +452,7 @@ struct pthread {
>  #ifdef _PTHREAD_FORCED_UNWIND
>  	struct _Unwind_Exception	ex;
>  	void			*unwind_stackend;
> +	int			unwind_disabled;
>  #endif
>  
>  	/*

What about NO_THREAD_UNWIND_STACK in src.conf?

  cc -O2 -pipe -DPTHREAD_KERNEL -I/usr/src/lib/libthr/../libc/include -I/usr/src/lib/libthr/thread  -I/usr/src/lib/libthr/../../include -I/usr/src/lib/libthr/arch/amd64/include -I/usr/src/lib/libthr/sys -I/usr/src/lib/libthr/../../libexec/rtld-elf -I/usr/src/lib/libthr/../../libexec/rtld-elf/amd64 -I/usr/src/lib/libthr/../libthread_db -Winline -D_PTHREADS_INVARIANTS -DSYSCALL_COMPAT -ggdb -std=gnu99 -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libthr/thread/thr_clean.c
  /usr/src/lib/libthr/thread/thr_clean.c: In function '_pthread_cleanup_push':
  /usr/src/lib/libthr/thread/thr_clean.c:84: error: 'struct pthread' has no member named 'unwind_disabled'
  *** Error code 1


More information about the svn-src-all mailing list