[18:34:20.050] time ./configure \ [18:34:20.050] --host=x86_64-w64-mingw32 \ [18:34:20.050] --enable-cassert \ [18:34:20.050] --without-icu \ [18:34:20.050] CC="ccache x86_64-w64-mingw32-gcc" \ [18:34:20.050] CXX="ccache x86_64-w64-mingw32-g++" [18:34:20.157] checking build system type... x86_64-pc-linux-gnu [18:34:20.331] checking host system type... x86_64-w64-mingw32 [18:34:20.336] checking which template to use... win32 [18:34:20.337] checking whether NLS is wanted... no [18:34:20.337] checking for default port number... 5432 [18:34:20.343] checking for block size... 8kB [18:34:20.344] checking for segment size... 1GB [18:34:20.346] checking for WAL block size... 8kB [18:34:20.347] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:34:20.378] checking whether the C compiler works... yes [18:34:20.505] checking for C compiler default output file name... a.exe [18:34:20.506] checking for suffix of executables... .exe [18:34:20.545] checking whether we are cross compiling... yes [18:34:20.613] checking for suffix of object files... o [18:34:20.629] checking whether we are using the GNU C compiler... yes [18:34:20.635] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:34:20.641] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:34:20.666] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:34:20.719] checking whether we are using the GNU C++ compiler... yes [18:34:20.725] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:34:20.976] checking for gawk... no [18:34:20.976] checking for mawk... mawk [18:34:20.978] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:34:21.008] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:34:21.022] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:34:21.065] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:34:21.107] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:34:21.113] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:34:21.143] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:34:21.172] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:34:21.178] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:34:21.207] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:34:21.222] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:34:21.251] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:34:21.257] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:34:21.263] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:34:21.270] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:34:21.298] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:34:21.305] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:34:21.340] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:34:21.355] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:34:21.385] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:34:21.391] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:34:21.421] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:34:21.427] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:34:21.448] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:34:21.454] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:34:21.483] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:34:21.519] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:34:21.556] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:34:21.571] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:34:21.585] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:34:21.618] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:34:21.624] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:34:21.630] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:34:21.661] checking whether the C compiler still works... yes [18:34:21.722] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:34:21.786] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:34:21.786] checking pkg-config is at least version 0.9.0... yes [18:34:21.803] checking whether to build with ICU support... no [18:34:21.803] checking whether to build with Tcl... no [18:34:21.803] checking whether to build Perl modules... no [18:34:21.804] checking whether to build Python modules... no [18:34:21.804] checking whether to build with GSSAPI support... no [18:34:21.805] checking whether to build with PAM support... no [18:34:21.805] checking whether to build with BSD Authentication support... no [18:34:21.805] checking whether to build with LDAP support... no [18:34:21.805] checking whether to build with Bonjour support... no [18:34:21.805] checking whether to build with SELinux support... no [18:34:21.805] checking whether to build with systemd support... no [18:34:21.805] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:34:21.805] checking whether to build with XML support... no [18:34:21.806] checking whether to build with LZ4 support... no [18:34:21.806] checking whether to build with ZSTD support... no [18:34:21.806] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:34:21.807] checking whether it is possible to strip libraries... yes [18:34:21.813] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:34:21.814] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:34:21.814] checking for a BSD-compatible install... /usr/bin/install -c [18:34:21.822] checking for tar... /usr/bin/tar [18:34:21.822] checking whether ln -s works... yes [18:34:21.822] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:34:21.824] checking for bison... /usr/bin/bison [18:34:21.826] configure: using bison (GNU Bison) 3.8.2 [18:34:21.829] checking for flex... /usr/bin/flex [18:34:21.831] configure: using flex 2.6.4 [18:34:21.831] checking for perl... /usr/bin/perl [18:34:21.833] configure: using perl 5.36.0 [18:34:21.835] checking for zic... /usr/sbin/zic [18:34:21.835] checking for a sed that does not truncate output... /usr/bin/sed [18:34:21.840] checking for grep that handles long lines and -e... /usr/bin/grep [18:34:21.842] checking for egrep... /usr/bin/grep -E [18:34:21.843] checking for ANSI C header files... yes [18:34:21.924] checking for sys/types.h... yes [18:34:21.939] checking for sys/stat.h... yes [18:34:21.953] checking for stdlib.h... yes [18:34:21.966] checking for string.h... yes [18:34:21.979] checking for memory.h... yes [18:34:21.992] checking for strings.h... yes [18:34:22.006] checking for inttypes.h... yes [18:34:22.020] checking for stdint.h... yes [18:34:22.033] checking for unistd.h... yes [18:34:22.097] checking for main in -lm... yes [18:34:22.143] checking for library containing setproctitle... no [18:34:22.227] checking for library containing dlsym... no [18:34:22.310] checking for library containing socket... -lws2_32 [18:34:22.436] checking for library containing getopt_long... none required [18:34:22.480] checking for library containing shm_open... no [18:34:22.563] checking for library containing shm_unlink... no [18:34:22.644] checking for library containing clock_gettime... no [18:34:22.726] checking for library containing shmget... no [18:34:22.808] checking for library containing backtrace_symbols... no [18:34:22.890] checking for library containing pthread_barrier_wait... -lpthread [18:34:22.976] checking for inflate in -lz... yes [18:34:23.021] checking atomic.h usability... no [18:34:23.073] checking atomic.h presence... no [18:34:23.090] checking for atomic.h... no [18:34:23.093] checking copyfile.h usability... no [18:34:23.145] checking copyfile.h presence... no [18:34:23.161] checking for copyfile.h... no [18:34:23.164] checking execinfo.h usability... no [18:34:23.215] checking execinfo.h presence... no [18:34:23.231] checking for execinfo.h... no [18:34:23.234] checking getopt.h usability... yes [18:34:23.286] checking getopt.h presence... yes [18:34:23.299] checking for getopt.h... yes [18:34:23.306] checking ifaddrs.h usability... no [18:34:23.356] checking ifaddrs.h presence... no [18:34:23.373] checking for ifaddrs.h... no [18:34:23.376] checking mbarrier.h usability... no [18:34:23.428] checking mbarrier.h presence... no [18:34:23.445] checking for mbarrier.h... no [18:34:23.448] checking sys/epoll.h usability... no [18:34:23.499] checking sys/epoll.h presence... no [18:34:23.516] checking for sys/epoll.h... no [18:34:23.519] checking sys/event.h usability... no [18:34:23.569] checking sys/event.h presence... no [18:34:23.586] checking for sys/event.h... no [18:34:23.589] checking sys/personality.h usability... no [18:34:23.641] checking sys/personality.h presence... no [18:34:23.658] checking for sys/personality.h... no [18:34:23.661] checking sys/prctl.h usability... no [18:34:23.713] checking sys/prctl.h presence... no [18:34:23.730] checking for sys/prctl.h... no [18:34:23.733] checking sys/procctl.h usability... no [18:34:23.784] checking sys/procctl.h presence... no [18:34:23.801] checking for sys/procctl.h... no [18:34:23.803] checking sys/signalfd.h usability... no [18:34:23.854] checking sys/signalfd.h presence... no [18:34:23.871] checking for sys/signalfd.h... no [18:34:23.874] checking sys/ucred.h usability... no [18:34:23.924] checking sys/ucred.h presence... no [18:34:23.941] checking for sys/ucred.h... no [18:34:23.944] checking termios.h usability... no [18:34:23.994] checking termios.h presence... no [18:34:24.011] checking for termios.h... no [18:34:24.014] checking ucred.h usability... no [18:34:24.064] checking ucred.h presence... no [18:34:24.081] checking for ucred.h... no [18:34:24.084] checking xlocale.h usability... no [18:34:24.135] checking xlocale.h presence... no [18:34:24.152] checking for xlocale.h... no [18:34:24.154] checking zlib.h usability... yes [18:34:24.163] checking zlib.h presence... yes [18:34:24.181] checking for zlib.h... yes [18:34:24.181] checking for lz4... /usr/bin/lz4 [18:34:24.182] checking for zstd... /usr/bin/zstd [18:34:24.182] checking for openssl... /usr/bin/openssl [18:34:24.186] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [18:34:24.187] checking crtdefs.h usability... yes [18:34:24.213] checking crtdefs.h presence... yes [18:34:24.227] checking for crtdefs.h... yes [18:34:24.228] checking whether byte ordering is bigendian... no [18:34:24.325] checking for inline... inline [18:34:24.332] checking for printf format archetype... gnu_printf [18:34:24.340] checking for _Static_assert... yes [18:34:24.382] checking for typeof... typeof [18:34:24.417] checking for __builtin_types_compatible_p... yes [18:34:24.439] checking for __builtin_constant_p... yes [18:34:24.450] checking for __builtin_mul_overflow... yes [18:34:24.500] checking for __builtin_unreachable... yes [18:34:24.543] checking for computed goto support... yes [18:34:24.561] checking for struct tm.tm_zone... no [18:34:24.640] checking for union semun... no [18:34:24.675] checking for socklen_t... yes [18:34:25.782] checking for struct sockaddr.sa_len... no [18:34:27.627] checking for C/C++ restrict keyword... __restrict [18:34:27.639] checking for struct option... yes [18:34:27.678] checking whether assembler supports x86_64 popcntq... yes [18:34:27.685] checking size of off_t... 4 [18:34:27.942] 0 [18:34:27.943] checking for int timezone... yes [18:34:27.990] checking for backtrace_symbols... no [18:34:28.037] checking for copyfile... no [18:34:28.083] checking for copy_file_range... no [18:34:28.130] checking for elf_aux_info... no [18:34:28.176] checking for getauxval... no [18:34:28.223] checking for getifaddrs... no [18:34:28.269] checking for getpeerucred... no [18:34:28.315] checking for inet_pton... yes [18:34:28.362] checking for kqueue... no [18:34:28.409] checking for mbstowcs_l... no [18:34:28.455] checking for memset_s... no [18:34:28.502] checking for posix_fallocate... no [18:34:28.549] checking for ppoll... no [18:34:28.595] checking for pthread_is_threaded_np... no [18:34:28.642] checking for setproctitle... no [18:34:28.688] checking for setproctitle_fast... no [18:34:28.735] checking for strchrnul... no [18:34:28.782] checking for strsignal... no [18:34:28.830] checking for syncfs... no [18:34:28.876] checking for sync_file_range... no [18:34:28.922] checking for uselocale... no [18:34:28.969] checking for wcstombs_l... no [18:34:29.013] checking for __builtin_bswap16... yes [18:34:29.058] checking for __builtin_bswap32... yes [18:34:29.103] checking for __builtin_bswap64... yes [18:34:29.147] checking for __builtin_clz... yes [18:34:29.192] checking for __builtin_ctz... yes [18:34:29.236] checking for __builtin_popcount... yes [18:34:29.281] checking for __builtin_frame_address... yes [18:34:29.325] checking for _LARGEFILE_SOURCE value needed for large files... no [18:34:29.375] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:34:29.403] checking for posix_fadvise... no [18:34:29.450] checking whether posix_fadvise is declared... no [18:34:29.491] checking whether fdatasync is declared... no [18:34:29.534] checking whether strlcat is declared... no [18:34:29.593] checking whether strlcpy is declared... no [18:34:29.651] checking whether strnlen is declared... yes [18:34:29.663] checking whether strsep is declared... no [18:34:29.722] checking whether preadv is declared... no [18:34:29.755] checking whether pwritev is declared... no [18:34:29.788] checking whether F_FULLFSYNC is declared... no [18:34:29.825] checking for explicit_bzero... no [18:34:29.868] checking for getopt... yes [18:34:29.910] checking for getpeereid... no [18:34:29.954] checking for inet_aton... no [18:34:29.999] checking for mkdtemp... no [18:34:30.043] checking for strlcat... no [18:34:30.087] checking for strlcpy... no [18:34:30.131] checking for strnlen... yes [18:34:30.175] checking for strsep... no [18:34:30.218] checking for pthread_barrier_wait... yes [18:34:30.258] configure: On mingw32 we will use our strtof wrapper. [18:34:30.258] checking for getopt_long... yes [18:34:30.300] checking for syslog... no [18:34:30.344] checking for opterr... yes [18:34:30.388] checking for optreset... no [18:34:30.436] checking test program... cross-compiling [18:34:30.436] checking size of void *... 8 [18:34:30.792] checking size of size_t... 8 [18:34:31.108] checking size of long... 4 [18:34:31.322] checking size of long long... 8 [18:34:31.588] checking alignment of short... 2 [18:34:31.766] checking alignment of int... 4 [18:34:31.993] checking alignment of long... 4 [18:34:32.319] checking alignment of int64_t... 8 [18:34:32.696] checking alignment of double... 8 [18:34:33.065] checking for __int128... yes [18:34:33.113] checking for __int128 alignment bug... assuming ok [18:34:33.113] checking alignment of PG_INT128_TYPE... 16 [18:34:33.541] checking for builtin __sync char locking functions... yes [18:34:33.581] checking for builtin __sync int32 locking functions... yes [18:34:33.620] checking for builtin __sync int32 atomic operations... yes [18:34:33.659] checking for builtin __sync int64 atomic operations... yes [18:34:33.701] checking for builtin __atomic int32 atomic operations... yes [18:34:33.741] checking for builtin __atomic int64 atomic operations... yes [18:34:33.782] checking for __get_cpuid... yes [18:34:33.826] checking for __get_cpuid_count... yes [18:34:33.868] checking for __cpuid... no [18:34:34.257] checking for __cpuidex... no [18:34:34.672] checking for _xgetbv... yes [18:34:35.068] checking for _mm512_popcnt_epi64... yes [18:34:35.478] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [18:34:35.573] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:34:35.593] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [18:34:35.610] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:34:35.627] 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:34:35.678] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:34:35.678] checking which random number source to use... Windows native [18:34:35.680] checking for xmllint... /usr/bin/xmllint [18:34:35.680] checking for xsltproc... /usr/bin/xsltproc [18:34:35.681] checking for fop... /usr/bin/fop [18:34:35.681] checking for dbtoepub... no [18:34:35.681] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:34:35.681] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:34:35.681] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:34:35.691] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:34:35.691] 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:34:35.691] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:34:35.691] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:34:35.769] configure: creating ./config.status [18:34:35.849] config.status: creating GNUmakefile [18:34:35.860] config.status: creating src/Makefile.global [18:34:35.874] config.status: creating src/include/pg_config.h [18:34:35.886] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:34:35.900] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:34:35.907] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:34:35.914] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:34:35.921] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:34:35.927] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:34:35.930] config.status: executing check_win32_symlinks commands [18:34:35.962] [18:34:35.962] real 0m15.912s [18:34:35.962] user 0m10.487s [18:34:35.962] sys 0m5.070s [18:34:35.962] make -s -j${BUILD_JOBS} clean [18:34:36.459] time make -s -j${BUILD_JOBS} world-bin [18:36:04.990] In file included from ../../../../src/include/postgres.h:48, [18:36:04.990] from allpaths.c:16: [18:36:04.990] allpaths.c: In function ‘starjoin_join_search’: [18:36:04.990] allpaths.c:3462:53: error: ‘startlev’ undeclared (first use in this function); did you mean ‘strrev’? [18:36:04.990] 3462 | Assert(root->join_rel_level[startlev] != NIL); [18:36:04.990] | ^~~~~~~~ [18:36:04.990] ../../../../src/include/c.h:832:23: note: in definition of macro ‘Assert’ [18:36:04.990] 832 | if (!(condition)) \ [18:36:04.990] | ^~~~~~~~~ [18:36:04.990] allpaths.c:3462:53: note: each undeclared identifier is reported only once for each function it appears in [18:36:04.990] 3462 | Assert(root->join_rel_level[startlev] != NIL); [18:36:04.990] | ^~~~~~~~ [18:36:04.990] ../../../../src/include/c.h:832:23: note: in definition of macro ‘Assert’ [18:36:04.990] 832 | if (!(condition)) \ [18:36:04.990] | ^~~~~~~~~ [18:36:04.991] make[4]: *** [: allpaths.o] Error 1 [18:36:04.991] make[3]: *** [../../../src/backend/common.mk:37: path-recursive] Error 2 [18:36:04.991] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [18:36:04.991] make[2]: *** Waiting for unfinished jobs.... [18:36:23.173] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:36:23.173] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:36:23.173] [18:36:23.173] real 1m46.714s [18:36:23.173] user 5m43.916s [18:36:23.173] sys 1m7.797s [18:36:23.173] [18:36:23.173] Exit status: 2