[18:00:28.233] time ./configure \ [18:00:28.233] --host=x86_64-w64-mingw32 \ [18:00:28.233] --enable-cassert \ [18:00:28.233] --without-icu \ [18:00:28.233] CC="ccache x86_64-w64-mingw32-gcc" \ [18:00:28.233] CXX="ccache x86_64-w64-mingw32-g++" [18:00:28.338] checking build system type... x86_64-pc-linux-gnu [18:00:28.503] checking host system type... x86_64-w64-mingw32 [18:00:28.508] checking which template to use... win32 [18:00:28.508] checking whether NLS is wanted... no [18:00:28.508] checking for default port number... 5432 [18:00:28.514] checking for block size... 8kB [18:00:28.515] checking for segment size... 1GB [18:00:28.518] checking for WAL block size... 8kB [18:00:28.519] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:00:28.549] checking whether the C compiler works... yes [18:00:28.670] checking for C compiler default output file name... a.exe [18:00:28.671] checking for suffix of executables... .exe [18:00:28.708] checking whether we are cross compiling... yes [18:00:28.778] checking for suffix of object files... o [18:00:28.785] checking whether we are using the GNU C compiler... yes [18:00:28.791] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:00:28.798] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:00:28.806] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:00:28.860] checking whether we are using the GNU C++ compiler... yes [18:00:28.867] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:00:29.099] checking for gawk... no [18:00:29.099] checking for mawk... mawk [18:00:29.102] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:00:29.108] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:00:29.136] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:00:29.178] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:00:29.219] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:00:29.225] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:00:29.232] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:00:29.260] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:00:29.266] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:00:29.280] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:00:29.286] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:00:29.314] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:00:29.321] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:00:29.327] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:00:29.333] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:00:29.362] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:00:29.368] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:00:29.403] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:00:29.409] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:00:29.439] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:00:29.446] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:00:29.452] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:00:29.458] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:00:29.480] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:00:29.494] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:00:29.523] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:00:29.559] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:00:29.595] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:00:29.601] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:00:29.616] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:00:29.649] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:00:29.655] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:00:29.662] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:00:29.669] checking whether the C compiler still works... yes [18:00:29.728] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:00:29.792] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:00:29.792] checking pkg-config is at least version 0.9.0... yes [18:00:29.808] checking whether to build with ICU support... no [18:00:29.808] checking whether to build with Tcl... no [18:00:29.809] checking whether to build Perl modules... no [18:00:29.809] checking whether to build Python modules... no [18:00:29.809] checking whether to build with GSSAPI support... no [18:00:29.810] checking whether to build with PAM support... no [18:00:29.810] checking whether to build with BSD Authentication support... no [18:00:29.810] checking whether to build with LDAP support... no [18:00:29.810] checking whether to build with Bonjour support... no [18:00:29.810] checking whether to build with SELinux support... no [18:00:29.810] checking whether to build with systemd support... no [18:00:29.810] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:00:29.810] checking whether to build with libcurl support... no [18:00:29.811] checking whether to build with XML support... no [18:00:29.811] checking whether to build with LZ4 support... no [18:00:29.811] checking whether to build with ZSTD support... no [18:00:29.812] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:00:29.812] checking whether it is possible to strip libraries... yes [18:00:29.819] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:00:29.819] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:00:29.820] checking for a BSD-compatible install... /usr/bin/install -c [18:00:29.828] checking for tar... /usr/bin/tar [18:00:29.828] checking whether ln -s works... yes [18:00:29.828] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:00:29.830] checking for bison... /usr/bin/bison [18:00:29.832] configure: using bison (GNU Bison) 3.8.2 [18:00:29.835] checking for flex... /usr/bin/flex [18:00:29.837] configure: using flex 2.6.4 [18:00:29.837] checking for perl... /usr/bin/perl [18:00:29.839] configure: using perl 5.36.0 [18:00:29.841] checking for zic... /usr/sbin/zic [18:00:29.841] checking for a sed that does not truncate output... /usr/bin/sed [18:00:29.846] checking for grep that handles long lines and -e... /usr/bin/grep [18:00:29.848] checking for egrep... /usr/bin/grep -E [18:00:29.849] checking for ANSI C header files... yes [18:00:29.894] checking for sys/types.h... yes [18:00:29.910] checking for sys/stat.h... yes [18:00:29.924] checking for stdlib.h... yes [18:00:29.937] checking for string.h... yes [18:00:29.951] checking for memory.h... yes [18:00:29.965] checking for strings.h... yes [18:00:29.980] checking for inttypes.h... yes [18:00:30.017] checking for stdint.h... yes [18:00:30.051] checking for unistd.h... yes [18:00:30.066] checking for main in -lm... yes [18:00:30.111] checking for library containing setproctitle... no [18:00:30.196] checking for library containing dlsym... no [18:00:30.280] checking for library containing socket... -lws2_32 [18:00:30.403] checking for library containing getopt_long... none required [18:00:30.448] checking for library containing shm_open... no [18:00:30.536] checking for library containing shm_unlink... no [18:00:30.623] checking for library containing clock_gettime... no [18:00:30.711] checking for library containing shmget... no [18:00:30.802] checking for library containing backtrace_symbols... no [18:00:30.893] checking for library containing pthread_barrier_wait... -lpthread [18:00:30.984] checking for inflate in -lz... yes [18:00:31.033] checking atomic.h usability... no [18:00:31.086] checking atomic.h presence... no [18:00:31.103] checking for atomic.h... no [18:00:31.106] checking copyfile.h usability... no [18:00:31.159] checking copyfile.h presence... no [18:00:31.177] checking for copyfile.h... no [18:00:31.180] checking execinfo.h usability... no [18:00:31.231] checking execinfo.h presence... no [18:00:31.248] checking for execinfo.h... no [18:00:31.251] checking getopt.h usability... yes [18:00:31.258] checking getopt.h presence... yes [18:00:31.271] checking for getopt.h... yes [18:00:31.277] checking ifaddrs.h usability... no [18:00:31.328] checking ifaddrs.h presence... no [18:00:31.345] checking for ifaddrs.h... no [18:00:31.348] checking mbarrier.h usability... no [18:00:31.398] checking mbarrier.h presence... no [18:00:31.415] checking for mbarrier.h... no [18:00:31.418] checking sys/epoll.h usability... no [18:00:31.470] checking sys/epoll.h presence... no [18:00:31.487] checking for sys/epoll.h... no [18:00:31.490] checking sys/event.h usability... no [18:00:31.542] checking sys/event.h presence... no [18:00:31.561] checking for sys/event.h... no [18:00:31.564] checking sys/personality.h usability... no [18:00:31.621] checking sys/personality.h presence... no [18:00:31.639] checking for sys/personality.h... no [18:00:31.642] checking sys/prctl.h usability... no [18:00:31.697] checking sys/prctl.h presence... no [18:00:31.716] checking for sys/prctl.h... no [18:00:31.719] checking sys/procctl.h usability... no [18:00:31.775] checking sys/procctl.h presence... no [18:00:31.794] checking for sys/procctl.h... no [18:00:31.797] checking sys/signalfd.h usability... no [18:00:31.852] checking sys/signalfd.h presence... no [18:00:31.871] checking for sys/signalfd.h... no [18:00:31.874] checking sys/ucred.h usability... no [18:00:31.929] checking sys/ucred.h presence... no [18:00:31.948] checking for sys/ucred.h... no [18:00:31.951] checking termios.h usability... no [18:00:32.006] checking termios.h presence... no [18:00:32.025] checking for termios.h... no [18:00:32.028] checking ucred.h usability... no [18:00:32.083] checking ucred.h presence... no [18:00:32.102] checking for ucred.h... no [18:00:32.106] checking xlocale.h usability... no [18:00:32.161] checking xlocale.h presence... no [18:00:32.181] checking for xlocale.h... no [18:00:32.185] checking zlib.h usability... yes [18:00:32.194] checking zlib.h presence... yes [18:00:32.214] checking for zlib.h... yes [18:00:32.214] checking for lz4... /usr/bin/lz4 [18:00:32.214] checking for zstd... /usr/bin/zstd [18:00:32.215] checking for openssl... /usr/bin/openssl [18:00:32.219] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [18:00:32.220] checking crtdefs.h usability... yes [18:00:32.228] checking crtdefs.h presence... yes [18:00:32.244] checking for crtdefs.h... yes [18:00:32.245] checking whether byte ordering is bigendian... no [18:00:32.323] checking for inline... inline [18:00:32.330] checking for printf format archetype... gnu_printf [18:00:32.339] checking for _Static_assert... yes [18:00:32.382] checking for typeof... typeof [18:00:32.389] checking for __builtin_types_compatible_p... yes [18:00:32.400] checking for __builtin_constant_p... yes [18:00:32.420] checking for __builtin_mul_overflow... yes [18:00:32.469] checking for __builtin_unreachable... yes [18:00:32.510] checking for computed goto support... yes [18:00:32.518] checking for struct tm.tm_zone... no [18:00:32.592] checking for union semun... no [18:00:32.622] checking for socklen_t... yes [18:00:33.766] checking for struct sockaddr.sa_len... no [18:00:35.848] checking for C/C++ restrict keyword... __restrict [18:00:35.861] checking for struct option... yes [18:00:35.913] checking whether assembler supports x86_64 popcntq... yes [18:00:35.946] checking size of off_t... 4 [18:00:36.154] 0 [18:00:36.155] checking for int timezone... yes [18:00:36.208] checking for backtrace_symbols... no [18:00:36.261] checking for copyfile... no [18:00:36.312] checking for copy_file_range... no [18:00:36.364] checking for elf_aux_info... no [18:00:36.415] checking for getauxval... no [18:00:36.467] checking for getifaddrs... no [18:00:36.518] checking for getpeerucred... no [18:00:36.569] checking for inet_pton... yes [18:00:36.619] checking for kqueue... no [18:00:36.667] checking for mbstowcs_l... no [18:00:36.714] checking for memset_s... no [18:00:36.761] checking for posix_fallocate... no [18:00:36.808] checking for ppoll... no [18:00:36.855] checking for pthread_is_threaded_np... no [18:00:36.901] checking for setproctitle... no [18:00:36.947] checking for setproctitle_fast... no [18:00:36.993] checking for strchrnul... no [18:00:37.039] checking for strsignal... no [18:00:37.086] checking for syncfs... no [18:00:37.132] checking for sync_file_range... no [18:00:37.179] checking for uselocale... no [18:00:37.225] checking for wcstombs_l... no [18:00:37.269] checking for __builtin_bswap16... yes [18:00:37.314] checking for __builtin_bswap32... yes [18:00:37.358] checking for __builtin_bswap64... yes [18:00:37.402] checking for __builtin_clz... yes [18:00:37.446] checking for __builtin_ctz... yes [18:00:37.489] checking for __builtin_popcount... yes [18:00:37.533] checking for __builtin_frame_address... yes [18:00:37.576] checking for _LARGEFILE_SOURCE value needed for large files... no [18:00:37.625] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:00:37.653] checking for posix_fadvise... no [18:00:37.700] checking whether posix_fadvise is declared... no [18:00:37.740] checking whether fdatasync is declared... no [18:00:37.782] checking whether strlcat is declared... no [18:00:37.840] checking whether strlcpy is declared... no [18:00:37.899] checking whether strnlen is declared... yes [18:00:37.960] checking whether strsep is declared... no [18:00:38.018] checking whether preadv is declared... no [18:00:38.051] checking whether pwritev is declared... no [18:00:38.084] checking whether F_FULLFSYNC is declared... no [18:00:38.121] checking for explicit_bzero... no [18:00:38.166] checking for getopt... yes [18:00:38.208] checking for getpeereid... no [18:00:38.252] checking for inet_aton... no [18:00:38.296] checking for mkdtemp... no [18:00:38.341] checking for strlcat... no [18:00:38.386] checking for strlcpy... no [18:00:38.430] checking for strnlen... yes [18:00:38.474] checking for strsep... no [18:00:38.519] checking for pthread_barrier_wait... yes [18:00:38.559] configure: On mingw32 we will use our strtof wrapper. [18:00:38.559] checking for getopt_long... yes [18:00:38.602] checking for syslog... no [18:00:38.646] checking for opterr... yes [18:00:38.692] checking for optreset... no [18:00:38.740] checking test program... cross-compiling [18:00:38.740] checking size of void *... 8 [18:00:39.089] checking size of size_t... 8 [18:00:39.355] checking size of long... 4 [18:00:39.593] checking size of long long... 8 [18:00:39.908] checking alignment of short... 2 [18:00:40.058] checking alignment of int... 4 [18:00:40.295] checking alignment of long... 4 [18:00:40.553] checking alignment of int64_t... 8 [18:00:40.840] checking alignment of double... 8 [18:00:41.196] checking for __int128... yes [18:00:41.246] checking for __int128 alignment bug... assuming ok [18:00:41.246] checking alignment of PG_INT128_TYPE... 16 [18:00:41.716] checking for builtin __sync char locking functions... yes [18:00:41.756] checking for builtin __sync int32 locking functions... yes [18:00:41.797] checking for builtin __sync int32 atomic operations... yes [18:00:41.837] checking for builtin __sync int64 atomic operations... yes [18:00:41.878] checking for builtin __atomic int32 atomic operations... yes [18:00:41.919] checking for builtin __atomic int64 atomic operations... yes [18:00:41.961] checking for __get_cpuid... yes [18:00:42.006] checking for __get_cpuid_count... yes [18:00:42.047] checking for __cpuid... no [18:00:42.447] checking for __cpuidex... no [18:00:42.873] checking for _xgetbv... yes [18:00:43.275] checking for _mm512_popcnt_epi64... yes [18:00:43.707] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [18:00:43.806] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:00:43.826] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [18:00:43.843] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:00:43.859] 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 [18:00:43.911] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:00:43.911] checking which random number source to use... Windows native [18:00:43.913] checking for xmllint... /usr/bin/xmllint [18:00:43.913] checking for xsltproc... /usr/bin/xsltproc [18:00:43.914] checking for fop... /usr/bin/fop [18:00:43.914] checking for dbtoepub... no [18:00:43.914] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:00:43.914] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:00:43.914] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:00:43.924] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:00:43.924] 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 [18:00:43.924] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:00:43.924] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:00:44.003] configure: creating ./config.status [18:00:44.080] config.status: creating GNUmakefile [18:00:44.091] config.status: creating src/Makefile.global [18:00:44.105] config.status: creating src/include/pg_config.h [18:00:44.116] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:00:44.130] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:00:44.137] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:00:44.143] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:00:44.150] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:00:44.157] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:00:44.160] config.status: executing check_win32_symlinks commands [18:00:44.192] [18:00:44.192] real 0m15.959s [18:00:44.192] user 0m10.777s [18:00:44.192] sys 0m4.852s [18:00:44.192] make -s -j${BUILD_JOBS} clean [18:00:44.681] time make -s -j${BUILD_JOBS} world-bin [18:01:51.234] In file included from ../../../../src/include/postgres.h:48, [18:01:51.234] from allpaths.c:16: [18:01:51.234] allpaths.c: In function ‘starjoin_join_search’: [18:01:51.234] allpaths.c:3462:53: error: ‘startlev’ undeclared (first use in this function); did you mean ‘strrev’? [18:01:51.234] 3462 | Assert(root->join_rel_level[startlev] != NIL); [18:01:51.234] | ^~~~~~~~ [18:01:51.234] ../../../../src/include/c.h:832:23: note: in definition of macro ‘Assert’ [18:01:51.234] 832 | if (!(condition)) \ [18:01:51.234] | ^~~~~~~~~ [18:01:51.234] allpaths.c:3462:53: note: each undeclared identifier is reported only once for each function it appears in [18:01:51.234] 3462 | Assert(root->join_rel_level[startlev] != NIL); [18:01:51.234] | ^~~~~~~~ [18:01:51.234] ../../../../src/include/c.h:832:23: note: in definition of macro ‘Assert’ [18:01:51.234] 832 | if (!(condition)) \ [18:01:51.234] | ^~~~~~~~~ [18:01:51.235] make[4]: *** [: allpaths.o] Error 1 [18:01:51.235] make[3]: *** [../../../src/backend/common.mk:37: path-recursive] Error 2 [18:01:51.235] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [18:01:51.235] make[2]: *** Waiting for unfinished jobs.... [18:01:58.921] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:01:58.922] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:01:58.922] [18:01:58.922] real 1m14.241s [18:01:58.922] user 3m59.437s [18:01:58.922] sys 0m44.794s [18:01:58.922] [18:01:58.922] Exit status: 2