From owner-freebsd-current@FreeBSD.ORG Fri Oct 31 18:55:15 2014 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3EE20C7 for ; Fri, 31 Oct 2014 18:55:15 +0000 (UTC) Received: from mail.made4.biz (mail.made4.biz [IPv6:2001:41d0:2:c018::1:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0286BDE6 for ; Fri, 31 Oct 2014 18:55:15 +0000 (UTC) Received: from 2a02-8428-011b-e000-0290-f5ff-fe9d-b78c.rev.sfr.net ([2a02:8428:11b:e000:290:f5ff:fe9d:b78c] helo=magellan.dumbbell.fr) by mail.made4.biz with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1XkHLs-0004YH-Kp for freebsd-current@FreeBSD.org; Fri, 31 Oct 2014 19:55:12 +0100 Message-ID: <5453DB0C.3040106@FreeBSD.org> Date: Fri, 31 Oct 2014 19:55:08 +0100 From: =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: FreeBSD Current Subject: r273910 build failure if is out-of-date Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JVroPHQif73nqT5Md2GqJVIduP0MM2SPo" 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: Fri, 31 Oct 2014 18:55:15 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --JVroPHQif73nqT5Md2GqJVIduP0MM2SPo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! I have the following error when building HEAD: ---8<--- cc -O2 -pipe -I/mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc/include -I/mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc/../../include= -I/mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc/sparc64 -DNLS -fexceptions -I/mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc/sparc64/sys -D__DBINTERFACE_PRIVATE -I/mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc/../../contrib= /gdtoa -I/mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc/../../contrib= /libc-vis -DINET6 -I/usr/obj/mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc -I/mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc/../libmd -I/mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc/../../contrib= /jemalloc/include -DMALLOC_PRODUCTION -I/mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc/../../contrib= /tzcode/stdtime -I/mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc/stdtime -I/mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc/locale -I/mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc/sparc64/fpu -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=3Dgnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c cancelpoints_sem_new.c -o cancelpoints_sem_new.o In file included from cancelpoints_sem_new.c:47: /mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc/../../include/s= emaphore.h:41: error: field '_kern' has incomplete type cancelpoints_sem_new.c:66: error: 'USEM_MAX_COUNT' undeclared here (not in a function) cc1: warnings being treated as errors cancelpoints_sem_new.c: In function '_sem_getvalue': cancelpoints_sem_new.c:335: warning: implicit declaration of function 'USEM_COUNT' cancelpoints_sem_new.c: In function 'usem_wake': cancelpoints_sem_new.c:342: error: 'UMTX_OP_SEM2_WAKE' undeclared (first use in this function) cancelpoints_sem_new.c:342: error: (Each undeclared identifier is reported only once cancelpoints_sem_new.c:342: error: for each function it appears in.) cancelpoints_sem_new.c: In function 'usem_wait': cancelpoints_sem_new.c:361: error: 'UMTX_OP_SEM2_WAIT' undeclared (first use in this function) cancelpoints_sem_new.c: In function '_sem_post': cancelpoints_sem_new.c:445: error: 'USEM_HAS_WAITERS' undeclared (first use in this function) *** Error code 1 Stop. make[4]: stopped in /mnt/home/dumbbell/Projects/freebsd/src/SVN/head/lib/libc *** Error code 1 ---8<--- The problem is that the installed version of 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. --=20 Jean-S=C3=A9bastien P=C3=A9dron --JVroPHQif73nqT5Md2GqJVIduP0MM2SPo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJUU9sQXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NzA4N0ZEMUFFQUUwRTEyREJDNkE2RjAz OUU5OTc2MUE1RkQ5NENDAAoJEDnpl2Gl/ZTM3SkQAK+5rtO31sY5N9RO6Ei7ICrq ++yeeLJclPV/oqad3h42UhbzPjI7lik6sO3Tw5wvYrdcQyi6KMuzJMws7WnD4Kj/ nS8jZ/lfOLKEjt+97MWc6nmBWC1RGyLDZ0ZTrhG1ui0+gaQfA68mFVoWk6am9QCl ja8qEhJAWYWpQPXpnBVST23pJg7hePqytCfsEUbj3ilMPn08Y+5bOGo5o853aUiu vcW3/G/KES6L6fubaMO//bl2fUB4pSWTdmwV8t+8AUyiRxfZr2AaJwoZtXR9BlmV IUEOO0MDU3iLcVXZ1rC4/A2/6xZYOFusT24stGnrs5vRj2TudA50en457OxNJJnW 18PsEptiTJQuZB0H7JM3ACXPUDh7mx5hH2zWofY0FcSRqMoG4ficOfISdpfQB9by 2tlxcxR8IKbb0YA29Ls0SZXXhwuaTXFR4d/p4xdDPBzmUUxwjP4AiO/dR5dyz2d3 W+S+vquAWZJah4pkYJdv2lLM80PeXP+G39WtLlYzwCrzIyVwwgqqOAV1eI1XxDul 387YE9XM7FEF48EYcvNdT8IIalBp+haELXDZESH6YLPJzQ5SWN6Rk5EzXZ0pLLaS o1Yh1uhitDZc7Gni6yma0+/VOq3I0hEEvtff1YoXDpdeAOy68Twl1g0KZ3f8V/+e Mp6wwp7HtqxVMuUHfFUK =PGkA -----END PGP SIGNATURE----- --JVroPHQif73nqT5Md2GqJVIduP0MM2SPo--