File tree Expand file tree Collapse file tree 5 files changed +11
-5
lines changed
Misc/NEWS.d/next/Core and Builtins Expand file tree Collapse file tree 5 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1+ Check for the existence of the "sys/auxv.h" header in :mod: `faulthandler ` to
2+ avoid compilation problems in systems where this header doesn't exist. Patch
3+ by Pablo Galindo
Original file line number Diff line number Diff line change 2323# define FAULTHANDLER_USE_ALT_STACK
2424#endif
2525
26- #if defined(FAULTHANDLER_USE_ALT_STACK ) && defined(HAVE_LINUX_AUXVEC_H )
27- # include <linux/auxvec.h>
28- # include <sys/auxv.h>
26+ #if defined(FAULTHANDLER_USE_ALT_STACK ) && defined(HAVE_LINUX_AUXVEC_H ) && defined( HAVE_SYS_AUXV_H )
27+ # include <linux/auxvec.h> // AT_MINSIGSTKSZ
28+ # include <sys/auxv.h> // getauxval()
2929#endif
3030
3131/* Allocate at maximum 100 MiB of the stack to raise the stack overflow */
Original file line number Diff line number Diff line change @@ -8101,7 +8101,7 @@ sys/stat.h sys/syscall.h sys/sys_domain.h sys/termio.h sys/time.h \
81018101sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h \
81028102libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
81038103linux/tipc.h linux/random.h spawn.h util.h alloca.h endian.h \
8104- sys/endian.h sys/sysmacros.h linux/auxvec.h linux/memfd.h linux/wait.h sys/memfd.h \
8104+ sys/endian.h sys/sysmacros.h linux/auxvec.h sys/auxv.h linux/memfd.h linux/wait.h sys/memfd.h \
81058105sys/mman.h sys/eventfd.h
81068106do :
81078107 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
Original file line number Diff line number Diff line change @@ -2225,7 +2225,7 @@ sys/stat.h sys/syscall.h sys/sys_domain.h sys/termio.h sys/time.h \
22252225sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h \
22262226libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
22272227linux/tipc.h linux/random.h spawn.h util.h alloca.h endian.h \
2228- sys/endian.h sys/sysmacros.h linux/auxvec.h linux/memfd.h linux/wait.h sys/memfd.h \
2228+ sys/endian.h sys/sysmacros.h linux/auxvec.h sys/auxv.h linux/memfd.h linux/wait.h sys/memfd.h \
22292229sys/mman.h sys/eventfd.h )
22302230AC_HEADER_DIRENT
22312231AC_HEADER_MAJOR
Original file line number Diff line number Diff line change 11281128/* Define to 1 if you have the <sys/audioio.h> header file. */
11291129#undef HAVE_SYS_AUDIOIO_H
11301130
1131+ /* Define to 1 if you have the <sys/auxv.h> header file. */
1132+ #undef HAVE_SYS_AUXV_H
1133+
11311134/* Define to 1 if you have the <sys/bsdtty.h> header file. */
11321135#undef HAVE_SYS_BSDTTY_H
11331136
You can’t perform that action at this time.
0 commit comments