Date: Fri, 31 Oct 2014 19:55:08 +0100 From: =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= <dumbbell@FreeBSD.org> To: FreeBSD Current <freebsd-current@FreeBSD.org> Subject: r273910 build failure if <sys/_umtx.h> is out-of-date Message-ID: <5453DB0C.3040106@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
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 <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. --=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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5453DB0C.3040106>