From owner-freebsd-stable@FreeBSD.ORG Mon Jun 1 17:33:54 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 666581065677 for ; Mon, 1 Jun 2009 17:33:54 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from smtp19.orange.fr (smtp19.orange.fr [80.12.242.17]) by mx1.freebsd.org (Postfix) with ESMTP id F2CE58FC1A for ; Mon, 1 Jun 2009 17:33:53 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from smtp19.orange.fr (mwinf1928 [172.22.129.128]) by mwinf1915.orange.fr (SMTP Server) with ESMTP id 1894D1C00A76 for ; Mon, 1 Jun 2009 18:42:17 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1928.orange.fr (SMTP Server) with ESMTP id 8C53320000B4; Mon, 1 Jun 2009 18:42:15 +0200 (CEST) Received: from localhost (AToulouse-156-1-35-193.w81-49.abo.wanadoo.fr [81.49.90.193]) by mwinf1928.orange.fr (SMTP Server) with ESMTP id A6AD420000AD; Mon, 1 Jun 2009 18:42:14 +0200 (CEST) X-ME-UUID: 20090601164214682.A6AD420000AD@mwinf1928.orange.fr Message-ID: <4A2404E5.7010104@orange.fr> Date: Mon, 01 Jun 2009 18:42:13 +0200 From: Claude Buisson User-Agent: Thunderbird 2.0.0.21 (X11/20090420) MIME-Version: 1.0 To: Daniel O'Connor References: <20090531191456.M33035@onet.com.ua> <200906010940.26300.doconnor@gsoft.com.au> In-Reply-To: <200906010940.26300.doconnor@gsoft.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Pavel Greenberg , freebsd-stable@freebsd.org Subject: Re: buildworld fails with "WITHOUT_CDDL=yes" in src.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2009 17:33:55 -0000 Daniel O'Connor wrote: > On Mon, 1 Jun 2009, Pavel Greenberg wrote: >> Hello everybody! >> After today's source update I have a problem when doing make >> buildworld: >> >> cc -O2 -fno-strict-aliasing -pipe -march=pentium4 >> -DLOADER_NFS_SUPPORT - DBOOT_FORTH >> -I/usr/src/sys/boot/i386/loader/../../ficl -I/usr/src/sys/boot/ >> i386/loader/../../ficl/i386 -DLOADER_GZIP_SUPPORT >> -DLOADER_GPT_SUPPORT -I/usr/ src/sys/boot/i386/loader/../../common >> -I. -Wall -I/usr/src/sys/boot/i386/ loader/.. >> -I/usr/src/sys/boot/i386/loader/../btx/lib -ffreestanding - >> mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 >> -mno- sse3 -c >> /usr/src/sys/boot/i386/loader/../../common/interp_forth.c make: don't >> know how to make /usr/obj/usr/src/tmp/usr/lib/libzfs.a. Stop *** >> Error code 2 >> >> Stop in /usr/src/sys/boot/i386. >> *** Error code 1 >> >> Stop in /usr/src/sys/boot. >> *** Error code 1 >> >> Stop in /usr/src/sys. >> *** Error code 1 >> >> Stop in /usr/src. >> *** Error code 1 >> >> Stop in /usr/src. >> *** Error code 1 >> >> Stop in /usr/src. >> >> In my src.conf I have options >> WITHOUT_CDDL= true >> WITHOUT_ZFS= true >> because I don't use ZFS, my desktop haven't enought resources for it >> and I want not to build it. When I updated my OS some weeks ago with >> the same src.conf process ended OK. > > While the above IS a bug it should be pointed out that unless you > actually load the ZFS kld it won't use any memory on your system. > Same here.. The first bug is the use of a LIBZFS variable in src/sys/boot/i386/loader/Makefile, as this variable is set in share/mk/bsd.libnames.mk I just replaced LIBZFS by LIBZFSBOOT and the buildworld succeeded. The second bug is the use of LOADER_ZFS_SUPPORT without any consideration of WITHOUT_CDDL and/or WITHOUT_ZFS (or MK_ZFS) I won't comment the "it won't use any memory on your system".. Claude Buisson