trusted-firmware-a: Pin to use gcc for now
PATCH 1/1 trusted-firmware-a: Pin to use gcc for now
--- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb +5 -0
@@ -10,3 +10,8 @@ SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=ht SRCREV_mbedtls = "e483a77c85e1f9c1dd2eb1c5a8f552d2617fe400" LIC_FILES_CHKSUM_MBEDTLS = "file://mbedtls/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +# 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 = "gcc"
Signature · 1 line
2.34.1
What machine was this on?
Ross
Quoted 31 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb | 5 +++++ 1 file changed, 5 insertions(+)meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb +5
-1@@ -10,3 +10,8 @@ SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=ht SRCREV_mbedtls = "e483a77c85e1f9c1dd2eb1c5a8f552d2617fe400" LIC_FILES_CHKSUM_MBEDTLS = "file://mbedtls/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +# 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 = "gcc" --2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#2572): https://lists.yoctoproject.org/g/meta-arm/message/2572
Mute This Topic: https://lists.yoctoproject.org/mt/87598328/1676615
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 1 line · Ross Burton
What machine was this on?
Rockpi4b based on rk3399
Quoted 42 lines
Ross
Review
Quoted 7 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb | 5 +++++ 1 file changed, 5 insertions(+)(quoted diff) +0
-0trusted-firmware-a_2.6.bb b/meta-arm/recipes-bsp/trusted-firmware-a/ trusted-firmware-a_2.6.bb
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb SRC_URI_MBEDTLS = "git://
Quoted 4 lines
index ec1bec9..dd8fd44 100644
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb +0
-0@@ -10,3 +10,8 @@ SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=ht
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=ht
Quoted 3 lines
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb +0
-0SRCREV_mbedtls = "e483a77c85e1f9c1dd2eb1c5a8f552d2617fe400" LIC_FILES_CHKSUM_MBEDTLS ="file://mbedtls/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
Quoted 9 lines
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb +5
-1+ +# 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 = "gcc" --2.34.1
Quoted 3 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#2572):https://lists.yoctoproject.org/g/meta-arm/message/2572
Quoted 3 lines
Mute This Topic: https://lists.yoctoproject.org/mt/87598328/1676615
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 10 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb | 5 +++++ 1 file changed, 5 insertions(+)meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb +0
-0
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=ht · line 17
Quoted 8 lines
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb +5
-0@@ -10,3 +10,8 @@ SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=ht SRCREV_mbedtls = "e483a77c85e1f9c1dd2eb1c5a8f552d2617fe400" LIC_FILES_CHKSUM_MBEDTLS = "file://mbedtls/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +# 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 = "gcc"
Is the above error something that you will fix? If so, can you open a bug somewhere (like the yp bugzilla)? If not, can you tell us how to reproduce so that we can open a ticket in our internal jira?
I don't want this to be a forgotten workaround.
Thanks,
Jon
Quoted 4 lines
Signature · 1 line
2.34.1
Quoted 18 lines · Jon Mason
Review
Quoted 6 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb | 5 +++++ 1 file changed, 5 insertions(+)(quoted diff) +0
-0trusted-firmware-a_2.6.bb b/meta-arm/recipes-bsp/trusted-firmware-a/ trusted-firmware-a_2.6.bb
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb SRC_URI_MBEDTLS = "git://
Quoted 4 lines
index ec1bec9..dd8fd44 100644
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb +0
-0@@ -10,3 +10,8 @@ SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=ht
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=ht
Quoted 3 lines
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb +0
-0SRCREV_mbedtls = "e483a77c85e1f9c1dd2eb1c5a8f552d2617fe400" LIC_FILES_CHKSUM_MBEDTLS ="file://mbedtls/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
Quoted 10 lines
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=ht · line 17
Quoted 5 lines
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.bb +5
-0+ +# 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 = "gcc"Is the above error something that you will fix? If so, can you open a bug somewhere (like the yp bugzilla)? If not, can you tell us how to reproduce so that we can open a ticket in our internal jira?
Reproduction is simple add meta-clang to your belayers.conf and set TOOLCHAIN = “clang” in local.conf and unbolt this workaround
I might not be able to get it sooner
Quoted 11 lines
I don't want this to be a forgotten workaround.
Thanks,
JonQuoted 4 lines
--
2.34.1
Quoted 1 line · Khem Raj
Reproduction is simple add meta-clang to your belayers.conf and set TOOLCHAIN = “clang” in local.conf and unbolt this workaround
We build TF-A with Clang for Juno, so this isn't a fundamental problem.
I'm tempted to say we should revert this and let meta-rockchip set this with an override.
Ross
Quoted 9 lines · Ross Burton
Quoted 1 line · Khem Raj
Reproduction is simple add meta-clang to your belayers.conf and set TOOLCHAIN = “clang” in local.conf and unbolt this workaround
We build TF-A with Clang for Juno, so this isn't a fundamental problem.
I'm tempted to say we should revert this and let meta-rockchip set this with an override.
Sounds good to me. If all machines in meta-arm are working fine with clang. I can send a patch to meta-rockchip
Quoted 2 lines
Ross
Jon Mason
AppliedQuoted 1 line · Khem Raj
Applied, thanks!
[1/1] trusted-firmware-a: Pin to use gcc for now
commit: ad030e5830803c308a6b035b8ba1f63d42d5dc2c
Best regards,
Signature · 1 line
Jon Mason <[email protected]>
Jon Mason
AppliedQuoted 1 line · Khem Raj
Applied, thanks!
[1/1] trusted-firmware-a: Pin to use gcc for now
commit: ad030e5830803c308a6b035b8ba1f63d42d5dc2c
Best regards,
Signature · 1 line
Jon Mason <[email protected]>