Skip to contentSkip to conversation

trusted-firmware-a: Pin to use gcc for now

PATCH Applied Khem Raj 2 participants 2 messages Dec 10, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 trusted-firmware-a: Pin to use gcc for now

tf-a built with clang is bloated for rk3399 SOCs with 2.6+ it needs looking into, until then use gcc always to build it

Cc Jon Mason <[email protected]>
Cc Ross Burton <[email protected]>
---
 .../trusted-firmware-a/trusted-firmware-a_%.bbappend       | 7 +++++++
 1 file changed, 7 insertions(+)
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +7 -0
index 074d0e0..513cea1 100644
@@ -12,3 +12,10 @@ SRC_URI += "\
     file://0001-plat_macros.S-Use-compatible-.asciz-asm-directive.patch \
     file://0001-pmu-Do-not-mark-already-defined-functions-as-weak.patch \
 "
+
+
+# code bloats with clang and results in error below now
+# | aarch64-yoe-linux-musl-ld: region `PMUSRAM' overflowed by 3928 bytes
+# this needs fixing until then use gcc
+TOOLCHAIN:rk3399 = "gcc"
+
Signature · 1 line
2.34.1
#1 lore raw
Quoted 9 lines · Khem Raj

tf-a built with clang is bloated for rk3399 SOCs with 2.6+ it needs looking into, until then use gcc always to build it

Cc Jon Mason <[email protected]>
Cc Ross Burton <[email protected]>
---
 .../trusted-firmware-a/trusted-firmware-a_%.bbappend       | 7 +++++++
 1 file changed, 7 insertions(+)

Applied to meta-rockchip master. Thanks!