r273918 buildworld broke at semaphore

From: Beeblebrox <zaphod_at_berentweb.com>
Date: Fri, 31 Oct 2014 13:08:06 -0700 (PDT)
First breakage in a long time. Error is:

In file included from cancelpoints_sem_new.c:47:
/usr/src/lib/libc/../../include/semaphore.h:41:16: error: field has
incomplete type 'struct _usem2'
        struct _usem2   _kern;
                        ^
/usr/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)
                    ^
1 warning and 5 errors generated.




-----
FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS
--
View this message in context: http://freebsd.1045724.n5.nabble.com/r273918-buildworld-broke-at-semaphore-tp5961241.html
Sent from the freebsd-current mailing list archive at Nabble.com.
Received on Fri Oct 31 2014 - 19:08:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:53 UTC