[中文正文内容]

  1. Home
  2. Projects
  3. bfs
  4. acap
  5. bistring
  6. 2025
  7. Parallel ./configure
  8. The Alder Lake anomaly, explained
  9. The Alder Lake shlx anomaly
  10. 2024
  11. Rounding percentages
  12. Bug hunting in Btrfs
  13. 2023
  14. Translucent typedefs in C
  15. bfs 3.0: the fastest find yet!
  16. You could have invented futexes
  17. Irregular expressions
  18. 2022
  19. Fast, Branchless Ray/Bounding Box Intersections, Part 3: Boundaries
  20. Remote reboots with encrypted disks
  21. Parallelizing graph search with Rayon
  22. Long division
  23. 2020
  24. Proving that 1 + 1 = 10 in Rust
  25. OOMify
  26. Makeover
  27. Porting k-d forests to Rust
  28. 2018
  29. spawn() of Satan
  30. Cracking DHCE (Diffie-Hellman color exchange)
  31. 2017
  32. bfs from the ground up, part 3: optimization
  33. bfs from the ground up, part 2: parsing
  34. 2016
  35. A quick trick for faster naïve matrix multiplication
  36. bfs from the ground up, part 1: traversal
  37. The Approximating and Eliminating Search Algorithm
  38. 2015
  39. Java autoboxing performance
  40. Fast, Branchless Ray/Bounding Box Intersections, Part 2: NaNs
  41. 2014
  42. Efficient Integer Exponentiation in C
  43. Standards-compliant* alloca()
  44. The Visitor Pattern in Python
  45. Exact Bounding Boxes for Spheres/Ellipsoids
  46. A Beautiful Ray/Mesh Intersection Algorithm
  47. A Beautiful Ray/Triangle Intersection Method
  48. Announcing Sangria
  49. k-d Forests
  50. Big Numbers
  51. 2013
  52. Java Generics Quirks
  53. Fair and Square, or How to Count to a Googol
  54. 2012
  55. Iterating Over Binary Trees
  56. 2011
  57. Collisions
  58. Ray / Priority R-Tree Intersection
  59. Priority R-Trees
  60. Fast, Branchless Ray/Bounding Box Intersections
  61. Fast Binary-Coded Decimal Addition and Subtraction
  62. Facebook Hacker Cup Qualification Round: Double Squares
  63. 2010
  64. Righteous hack: getting 2⁶³ - 1 points in a silly Facebook game
  65. Solving Cubic Polynomials
  66. Solving Polynomials
  67. .com
  68. Résumé

tavianator.com

Parallel ./configure

2025-04-25 Tavian Barnes GitHub

我很抱歉,但在 2025 年,这种情况仍然很荒谬:

$ time ./configure

checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for leaf optimisation... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether the compiler is clang... no
checking for compiler option needed when checking for declarations... none
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for stdbool.h... yes
checking for byteswap.h... yes
checking for uchar.h... yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for dirent.h... yes
checking for endian.h... yes
checking for sys/endian.h... no
checking for error.h... yes
checking for fnmatch.h... yes
checking for stdio_ext.h... yes
checking for sys/vfs.h... yes
checking for netdb.h... yes
checking for getopt.h... yes
checking for sys/time.h... yes
checking for threads.h... yes
checking for limits.h... yes
checking for crtdefs.h... no
checking for wctype.h... yes
checking for langinfo.h... yes
checking for xlocale.h... no
checking for math.h... yes
checking for sys/mman.h... yes
checking for sys/statvfs.h... yes
checking for pthread.h... yes
checking for malloc.h... yes
checking for selinux/selinux.h... no
checking for stdckdint.h... yes
checking for sys/uio.h... yes
checking for sys/utsname.h... yes
checking for sys/wait.h... yes
checking for features.h... yes
checking for arpa/inet.h... yes
checking for netinet/in.h... yes
checking for semaphore.h... yes
checking for priv.h... no
checking for sys/select.h... yes
checking for sys/ioctl.h... yes
checking for sys/random.h... yes
checking for sys/un.h... yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for egrep -e... (cached) /usr/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking for gcc option to support large files... none needed
checking for gcc option to support timestamps after 2038... none needed
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc option to support large files... (cached) none needed
checking for gcc option to support timestamps after 2038... (cached) none needed
checking for lstat... yes
checking for btowc... yes
checking for mbrtowc... yes
checking for mbsinit... yes
checking for canonicalize_file_name... yes
checking for realpath... yes
checking for _set_invalid_parameter_handler... no
checking for fchdir... yes
checking for fdopendir... yes
checking for fcntl... yes
checking for symlink... yes
checking for fnmatch... yes
checking for mbsrtowcs... yes
checking for fpurge... no
checking for fstatat... yes
checking for openat... yes
checking for fstatfs... yes
checking for getdtablesize... yes
checking for getexecname... no
checking for gettimeofday... yes
checking for isblank... yes
checking for iswcntrl... yes
checking for mbslen... no
checking for isascii... yes
checking for mprotect... yes
checking for strftime_z... no
checking for __xpg_strerror_r... yes
checking for pipe... yes
checking for qsort_r... yes
checking for readlink... yes
checking for iswctype... yes
checking for setenv... yes
checking for snprintf... yes
checking for strndup... yes
checking for strtoumax... yes
checking for localtime_r... yes
checking for unlinkat... yes
checking for vasnprintf... no
checking for wcrtomb... yes
checking for wcwidth... yes
checking for geteuid... yes
checking for pselect... yes
checking for pthread_sigmask... yes
checking for secure_getenv... yes
checking for getuid... yes
checking for getgid... yes
checking for getegid... yes
checking for sleep... yes
checking for shutdown... yes
checking for usleep... yes
checking for wctob... yes
checking for vprintf... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether the preprocessor supports include_next... yes
checking whether source code line length is unlimited... yes
checking for wint_t... yes
checking whether wint_t is large enough... yes
checking whether  uses 'inline' correctly... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... none
checking whether char8_t is correctly defined... yes
checking whether char16_t is correctly defined... yes
checking whether char32_t is correctly defined... yes
checking for bit size of wchar_t... 32
checking for mbstate_t... yes
checking for a traditional japanese locale... none
checking for an english Unicode locale... en_US.UTF-8
checking for a transitional chinese locale... none
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... guessing yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether mbrtoc32 is declared... yes
checking for mbrtoc32... yes
checking whether mbrtoc32 works as well as mbrtowc... guessing yes
checking whether c32rtomb is declared... yes
checking for c32rtomb... yes
checking whether c32rtomb works as well as wcrtomb... guessing yes
checking whether malloc is ptrdiff_t safe... yes
checking whether malloc, realloc, calloc set errno on failure... yes
checking whether lstat correctly handles trailing slash... yes
checking whether // is distinct from /... no
checking whether realpath works... yes
checking for C/C++ restrict keyword... __restrict__
checking whether byte ordering is bigendian... no
checking if endian.h defines stdint types... no
checking if endian.h defines functions and macros... yes
checking if environ is properly declared... yes
checking for complete errno.h... yes
checking for error... yes
checking whether error_at_line is declared... yes
checking for error_at_line... yes
checking for working error function... yes
checking whether strerror_r is declared... yes
checking whether strerror_r returns char *... yes
checking for uid_t... yes
checking for gid_t... yes
checking type of array argument to getgroups... gid_t
checking whether ctype.h defines __header_inline... no
checking whether fchdir is declared... yes
checking for working fcntl.h... yes
checking for pid_t... yes
checking for mode_t... yes
checking for promoted mode_t type... mode_t
checking whether strmode is declared... no
checking whether fopen recognizes a trailing slash... yes
checking whether fflush works on input streams... no
checking whether stdin defaults to large file offsets... yes
checking for off64_t... yes
checking whether fseeko is declared... yes
checking for fseeko... yes
checking whether fflush works on input streams... (cached) no
checking whether stat file-mode macros are broken... no
checking for nlink_t... yes
checking whether ftello is declared... yes
checking whether ungetc works on arbitrary bytes... yes
checking for ftello... yes
checking whether ftello works... yes
checking for O_CLOEXEC... yes
checking whether getcwd (NULL, 0) allocates memory for result... yes
checking for getcwd with POSIX signature... yes
checking whether getcwd is declared... yes
checking whether alarm is declared... yes
checking whether getdelim is declared... yes
checking whether getdtablesize is declared... yes
checking whether getline is declared... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... yes
checking for working GNU getopt_long function... yes
checking for glibc-compatible sys/cdefs.h... yes
checking whether timespec_get is declared... yes
checking for timespec_get... yes
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking for pthread.h... (cached) yes
checking for pthread_kill in -lpthread... yes
checking whether POSIX threads API is available... yes
checking whether setlocale (LC_ALL, NULL) is multithread-safe... yes
checking whether setlocale (category, NULL) is multithread-safe... yes
checking for inline... inline
checking whether limits.h has WORD_BIT, BOOL_WIDTH etc.... yes
checking whether limits.h has SSIZE_MAX... yes
checking whether the compiler produces multi-arch binaries... no
checking whether stdint.h conforms to C99... yes
checking whether stdint.h works without ISO C predefines... yes
checking whether stdint.h has UINTMAX_WIDTH etc.... yes
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... yes
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... yes
checking where to find the exponent in a 'long double'... word 2 bit 0
checking whether long double and double are the same... no
checking where to find the exponent in a 'double'... word 1 bit 20
checking where to find the exponent in a 'float'... word 0 bit 23
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking whether wctype supports the "blank" and "punct" character classes... yes
checking whether langinfo.h defines CODESET... yes
checking whether langinfo.h defines T_FMT_AMPM... yes
checking whether langinfo.h defines ALTMON_1... yes
checking whether langinfo.h defines ERA... yes
checking whether langinfo.h defines YESEXPR... yes
checking for good max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for unreachable... no
checking whether nullptr_t needs ... no
checking for clean definition of __STDC_VERSION_STDDEF_H__... yes
checking whether locale.h defines locale_t... yes
checking whether locale.h conforms to POSIX:2001... yes
checking whether struct lconv is properly defined... yes
checking for LC_MESSAGES... yes
checking for uselocale... yes
checking whether uselocale works... yes
checking for fake locale system (OpenBSD)... no
checking for Solaris 11.4 locale system... no
checking for getlocalename_l... no
checking whether imported symbols can be declared weak... yes
checking for multithread API to use... posix
checking for a sed that does not truncate output... /usr/bin/sed
checking whether malloc (0) returns nonnull... yes
checking whether NAN macro works... yes
checking whether HUGE_VAL works... yes
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memrchr is declared... yes
checking whether  defines MIN and MAX... no
checking whether  defines MIN and MAX... yes
checking whether time_t is signed... yes
checking for working mktime... yes
checking whether trunc is declared... yes
checking for struct tm.tm_gmtoff... yes
checking for struct tm.tm_zone... yes
checking for compound literals... yes
checking whether strerror(0) succeeds... yes
checking for strerror_r... yes
checking for strerror_r with POSIX signature... no
checking whether __xpg_strerror_r works... yes
checking for pthread_t... yes
checking for pthread_spinlock_t... yes
checking for pthread_spin_init... yes
checking whether realloc should abort upon undefined behaviour... no
checking for ssize_t... yes
checking for sched.h... yes
checking for struct sched_param... yes
checking for library containing setfilecon... no
checking whether setenv is declared... yes
checking whether _putenv is declared... no
checking for search.h... yes
checking for tsearch... yes
checking whether snprintf returns a byte count as in C99... yes
checking whether printf supports POSIX/XSI format strings with positions... yes
checking whether snprintf is declared... yes
checking for library containing setsockopt... none needed
checking whether fcloseall is declared... yes
checking whether getw is declared... yes
checking whether putw is declared... yes
checking which flavor of printf attribute matches inttypes macros... system
checking whether ecvt is declared... yes
checking whether fcvt is declared... yes
checking whether gcvt is declared... yes
checking whether MB_CUR_MAX is correct... yes
checking for strcasestr... yes
checking whether strcasestr works... yes
checking whether strdup is declared... yes
checking whether strndup is declared... yes
checking whether strnlen is declared... yes
checking whether strstr works... yes
checking whether strtoumax is declared... yes
checking whether  is self-contained... yes
checking for shutdown... (cached) yes
checking whether  defines the SHUT_* macros... yes
checking for struct sockaddr_storage... yes
checking for sa_family_t... yes
checking for struct sockaddr_storage.ss_family... yes
checking for struct utsname... yes
checking for struct timespec in ... yes
checking for TIME_UTC in ... yes
checking whether execvpe is declared... yes
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether unsetenv is declared... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether snprintf truncates the result as in C99... yes
checking for wcslen... yes
checking for snprintf... (cached) yes
checking for strnlen... yes
checking for wcrtomb... (cached) yes
checking whether _snprintf is declared... no
checking whether wcsdup is declared... yes
checking for C compiler option to allow warnings... -Wno-error
checking for a french Unicode locale... none
checking for a turkish Unicode locale... none
checking for IPv4 sockets... yes
checking for IPv6 sockets... yes
checking for off_t... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyPreferredLanguages... no
checking for library needed for semaphore functions... none
checking whether  is self-contained... yes
checking for sigset_t... yes
checking whether initstate is declared... yes
checking whether setstate is declared... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... yes
checking whether ldexp() can be used without linking with libm... yes
checking whether  declares ioctl... yes
checking whether access honors trailing slash... yes
checking for alignas and alignof... yes,  macros
checking for alloca as a compiler built-in... yes
checking whether to enable assertions... yes
checking for static_assert... yes, an  macro
checking for bool, true, false... no
checking whether btowc(0) is correct... yes
checking whether btowc(EOF) is correct... guessing yes
checking whether btowc is consistent with mbrtowc in the C locale... no
checking for __builtin_expect... yes
checking for working bswap_16, bswap_32, bswap_64... yes
checking whether calloc (0, n) and calloc (n, 0) return nonnull... yes
checking for faccessat... yes
checking for readlinkat... yes
checking whether this system supports file names of any length... no
checking for library containing clock_gettime... none required
checking for clock_getres... yes
checking for clock_gettime... yes
checking for clock_settime... yes
checking for closedir... yes
checking for d_ino member in directory struct... yes
checking for d_type member in directory struct... yes
checking for dirfd... yes
checking whether dirfd is declared... yes
checking whether dirfd is a macro... no
checking whether // is distinct from /... (cached) no
checking whether dup works... yes
checking whether dup2 works... yes
checking for euidaccess... yes
checking for faccessat... (cached) yes
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check
checking whether fdopendir is declared... yes
checking whether fdopendir works... yes
checking whether fflush works on input streams... (cached) no
checking for struct stat.st_blocks... yes
checking for mempcpy... yes
checking for flexible array member... yes
checking whether float.h conforms to ISO C23... no
checking whether conversion from 'int' to 'long double' works... yes
checking for working GNU fnmatch... yes
checking whether fopen supports the mode character 'x'... yes
checking whether fopen supports the mode character 'e'... yes
checking for __fpending... yes
checking whether __fpending is declared... yes
checking for __fpurge... yes
checking whether fpurge is declared... no
checking for __freadahead... no
checking for __freading... yes
checking whether free is known to preserve errno... yes
checking for fseeko... (cached) yes
checking whether fflush works on input streams... (cached) no
checking for _fseeki64... no
checking whether fstatat (..., 0) works... yes
checking for ftello... (cached) yes
checking whether ftello works... (cached) yes
checking for struct statfs.f_type... yes
checking for __fsword_t... yes
checking for fts_open... yes
checking whether getcwd handles long file names properly... yes
checking whether getcwd succeeds when 4k < cwd_length < 16k... yes
checking for getdelim... yes
checking for working getdelim function... yes
checking whether getdtablesize works... yes
checking for getgroups... yes
checking for working getgroups... yes
checking whether getgroups handles negative values... yes
checking for gethostname... yes
checking for HOST_NAME_MAX... yes
checking for getline... yes
checking for working getline function... yes
checking for getprogname... no
checking whether program_invocation_name is declared... yes
checking whether program_invocation_name is declared... (cached) yes
checking whether program_invocation_short_name is declared... yes
checking whether __argv is declared... no
checking for gettimeofday with POSIX signature... yes
checking for group_member... yes
checking whether the compiler generally respects inline... yes
checking whether isfinite is declared... yes
checking whether isfinite(long double) works... yes
checking whether isinf is declared... yes
checking whether isinf(long double) works... yes
checking whether isnan(double) can be used without linking with libm... yes
checking whether isnan(float) can be used without linking with libm... yes
checking whether isnan(float) works... yes
checking whether isnan(long double) can be used without linking with libm... yes
checking whether isnanl works... yes
checking for iswblank... yes
checking whether iswblank is declared... yes
checking whether iswdigit is ISO C compliant... yes
checking whether iswpunct is consistent with ispunct... yes
checking whether iswxdigit is ISO C compliant... yes
checking whether the compiler supports the __inline keyword... yes
checking whether localeconv works... yes
checking for pthread_rwlock_t... yes
checking whether pthread_rwlock_rdlock prefers a writer to a reader... no
checking whether lseek detects pipes... yes
checking whether SEEK_DATA works but is incompatible with GNU... no
checking whether mbrtoc32 works on empty input... yes
checking whether the C locale is free of encoding errors... no
checking whether mbrtoc32 works in an UTF-8 locale... yes
checking whether mbrtowc handles a NULL pwc argument... yes
checking whether mbrtowc handles a NULL string argument... yes
checking whether mbrtowc has a correct return value... yes
checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes
checking whether mbrtowc stores incomplete characters... no
checking whether mbrtowc works on empty input... yes
checking whether the C locale is free of encoding errors... no
checking whether mbsrtowcs works... yes
checking whether the C locale is free of encoding errors... (cached) no
checking whether mbswidth is declared in ... no
checking for mbstate_t... (cached) yes
checking for mbtowc... yes
checking for mempcpy... (cached) yes
checking for memrchr... yes
checking for __mktime_internal... no
checking whether modf can be used without linking with libm... yes
checking for listmntent... no
checking for sys/ucred.h... no
checking for sys/mount.h... yes
checking for mntent.h... yes
checking for sys/fs_types.h... no
checking for struct fsstat.f_fstypename... no
checking for library containing getmntent... none required
checking for getmntent... yes
checking for mntctl function and struct vmount... no
checking for one-argument getmntent function... yes
checking for setmntent... yes
checking for endmntent... yes
checking for hasmntopt... yes
checking for sys/mntent.h... no
checking for sys/mkdev.h... no
checking for sys/sysmacros.h... yes
checking for struct statfs.f_fstypename... no
checking for nl_langinfo... yes
checking whether YESEXPR works... yes
checking whether open recognizes a trailing slash... yes
checking for opendir... yes
checking for bison... bison
checking for bison 2.4 or newer... 3.8.2, ok
checking whether perror matches strerror... yes
checking whether program_invocation_name is declared... (cached) yes
checking whether program_invocation_short_name is declared... (cached) yes
checking for PTHREAD_CREATE_DETACHED... yes
checking for PTHREAD_MUTEX_RECURSIVE... yes
checking for PTHREAD_MUTEX_ROBUST... yes
checking for PTHREAD_PROCESS_SHARED... yes
checking whether pthread_once works... yes
checking for qsort_r signature... GNU
checking for rawmemchr... yes
checking for readdir... yes
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... yes
checking whether readlink truncates results correctly... yes
checking for readlinkat... (cached) yes
checking whether readlinkat signature is correct... yes
checking whether realloc (..., 0) returns nonnull... no
checking for reallocarray... yes
checking for working re_compile_pattern... yes
checking for rewinddir... yes
checking whether rmdir works... yes
checking for rpmatch... yes
checking for selinux/flask.h... no
checking whether setenv validates arguments... yes
checking whether setlocale (LC_ALL, NULL) is multithread-safe... (cached) yes
checking whether setlocale (category, NULL) is multithread-safe... (cached) yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking