patching file NEWS The next patch would delete the file include/bits/local_lim.h, which does not exist! Applying it anyway. patching file include/bits/local_lim.h Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file include/bits/local_lim.h.rej patching file include/features.h patching file manual/creature.texi patching file nptl/tst-context1.c patching file stdlib/test-atexit-race-common.c patching file support/support_path_support_time64.c patching file sysdeps/posix/sysconf-pthread_stack_min.h patching file sysdeps/posix/sysconf.c patching file sysdeps/unix/sysv/linux/Makefile Hunk #1 FAILED at 108. 1 out of 1 hunk FAILED -- saving rejects to file sysdeps/unix/sysv/linux/Makefile.rej patching file sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h patching file sysdeps/unix/sysv/linux/aarch64/bits/pthread_stack_min.h patching file sysdeps/unix/sysv/linux/alpha/bits/local_lim.h patching file sysdeps/unix/sysv/linux/alpha/bits/pthread_stack_min.h patching file sysdeps/unix/sysv/linux/bits/local_lim.h Hunk #1 FAILED at 78. 1 out of 1 hunk FAILED -- saving rejects to file sysdeps/unix/sysv/linux/bits/local_lim.h.rej patching file sysdeps/unix/sysv/linux/bits/pthread_stack_min.h patching file sysdeps/unix/sysv/linux/bits/sigstksz.h patching file sysdeps/unix/sysv/linux/ia64/bits/local_lim.h patching file sysdeps/unix/sysv/linux/ia64/bits/pthread_stack_min.h patching file sysdeps/unix/sysv/linux/mips/bits/local_lim.h patching file sysdeps/unix/sysv/linux/mips/bits/pthread_stack_min.h patching file sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h patching file sysdeps/unix/sysv/linux/powerpc/bits/pthread_stack_min.h patching file sysdeps/unix/sysv/linux/sparc/bits/local_lim.h patching file sysdeps/unix/sysv/linux/sparc/bits/pthread_stack_min.h patching file sysdeps/unix/sysv/linux/sysconf-pthread_stack_min.h Reject file include/bits/local_lim.h.rej: --- include/bits/local_lim.h +++ include/bits/local_lim.h @@ -1,7 +0,0 @@ -/* Don't define PTHREAD_STACK_MIN to sysconf (_SC_THREAD_STACK_MIN) for - glibc build. */ -#if !defined _ISOMAC -# undef __USE_DYNAMIC_STACK_SIZE -#endif - -#include_next Reject file sysdeps/unix/sysv/linux/Makefile.rej: --- sysdeps/unix/sysv/linux/Makefile +++ sysdeps/unix/sysv/linux/Makefile @@ -108,8 +108,7 @@ sysdep_headers += sys/mount.h sys/acct.h \ bits/types/struct_semid64_ds.h \ bits/types/struct_semid64_ds_helper.h \ bits/types/struct_shmid64_ds.h \ - bits/types/struct_shmid64_ds_helper.h \ - bits/pthread_stack_min.h + bits/types/struct_shmid64_ds_helper.h tests += tst-clone tst-clone2 tst-clone3 tst-fanotify tst-personality \ tst-quota tst-sync_file_range tst-sysconf-iov_max tst-ttyname \ Reject file sysdeps/unix/sysv/linux/bits/local_lim.h.rej: --- sysdeps/unix/sysv/linux/bits/local_lim.h +++ sysdeps/unix/sysv/linux/bits/local_lim.h @@ -78,13 +78,7 @@ #define AIO_PRIO_DELTA_MAX 20 /* Minimum size for a thread. We are free to choose a reasonable value. */ -#undef PTHREAD_STACK_MIN -#if defined __USE_DYNAMIC_STACK_SIZE && __USE_DYNAMIC_STACK_SIZE -# include -# define PTHREAD_STACK_MIN sysconf (_SC_THREAD_STACK_MIN) -#else -# include -#endif +#define PTHREAD_STACK_MIN 16384 /* Maximum number of timer expiration overruns. */ #define DELAYTIMER_MAX 2147483647