Re: r273910 build failure if sys/_umtx.h is out-of-date

2014-11-03 Thread Beeblebrox

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)
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: r273910 build failure if sys/_umtx.h is out-of-date

2014-10-31 Thread Garrett Cooper
Hi dumbbell@!

On Oct 31, 2014, at 11:55, Jean-Sébastien Pédron dumbb...@freebsd.org wrote:

 Hi!
 
 I have the following error when building HEAD:

…

 The problem is that the installed version of sys/_umtx.h is
 out-of-date compared to the version in the source tree. I guess it's
 supposed to pick the version in the source tree, but I'm not sure what's
 the correct way of doing this.
 
 FYI, this is with base gcc on sparc64. World was updated on August 6.

Beeblebrox sent out the same thing in the thread titled r273918 
buildworld broke at semaphore”. My guess is that it’s this bug that I filed a 
while ago: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192394 , but 
Beeblebrox should confirm whether or not he’s using gcc in the build or clang.
Thanks!


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: r273910 build failure if sys/_umtx.h is out-of-date

2014-10-31 Thread Beeblebrox
Hello

 Beeblebrox should confirm whether or not he’s using gcc in the build
 or clang. Thanks!

Using clang
I have some tighter settings in src.conf, but nothing clang/gcc related.

-- 
FreeBSD_amd64_11-Current_RadeonKMS
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: r273910 build failure if sys/_umtx.h is out-of-date

2014-10-31 Thread Garrett Cooper
On Oct 31, 2014, at 14:00, Beeblebrox zap...@berentweb.com wrote:

 Hello
 
 Beeblebrox should confirm whether or not he’s using gcc in the build
 or clang. Thanks!
 
 Using clang
 I have some tighter settings in src.conf, but nothing clang/gcc related.

Hi!
Do you have WITHOUT_CLANG_BOOTSTRAP set?
Thanks!


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: r273910 build failure if sys/_umtx.h is out-of-date

2014-10-31 Thread Beeblebrox
 Hi!
   Do you have WITHOUT_CLANG_BOOTSTRAP set?
 Thanks!

No.
No clang/gcc settings. All src.conf WITHOUT entries are of the sort 
INET6, PORTSNAP, BLUETOOTH, etc

I DO use ccache

-- 
FreeBSD_amd64_11-Current_RadeonKMS
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org