Skip to content

Hostboot fails in linking stage on ppc64el systems #172

Open

Description

@madscientist159

When attempting to build hostboot on a Debian Stretch ppc64el system, the build fails with:

listdeps.pl ./img  -v
    MAKE       src IMAGE
    CSCOPE
    CTAGS
    LINKER     hbibl.bin
    LINKER     hbicore.bin
    LINKER     hbicore_test.bin
    LINKER     hbirt.bin
    LINKER     hbirt_test.bin
    LINKER     securerom.bin
26+0 records in
26+0 records out
26 bytes copied, 0.000158844 s, 164 kB/s
exception caught: Expected 1366965 found 2243509 at 2374040
../src/build/mkrules/images.rules.mk:53: recipe for target '../img/hbirt.bin' failed
make[4]: *** [../img/hbirt.bin] Error 255
make[4]: *** Waiting for unfinished jobs....
exception caught: Expected 1366965 found 2243509 at 2374040
../src/build/mkrules/images.rules.mk:53: recipe for target '../img/hbirt_test.bin' failed
make[4]: *** [../img/hbirt_test.bin] Error 255
exception caught: Expected 371 found 1074015803 at 290588
../src/build/mkrules/images.rules.mk:53: recipe for target '../img/hbicore.bin' failed
make[4]: *** [../img/hbicore.bin] Error 255
exception caught: Expected 371 found 1074015803 at 290588
../src/build/mkrules/images.rules.mk:53: recipe for target '../img/hbicore_test.bin' failed
make[4]: *** [../img/hbicore_test.bin] Error 255
../src/build/mkrules/passes.rules.mk:105: recipe for target '_BUILD/PASSES/IMAGE/BODY' failed
make[3]: *** [_BUILD/PASSES/IMAGE/BODY] Error 2
src/build/mkrules/passes.rules.mk:105: recipe for target '_BUILD/SUBDIR/IMAGE/src' failed
make[2]: *** [_BUILD/SUBDIR/IMAGE/src] Error 2
make[2]: *** Waiting for unfinished jobs....
src/build/mkrules/passes.rules.mk:105: recipe for target '_BUILD/PASSES/IMAGE/POST' failed
make[1]: *** [_BUILD/PASSES/IMAGE/POST] Error 2
make[1]: Leaving directory '/TALOS_FW_DEV/pnor/talos-op-build/output/build/hostboot-e8ef2bbe5c9bc999249163146c74d1889bbf39fd'
package/pkg-generic.mk:238: recipe for target '/TALOS_FW_DEV/pnor/talos-op-build/output/build/hostboot-e8ef2bbe5c9bc999249163146c74d1889bbf39fd/.stamp_built' failed
make: *** [/TALOS_FW_DEV/pnor/talos-op-build/output/build/hostboot-e8ef2bbe5c9bc999249163146c74d1889bbf39fd/.stamp_built] Error 2
make: Leaving directory '/TALOS_FW_DEV/pnor/talos-op-build/buildroot'

Activity

  1. madscientist159 commented on Apr 18, 2019

    @madscientist159
    Author

    @stewart-ibm

    Are you using the toolchain native to debian stretch

    Yes. Didn't have a problem with it last year, though I note Debian changed enough to break an existing Yocto project in that same timeframe.

    I'm compiling this from the latest hostboot master and a very recent op-build. I also went back to GIT hash 676c584 to see if it was a recent breakage due to the new weak symbol code, unfortunately it still fails the same way.

    EDIT: Recompiling now with the linked GCC8 patch. Let's see if that fixes anything before trying to diagnose further.

  2. madscientist159 commented on Apr 18, 2019

    @madscientist159
    Author

    I can confirm open-power/op-build#2803 resolves this issue

  3. dcrowell77 commented on Apr 18, 2019

    @dcrowell77
    Collaborator

    FYI @lpfluisfer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions