ppc/native: Fix native builds with PowerPC 32-bit host system
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | libgpg-error: Support build for native on ppc hostmeta/ | +1 | 8 replies | |
| 2/2 | binutils: Speed up and fix native buildsmeta/ | +19 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] ppc/native: Fix native builds with PowerPC 32-bit host system
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(-)
Signature · 1 line
2.7.4