Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2005 19:53:39 +0100
From:      =?iso-8859-1?Q?=D8yvind?= Kolbu <oyvind@kolbu.ws>
To:        David Xu <davidxu@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys umtx.h src/sys/kern kern_umtx.c
Message-ID:  <20050114185339.GA13422@ns1.kolbu.ws>
In-Reply-To: <200501120555.j0C5tq4L044187@repoman.freebsd.org>
References:  <200501120555.j0C5tq4L044187@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050114185339.GA13422>