Yocto Project Discussions
 help / color / mirror / Atom feed
* [meta-rockchip][PATCH] trusted-firmware-a: Pin to use gcc for now
@ 2021-12-10  1:14 Khem Raj
  2021-12-10  5:40 ` Trevor Woerner
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2021-12-10  1:14 UTC (permalink / raw)
  To: yocto; +Cc: twoerner, Khem Raj, Jon Mason, Ross Burton

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jon Mason <jon.mason@arm.com>
Cc: Ross Burton <ross.burton@arm.com>
---
 .../trusted-firmware-a/trusted-firmware-a_%.bbappend       | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
index 074d0e0..513cea1 100644
--- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -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"
+
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-10  5:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-10  1:14 [meta-rockchip][PATCH] trusted-firmware-a: Pin to use gcc for now Khem Raj
2021-12-10  5:40 ` Trevor Woerner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox