[22:00:32.350] time ./configure \ [22:00:32.350] --host=x86_64-w64-mingw32 \ [22:00:32.350] --enable-cassert \ [22:00:32.350] --without-icu \ [22:00:32.350] CC="ccache x86_64-w64-mingw32-gcc" \ [22:00:32.350] CXX="ccache x86_64-w64-mingw32-g++" [22:00:32.487] checking build system type... x86_64-pc-linux-gnu [22:00:32.695] checking host system type... x86_64-w64-mingw32 [22:00:32.702] checking which template to use... win32 [22:00:32.703] checking whether NLS is wanted... no [22:00:32.703] checking for default port number... 5432 [22:00:32.711] checking for block size... 8kB [22:00:32.712] checking for segment size... 1GB [22:00:32.715] checking for WAL block size... 8kB [22:00:32.717] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:00:32.755] checking whether the C compiler works... yes [22:00:32.900] checking for C compiler default output file name... a.exe [22:00:32.901] checking for suffix of executables... .exe [22:00:32.948] checking whether we are cross compiling... yes [22:00:33.035] checking for suffix of object files... o [22:00:33.044] checking whether we are using the GNU C compiler... yes [22:00:33.052] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:00:33.060] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:00:33.073] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:00:33.140] checking whether we are using the GNU C++ compiler... yes [22:00:33.148] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:00:33.228] checking for gawk... no [22:00:33.228] checking for mawk... mawk [22:00:33.231] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:00:33.239] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:00:33.247] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:00:33.300] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:00:33.485] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:00:33.494] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:00:33.502] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:00:33.510] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:00:33.517] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:00:33.525] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:00:33.534] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:00:33.542] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:00:33.549] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:00:33.557] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:00:33.565] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:00:33.573] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:00:33.581] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:00:33.622] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:00:33.630] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:00:33.638] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:00:33.646] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:00:33.654] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:00:33.662] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:00:33.691] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:00:33.699] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:00:33.707] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:00:33.748] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:00:33.795] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:00:33.803] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:00:33.812] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:00:33.851] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:00:33.859] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:00:33.867] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:00:33.877] checking whether the C compiler still works... yes [22:00:33.949] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:00:34.031] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:00:34.032] checking pkg-config is at least version 0.9.0... yes [22:00:34.050] checking whether to build with ICU support... no [22:00:34.050] checking whether to build with Tcl... no [22:00:34.050] checking whether to build Perl modules... no [22:00:34.051] checking whether to build Python modules... no [22:00:34.051] checking whether to build with GSSAPI support... no [22:00:34.052] checking whether to build with PAM support... no [22:00:34.052] checking whether to build with BSD Authentication support... no [22:00:34.052] checking whether to build with LDAP support... no [22:00:34.052] checking whether to build with Bonjour support... no [22:00:34.052] checking whether to build with SELinux support... no [22:00:34.052] checking whether to build with systemd support... no [22:00:34.053] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:00:34.053] checking whether to build with libcurl support... no [22:00:34.053] checking whether to build with XML support... no [22:00:34.053] checking whether to build with LZ4 support... no [22:00:34.054] checking whether to build with ZSTD support... no [22:00:34.054] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:00:34.054] checking whether it is possible to strip libraries... yes [22:00:34.061] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:00:34.062] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:00:34.062] checking for a BSD-compatible install... /usr/bin/install -c [22:00:34.073] checking for tar... /usr/bin/tar [22:00:34.073] checking whether ln -s works... yes [22:00:34.073] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:00:34.075] checking for bison... /usr/bin/bison [22:00:34.078] configure: using bison (GNU Bison) 3.8.2 [22:00:34.081] checking for flex... /usr/bin/flex [22:00:34.083] configure: using flex 2.6.4 [22:00:34.084] checking for perl... /usr/bin/perl [22:00:34.087] configure: using perl 5.36.0 [22:00:34.089] checking for zic... /usr/sbin/zic [22:00:34.089] checking for a sed that does not truncate output... /usr/bin/sed [22:00:34.095] checking for grep that handles long lines and -e... /usr/bin/grep [22:00:34.098] checking for egrep... /usr/bin/grep -E [22:00:34.100] checking for ANSI C header files... yes [22:00:34.152] checking for sys/types.h... yes [22:00:34.171] checking for sys/stat.h... yes [22:00:34.189] checking for stdlib.h... yes [22:00:34.206] checking for string.h... yes [22:00:34.222] checking for memory.h... yes [22:00:34.241] checking for strings.h... yes [22:00:34.257] checking for inttypes.h... yes [22:00:34.276] checking for stdint.h... yes [22:00:34.293] checking for unistd.h... yes [22:00:34.311] checking for main in -lm... yes [22:00:34.366] checking for library containing setproctitle... no [22:00:34.465] checking for library containing dlsym... no [22:00:34.563] checking for library containing socket... -lws2_32 [22:00:34.709] checking for library containing getopt_long... none required [22:00:34.761] checking for library containing shm_open... no [22:00:34.856] checking for library containing shm_unlink... no [22:00:34.956] checking for library containing clock_gettime... no [22:00:35.056] checking for library containing shmget... no [22:00:35.155] checking for library containing backtrace_symbols... no [22:00:35.255] checking for library containing pthread_barrier_wait... -lpthread [22:00:35.351] checking for inflate in -lz... yes [22:00:35.406] checking atomic.h usability... no [22:00:35.470] checking atomic.h presence... no [22:00:35.492] checking for atomic.h... no [22:00:35.495] checking copyfile.h usability... no [22:00:35.559] checking copyfile.h presence... no [22:00:35.581] checking for copyfile.h... no [22:00:35.585] checking execinfo.h usability... no [22:00:35.649] checking execinfo.h presence... no [22:00:35.670] checking for execinfo.h... no [22:00:35.674] checking getopt.h usability... yes [22:00:35.682] checking getopt.h presence... yes [22:00:35.698] checking for getopt.h... yes [22:00:35.706] checking ifaddrs.h usability... no [22:00:35.767] checking ifaddrs.h presence... no [22:00:35.788] checking for ifaddrs.h... no [22:00:35.792] checking mbarrier.h usability... no [22:00:35.853] checking mbarrier.h presence... no [22:00:35.875] checking for mbarrier.h... no [22:00:35.879] checking sys/epoll.h usability... no [22:00:35.938] checking sys/epoll.h presence... no [22:00:35.960] checking for sys/epoll.h... no [22:00:35.964] checking sys/event.h usability... no [22:00:36.027] checking sys/event.h presence... no [22:00:36.049] checking for sys/event.h... no [22:00:36.053] checking sys/personality.h usability... no [22:00:36.116] checking sys/personality.h presence... no [22:00:36.139] checking for sys/personality.h... no [22:00:36.143] checking sys/prctl.h usability... no [22:00:36.206] checking sys/prctl.h presence... no [22:00:36.228] checking for sys/prctl.h... no [22:00:36.232] checking sys/procctl.h usability... no [22:00:36.295] checking sys/procctl.h presence... no [22:00:36.317] checking for sys/procctl.h... no [22:00:36.321] checking sys/signalfd.h usability... no [22:00:36.382] checking sys/signalfd.h presence... no [22:00:36.404] checking for sys/signalfd.h... no [22:00:36.408] checking sys/ucred.h usability... no [22:00:36.469] checking sys/ucred.h presence... no [22:00:36.490] checking for sys/ucred.h... no [22:00:36.494] checking termios.h usability... no [22:00:36.561] checking termios.h presence... no [22:00:36.583] checking for termios.h... no [22:00:36.587] checking ucred.h usability... no [22:00:36.648] checking ucred.h presence... no [22:00:36.669] checking for ucred.h... no [22:00:36.673] checking xlocale.h usability... no [22:00:36.735] checking xlocale.h presence... no [22:00:36.756] checking for xlocale.h... no [22:00:36.760] checking zlib.h usability... yes [22:00:36.770] checking zlib.h presence... yes [22:00:36.792] checking for zlib.h... yes [22:00:36.792] checking for lz4... /usr/bin/lz4 [22:00:36.792] checking for zstd... /usr/bin/zstd [22:00:36.793] checking for openssl... /usr/bin/openssl [22:00:36.798] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [22:00:36.798] checking crtdefs.h usability... yes [22:00:36.807] checking crtdefs.h presence... yes [22:00:36.824] checking for crtdefs.h... yes [22:00:36.825] checking whether byte ordering is bigendian... no [22:00:36.904] checking for inline... inline [22:00:36.912] checking for printf format archetype... gnu_printf [22:00:36.921] checking for _Static_assert... yes [22:00:36.967] checking for typeof... typeof [22:00:36.976] checking for __builtin_types_compatible_p... yes [22:00:36.989] checking for __builtin_constant_p... yes [22:00:37.002] checking for __builtin_mul_overflow... yes [22:00:37.057] checking for __builtin_unreachable... yes [22:00:37.106] checking for computed goto support... yes [22:00:37.115] checking for struct tm.tm_zone... no [22:00:37.203] checking for union semun... no [22:00:37.242] checking for socklen_t... yes [22:00:38.466] checking for struct sockaddr.sa_len... no [22:00:40.716] checking for C/C++ restrict keyword... __restrict [22:00:40.732] checking for struct option... yes [22:00:40.781] checking whether assembler supports x86_64 popcntq... yes [22:00:40.790] checking size of off_t... 4 [22:00:41.028] 0 [22:00:41.028] checking for int timezone... yes [22:00:41.088] checking for backtrace_symbols... no [22:00:41.145] checking for copyfile... no [22:00:41.206] checking for copy_file_range... no [22:00:41.266] checking for elf_aux_info... no [22:00:41.326] checking for getauxval... no [22:00:41.388] checking for getifaddrs... no [22:00:41.448] checking for getpeerucred... no [22:00:41.507] checking for inet_pton... yes [22:00:41.568] checking for kqueue... no [22:00:41.628] checking for mbstowcs_l... no [22:00:41.685] checking for memset_s... no [22:00:41.741] checking for posix_fallocate... no [22:00:41.798] checking for ppoll... no [22:00:41.856] checking for pthread_is_threaded_np... no [22:00:41.915] checking for setproctitle... no [22:00:41.972] checking for setproctitle_fast... no [22:00:42.029] checking for strchrnul... no [22:00:42.086] checking for strsignal... no [22:00:42.143] checking for syncfs... no [22:00:42.201] checking for sync_file_range... no [22:00:42.257] checking for uselocale... no [22:00:42.314] checking for wcstombs_l... no [22:00:42.369] checking for __builtin_bswap16... yes [22:00:42.425] checking for __builtin_bswap32... yes [22:00:42.479] checking for __builtin_bswap64... yes [22:00:42.535] checking for __builtin_clz... yes [22:00:42.590] checking for __builtin_ctz... yes [22:00:42.643] checking for __builtin_popcount... yes [22:00:42.696] checking for __builtin_frame_address... yes [22:00:42.750] checking for _LARGEFILE_SOURCE value needed for large files... no [22:00:42.808] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:00:42.842] checking for posix_fadvise... no [22:00:42.899] checking whether posix_fadvise is declared... no [22:00:42.952] checking whether fdatasync is declared... no [22:00:43.006] checking whether strlcat is declared... no [22:00:43.081] checking whether strlcpy is declared... no [22:00:43.156] checking whether strnlen is declared... yes [22:00:43.172] checking whether strsep is declared... no [22:00:43.246] checking whether preadv is declared... no [22:00:43.289] checking whether pwritev is declared... no [22:00:43.333] checking whether F_FULLFSYNC is declared... no [22:00:43.379] checking for explicit_bzero... no [22:00:43.434] checking for getopt... yes [22:00:43.483] checking for getpeereid... no [22:00:43.537] checking for inet_aton... no [22:00:43.594] checking for mkdtemp... no [22:00:43.651] checking for strlcat... no [22:00:43.708] checking for strlcpy... no [22:00:43.762] checking for strnlen... yes [22:00:43.817] checking for strsep... no [22:00:43.872] checking for pthread_barrier_wait... yes [22:00:43.924] configure: On mingw32 we will use our strtof wrapper. [22:00:43.924] checking for getopt_long... yes [22:00:43.975] checking for syslog... no [22:00:44.030] checking for opterr... yes [22:00:44.085] checking for optreset... no [22:00:44.145] checking test program... cross-compiling [22:00:44.145] checking size of void *... 8 [22:00:44.452] checking size of size_t... 8 [22:00:44.759] checking size of long... 4 [22:00:44.991] checking size of long long... 8 [22:00:45.294] checking alignment of short... 2 [22:00:45.451] checking alignment of int... 4 [22:00:45.677] checking alignment of long... 4 [22:00:45.907] checking alignment of int64_t... 8 [22:00:46.207] checking alignment of double... 8 [22:00:46.509] checking for __int128... yes [22:00:46.571] checking for __int128 alignment bug... assuming ok [22:00:46.571] checking alignment of PG_INT128_TYPE... 16 [22:00:46.955] checking for builtin __sync char locking functions... yes [22:00:47.005] checking for builtin __sync int32 locking functions... yes [22:00:47.053] checking for builtin __sync int32 atomic operations... yes [22:00:47.100] checking for builtin __sync int64 atomic operations... yes [22:00:47.151] checking for builtin __atomic int32 atomic operations... yes [22:00:47.200] checking for builtin __atomic int64 atomic operations... yes [22:00:47.251] checking for __get_cpuid... yes [22:00:47.304] checking for __get_cpuid_count... yes [22:00:47.355] checking for __cpuid... no [22:00:47.778] checking for __cpuidex... no [22:00:48.221] checking for _xgetbv... yes [22:00:48.642] checking for _mm512_popcnt_epi64... yes [22:00:49.096] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [22:00:49.213] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:00:49.241] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [22:00:49.264] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:00:49.287] 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 [22:00:49.350] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:00:49.351] checking which random number source to use... Windows native [22:00:49.353] checking for xmllint... /usr/bin/xmllint [22:00:49.353] checking for xsltproc... /usr/bin/xsltproc [22:00:49.354] checking for fop... /usr/bin/fop [22:00:49.354] checking for dbtoepub... no [22:00:49.354] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:00:49.354] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:00:49.355] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:00:49.367] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:00:49.367] 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 [22:00:49.367] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:00:49.367] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:00:49.465] configure: creating ./config.status [22:00:49.564] config.status: creating GNUmakefile [22:00:49.579] config.status: creating src/Makefile.global [22:00:49.596] config.status: creating src/include/pg_config.h [22:00:49.611] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:00:49.628] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:00:49.637] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:00:49.645] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:00:49.654] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:00:49.662] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:00:49.666] config.status: executing check_win32_symlinks commands [22:00:49.706] [22:00:49.706] real 0m17.356s [22:00:49.706] user 0m11.503s [22:00:49.706] sys 0m5.533s [22:00:49.706] make -s -j${BUILD_JOBS} clean [22:00:50.248] time make -s -j${BUILD_JOBS} world-bin [22:00:55.710] In file included from ../../../../src/include/postgres.h:48, [22:00:55.710] from allpaths.c:16: [22:00:55.710] allpaths.c: In function ‘starjoin_join_search’: [22:00:55.710] allpaths.c:3476:53: error: ‘startlev’ undeclared (first use in this function); did you mean ‘strrev’? [22:00:55.710] 3476 | Assert(root->join_rel_level[startlev] != NIL); [22:00:55.710] | ^~~~~~~~ [22:00:55.710] ../../../../src/include/c.h:846:23: note: in definition of macro ‘Assert’ [22:00:55.710] 846 | if (!(condition)) \ [22:00:55.710] | ^~~~~~~~~ [22:00:55.710] allpaths.c:3476:53: note: each undeclared identifier is reported only once for each function it appears in [22:00:55.710] 3476 | Assert(root->join_rel_level[startlev] != NIL); [22:00:55.710] | ^~~~~~~~ [22:00:55.710] ../../../../src/include/c.h:846:23: note: in definition of macro ‘Assert’ [22:00:55.710] 846 | if (!(condition)) \ [22:00:55.710] | ^~~~~~~~~ [22:00:55.710] make[4]: *** [: allpaths.o] Error 1 [22:00:55.710] make[4]: *** Waiting for unfinished jobs.... [22:00:56.686] make[3]: *** [../../../src/backend/common.mk:37: path-recursive] Error 2 [22:00:56.687] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [22:00:56.687] make[2]: *** Waiting for unfinished jobs.... [22:00:57.962] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:00:57.962] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:00:57.962] [22:00:57.962] real 0m7.715s [22:00:57.962] user 0m14.520s [22:00:57.962] sys 0m7.464s [22:00:57.963] [22:00:57.963] Exit status: 2