diff mbox series

[RFC,meta-yocto] poky.conf: re-enable TCLIBCAPPEND

Message ID 20231108191537.3956782-1-denis@denix.org
State New
Headers show
Series [RFC,meta-yocto] poky.conf: re-enable TCLIBCAPPEND | expand

Commit Message

Denys Dmytriyenko Nov. 8, 2023, 7:15 p.m. UTC
Back in 2011[0] TCLIBCAPPEND was disabled due to:

"Poky doesn't support parallel builds of libc at this point"

Since then musl, newlib and baremetal support were added along with ability
to build them together in multiconfig environments. Some BSPs are actively
using multiconfigs to build baremetal components for modern heterogeneous
SoCs.

To enable such broad use cases for Poky (the reference Yocto distribution)
and many derivative distributions based on Poky, lets re-enable TCLIBCAPPEND
to isolate dissonant TMPDIRs from each other and possible collisions.

[0] https://git.yoctoproject.org/meta-yocto/commit/?id=5e121094c6024d8113ab0922b40ccc8a45215277

[YOCTO #15273]

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
---
This may not be the right fix for #15273, but the change is good on its
own and it avoids the race condition reported in that bugzilla entry.
It also helps with other observed collisions in a combined TMPDIR, such
as nativesdk builds for incompatible multiconfigs, etc.

 meta-poky/conf/distro/poky.conf | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf
index e742666..742a64a 100644
--- a/meta-poky/conf/distro/poky.conf
+++ b/meta-poky/conf/distro/poky.conf
@@ -28,8 +28,6 @@  SDKPATHINSTALL = "/opt/${DISTRO}/${SDK_VERSION}"
 DISTRO_EXTRA_RDEPENDS += "${POKY_DEFAULT_EXTRA_RDEPENDS}"
 DISTRO_EXTRA_RRECOMMENDS += "${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
 
-TCLIBCAPPEND = ""
-
 PACKAGE_CLASSES ?= "package_rpm"
 
 SANITY_TESTED_DISTROS ?= " \