[15:33:52.862] time ./configure \ [15:33:52.862] --host=x86_64-w64-mingw32 \ [15:33:52.862] --enable-cassert \ [15:33:52.862] --without-icu \ [15:33:52.862] CC="ccache x86_64-w64-mingw32-gcc" \ [15:33:52.862] CXX="ccache x86_64-w64-mingw32-g++" [15:33:52.964] checking build system type... x86_64-pc-linux-gnu [15:33:53.144] checking host system type... x86_64-w64-mingw32 [15:33:53.148] checking which template to use... win32 [15:33:53.149] checking whether NLS is wanted... no [15:33:53.149] checking for default port number... 5432 [15:33:53.155] checking for block size... 8kB [15:33:53.156] checking for segment size... 1GB [15:33:53.158] checking for WAL block size... 8kB [15:33:53.160] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [15:33:53.190] checking whether the C compiler works... yes [15:33:53.308] checking for C compiler default output file name... a.exe [15:33:53.310] checking for suffix of executables... .exe [15:33:53.346] checking whether we are cross compiling... yes [15:33:53.418] checking for suffix of object files... o [15:33:53.425] checking whether we are using the GNU C compiler... yes [15:33:53.439] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [15:33:53.454] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [15:33:53.476] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [15:33:53.532] checking whether we are using the GNU C++ compiler... yes [15:33:53.667] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [15:33:53.782] checking for gawk... no [15:33:53.782] checking for mawk... mawk [15:33:53.784] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [15:33:53.799] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [15:33:53.805] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [15:33:53.847] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [15:33:53.888] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [15:33:53.894] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [15:33:53.923] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [15:33:53.952] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [15:33:53.958] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [15:33:53.964] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [15:33:53.979] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [15:33:53.993] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [15:33:53.998] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [15:33:54.004] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [15:33:54.033] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [15:33:54.047] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [15:33:54.077] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [15:33:54.112] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [15:33:54.118] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [15:33:54.147] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [15:33:54.153] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [15:33:54.160] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [15:33:54.166] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [15:33:54.186] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [15:33:54.201] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [15:33:54.207] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [15:33:54.243] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [15:33:54.279] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [15:33:54.308] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [15:33:54.314] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [15:33:54.347] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [15:33:54.361] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [15:33:54.376] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [15:33:54.383] checking whether the C compiler still works... yes [15:33:54.455] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [15:33:54.521] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [15:33:54.522] checking pkg-config is at least version 0.9.0... yes [15:33:54.538] checking whether to build with ICU support... no [15:33:54.538] checking whether to build with Tcl... no [15:33:54.538] checking whether to build Perl modules... no [15:33:54.538] checking whether to build Python modules... no [15:33:54.538] checking whether to build with GSSAPI support... no [15:33:54.539] checking whether to build with PAM support... no [15:33:54.539] checking whether to build with BSD Authentication support... no [15:33:54.539] checking whether to build with LDAP support... no [15:33:54.539] checking whether to build with Bonjour support... no [15:33:54.540] checking whether to build with SELinux support... no [15:33:54.540] checking whether to build with systemd support... no [15:33:54.540] configure: WARNING: *** Readline does not work on MinGW --- disabling [15:33:54.540] checking whether to build with XML support... no [15:33:54.540] checking whether to build with LZ4 support... no [15:33:54.540] checking whether to build with ZSTD support... no [15:33:54.541] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [15:33:54.541] checking whether it is possible to strip libraries... yes [15:33:54.549] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [15:33:54.549] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [15:33:54.550] checking for a BSD-compatible install... /usr/bin/install -c [15:33:54.558] checking for tar... /usr/bin/tar [15:33:54.558] checking whether ln -s works... yes [15:33:54.558] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [15:33:54.561] checking for bison... /usr/bin/bison [15:33:54.563] configure: using bison (GNU Bison) 3.8.2 [15:33:54.565] checking for flex... /usr/bin/flex [15:33:54.568] configure: using flex 2.6.4 [15:33:54.568] checking for perl... /usr/bin/perl [15:33:54.571] configure: using perl 5.36.0 [15:33:54.573] checking for zic... /usr/sbin/zic [15:33:54.573] checking for a sed that does not truncate output... /usr/bin/sed [15:33:54.577] checking for grep that handles long lines and -e... /usr/bin/grep [15:33:54.579] checking for egrep... /usr/bin/grep -E [15:33:54.581] checking for ANSI C header files... yes [15:33:54.622] checking for sys/types.h... yes [15:33:54.653] checking for sys/stat.h... yes [15:33:54.667] checking for stdlib.h... yes [15:33:54.722] checking for string.h... yes [15:33:54.752] checking for memory.h... yes [15:33:54.766] checking for strings.h... yes [15:33:54.819] checking for inttypes.h... yes [15:33:54.875] checking for stdint.h... yes [15:33:54.930] checking for unistd.h... yes [15:33:54.988] checking for main in -lm... yes [15:33:55.033] checking for library containing setproctitle... no [15:33:55.112] checking for library containing dlsym... no [15:33:55.188] checking for library containing socket... -lws2_32 [15:33:55.307] checking for library containing getopt_long... none required [15:33:55.350] checking for library containing shm_open... no [15:33:55.430] checking for library containing shm_unlink... no [15:33:55.509] checking for library containing clock_gettime... no [15:33:55.590] checking for library containing shmget... no [15:33:55.671] checking for library containing backtrace_symbols... no [15:33:55.752] checking for library containing pthread_barrier_wait... -lpthread [15:33:55.834] checking for inflate in -lz... yes [15:33:55.878] checking atomic.h usability... no [15:33:55.928] checking atomic.h presence... no [15:33:55.945] checking for atomic.h... no [15:33:55.948] checking copyfile.h usability... no [15:33:55.999] checking copyfile.h presence... no [15:33:56.015] checking for copyfile.h... no [15:33:56.018] checking execinfo.h usability... no [15:33:56.068] checking execinfo.h presence... no [15:33:56.085] checking for execinfo.h... no [15:33:56.087] checking getopt.h usability... yes [15:33:56.136] checking getopt.h presence... yes [15:33:56.149] checking for getopt.h... yes [15:33:56.155] checking ifaddrs.h usability... no [15:33:56.204] checking ifaddrs.h presence... no [15:33:56.221] checking for ifaddrs.h... no [15:33:56.223] checking mbarrier.h usability... no [15:33:56.273] checking mbarrier.h presence... no [15:33:56.290] checking for mbarrier.h... no [15:33:56.293] checking sys/epoll.h usability... no [15:33:56.343] checking sys/epoll.h presence... no [15:33:56.360] checking for sys/epoll.h... no [15:33:56.363] checking sys/event.h usability... no [15:33:56.413] checking sys/event.h presence... no [15:33:56.430] checking for sys/event.h... no [15:33:56.433] checking sys/personality.h usability... no [15:33:56.483] checking sys/personality.h presence... no [15:33:56.499] checking for sys/personality.h... no [15:33:56.502] checking sys/prctl.h usability... no [15:33:56.553] checking sys/prctl.h presence... no [15:33:56.570] checking for sys/prctl.h... no [15:33:56.572] checking sys/procctl.h usability... no [15:33:56.624] checking sys/procctl.h presence... no [15:33:56.640] checking for sys/procctl.h... no [15:33:56.643] checking sys/signalfd.h usability... no [15:33:56.693] checking sys/signalfd.h presence... no [15:33:56.710] checking for sys/signalfd.h... no [15:33:56.712] checking sys/ucred.h usability... no [15:33:56.762] checking sys/ucred.h presence... no [15:33:56.779] checking for sys/ucred.h... no [15:33:56.781] checking termios.h usability... no [15:33:56.832] checking termios.h presence... no [15:33:56.849] checking for termios.h... no [15:33:56.852] checking ucred.h usability... no [15:33:56.902] checking ucred.h presence... no [15:33:56.919] checking for ucred.h... no [15:33:56.922] checking xlocale.h usability... no [15:33:56.971] checking xlocale.h presence... no [15:33:56.988] checking for xlocale.h... no [15:33:56.990] checking zlib.h usability... yes [15:33:56.999] checking zlib.h presence... yes [15:33:57.016] checking for zlib.h... yes [15:33:57.016] checking for lz4... /usr/bin/lz4 [15:33:57.016] checking for zstd... /usr/bin/zstd [15:33:57.016] checking for openssl... /usr/bin/openssl [15:33:57.020] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [15:33:57.021] checking crtdefs.h usability... yes [15:33:57.046] checking crtdefs.h presence... yes [15:33:57.059] checking for crtdefs.h... yes [15:33:57.061] checking whether byte ordering is bigendian... no [15:33:57.151] checking for inline... inline [15:33:57.175] checking for printf format archetype... gnu_printf [15:33:57.206] checking for _Static_assert... yes [15:33:57.243] checking for typeof... typeof [15:33:57.274] checking for __builtin_types_compatible_p... yes [15:33:57.292] checking for __builtin_constant_p... yes [15:33:57.302] checking for __builtin_mul_overflow... yes [15:33:57.346] checking for __builtin_unreachable... yes [15:33:57.383] checking for computed goto support... yes [15:33:57.413] checking for struct tm.tm_zone... no [15:33:57.482] checking for union semun... no [15:33:57.511] checking for socklen_t... yes [15:33:58.886] checking for struct sockaddr.sa_len... no [15:34:00.769] checking for C/C++ restrict keyword... __restrict [15:34:00.781] checking for struct option... yes [15:34:00.832] checking whether assembler supports x86_64 popcntq... yes [15:34:00.839] checking size of off_t... 4 [15:34:01.125] 0 [15:34:01.125] checking for int timezone... yes [15:34:01.173] checking for backtrace_symbols... no [15:34:01.219] checking for copyfile... no [15:34:01.265] checking for copy_file_range... no [15:34:01.312] checking for elf_aux_info... no [15:34:01.358] checking for getauxval... no [15:34:01.403] checking for getifaddrs... no [15:34:01.450] checking for getpeerucred... no [15:34:01.496] checking for inet_pton... yes [15:34:01.542] checking for kqueue... no [15:34:01.589] checking for mbstowcs_l... no [15:34:01.635] checking for memset_s... no [15:34:01.681] checking for posix_fallocate... no [15:34:01.728] checking for ppoll... no [15:34:01.774] checking for pthread_is_threaded_np... no [15:34:01.820] checking for setproctitle... no [15:34:01.866] checking for setproctitle_fast... no [15:34:01.912] checking for strchrnul... no [15:34:01.956] checking for strsignal... no [15:34:02.001] checking for syncfs... no [15:34:02.047] checking for sync_file_range... no [15:34:02.093] checking for uselocale... no [15:34:02.138] checking for wcstombs_l... no [15:34:02.181] checking for __builtin_bswap16... yes [15:34:02.224] checking for __builtin_bswap32... yes [15:34:02.268] checking for __builtin_bswap64... yes [15:34:02.312] checking for __builtin_clz... yes [15:34:02.360] checking for __builtin_ctz... yes [15:34:02.405] checking for __builtin_popcount... yes [15:34:02.450] checking for __builtin_frame_address... yes [15:34:02.494] checking for _LARGEFILE_SOURCE value needed for large files... no [15:34:02.545] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [15:34:02.574] checking for posix_fadvise... no [15:34:02.620] checking whether posix_fadvise is declared... no [15:34:02.661] checking whether fdatasync is declared... no [15:34:02.703] checking whether strlcat is declared... no [15:34:02.762] checking whether strlcpy is declared... no [15:34:02.821] checking whether strnlen is declared... yes [15:34:02.853] checking whether strsep is declared... no [15:34:02.912] checking whether preadv is declared... no [15:34:02.943] checking whether pwritev is declared... no [15:34:02.975] checking whether F_FULLFSYNC is declared... no [15:34:03.009] checking for explicit_bzero... no [15:34:03.052] checking for getopt... yes [15:34:03.092] checking for getpeereid... no [15:34:03.133] checking for inet_aton... no [15:34:03.176] checking for mkdtemp... no [15:34:03.219] checking for strlcat... no [15:34:03.262] checking for strlcpy... no [15:34:03.306] checking for strnlen... yes [15:34:03.350] checking for strsep... no [15:34:03.393] checking for pthread_barrier_wait... yes [15:34:03.433] configure: On mingw32 we will use our strtof wrapper. [15:34:03.433] checking for getopt_long... yes [15:34:03.475] checking for syslog... no [15:34:03.518] checking for opterr... yes [15:34:03.562] checking for optreset... no [15:34:03.610] checking test program... cross-compiling [15:34:03.610] checking size of void *... 8 [15:34:03.953] checking size of size_t... 8 [15:34:04.346] checking size of long... 4 [15:34:04.668] checking size of long long... 8 [15:34:05.080] checking alignment of short... 2 [15:34:05.255] checking alignment of int... 4 [15:34:05.438] checking alignment of long... 4 [15:34:05.721] checking alignment of int64_t... 8 [15:34:06.123] checking alignment of double... 8 [15:34:06.407] checking for __int128... yes [15:34:06.453] checking for __int128 alignment bug... assuming ok [15:34:06.453] checking alignment of PG_INT128_TYPE... 16 [15:34:06.934] checking for builtin __sync char locking functions... yes [15:34:06.972] checking for builtin __sync int32 locking functions... yes [15:34:07.010] checking for builtin __sync int32 atomic operations... yes [15:34:07.048] checking for builtin __sync int64 atomic operations... yes [15:34:07.088] checking for builtin __atomic int32 atomic operations... yes [15:34:07.126] checking for builtin __atomic int64 atomic operations... yes [15:34:07.166] checking for __get_cpuid... yes [15:34:07.209] checking for __get_cpuid_count... yes [15:34:07.249] checking for __cpuid... no [15:34:07.634] checking for __cpuidex... no [15:34:08.044] checking for _xgetbv... yes [15:34:08.429] checking for _mm512_popcnt_epi64... yes [15:34:08.841] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [15:34:08.935] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [15:34:08.955] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [15:34:08.972] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [15:34:08.989] 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 [15:34:09.039] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [15:34:09.039] checking which random number source to use... Windows native [15:34:09.041] checking for xmllint... /usr/bin/xmllint [15:34:09.041] checking for xsltproc... /usr/bin/xsltproc [15:34:09.042] checking for fop... /usr/bin/fop [15:34:09.042] checking for dbtoepub... no [15:34:09.042] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [15:34:09.042] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [15:34:09.042] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [15:34:09.052] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [15:34:09.052] 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 [15:34:09.052] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [15:34:09.052] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [15:34:09.127] configure: creating ./config.status [15:34:09.202] config.status: creating GNUmakefile [15:34:09.212] config.status: creating src/Makefile.global [15:34:09.227] config.status: creating src/include/pg_config.h [15:34:09.238] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [15:34:09.252] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [15:34:09.259] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [15:34:09.265] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [15:34:09.272] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [15:34:09.278] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [15:34:09.281] config.status: executing check_win32_symlinks commands [15:34:09.312] [15:34:09.312] real 0m16.450s [15:34:09.312] user 0m10.928s [15:34:09.312] sys 0m5.151s [15:34:09.312] make -s -j${BUILD_JOBS} clean [15:34:09.786] time make -s -j${BUILD_JOBS} world-bin [15:35:44.535] In file included from ../../../../src/include/postgres.h:48, [15:35:44.535] from allpaths.c:16: [15:35:44.535] allpaths.c: In function ‘starjoin_join_search’: [15:35:44.535] allpaths.c:3455:53: error: ‘startlev’ undeclared (first use in this function); did you mean ‘strrev’? [15:35:44.535] 3455 | Assert(root->join_rel_level[startlev] != NIL); [15:35:44.535] | ^~~~~~~~ [15:35:44.535] ../../../../src/include/c.h:832:23: note: in definition of macro ‘Assert’ [15:35:44.535] 832 | if (!(condition)) \ [15:35:44.535] | ^~~~~~~~~ [15:35:44.535] allpaths.c:3455:53: note: each undeclared identifier is reported only once for each function it appears in [15:35:44.535] 3455 | Assert(root->join_rel_level[startlev] != NIL); [15:35:44.535] | ^~~~~~~~ [15:35:44.535] ../../../../src/include/c.h:832:23: note: in definition of macro ‘Assert’ [15:35:44.535] 832 | if (!(condition)) \ [15:35:44.535] | ^~~~~~~~~ [15:35:44.536] make[4]: *** [: allpaths.o] Error 1 [15:35:44.536] make[3]: *** [../../../src/backend/common.mk:37: path-recursive] Error 2 [15:35:44.536] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [15:35:44.536] make[2]: *** Waiting for unfinished jobs.... [15:36:01.615] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [15:36:01.615] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [15:36:01.615] [15:36:01.615] real 1m51.829s [15:36:01.615] user 6m4.946s [15:36:01.615] sys 1m7.817s [15:36:01.615] [15:36:01.615] Exit status: 2