From owner-freebsd-current@FreeBSD.ORG Tue Nov 5 07:01:49 2013 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 064E7CB3; Tue, 5 Nov 2013 07:01:49 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7A5952084; Tue, 5 Nov 2013 07:01:47 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.7/8.14.7) with ESMTP id rA571kXg005517 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 5 Nov 2013 11:01:46 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.7/8.14.7/Submit) id rA571kRT005516; Tue, 5 Nov 2013 11:01:46 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 5 Nov 2013 11:01:46 +0400 From: Gleb Smirnoff To: Ian Lepore Subject: Re: CUURENT kernel build broken - make[2]: exec(aicasm) failed (No such file or directory) Message-ID: <20131105070146.GH1467@FreeBSD.org> References: <1383611766.31172.153.camel@revolution.hippie.lan> <1383628194.31172.155.camel@revolution.hippie.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1383628194.31172.155.camel@revolution.hippie.lan> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: Outback Dingo , current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 05 Nov 2013 07:01:49 -0000 On Mon, Nov 04, 2013 at 10:09:54PM -0700, Ian Lepore wrote: I> > > /usr/src/sys/dev/aic7xxx/aic7xxx.seq I> > > > make[2]: exec(aicasm) failed (No such file or directory) I> > > > *** Error code 1 I> > > > I> > > > Stop. I> > > > make[2]: stopped in /usr/obj/usr/src/sys/GENERIC I> > > > *** Error code 1 I> > > > I> > > > Stop. I> > > > make[1]: stopped in /usr/src I> > > I> > > Did you update your source and then "make buildkernel" without I> > > buildworld? If so, a "make kernel-toolchain" should create the aicasm I> > > tool and get you back on track. I> > > I> > I> > really odd as i built a kernel this morning no problem, then updated the I> > tree and went to build another kernel and got that. I> > working through it, thanks for the input.......... I> > I> I> You were just unlucky that your updates bracketed my checkin that I> changed the build process for the aicasm tool so that it gets built as I> part of the toolchain rather than as part of the kernel now. Before this change, the toolchain was not required for kernel build if you aren't cross building. And now it is. This breaks the kernel build procedure documented in handbook for years, and brings a lot of discomfort to developers. Now to test a trivial change to kernel I need first to compile clang. -- Totus tuus, Glebius.