New issue by oreo639 on void-packages repository https://github.com/void-linux/void-packages/issues/41159 Description: This was something noticed by sgn and I when debugging the ldc crash on musl when testing the gcc 12 update. When a segfault occurs, instead of printing the stack trace, libexecinfo either returns 0 or segfaults. (ultimately not really accomplishing anything) This is something that was noticed in Alpine as well: https://gitlab.alpinelinux.org/alpine/aports/-/issues/10896 Alpine came to a decision between either fixing libexecinfo or removing it: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/36722 They chose the latter as they felt it wasn't useful for the end user and there was no loss of functionality vs staying with the broken libexeinfo. https://gitlab.alpinelinux.org/alpine/aports/-/commit/50795a14dee639ce2dcc836e2b2baca9bad4a1b1 There is also a supposedly fixed version libexecinfo using libelf here: https://git.ddd.rip/psykose/libexecinfo The downside of using this implementation is that the abi is different meaning that all applications using libexecinfo will need to be recompiled. I also haven't tested it, so I can't confirm how well it works or if there are other considerations.