From owner-freebsd-current@FreeBSD.ORG Tue Nov 5 18:14:39 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 3E180994; Tue, 5 Nov 2013 18:14:39 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ED1442B80; Tue, 5 Nov 2013 18:14:37 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.7/8.14.7) with ESMTP id rA5IEZhh006613; Tue, 5 Nov 2013 12:14:35 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.7/8.14.7/Submit) id rA5IEZ6H006612; Tue, 5 Nov 2013 12:14:35 -0600 (CST) (envelope-from brooks) Date: Tue, 5 Nov 2013 12:14:35 -0600 From: Brooks Davis To: Ian Lepore Subject: Re: CUURENT kernel build broken - make[2]: exec(aicasm) failed (No such file or directory) Message-ID: <20131105181435.GA91063@lor.one-eyed-alien.net> References: <1383611766.31172.153.camel@revolution.hippie.lan> <1383628194.31172.155.camel@revolution.hippie.lan> <20131105070146.GH1467@FreeBSD.org> <1383663652.31172.160.camel@revolution.hippie.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <1383663652.31172.160.camel@revolution.hippie.lan> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Outback Dingo , Gleb Smirnoff , 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 18:14:39 -0000 --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 05, 2013 at 08:00:52AM -0700, Ian Lepore wrote: > 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> >=20 > > I> > really odd as i built a kernel this morning no problem, then updat= ed the > > I> > tree and went to build another kernel and got that. > > I> > working through it, thanks for the input.......... > > I> >=20 > > I>=20 > > 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. > >=20 > > 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 proc= edure > > documented in handbook for years, and brings a lot of discomfort to > > developers. > >=20 > > Now to test a trivial change to kernel I need first to compile clang. > >=20 >=20 > 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. We should probalby just install it in /usr/bin. The last functional change was in 2010 and the last before that was 2003. -- Brooks --J/dobhs11T7y2rNN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFSeTWKXY6L6fI4GtQRApjWAKCk/irlGlV/mUgapGRtrUf91Il8CQCfco05 WcxjLppvs71Tpymb2UWRthg= =QjjQ -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--