Skip to contentSkip to conversation

pstack: Always use gcc to compile it

PATCH New Khem Raj 1 participant 2 messages Jul 4, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 pstack: Always use gcc to compile it

Fails to build/compile with clang

TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/pstack/2.11/sources/pstack-2.11/libpstack/archreg.h:94:1: error: member access into incomplete type 'const CoreRegisters' (aka 'const pstack::Elf::user_regs_struct')
94 | REGMAP(0, regs[0])

      | ^
---
 meta-oe/recipes-devtools/pstack/pstack.inc | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/pstack/pstack.inc +2 -0
index 9831a74d1a..1c85b12061 100644
@@ -37,3 +37,5 @@ FILES:${PN}-dbg += "${base_bindir}/.debug ${base_sbindir}/.debug ${bindir}/.debu
 
 PACKAGES += "${PN}-dev"
 FILES:${PN}-dev += "${base_libdir}/*.so"
+
+TOOLCHAIN = "gcc"
author
#1 lore raw

PATCH 2/2 python3-pandas: Loosen the search path for generated file sparse.pyx.c

Hardcoded path works only when target is x86_64, but fails for other architectures, loosen the search path regexp

---
 meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb +1 -1
index b817b0538d..d32f0e17bb 100644
@@ -42,7 +42,7 @@ do_compile:append() {
 }
 
 do_install:prepend() {
-	sed -i -e 's;${S};;g' ${B}/pandas/_libs/sparse.cpython-313-x86_64-linux-gnu.so.p/pandas/_libs/sparse.pyx.c
+	sed -i -e 's;${S};;g' ${B}/pandas/_libs/sparse.cpython-*/pandas/_libs/sparse.pyx.c
 }
 
 EXTRA_OEMESON:append:class-target = " -Dnumpy_inc_dir=${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}/numpy/_core/include "