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

Khem Raj raj.khem at gmail.com
Sun Nov 3 05:18:53 PST 2019


On Sun, Nov 3, 2019 at 2:46 AM Andrei Gherzan <andrei at gherzan.ro> wrote:

> On 01/11/2019 17:18, Khem Raj wrote:
> > 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
>
> I was thinking about this. The erratum seems to show that this applies
> to all revisions of a53. So it sounds like we should add it in
> `tune-cortexa53.inc`.
>

Up to r0b4 only so maybe not all a53 implementations are impacted

>
> --
> Andrei Gherzan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20191103/9bce2279/attachment.html>


More information about the yocto mailing list