From owner-freebsd-current@FreeBSD.ORG Tue Nov 5 15:00:56 2013 Return-Path: Delivered-To: current@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 345A153B; Tue, 5 Nov 2013 15:00:56 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 09D692DD7; Tue, 5 Nov 2013 15:00:55 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Vdi7i-0007xJ-U3; Tue, 05 Nov 2013 15:00:55 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id rA5F0qSs062029; Tue, 5 Nov 2013 08:00:52 -0700 (MST) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+Ec4ZmmdsvCAnXalSrDwJy Subject: Re: CUURENT kernel build broken - make[2]: exec(aicasm) failed (No such file or directory) From: Ian Lepore To: Gleb Smirnoff In-Reply-To: <20131105070146.GH1467@FreeBSD.org> References: <1383611766.31172.153.camel@revolution.hippie.lan> <1383628194.31172.155.camel@revolution.hippie.lan> <20131105070146.GH1467@FreeBSD.org> Content-Type: text/plain; charset="us-ascii" Date: Tue, 05 Nov 2013 08:00:52 -0700 Message-ID: <1383663652.31172.160.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit 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 15:00:56 -0000 On Tue, 2013-11-05 at 11:01 +0400, Gleb Smirnoff wrote: > 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. > I didn't realize the change would have that effect. Building aicasm using the kernel build machinery just isn't an option anymore, it builds in the wrong environment with the wrong header files and sometimes the wrong toolchain when cross-building. But there should be a solution that doesn't require building clang, I'll see what can be done. -- Ian