[20:59:26.466] time ./configure \ [20:59:26.466] --host=x86_64-w64-mingw32 \ [20:59:26.466] --enable-cassert \ [20:59:26.466] --without-icu \ [20:59:26.466] CC="ccache x86_64-w64-mingw32-gcc" \ [20:59:26.466] CXX="ccache x86_64-w64-mingw32-g++" [20:59:26.596] checking build system type... x86_64-pc-linux-gnu [20:59:26.758] checking host system type... x86_64-w64-mingw32 [20:59:26.764] checking which template to use... win32 [20:59:26.764] checking whether NLS is wanted... no [20:59:26.764] checking for default port number... 5432 [20:59:26.772] checking for block size... 8kB [20:59:26.773] checking for segment size... 1GB [20:59:26.776] checking for WAL block size... 8kB [20:59:26.777] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [20:59:26.812] checking whether the C compiler works... yes [20:59:26.938] checking for C compiler default output file name... a.exe [20:59:26.940] checking for suffix of executables... .exe [20:59:26.986] checking whether we are cross compiling... yes [20:59:27.066] checking for suffix of object files... o [20:59:27.075] checking whether we are using the GNU C compiler... yes [20:59:27.082] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [20:59:27.090] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [20:59:27.101] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [20:59:27.160] checking whether we are using the GNU C++ compiler... yes [20:59:27.167] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [20:59:27.241] checking for gawk... no [20:59:27.241] checking for mawk... mawk [20:59:27.244] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [20:59:27.251] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [20:59:27.259] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [20:59:27.306] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [20:59:27.475] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [20:59:27.482] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [20:59:27.489] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [20:59:27.497] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [20:59:27.503] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [20:59:27.511] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [20:59:27.518] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [20:59:27.525] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [20:59:27.533] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [20:59:27.540] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [20:59:27.548] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [20:59:27.555] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [20:59:27.563] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [20:59:27.605] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [20:59:27.612] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [20:59:27.620] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [20:59:27.627] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [20:59:27.634] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [20:59:27.642] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [20:59:27.667] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [20:59:27.674] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [20:59:27.681] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [20:59:27.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [20:59:27.763] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [20:59:27.770] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [20:59:27.778] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [20:59:27.815] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [20:59:27.822] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [20:59:27.830] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [20:59:27.838] checking whether the C compiler still works... yes [20:59:27.905] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [20:59:27.978] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [20:59:27.979] checking pkg-config is at least version 0.9.0... yes [20:59:27.995] checking whether to build with ICU support... no [20:59:27.995] checking whether to build with Tcl... no [20:59:27.995] checking whether to build Perl modules... no [20:59:27.996] checking whether to build Python modules... no [20:59:27.996] checking whether to build with GSSAPI support... no [20:59:27.997] checking whether to build with PAM support... no [20:59:27.997] checking whether to build with BSD Authentication support... no [20:59:27.997] checking whether to build with LDAP support... no [20:59:27.997] checking whether to build with Bonjour support... no [20:59:27.997] checking whether to build with SELinux support... no [20:59:27.997] checking whether to build with systemd support... no [20:59:27.998] configure: WARNING: *** Readline does not work on MinGW --- disabling [20:59:27.998] checking whether to build with XML support... no [20:59:27.998] checking whether to build with LZ4 support... no [20:59:27.998] checking whether to build with ZSTD support... no [20:59:27.998] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [20:59:27.999] checking whether it is possible to strip libraries... yes [20:59:28.005] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [20:59:28.005] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [20:59:28.006] checking for a BSD-compatible install... /usr/bin/install -c [20:59:28.015] checking for tar... /usr/bin/tar [20:59:28.015] checking whether ln -s works... yes [20:59:28.015] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [20:59:28.018] checking for bison... /usr/bin/bison [20:59:28.020] configure: using bison (GNU Bison) 3.8.2 [20:59:28.023] checking for flex... /usr/bin/flex [20:59:28.026] configure: using flex 2.6.4 [20:59:28.026] checking for perl... /usr/bin/perl [20:59:28.029] configure: using perl 5.36.0 [20:59:28.031] checking for zic... /usr/sbin/zic [20:59:28.031] checking for a sed that does not truncate output... /usr/bin/sed [20:59:28.036] checking for grep that handles long lines and -e... /usr/bin/grep [20:59:28.038] checking for egrep... /usr/bin/grep -E [20:59:28.040] checking for ANSI C header files... yes [20:59:28.091] checking for sys/types.h... yes [20:59:28.108] checking for sys/stat.h... yes [20:59:28.124] checking for stdlib.h... yes [20:59:28.139] checking for string.h... yes [20:59:28.154] checking for memory.h... yes [20:59:28.169] checking for strings.h... yes [20:59:28.185] checking for inttypes.h... yes [20:59:28.202] checking for stdint.h... yes [20:59:28.217] checking for unistd.h... yes [20:59:28.234] checking for main in -lm... yes [20:59:28.285] checking for library containing setproctitle... no [20:59:28.381] checking for library containing dlsym... no [20:59:28.477] checking for library containing socket... -lws2_32 [20:59:28.617] checking for library containing getopt_long... none required [20:59:28.668] checking for library containing shm_open... no [20:59:28.763] checking for library containing shm_unlink... no [20:59:28.859] checking for library containing clock_gettime... no [20:59:28.953] checking for library containing shmget... no [20:59:29.047] checking for library containing backtrace_symbols... no [20:59:29.142] checking for library containing pthread_barrier_wait... -lpthread [20:59:29.239] checking for inflate in -lz... yes [20:59:29.291] checking atomic.h usability... no [20:59:29.356] checking atomic.h presence... no [20:59:29.376] checking for atomic.h... no [20:59:29.379] checking copyfile.h usability... no [20:59:29.439] checking copyfile.h presence... no [20:59:29.459] checking for copyfile.h... no [20:59:29.462] checking execinfo.h usability... no [20:59:29.521] checking execinfo.h presence... no [20:59:29.542] checking for execinfo.h... no [20:59:29.546] checking getopt.h usability... yes [20:59:29.554] checking getopt.h presence... yes [20:59:29.571] checking for getopt.h... yes [20:59:29.579] checking ifaddrs.h usability... no [20:59:29.638] checking ifaddrs.h presence... no [20:59:29.658] checking for ifaddrs.h... no [20:59:29.661] checking mbarrier.h usability... no [20:59:29.721] checking mbarrier.h presence... no [20:59:29.740] checking for mbarrier.h... no [20:59:29.744] checking sys/epoll.h usability... no [20:59:29.802] checking sys/epoll.h presence... no [20:59:29.821] checking for sys/epoll.h... no [20:59:29.824] checking sys/event.h usability... no [20:59:29.881] checking sys/event.h presence... no [20:59:29.901] checking for sys/event.h... no [20:59:29.905] checking sys/personality.h usability... no [20:59:29.963] checking sys/personality.h presence... no [20:59:29.984] checking for sys/personality.h... no [20:59:29.987] checking sys/prctl.h usability... no [20:59:30.049] checking sys/prctl.h presence... no [20:59:30.069] checking for sys/prctl.h... no [20:59:30.072] checking sys/procctl.h usability... no [20:59:30.131] checking sys/procctl.h presence... no [20:59:30.150] checking for sys/procctl.h... no [20:59:30.154] checking sys/signalfd.h usability... no [20:59:30.212] checking sys/signalfd.h presence... no [20:59:30.232] checking for sys/signalfd.h... no [20:59:30.235] checking sys/ucred.h usability... no [20:59:30.292] checking sys/ucred.h presence... no [20:59:30.312] checking for sys/ucred.h... no [20:59:30.316] checking termios.h usability... no [20:59:30.374] checking termios.h presence... no [20:59:30.393] checking for termios.h... no [20:59:30.397] checking ucred.h usability... no [20:59:30.455] checking ucred.h presence... no [20:59:30.475] checking for ucred.h... no [20:59:30.478] checking xlocale.h usability... no [20:59:30.535] checking xlocale.h presence... no [20:59:30.553] checking for xlocale.h... no [20:59:30.557] checking zlib.h usability... yes [20:59:30.567] checking zlib.h presence... yes [20:59:30.587] checking for zlib.h... yes [20:59:30.587] checking for lz4... /usr/bin/lz4 [20:59:30.588] checking for zstd... /usr/bin/zstd [20:59:30.588] checking for openssl... /usr/bin/openssl [20:59:30.593] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [20:59:30.593] checking crtdefs.h usability... yes [20:59:30.600] checking crtdefs.h presence... yes [20:59:30.615] checking for crtdefs.h... yes [20:59:30.616] checking whether byte ordering is bigendian... no [20:59:30.691] checking for inline... inline [20:59:30.698] checking for printf format archetype... gnu_printf [20:59:30.706] checking for _Static_assert... yes [20:59:30.751] checking for typeof... typeof [20:59:30.759] checking for __builtin_types_compatible_p... yes [20:59:30.769] checking for __builtin_constant_p... yes [20:59:30.781] checking for __builtin_mul_overflow... yes [20:59:30.833] checking for __builtin_unreachable... yes [20:59:30.878] checking for computed goto support... yes [20:59:30.885] checking for struct tm.tm_zone... no [20:59:30.970] checking for union semun... no [20:59:31.005] checking for socklen_t... yes [20:59:32.161] checking for struct sockaddr.sa_len... no [20:59:34.201] checking for C/C++ restrict keyword... __restrict [20:59:34.215] checking for struct option... yes [20:59:34.262] checking whether assembler supports x86_64 popcntq... yes [20:59:34.270] checking size of off_t... 4 [20:59:34.493] 0 [20:59:34.494] checking for int timezone... yes [20:59:34.548] checking for backtrace_symbols... no [20:59:34.603] checking for copyfile... no [20:59:34.658] checking for copy_file_range... no [20:59:34.712] checking for elf_aux_info... no [20:59:34.767] checking for getauxval... no [20:59:34.822] checking for getifaddrs... no [20:59:34.876] checking for getpeerucred... no [20:59:34.930] checking for inet_pton... yes [20:59:34.984] checking for kqueue... no [20:59:35.038] checking for mbstowcs_l... no [20:59:35.092] checking for memset_s... no [20:59:35.147] checking for posix_fallocate... no [20:59:35.204] checking for ppoll... no [20:59:35.259] checking for pthread_is_threaded_np... no [20:59:35.313] checking for setproctitle... no [20:59:35.367] checking for setproctitle_fast... no [20:59:35.421] checking for strchrnul... no [20:59:35.473] checking for strsignal... no [20:59:35.527] checking for syncfs... no [20:59:35.582] checking for sync_file_range... no [20:59:35.635] checking for uselocale... no [20:59:35.687] checking for wcstombs_l... no [20:59:35.738] checking for __builtin_bswap16... yes [20:59:35.790] checking for __builtin_bswap32... yes [20:59:35.839] checking for __builtin_bswap64... yes [20:59:35.887] checking for __builtin_clz... yes [20:59:35.940] checking for __builtin_ctz... yes [20:59:35.989] checking for __builtin_popcount... yes [20:59:36.038] checking for __builtin_frame_address... yes [20:59:36.088] checking for _LARGEFILE_SOURCE value needed for large files... no [20:59:36.143] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [20:59:36.176] checking for posix_fadvise... no [20:59:36.230] checking whether posix_fadvise is declared... no [20:59:36.278] checking whether fdatasync is declared... no [20:59:36.327] checking whether strlcat is declared... no [20:59:36.395] checking whether strlcpy is declared... no [20:59:36.462] checking whether strnlen is declared... yes [20:59:36.476] checking whether strsep is declared... no [20:59:36.542] checking whether preadv is declared... no [20:59:36.580] checking whether pwritev is declared... no [20:59:36.617] checking whether F_FULLFSYNC is declared... no [20:59:36.658] checking for explicit_bzero... no [20:59:36.707] checking for getopt... yes [20:59:36.753] checking for getpeereid... no [20:59:36.803] checking for inet_aton... no [20:59:36.852] checking for mkdtemp... no [20:59:36.901] checking for strlcat... no [20:59:36.951] checking for strlcpy... no [20:59:37.003] checking for strnlen... yes [20:59:37.056] checking for strsep... no [20:59:37.106] checking for pthread_barrier_wait... yes [20:59:37.154] configure: On mingw32 we will use our strtof wrapper. [20:59:37.154] checking for getopt_long... yes [20:59:37.203] checking for syslog... no [20:59:37.254] checking for opterr... yes [20:59:37.304] checking for optreset... no [20:59:37.357] checking test program... cross-compiling [20:59:37.357] checking size of void *... 8 [20:59:37.642] checking size of size_t... 8 [20:59:37.932] checking size of long... 4 [20:59:38.148] checking size of long long... 8 [20:59:38.439] checking alignment of short... 2 [20:59:38.586] checking alignment of int... 4 [20:59:38.804] checking alignment of long... 4 [20:59:39.018] checking alignment of int64_t... 8 [20:59:39.299] checking alignment of double... 8 [20:59:39.594] checking for __int128... yes [20:59:39.650] checking for __int128 alignment bug... assuming ok [20:59:39.650] checking alignment of PG_INT128_TYPE... 16 [20:59:40.007] checking for builtin __sync char locking functions... yes [20:59:40.055] checking for builtin __sync int32 locking functions... yes [20:59:40.102] checking for builtin __sync int32 atomic operations... yes [20:59:40.149] checking for builtin __sync int64 atomic operations... yes [20:59:40.198] checking for builtin __atomic int32 atomic operations... yes [20:59:40.246] checking for builtin __atomic int64 atomic operations... yes [20:59:40.294] checking for __get_cpuid... yes [20:59:40.347] checking for __get_cpuid_count... yes [20:59:40.397] checking for __cpuid... no [20:59:40.811] checking for __cpuidex... no [20:59:41.251] checking for _xgetbv... yes [20:59:41.674] checking for _mm512_popcnt_epi64... yes [20:59:42.104] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [20:59:42.211] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:59:42.235] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [20:59:42.255] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:59:42.276] checking for __builtin_loongarch_crcc_w_b_w, __builtin_loongarch_crcc_w_h_w, __builtin_loongarch_crcc_w_w_w and __builtin_loongarch_crcc_w_d_w... no [20:59:42.335] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:59:42.336] checking which random number source to use... Windows native [20:59:42.338] checking for xmllint... /usr/bin/xmllint [20:59:42.338] checking for xsltproc... /usr/bin/xsltproc [20:59:42.338] checking for fop... /usr/bin/fop [20:59:42.339] checking for dbtoepub... no [20:59:42.339] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:59:42.339] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:59:42.339] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [20:59:42.350] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [20:59:42.350] configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 [20:59:42.350] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [20:59:42.350] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:59:42.437] configure: creating ./config.status [20:59:42.531] config.status: creating GNUmakefile [20:59:42.545] config.status: creating src/Makefile.global [20:59:42.561] config.status: creating src/include/pg_config.h [20:59:42.575] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:59:42.591] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [20:59:42.599] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:59:42.606] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:59:42.614] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:59:42.622] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:59:42.625] config.status: executing check_win32_symlinks commands [20:59:42.661] [20:59:42.661] real 0m16.195s [20:59:42.661] user 0m10.973s [20:59:42.661] sys 0m4.978s [20:59:42.661] make -s -j${BUILD_JOBS} clean [20:59:43.178] time make -s -j${BUILD_JOBS} world-bin [20:59:55.143] In file included from ../../../../src/include/postgres.h:48, [20:59:55.143] from allpaths.c:16: [20:59:55.143] allpaths.c: In function ‘starjoin_join_search’: [20:59:55.143] allpaths.c:3455:53: error: ‘startlev’ undeclared (first use in this function); did you mean ‘strrev’? [20:59:55.143] 3455 | Assert(root->join_rel_level[startlev] != NIL); [20:59:55.143] | ^~~~~~~~ [20:59:55.143] ../../../../src/include/c.h:832:23: note: in definition of macro ‘Assert’ [20:59:55.143] 832 | if (!(condition)) \ [20:59:55.143] | ^~~~~~~~~ [20:59:55.143] allpaths.c:3455:53: note: each undeclared identifier is reported only once for each function it appears in [20:59:55.143] 3455 | Assert(root->join_rel_level[startlev] != NIL); [20:59:55.143] | ^~~~~~~~ [20:59:55.143] ../../../../src/include/c.h:832:23: note: in definition of macro ‘Assert’ [20:59:55.143] 832 | if (!(condition)) \ [20:59:55.143] | ^~~~~~~~~ [20:59:55.144] make[4]: *** [: allpaths.o] Error 1 [20:59:55.144] make[3]: *** [../../../src/backend/common.mk:37: path-recursive] Error 2 [20:59:55.144] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [20:59:55.144] make[2]: *** Waiting for unfinished jobs.... [20:59:56.214] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:59:56.215] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:59:56.215] [20:59:56.215] real 0m13.037s [20:59:56.215] user 0m32.356s [20:59:56.215] sys 0m13.059s [20:59:56.215] [20:59:56.215] Exit status: 2