From b8bdee746c4724282d3717b051159abd235ee420 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 18 Jul 2025 21:28:24 -0700 Subject: ostree: Always use libgcc for runtime with clang on x86 compiler-rt does not have 128-bit int support for 32bit x86 Signed-off-by: Khem Raj --- meta-oe/recipes-extended/ostree/ostree_2024.10.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-extended/ostree/ostree_2024.10.bb b/meta-oe/recipes-extended/ostree/ostree_2024.10.bb index c33624987a..8d3b1cd32e 100644 --- a/meta-oe/recipes-extended/ostree/ostree_2024.10.bb +++ b/meta-oe/recipes-extended/ostree/ostree_2024.10.bb @@ -118,6 +118,9 @@ SYSROOT_DIR = "${STAGING_DIR_TARGET}" SYSROOT_DIR:class-native = "${STAGING_DIR_NATIVE}" do_configure[vardeps] += "SYSROOT_DIR" +# i686-yoe-linux-ld.lld: error: undefined symbol: __unordtf2 +LDFLAGS:append:libc-glibc:toolchain-clang:x86 = " --rtlib=libgcc --unwindlib=libgcc" + do_configure:prepend() { # this reflects what autogen.sh does, but the OE wrappers for autoreconf # allow it to work without the other gyrations which exist there -- cgit v1.2.3-54-g00ecf