On Nov 3, 2019, at 1:25 PM, Adrian Bunk <bunk@...> wrote:I am closer to understanding why I experience an error when building with the ARM errata switches.
I believe it is related to 32-bit app support in my poky Linux 64-bit build (I add this to support vcgencmd and vcdbg 32-bit apps.)
When I remove the 32-bit support, the build completes OK. As of now, adding the following seems to work fine to acheive this:
TARGET_CC_ARCH_append += " -mfix-cortex-a53-843419 -mfix-cortex-a53-835769”
Something in the following block seems to be the culprit.:
# for vcgencmd and vcdbg 32-bit executable support in the OS image (comment out for -c populate_sdk)
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7a"
IMAGE_INSTALL_append += " vcgencmd lib32-glibc lib32-libgcc lib32-libstdc++ vcdbg rpi-setup \
I will post again when I have localized the build problem further. Maybe there’s some 64-bit vs. 32-bit build confusion going on, and the armv7a default tune switch for 32-bits is colliding with the errata switches.
- Steve Pavao