From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 30 10:08:39 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B15D5106564A for ; Mon, 30 Jun 2008 10:08:39 +0000 (UTC) (envelope-from ru@freebsd.org) Received: from mail.vega.ru (infra.dev.vega.ru [90.156.167.14]) by mx1.freebsd.org (Postfix) with ESMTP id 66D188FC23 for ; Mon, 30 Jun 2008 10:08:39 +0000 (UTC) (envelope-from ru@freebsd.org) Received: from [87.242.97.68] (port=55373 helo=edoofus.dev.vega.ru) by mail.vega.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1KDGJH-000H6n-GS; Mon, 30 Jun 2008 10:08:35 +0000 Date: Mon, 30 Jun 2008 14:08:16 +0400 From: Ruslan Ermilov To: Danny Braniss Message-ID: <20080630100816.GB99247@edoofus.dev.vega.ru> References: <20080629.014211.74670684.imp@bsdimp.com> <20080629215531.GC21018@edoofus.dev.vega.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-hackers@freebsd.org, Scott Ullrich Subject: Re: WITHOUT_INSTALLLIB blues X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2008 10:08:39 -0000 On Mon, Jun 30, 2008 at 12:07:57PM +0300, Danny Braniss wrote: > > On Sun, Jun 29, 2008 at 02:54:03PM -0400, Scott Ullrich wrote: > > > On Sun, Jun 29, 2008 at 3:42 AM, Warner Losh wrote: > > > >> when setting WITHOUT_INSTALLLIB, make buildworld breaks with > > > >> make: don't know how to make /r+d/obj/sunfire/alix/i386/r+d/7.0/src/tmp/legacy/ > > > >> usr/lib/libegacy.a. Stop > > > > > > > > Only set it for installworld. > > > > > > Was this documented somewhere after the change? This bit me some time > > > ago and I could not find it documented anywhere. If not can someone > > > add it to /usr/src/UPDATING? > > > > > It follows from the description of WITHOUT_INSTALLLIB in src.conf(5), > > but perhaps it's not very obvious. > > understatement :-) > but if it only applies to 'install' why does it break 'build'? I have one file src.conf, now i need 2? > It can be applied only to the "install" stage. If applied to the "build" stage, it will break it because "build" internally uses "install" to install libraries to a temporary place (${WORLDTMP}) so the other programs/libraries can link against them. See your /usr/obj/usr/src/tmp{,/usr}/lib for details (for a canonical mix of /usr/src and /usr/obj). Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer