Skip to contentSkip to conversation

k3r5: Fix mc:k3r5:libgcc build error

PATCH In review Ryan Eatmon 3 participants 4 messages Oct 5 – Oct 22

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 k3r5: Fix mc:k3r5:libgcc build error

A recent change in oe-core [1] is causing a build error in the mc:k3r5:libgcc do_configure step. We need to track down why this change causes this error, but in the meantime we need to get builds working again. Add the removed line from [1] to the multiconfig/k3r5.conf file.

[1] https://git.openembedded.org/openembedded-core/commit/?id=020d5f018616bc48eae3a23d5498dec3c78a1386

---
 meta-ti-bsp/conf/multiconfig/k3r5.conf | 2 ++
 1 file changed, 2 insertions(+)
meta-ti-bsp/conf/multiconfig/k3r5.conf +2 -0
index 936bce2f..fd871dca 100644
@@ -8,3 +8,5 @@ TI_TMPDIR_APPEND ?= "-k3r5"
 TMPDIR:append = "${TI_TMPDIR_APPEND}"
 
 SDKPKGSUFFIX = "k3r5-nativesdk"
+
+EXTRA_OECONF:pn-gcc-cross-${TARGET_ARCH}:append = " --without-headers"
Signature · 1 line
2.43.0
#1 lore raw

meta-ti / na / 20261005130234.1532926-1-reatmon

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH] k3r5: Fix mc:k3r5:libgcc build error
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Mon, 5 Oct 2026 08:02:34 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: b049c1d4ffbc5d85309ae9615aa70cf03c24fe2d

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <[email protected]>
- Commit Subject: k3r5: Fix mc:k3r5:libgcc build error
- Commit SHA: e0b9f6aae7faa10d313f6b20b68b4ba8626bddf7

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS

=========================================================
yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed

#2 lore raw
In reply to Ryan Eatmon
Quoted 6 lines · Ryan Eatmon via lists.yoctoproject.org

A recent change in oe-core [1] is causing a build error in the mc:k3r5:libgcc do_configure step. We need to track down why this change causes this error, but in the meantime we need to get builds working again. Add the removed line from [1] to the multiconfig/k3r5.conf file.

[1] https://git.openembedded.org/openembedded-core/commit/?id=020d5f018616bc48eae3a23d5498dec3c78a1386

We need to revert this, as the proper fix has been in upstream for a while:

https://git.openembedded.org/openembedded-core/commit/?id=2f5c2b696bcd8e02eac6b06bb0cdace0fa86eb44

Quoted 17 lines
---
 meta-ti-bsp/conf/multiconfig/k3r5.conf | 2 ++
 1 file changed, 2 insertions(+)
meta-ti-bsp/conf/multiconfig/k3r5.conf +2 -0
index 936bce2f..fd871dca 100644
@@ -8,3 +8,5 @@ TI_TMPDIR_APPEND ?= "-k3r5"
 TMPDIR:append = "${TI_TMPDIR_APPEND}"
 
 SDKPKGSUFFIX = "k3r5-nativesdk"
+
+EXTRA_OECONF:pn-gcc-cross-${TARGET_ARCH}:append = " --without-headers"
Signature · 1 line
2.43.0
#3 lore raw
Quoted 11 lines · Denys Dmytriyenko
Quoted 6 lines · Ryan Eatmon via lists.yoctoproject.org

A recent change in oe-core [1] is causing a build error in the mc:k3r5:libgcc do_configure step. We need to track down why this change causes this error, but in the meantime we need to get builds working again. Add the removed line from [1] to the multiconfig/k3r5.conf file.

[1] https://git.openembedded.org/openembedded-core/commit/?id=020d5f018616bc48eae3a23d5498dec3c78a1386

We need to revert this, as the proper fix has been in upstream for a while:

https://git.openembedded.org/openembedded-core/commit/?id=2f5c2b696bcd8e02eac6b06bb0cdace0fa86eb44

I've been trying to do this, but I'm getting build errors on am62a, am62p, am62lp, and am65:

mc:k3r5:u-boot-ti-staging - do_compile()
----------------------------------------
spl/u-boot-spl.bin exceeds file size limit:
limit: 0x300cb bytes
actual: 0x3350c bytes
excess: 0x3441 bytes

I'm guessing what we turn off, what was turned off for the longest time made something smaller... and with moving to the fix in oe-core it makes things just a little bigger. So we might actually need to keep this in place. At least until someone figures out what is going on...

Quoted 18 lines
Quoted 18 lines
---
  meta-ti-bsp/conf/multiconfig/k3r5.conf | 2 ++
  1 file changed, 2 insertions(+)
meta-ti-bsp/conf/multiconfig/k3r5.conf +2 -0
index 936bce2f..fd871dca 100644
@@ -8,3 +8,5 @@ TI_TMPDIR_APPEND ?= "-k3r5"
  TMPDIR:append = "${TI_TMPDIR_APPEND}"
 
  SDKPKGSUFFIX = "k3r5-nativesdk"
+
+EXTRA_OECONF:pn-gcc-cross-${TARGET_ARCH}:append = " --without-headers"
Signature · 1 line
2.43.0
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS