On Thu, 09 Apr 2026 20:38:47 +0500, Hisam Mehboob wrote:
> The backtrace() function and execinfo.h are GNU extensions available
> in glibc but not in non-glibc C libraries such as musl. Building KVM
> selftests with musl-gcc fails with:
>
> lib/assert.c:9:10: fatal error: execinfo.h: No such file or directory
>
> Fix this by guarding the inclusion of execinfo.h and the stack dumping
> logic under #ifdef __GLIBC__. For non-glibc builds, provide a local
> stub for test_dump_stack().
>
> [...]
Applied to kvm-x86 fixes, thanks!
[1/1] KVM: selftests: Guard execinfo.h inclusion for non-glibc builds
https://github.com/kvm-x86/linux/commit/34065a5f3cf9
--
https://github.com/kvm-x86/linux/tree/next