From 59089fee3c50cb2c2e5601981a6e84b3a1c49f18 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sat, 25 Jan 2025 21:39:21 +1300 Subject: [PATCH] samples: Disable gdb in or1k-unknown-linux-musl MUSL's or1k support lacks definitions for elf_gregset_t which leads to failures like [ERROR] sysroot/usr/include/sys/procfs.h:29:9: error: 'elf_gregset_t' does not name a type; did you mean 'gregset_t'? [ERROR] sysroot/usr/include/sys/procfs.h:54:9: error: 'elf_gregset_t' does not name a type; did you mean 'gregset_t'? [ERROR] sysroot/usr/include/sys/procfs.h:55:9: error: 'elf_fpregset_t' does not name a type Disable GDB support in the or1k-unknown-linux-musl config. Fixes #2266 Signed-off-by: Chris Packham --- samples/or1k-unknown-linux-musl/crosstool.config | 2 -- 1 file changed, 2 deletions(-) diff --git a/samples/or1k-unknown-linux-musl/crosstool.config b/samples/or1k-unknown-linux-musl/crosstool.config index 5f820624..2825650c 100644 --- a/samples/or1k-unknown-linux-musl/crosstool.config +++ b/samples/or1k-unknown-linux-musl/crosstool.config @@ -6,5 +6,3 @@ CT_TARGET_VENDOR="" CT_KERNEL_LINUX=y CT_LIBC_MUSL=y CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -# CT_GDB_CROSS_PYTHON is not set