cvs commit: src/sys/sys umtx.h src/sys/kern kern_umtx.c

ØyvindKolbu oyvind at kolbu.ws
Fri Jan 14 10:53:43 PST 2005


On 12-01-2005 05:55, David Xu wrote:
> davidxu     2005-01-12 05:55:52 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/sys              umtx.h 
>     sys/kern             kern_umtx.c 
>   Log:
>   Let _umtx_op directly return error code rather than from errno because
>   errno can be tampered potentially by nested signal handle.
>   Now all error codes are returned in negative value, positive value are
>   reserved for future expansion.
This broke the build
cc -O2 -fno-strict-aliasing -pipe -march=pentium-m -DPTHREAD_KERNEL
-D_THREAD_SAFE -I/usr/src-cur/lib/libthr/../libc/include
-I/usr/src-cur/lib/libthr/t                     hread
-I/usr/src-cur/lib/libthr/../../include
-I/usr/src-cur/lib/libthr/../../libexec/rtld-elf -D_PTHREADS_INVARIANTS
-g -Wsystem-headers -Werror -Wall                      -Wno-format-y2k
-Wno-uninitialized -c /usr/src-cur/lib/libthr/thread/thr_atfork.c
In file included from /usr/src-cur/lib/libthr/thread/thr_private.h:72,
from /usr/src-cur/lib/libthr/thread/thr_atfork.c:36:
/usr/obj/usr/src-cur/i386/usr/include/sys/umtx.h: In function `umtx_wait':
/usr/obj/usr/src-cur/i386/usr/include/sys/umtx.h:118: warning: passing arg 
5 of `_umtx_op' discards qualifiers from pointer target type
*** Error code 1

Stop in /usr/src-cur/lib/libthr.
*** Error code 1

-- 
Øyvind Kolbu


More information about the cvs-all mailing list