Message ID | 20250704012802.2817020-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe,1/2] pstack: Always use gcc to compile it | expand |
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"
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 <raj.khem@gmail.com> --- meta-oe/recipes-devtools/pstack/pstack.inc | 2 ++ 1 file changed, 2 insertions(+)