Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Nov 2014 10:02:55 +0200
From:      Beeblebrox <zaphod@berentweb.com>
To:        FreeBSD Current <freebsd-current@FreeBSD.org>
Subject:   Re: r273910 build failure if <sys/_umtx.h> is out-of-date
Message-ID:  <545736AF.5000509@berentweb.com>
In-Reply-To: <20141031231224.1f2e03d3@rsbsd.rsb>
References:  <5453DB0C.3040106@FreeBSD.org>	<5BF6BAA7-019C-4497-AF32-F9A0FF591ECA@gmail.com>	<20141031230020.199badb1@rsbsd.rsb>	<CE4CBDF4-1532-45EF-BB88-23C7010FE907@gmail.com> <20141031231224.1f2e03d3@rsbsd.rsb>

next in thread | previous in thread | raw e-mail | index | archive | help
I was just curious and decided to try an i386 build:
# make -C /usr/src buildworld TARGET=i386 -DNO_CCACHE
Gives same error:

/asp/git/src/lib/libc/../../include/semaphore.h:41:16: error: field has 
incomplete type 'struct _usem2'
         struct _usem2   _kern;      ^
/asp/git/src/lib/libc/../../include/semaphore.h:41:9: note: forward 
declaration
of 'struct _usem2'
         struct _usem2   _kern;   ^
cancelpoints_sem_new.c:66:33: error: use of undeclared identifier 
'USEM_MAX_COUNT'
_Static_assert(SEM_VALUE_MAX <= USEM_MAX_COUNT, "SEM_VALUE_MAX too 
large");    ^
cancelpoints_sem_new.c:335:15: warning: implicit declaration of function 
'USEM_COUNT' is invalid in C99 [-Wimplicit-function-declaration]
         *sval = (int)USEM_COUNT(sem->_kern._count);   ^
cancelpoints_sem_new.c:342:23: error: use of undeclared identifier 
'UMTX_OP_SEM2_WAKE'
         return _umtx_op(sem, UMTX_OP_SEM2_WAKE, 0, NULL, NULL);   ^
cancelpoints_sem_new.c:361:23: error: use of undeclared identifier 
'UMTX_OP_SEM2_WAIT'
         return _umtx_op(sem, UMTX_OP_SEM2_WAIT, 0,    ^
cancelpoints_sem_new.c:445:14: error: use of undeclared identifier 
'USEM_HAS_WAITERS'
         if (count & USEM_HAS_WAITERS)



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