[OE-core] [OE-Core][PATCH 0/2] ppc/native: Fix native builds with PowerPC 32-bit host system

Serhey Popovych serhe.popovych at gmail.com
Sat Jan 12 10:11:51 UTC 2019


In some specific environments on PowerPC native builds failing due to:

  a) libgpg-error requires TARGET_ARCH tuple mapping to supported tuple
  b) binutils fails to build with --enable-targets=all due to small bss
     and data relocation failures.

To fix a) is trivial: we need to add tuple mapping for TARGET_ARCH=ppc.

Fixing b) isn't simple because with --enable-targets=all binary becomes
too big to support R_PPC_GOT16 relocations against small bss/data. Since
for native builds we only need libbfd, libiberty and libopcodes we can
build only these three archives and their dependencies.

See individual commit message for details on each change presented.

Serhey Popovych (2):
  libgpg-error: Support build for native on ppc host
  binutils: Speed up and fix native builds

 meta/recipes-devtools/binutils/binutils_2.31.bb    | 33 +++++++++++++---------
 .../libgpg-error/libgpg-error_1.33.bb              |  1 +
 2 files changed, 20 insertions(+), 14 deletions(-)

-- 
2.7.4



More information about the Openembedded-core mailing list