From owner-freebsd-current@FreeBSD.ORG Wed Feb 19 04:38:18 2014 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 ESMTPS id A08E483F; Wed, 19 Feb 2014 04:38:18 +0000 (UTC) Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DAE0B16A1; Wed, 19 Feb 2014 04:38:17 +0000 (UTC) Received: by mail-lb0-f175.google.com with SMTP id p9so12777505lbv.6 for ; Tue, 18 Feb 2014 20:38:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=pbxdnOz84mPs6i91vQ8OpAKdf9FMAlnka0KWQQUansg=; b=Y1LXvkcWuyM75DicQuhVXDfUkElbB3ZDnL0m1GJayhuZXciZbVSlc44wjyVidS2+tI V3c1WaFi4PXzpMI1SRWC6a2+VkFrpvbzLelDdZ4NvEml0j6R+G+iVupMohqqieSA1qd7 lDZ/qNKXe3k+syG+Ho7+fnh/scjwbmMEroOhq1T0tRVGxzsTNfgNYx23nMe5JVJQwpEc FvkjLWzvCMULadtNn5ZAEPBwVo0Wg3itgQ/lFDgbBIbdTiX62GvJvZA4gj/Hoj26NXmt wRvR4EOCEIs8qvWw6R1SwhBGfzfP4eFzsfl56AkE69enDN84Qarj3W5aPpLzzxZP3xyR isBA== MIME-Version: 1.0 X-Received: by 10.152.21.4 with SMTP id r4mr2087lae.51.1392784695841; Tue, 18 Feb 2014 20:38:15 -0800 (PST) Sender: rizzo.unipi@gmail.com Received: by 10.115.4.162 with HTTP; Tue, 18 Feb 2014 20:38:15 -0800 (PST) In-Reply-To: <1392751469.1145.24.camel@revolution.hippie.lan> References: <20140214173553.GA90364@onelab2.iet.unipi.it> <1392402215.1145.103.camel@revolution.hippie.lan> <1392751469.1145.24.camel@revolution.hippie.lan> Date: Tue, 18 Feb 2014 20:38:15 -0800 X-Google-Sender-Auth: 8mcYTedJfYAEhTSyQVs9ZUsueFg Message-ID: Subject: Re: HEAD buildkernel error (aic7xxx_seq.h is missing. Run 'make ahcfirmware') From: Luigi Rizzo To: Ian Lepore Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 19 Feb 2014 04:38:18 -0000 On Tue, Feb 18, 2014 at 11:24 AM, Ian Lepore wrote: > On Fri, 2014-02-14 at 13:46 -0800, Luigi Rizzo wrote: > > On Fri, Feb 14, 2014 at 10:23 AM, Ian Lepore wrote: > > > > > On Fri, 2014-02-14 at 18:35 +0100, Luigi Rizzo wrote: > > > > on a freshly checked out HEAD, > > > > "make toolchain" followed by "make buildkernel" fails at this stage: > > > > > > > > ... > > > > @ -> /usr/home/luigi/FreeBSD/head/sys > > > > machine -> /usr/home/luigi/FreeBSD/head/sys/amd64/include > > > > x86 -> /usr/home/luigi/FreeBSD/head/sys/x86/include > > > > Error: aic7xxx_reg_print.c is missing. Run 'make ahcfirmware' > > > > Error: aic7xxx_seq.h is missing. Run 'make ahcfirmware' > > > > Error: aic7xxx_reg.h is missing. Run 'make ahcfirmware' > > > > > > > > (don't think it matters, but i am cross compiling amd64 > > > > from a stable/9 amd64 system, using clang). > > > > I am not sure which commit triggered the problem, > > > > but this used to work in the past -- toolchain was enough > > > > to build a kernel. > > > > > > > > cheers > > > > luigi > > > > > > That should be 'make kernel-toolchain', shouldn't it? > > > > > > > nope, fails with kernel-toolchain as well. > > I need to do a full buildworld to avoid this problem. > > > > cheers > > luigi > > > > This all used to work when cross-building from older systems, but there > were some changes recently to get rid of the whole process of compiling > the aicasm tool. There's supposed to be some sort of binary firmware > blob involved now. > > Did you try what the error message recommended (make ahcfirmware)? > i have not tried partly for laziness partly because usually these suggestions require the command to run in the cross-building environment. But i guess my point is that building aicasm should be part of kernel-toolchain (or whatever the target is for "all the tools we need to build a kernel"). Now, if aicasm is not changing we can perhaps try to reuse the one in the host environment, in which case i'd first try to support the same feature to avoid rebuilding clang or gcc. thanks luigi