Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2014 12:24:29 -0700
From:      Ian Lepore <ian@FreeBSD.org>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        FreeBSD Current <current@FreeBSD.org>
Subject:   Re: HEAD buildkernel error (aic7xxx_seq.h is missing. Run 'make ahcfirmware')
Message-ID:  <1392751469.1145.24.camel@revolution.hippie.lan>
In-Reply-To: <CA%2BhQ2%2BjzERepqGLyo3Wm2Ar2zM%2BiTNmfyVkkdpVT-16FO_-DoQ@mail.gmail.com>
References:  <20140214173553.GA90364@onelab2.iet.unipi.it> <1392402215.1145.103.camel@revolution.hippie.lan> <CA%2BhQ2%2BjzERepqGLyo3Wm2Ar2zM%2BiTNmfyVkkdpVT-16FO_-DoQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2014-02-14 at 13:46 -0800, Luigi Rizzo wrote:
> On Fri, Feb 14, 2014 at 10:23 AM, Ian Lepore <ian@freebsd.org> 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)?

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1392751469.1145.24.camel>