[yocto] [meta-raspberrypi] poky linux build fails if ARM erratum mfix linker switch is specified

Khem Raj raj.khem at gmail.com
Fri Nov 1 10:18:24 PDT 2019


On Fri, Nov 1, 2019 at 1:28 AM Andrei Gherzan <andrei at gherzan.ro> wrote:
>
> Hi Steve,
>
> On 01/11/2019 05:32, Steve Pavao wrote:
> > poky linux build fails when ARM erratum mfix linker switch is specified
> > in local.conf:
> >
> > TARGET_LD_ARCH_append += " -mfix-cortex-a53-843419”
> >
> > causes build failure.
> >
> > Please advise how to use this switch successfully.  I am synced current
> > in master branch in all layers as of today.  The switch causes libtool
> > link to fail due to missing libbz2.so.  If I don’t specify the switch,
> > the build completes without errors.
> >
> > It is important to be able to build poky linux with this switch to avoid
> > certain crash conditions as described in the ARM errata document.
>
> I haven't tried this erratum fix. It is indeed implemented at the
> linker's lever. It's curious though to see the bz2 dependency. Can you
> share the specific error? I assume you are doing this on RPi3.
>

this will impact rpi3 in 64bit mode, don't think 32bit needs this. I
think its best to
add this option in raspberrypi3-64.conf perhaps via TUNE_CCARGS

> --
> Andrei Gherzan
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list