summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorAchill Gilgenast <fossdd@pwned.life>2025-06-22 04:45:49 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-07-10 07:07:51 +0300
commita95743b53031b015e8949e845a9f6fdfb2656347 (patch)
tree95ed437834272e5bf006b6f7cd3e6d06eb71d23a /scripts/gdb/linux
parentd7b8f8e20813f0179d8ef519541a3527e7661d3a (diff)
downloadlinux-a95743b53031b015e8949e845a9f6fdfb2656347.tar.xz
kallsyms: fix build without execinfo
Some libc's like musl libc don't provide execinfo.h since it's not part of POSIX. In order to fix compilation on musl, only include execinfo.h if available (HAVE_BACKTRACE_SUPPORT) This was discovered with c104c16073b7 ("Kunit to check the longest symbol length") which starts to include linux/kallsyms.h with Alpine Linux' configs. Link: https://lkml.kernel.org/r/20250622014608.448718-1-fossdd@pwned.life Fixes: c104c16073b7 ("Kunit to check the longest symbol length") Signed-off-by: Achill Gilgenast <fossdd@pwned.life> Cc: Luis Henriques <luis@igalia.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions