[OpenPower-Firmware] hostboot build fails with "error: ‘TARGET_TYPE_DIMM’ was not declared in this scope" (and more)

Dan Horák dan at danny.cz
Fri Dec 20 02:43:45 AEDT 2019


On Thu, 19 Dec 2019 15:49:30 +0100
Dan Horák <dan at danny.cz> wrote:

> On Thu, 19 Dec 2019 15:37:30 +0100
> Dan Horák <dan at danny.cz> wrote:
> 
> > Hi,
> > 
> > I have started to work on enabling Raptor's Talos in the upstream
> > op-build after seeing Stewart started to enable Blackbird. But I
> > have a problem when building hostboot.
> > 
> > The host environment is Fedora 30 on both x86 and ppc64le, op-build
> > from the master branch, clean "output" directory, whitherspoon
> > config (but eg. blackbird config fails the same way).
> > 
> > The failure looks like (with verbose build enabled)
> > 
> > I suspect there is something wrong the host build environment,
> > because the upstream CI builds mostly succeed. Does anyone have an
> > idea what could be wrong?
> 
> and to answer my own question, it's the locale for the user running
> op-build :-) My user has cs_CZ.utf8, forcing it to C makes it generate
> the testfapi2.C (and testfapi2_rt.C) correctly. Will prepare a PR for
> it.

what's fatal is the different order of inclusion for some headers and
there are some other ordering changes as well. Will be fixed with
https://github.com/open-power/op-build/pull/3354


		Dan


More information about the OpenPower-Firmware mailing list