From owner-freebsd-stable@FreeBSD.ORG Wed Nov 6 19:55:52 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F2B83A6E for ; Wed, 6 Nov 2013 19:55:52 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B5F752967 for ; Wed, 6 Nov 2013 19:55:51 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id rA6Jtgd9038468; Wed, 6 Nov 2013 21:55:42 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua rA6Jtgd9038468 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id rA6Jtguv038467; Wed, 6 Nov 2013 21:55:42 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 6 Nov 2013 21:55:42 +0200 From: Konstantin Belousov To: Zenny Subject: Re: FreeBSD10-Beta 3 make buildkernel error Message-ID: <20131106195542.GJ59496@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BipTYHwbFd8z9jk5" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22 (2013-10-16) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Nov 2013 19:55:53 -0000 --BipTYHwbFd8z9jk5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 06, 2013 at 08:32:12PM +0100, Zenny wrote: > Hi: >=20 > I am trying to recompile FreeBSD10-Beta3 with the following parameters: >=20 > # cat /usr/src/sys/amd64/conf/PROD > include GENERIC > ident PROD >=20 > nooptions DEADLKRES > nooptions INVARIANTS > nooptions INVARIANT_SUPPORT > nooptions WITNESS > nooptions WITNESS_SKIPSPIN > nooptions MALLOC_DEBUG_MAXZONES > options VIMAGE > options NETGRAPH > options NETGRAPH_ETHER > options NETGRAPH_BRIDGE > options NETGRAPH_EIFACE > options NETGRAPH_SOCKET > nooptions SCTP > options VPS Option VPS does not exist in the FreeBSD. > options RACCT > options RCTL >=20 > But I get the following error during make buildkernel: >=20 > > cc -c -O2 -pipe -fno-strict-aliasing -std=3Dc99 -g -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs > -fdiagnostics-show-option -Wno-error-tautological-compare > -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. > -I/usr/src/sys -I/usr/src/sys/contrib/altq > -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS > -include opt_global.h -fno-omit-frame-pointer > -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=3Dkernel > -mno-red-zone -mno-mmx -mno-sse -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector > -Werror /usr/src/sys/kern/kern_jail.c > /usr/src/sys/kern/kern_jail.c:4537:12: error: use of undeclared > identifier 'allproc_lock'; did you mean 'allprison_lock'? > sx_slock(&allproc_lock); > ^ > /usr/src/sys/sys/sx.h:251:34: note: expanded from macro 'sx_slock' > #define sx_slock(sx) sx_slock_((sx), LOCK_FILE, LOCK_LINE) > ^ > /usr/src/sys/sys/sx.h:231:20: note: expanded from macro 'sx_slock_' > (void)__sx_slock((sx), 0, (file), (line)) > ^ > /usr/src/sys/kern/kern_jail.c:140:11: note: 'allprison_lock' declared here > struct sx allprison_lock; > ^ > /usr/src/sys/kern/kern_jail.c:4542:15: error: use of undeclared > identifier 'allproc_lock'; did you mean 'allprison_lock'? > sx_sunlock(&allproc_lock); > ^ > /usr/src/sys/sys/sx.h:253:38: note: expanded from macro 'sx_sunlock' > #define sx_sunlock(sx) sx_sunlock_((sx), LOCK_FILE, LOCK_LINE) > ^ > /usr/src/sys/sys/sx.h:235:16: note: expanded from macro 'sx_sunlock_' > __sx_sunlock((sx), (file), (line)) > ^ > /usr/src/sys/kern/kern_jail.c:140:11: note: 'allprison_lock' declared here > struct sx allprison_lock; > ^ > /usr/src/sys/kern/kern_jail.c:4567:14: error: use of undeclared > identifier 'allproc_lock'; did you mean 'allprison_lock'? > sx_sunlock(&allproc_lock); > ^ > /usr/src/sys/sys/sx.h:253:38: note: expanded from macro 'sx_sunlock' > #define sx_sunlock(sx) sx_sunlock_((sx), LOCK_FILE, LOCK_LINE) > ^ > /usr/src/sys/sys/sx.h:235:16: note: expanded from macro 'sx_sunlock_' > __sx_sunlock((sx), (file), (line)) > ^ > /usr/src/sys/kern/kern_jail.c:140:11: note: 'allprison_lock' declared here > struct sx allprison_lock; > ^ > 3 errors generated. > *** Error code 1 >=20 > Stop. > make[2]: stopped in /usr/obj/usr/src/sys/PROD > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/src > *** Error code 1 >=20 > Stop. > make: stopped in /usr/src > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --BipTYHwbFd8z9jk5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJSep69AAoJEJDCuSvBvK1BNE4P/2K6rlOEdQOAfq1LpR5gCibv 2Hr9OIz9pD0UezJX0PxUcBaW0HqIlpS33fijCA1N7xnYae9TOrOi2qm1n1KM7zF1 UzR1tEOZ5fmeNlxuwxVbAXLYc8CUSoWQMmILQP/4EbXyj1OxqHLI51ebEb189it6 CA77roUCW3M9tW+RBrw/ee1No3FwyrHKxvMTYPiGkIXy1JYd/gb3A5g5gQka5k+5 B40Xn1aEVGDcKA+Hmw3ckswv1QUeyHJZ+7TBaFUL47mlwQV73SQlVpLRFTYQw1Nf 8dy7YQGkqNSxCKCjmkDALE7Rd4MJbSL9CLjjcqyJYQU963awnkR2AkaJidj/7B5q fW4gryu5FCHOBV01n1uxn5zto2blIma1Iv714U8sgHWMqgac8i/pco5frFMoD2zv 7jrUF/R9sJB7UiwwakO691BdaTQ7gOP5dgG2DkSTy5i3m2x2AXC4yKlH7HXBpjM8 gSJx1ZhdGny0YG1DYbgF38Ge++rXkjMpIsr9cGjedRUC6+/MQCJyBUXNFusj+k34 horZLSYvncxuJaxUiS4l9kPy1e4SdYv0G0Oa3SnqDYToA2oKkdUSGdcBs/gtzMCt XFDoWQltMmq1HOI/hynJVZWyRXu8YfSu1cU3pjqyiM5iMzVvrpFGzjoB1w0bK0kF 0yjkbnpnLmtu3C5z91H6 =bmP/ -----END PGP SIGNATURE----- --BipTYHwbFd8z9jk5--