From 0ee216b5ea56ba5f541f2ea7988c01998ed473bf Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 3 Jul 2025 16:03:45 -0700 Subject: [PATCH] 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]) | ^ Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/pstack/pstack.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-devtools/pstack/pstack.inc b/meta-oe/recipes-devtools/pstack/pstack.inc index 9831a74d1a..1c85b12061 100644 --- a/meta-oe/recipes-devtools/pstack/pstack.inc +++ b/meta-oe/recipes-devtools/pstack/pstack.inc @@ -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"