From owner-freebsd-current@FreeBSD.ORG Tue Feb 3 20:47:02 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D68391065670 for ; Tue, 3 Feb 2009 20:47:02 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id 9BA9D8FC22 for ; Tue, 3 Feb 2009 20:47:02 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 2147173098; Tue, 3 Feb 2009 21:52:45 +0100 (CET) Date: Tue, 3 Feb 2009 21:52:45 +0100 From: Luigi Rizzo To: "Michael W. Lucas" Message-ID: <20090203205245.GA77162@onelab2.iet.unipi.it> References: <20090203194017.GA58565@bewilderbeast.blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090203194017.GA58565@bewilderbeast.blackhelicopters.org> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org Subject: Re: nanobsd dies in newfs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 03 Feb 2009 20:47:03 -0000 On Tue, Feb 03, 2009 at 02:40:17PM -0500, Michael W. Lucas wrote: > > Hi, > > This is on i386 -current as of Feb 1, 2009. > > Obviously, things have changed in the year since I've built nanoBSD. > I'm trying to build a very tiny sniffer box, and the build dies in > newfs(8). The error and my nanobsd config follow. > > Any suggestions, folks? this is related to a recent commit i made to newfs.c which works with dynamic build but not with static build. See the commit log to see the details. I am sorry I don't have a good solution short of changing the function in libufs -- which may be the way to go. For a quick workaround you can try to revert the change, or build newfs as dynamically linked. cheers luigi