gh-127604: Add C stack dumps to faulthandler (#128159)

This commit is contained in:
Peter Bierma
2025-04-21 15:48:02 -04:00
committed by GitHub
parent ea8ec95cfa
commit 8dfa840773
13 changed files with 378 additions and 69 deletions

View File

@@ -2985,6 +2985,10 @@ AC_CHECK_HEADERS([ \
AC_HEADER_DIRENT
AC_HEADER_MAJOR
# for faulthandler
AC_CHECK_HEADERS([execinfo.h link.h dlfcn.h],
[AC_CHECK_FUNCS(backtrace backtrace_symbols dladdr1)])
# bluetooth/bluetooth.h has been known to not compile with -std=c99.
# http://permalink.gmane.org/gmane.linux.bluez.kernel/22294
SAVE_CFLAGS=$CFLAGS