From owner-freebsd-current@FreeBSD.ORG Tue Nov 11 21:22:46 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF787912; Tue, 11 Nov 2014 21:22:46 +0000 (UTC) Received: from mail-vc0-x22a.google.com (mail-vc0-x22a.google.com [IPv6:2607:f8b0:400c:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6B4A6EA5; Tue, 11 Nov 2014 21:22:46 +0000 (UTC) Received: by mail-vc0-f170.google.com with SMTP id hq12so2216872vcb.1 for ; Tue, 11 Nov 2014 13:22:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ri3Ans/6jnKnokNqlyzKvqdnMEiegIKjRxZj0meZDMY=; b=T8XwKA5CEfCLDX21izD2bCqESyR+We+UmjpEx09IqMhcL/0P2pMwSCnoFvnsYADiR0 XdCLxLHDYuLcXpXLkYYQqyodxO1OcEbQyUcM107L54kBqQVy4RMPtgUl/X71J6QdJ4py V3ChtWxq3AMJ3SDdSngthZM2gCBfHn0MBlCzbzEdwksHXMuOH1q99EVHfPr53PDJGi17 +OQQCHC05iYTKsoiHvEB4UV3FAc/NiOUirdBT59k9yvqsvlrW/Iha8glsnPOfoET/pDI N92/3BEROil/FekDtwDp36h9xfyWBDw5IVjYSYX6mLm0ZWwFzqhyP1JuzMaY9AWbz8TT BiRw== X-Received: by 10.52.66.142 with SMTP id f14mr2974792vdt.91.1415740965481; Tue, 11 Nov 2014 13:22:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.136.76 with HTTP; Tue, 11 Nov 2014 13:22:05 -0800 (PST) In-Reply-To: <201411111333.05910.jhb@freebsd.org> References: <1414786086662-5961241.post@n5.nabble.com> <201411111333.05910.jhb@freebsd.org> From: Henry Hu Date: Tue, 11 Nov 2014 16:22:05 -0500 Message-ID: Subject: Re: r273918 buildworld broke at semaphore To: John Baldwin Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD CURRENT , Beeblebrox X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2014 21:22:46 -0000 On Tue, Nov 11, 2014 at 1:33 PM, John Baldwin wrote: > On Friday, October 31, 2014 4:08:06 pm Beeblebrox wrote: > > 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. > > Seems like your tree is not fully up to date? The changes to sem_new.c > were > committed in the same commit as the changes to sys/umtx.h. Maybe it's another problem. buildworld may be picking up umtx.h from /usr/include which is the old version. > > -- > John Baldwin > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Cheers, Henry