[20:06:59.659] time ./configure \ [20:06:59.659] --host=x86_64-w64-mingw32 \ [20:06:59.659] --enable-cassert \ [20:06:59.659] --without-icu \ [20:06:59.659] CC="ccache x86_64-w64-mingw32-gcc" \ [20:06:59.659] CXX="ccache x86_64-w64-mingw32-g++" [20:06:59.776] checking build system type... x86_64-pc-linux-gnu [20:06:59.967] checking host system type... x86_64-w64-mingw32 [20:06:59.972] checking which template to use... win32 [20:06:59.972] checking whether NLS is wanted... no [20:06:59.972] checking for default port number... 5432 [20:06:59.979] checking for block size... 8kB [20:06:59.981] checking for segment size... 1GB [20:06:59.983] checking for WAL block size... 8kB [20:06:59.985] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [20:07:00.020] checking whether the C compiler works... yes [20:07:00.158] checking for C compiler default output file name... a.exe [20:07:00.159] checking for suffix of executables... .exe [20:07:00.201] checking whether we are cross compiling... yes [20:07:00.276] checking for suffix of object files... o [20:07:00.285] checking whether we are using the GNU C compiler... yes [20:07:00.292] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [20:07:00.298] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [20:07:00.307] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [20:07:00.360] checking whether we are using the GNU C++ compiler... yes [20:07:00.366] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [20:07:00.428] checking for gawk... no [20:07:00.428] checking for mawk... mawk [20:07:00.430] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [20:07:00.437] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [20:07:00.443] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [20:07:00.486] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [20:07:00.630] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [20:07:00.636] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [20:07:00.642] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [20:07:00.649] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [20:07:00.655] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [20:07:00.661] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [20:07:00.667] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [20:07:00.674] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [20:07:00.680] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [20:07:00.686] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [20:07:00.692] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [20:07:00.699] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [20:07:00.705] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [20:07:00.740] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [20:07:00.747] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [20:07:00.753] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [20:07:00.759] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [20:07:00.766] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [20:07:00.772] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [20:07:00.793] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [20:07:00.799] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [20:07:00.806] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [20:07:00.841] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [20:07:00.878] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [20:07:00.884] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [20:07:00.890] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [20:07:00.923] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [20:07:00.930] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [20:07:00.936] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [20:07:00.944] checking whether the C compiler still works... yes [20:07:01.007] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [20:07:01.072] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [20:07:01.072] checking pkg-config is at least version 0.9.0... yes [20:07:01.087] checking whether to build with ICU support... no [20:07:01.088] checking whether to build with Tcl... no [20:07:01.088] checking whether to build Perl modules... no [20:07:01.088] checking whether to build Python modules... no [20:07:01.088] checking whether to build with GSSAPI support... no [20:07:01.089] checking whether to build with PAM support... no [20:07:01.089] checking whether to build with BSD Authentication support... no [20:07:01.089] checking whether to build with LDAP support... no [20:07:01.089] checking whether to build with Bonjour support... no [20:07:01.089] checking whether to build with SELinux support... no [20:07:01.089] checking whether to build with systemd support... no [20:07:01.090] configure: WARNING: *** Readline does not work on MinGW --- disabling [20:07:01.090] checking whether to build with XML support... no [20:07:01.090] checking whether to build with LZ4 support... no [20:07:01.090] checking whether to build with ZSTD support... no [20:07:01.090] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [20:07:01.091] checking whether it is possible to strip libraries... yes [20:07:01.097] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [20:07:01.098] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [20:07:01.098] checking for a BSD-compatible install... /usr/bin/install -c [20:07:01.106] checking for tar... /usr/bin/tar [20:07:01.106] checking whether ln -s works... yes [20:07:01.107] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [20:07:01.109] checking for bison... /usr/bin/bison [20:07:01.111] configure: using bison (GNU Bison) 3.8.2 [20:07:01.113] checking for flex... /usr/bin/flex [20:07:01.115] configure: using flex 2.6.4 [20:07:01.115] checking for perl... /usr/bin/perl [20:07:01.118] configure: using perl 5.36.0 [20:07:01.120] checking for zic... /usr/sbin/zic [20:07:01.120] checking for a sed that does not truncate output... /usr/bin/sed [20:07:01.124] checking for grep that handles long lines and -e... /usr/bin/grep [20:07:01.126] checking for egrep... /usr/bin/grep -E [20:07:01.128] checking for ANSI C header files... yes [20:07:01.171] checking for sys/types.h... yes [20:07:01.185] checking for sys/stat.h... yes [20:07:01.200] checking for stdlib.h... yes [20:07:01.212] checking for string.h... yes [20:07:01.225] checking for memory.h... yes [20:07:01.239] checking for strings.h... yes [20:07:01.252] checking for inttypes.h... yes [20:07:01.267] checking for stdint.h... yes [20:07:01.279] checking for unistd.h... yes [20:07:01.293] checking for main in -lm... yes [20:07:01.337] checking for library containing setproctitle... no [20:07:01.421] checking for library containing dlsym... no [20:07:01.502] checking for library containing socket... -lws2_32 [20:07:01.620] checking for library containing getopt_long... none required [20:07:01.664] checking for library containing shm_open... no [20:07:01.746] checking for library containing shm_unlink... no [20:07:01.829] checking for library containing clock_gettime... no [20:07:01.910] checking for library containing shmget... no [20:07:01.994] checking for library containing backtrace_symbols... no [20:07:02.075] checking for library containing pthread_barrier_wait... -lpthread [20:07:02.157] checking for inflate in -lz... yes [20:07:02.202] checking atomic.h usability... no [20:07:02.256] checking atomic.h presence... no [20:07:02.274] checking for atomic.h... no [20:07:02.277] checking copyfile.h usability... no [20:07:02.328] checking copyfile.h presence... no [20:07:02.345] checking for copyfile.h... no [20:07:02.348] checking execinfo.h usability... no [20:07:02.398] checking execinfo.h presence... no [20:07:02.415] checking for execinfo.h... no [20:07:02.418] checking getopt.h usability... yes [20:07:02.425] checking getopt.h presence... yes [20:07:02.442] checking for getopt.h... yes [20:07:02.449] checking ifaddrs.h usability... no [20:07:02.500] checking ifaddrs.h presence... no [20:07:02.517] checking for ifaddrs.h... no [20:07:02.520] checking mbarrier.h usability... no [20:07:02.570] checking mbarrier.h presence... no [20:07:02.587] checking for mbarrier.h... no [20:07:02.589] checking sys/epoll.h usability... no [20:07:02.640] checking sys/epoll.h presence... no [20:07:02.657] checking for sys/epoll.h... no [20:07:02.660] checking sys/event.h usability... no [20:07:02.711] checking sys/event.h presence... no [20:07:02.728] checking for sys/event.h... no [20:07:02.731] checking sys/personality.h usability... no [20:07:02.781] checking sys/personality.h presence... no [20:07:02.798] checking for sys/personality.h... no [20:07:02.801] checking sys/prctl.h usability... no [20:07:02.851] checking sys/prctl.h presence... no [20:07:02.868] checking for sys/prctl.h... no [20:07:02.871] checking sys/procctl.h usability... no [20:07:02.921] checking sys/procctl.h presence... no [20:07:02.939] checking for sys/procctl.h... no [20:07:02.942] checking sys/signalfd.h usability... no [20:07:02.993] checking sys/signalfd.h presence... no [20:07:03.010] checking for sys/signalfd.h... no [20:07:03.013] checking sys/ucred.h usability... no [20:07:03.063] checking sys/ucred.h presence... no [20:07:03.080] checking for sys/ucred.h... no [20:07:03.083] checking termios.h usability... no [20:07:03.134] checking termios.h presence... no [20:07:03.151] checking for termios.h... no [20:07:03.154] checking ucred.h usability... no [20:07:03.205] checking ucred.h presence... no [20:07:03.222] checking for ucred.h... no [20:07:03.225] checking xlocale.h usability... no [20:07:03.275] checking xlocale.h presence... no [20:07:03.292] checking for xlocale.h... no [20:07:03.295] checking zlib.h usability... yes [20:07:03.303] checking zlib.h presence... yes [20:07:03.320] checking for zlib.h... yes [20:07:03.320] checking for lz4... /usr/bin/lz4 [20:07:03.321] checking for zstd... /usr/bin/zstd [20:07:03.321] checking for openssl... /usr/bin/openssl [20:07:03.325] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [20:07:03.325] checking crtdefs.h usability... yes [20:07:03.332] checking crtdefs.h presence... yes [20:07:03.346] checking for crtdefs.h... yes [20:07:03.347] checking whether byte ordering is bigendian... no [20:07:03.413] checking for inline... inline [20:07:03.419] checking for printf format archetype... gnu_printf [20:07:03.427] checking for _Static_assert... yes [20:07:03.465] checking for typeof... typeof [20:07:03.471] checking for __builtin_types_compatible_p... yes [20:07:03.481] checking for __builtin_constant_p... yes [20:07:03.491] checking for __builtin_mul_overflow... yes [20:07:03.536] checking for __builtin_unreachable... yes [20:07:03.574] checking for computed goto support... yes [20:07:03.581] checking for struct tm.tm_zone... no [20:07:03.655] checking for union semun... no [20:07:03.687] checking for socklen_t... yes [20:07:04.776] checking for struct sockaddr.sa_len... no [20:07:06.790] checking for C/C++ restrict keyword... __restrict [20:07:06.804] checking for struct option... yes [20:07:06.850] checking whether assembler supports x86_64 popcntq... yes [20:07:06.857] checking size of off_t... 4 [20:07:07.071] 0 [20:07:07.071] checking for int timezone... yes [20:07:07.124] checking for backtrace_symbols... no [20:07:07.176] checking for copyfile... no [20:07:07.229] checking for copy_file_range... no [20:07:07.283] checking for elf_aux_info... no [20:07:07.335] checking for getauxval... no [20:07:07.388] checking for getifaddrs... no [20:07:07.445] checking for getpeerucred... no [20:07:07.498] checking for inet_pton... yes [20:07:07.552] checking for kqueue... no [20:07:07.604] checking for mbstowcs_l... no [20:07:07.655] checking for memset_s... no [20:07:07.708] checking for posix_fallocate... no [20:07:07.762] checking for ppoll... no [20:07:07.817] checking for pthread_is_threaded_np... no [20:07:07.870] checking for setproctitle... no [20:07:07.920] checking for setproctitle_fast... no [20:07:07.975] checking for strchrnul... no [20:07:08.032] checking for strsignal... no [20:07:08.085] checking for syncfs... no [20:07:08.141] checking for sync_file_range... no [20:07:08.196] checking for uselocale... no [20:07:08.251] checking for wcstombs_l... no [20:07:08.303] checking for __builtin_bswap16... yes [20:07:08.357] checking for __builtin_bswap32... yes [20:07:08.408] checking for __builtin_bswap64... yes [20:07:08.456] checking for __builtin_clz... yes [20:07:08.505] checking for __builtin_ctz... yes [20:07:08.555] checking for __builtin_popcount... yes [20:07:08.608] checking for __builtin_frame_address... yes [20:07:08.657] checking for _LARGEFILE_SOURCE value needed for large files... no [20:07:08.709] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [20:07:08.742] checking for posix_fadvise... no [20:07:08.797] checking whether posix_fadvise is declared... no [20:07:08.845] checking whether fdatasync is declared... no [20:07:08.896] checking whether strlcat is declared... no [20:07:08.965] checking whether strlcpy is declared... no [20:07:09.030] checking whether strnlen is declared... yes [20:07:09.044] checking whether strsep is declared... no [20:07:09.105] checking whether preadv is declared... no [20:07:09.138] checking whether pwritev is declared... no [20:07:09.170] checking whether F_FULLFSYNC is declared... no [20:07:09.206] checking for explicit_bzero... no [20:07:09.250] checking for getopt... yes [20:07:09.292] checking for getpeereid... no [20:07:09.335] checking for inet_aton... no [20:07:09.379] checking for mkdtemp... no [20:07:09.423] checking for strlcat... no [20:07:09.467] checking for strlcpy... no [20:07:09.510] checking for strnlen... yes [20:07:09.554] checking for strsep... no [20:07:09.598] checking for pthread_barrier_wait... yes [20:07:09.639] configure: On mingw32 we will use our strtof wrapper. [20:07:09.639] checking for getopt_long... yes [20:07:09.680] checking for syslog... no [20:07:09.725] checking for opterr... yes [20:07:09.770] checking for optreset... no [20:07:09.817] checking test program... cross-compiling [20:07:09.817] checking size of void *... 8 [20:07:10.070] checking size of size_t... 8 [20:07:10.323] checking size of long... 4 [20:07:10.529] checking size of long long... 8 [20:07:10.811] checking alignment of short... 2 [20:07:10.954] checking alignment of int... 4 [20:07:11.162] checking alignment of long... 4 [20:07:11.374] checking alignment of int64_t... 8 [20:07:11.650] checking alignment of double... 8 [20:07:11.907] checking for __int128... yes [20:07:11.957] checking for __int128 alignment bug... assuming ok [20:07:11.957] checking alignment of PG_INT128_TYPE... 16 [20:07:12.266] checking for builtin __sync char locking functions... yes [20:07:12.305] checking for builtin __sync int32 locking functions... yes [20:07:12.344] checking for builtin __sync int32 atomic operations... yes [20:07:12.384] checking for builtin __sync int64 atomic operations... yes [20:07:12.425] checking for builtin __atomic int32 atomic operations... yes [20:07:12.466] checking for builtin __atomic int64 atomic operations... yes [20:07:12.508] checking for __get_cpuid... yes [20:07:12.551] checking for __get_cpuid_count... yes [20:07:12.592] checking for __cpuid... no [20:07:12.979] checking for __cpuidex... no [20:07:13.389] checking for _xgetbv... yes [20:07:13.781] checking for _mm512_popcnt_epi64... yes [20:07:14.187] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [20:07:14.280] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:07:14.301] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [20:07:14.318] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:07:14.335] 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:07:14.387] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:07:14.387] checking which random number source to use... Windows native [20:07:14.389] checking for xmllint... /usr/bin/xmllint [20:07:14.389] checking for xsltproc... /usr/bin/xsltproc [20:07:14.389] checking for fop... /usr/bin/fop [20:07:14.389] checking for dbtoepub... no [20:07:14.390] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:07:14.390] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:07:14.390] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [20:07:14.400] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [20:07:14.400] 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:07:14.400] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [20:07:14.400] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:07:14.478] configure: creating ./config.status [20:07:14.557] config.status: creating GNUmakefile [20:07:14.568] config.status: creating src/Makefile.global [20:07:14.582] config.status: creating src/include/pg_config.h [20:07:14.594] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:07:14.608] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [20:07:14.614] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:07:14.621] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:07:14.628] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:07:14.634] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:07:14.637] config.status: executing check_win32_symlinks commands [20:07:14.668] [20:07:14.668] real 0m15.010s [20:07:14.668] user 0m9.882s [20:07:14.668] sys 0m4.828s [20:07:14.668] make -s -j${BUILD_JOBS} clean [20:07:15.152] time make -s -j${BUILD_JOBS} world-bin [20:07:20.815] In file included from ../../../../src/include/postgres.h:48, [20:07:20.815] from allpaths.c:16: [20:07:20.815] allpaths.c: In function ‘starjoin_join_search’: [20:07:20.815] allpaths.c:3462:53: error: ‘startlev’ undeclared (first use in this function); did you mean ‘strrev’? [20:07:20.815] 3462 | Assert(root->join_rel_level[startlev] != NIL); [20:07:20.815] | ^~~~~~~~ [20:07:20.815] ../../../../src/include/c.h:832:23: note: in definition of macro ‘Assert’ [20:07:20.815] 832 | if (!(condition)) \ [20:07:20.815] | ^~~~~~~~~ [20:07:20.815] allpaths.c:3462:53: note: each undeclared identifier is reported only once for each function it appears in [20:07:20.815] 3462 | Assert(root->join_rel_level[startlev] != NIL); [20:07:20.815] | ^~~~~~~~ [20:07:20.815] ../../../../src/include/c.h:832:23: note: in definition of macro ‘Assert’ [20:07:20.815] 832 | if (!(condition)) \ [20:07:20.815] | ^~~~~~~~~ [20:07:20.816] make[4]: *** [: allpaths.o] Error 1 [20:07:20.816] make[3]: *** [../../../src/backend/common.mk:37: path-recursive] Error 2 [20:07:20.816] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [20:07:20.816] make[2]: *** Waiting for unfinished jobs.... [20:07:22.661] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:07:22.661] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:07:22.662] [20:07:22.662] real 0m7.510s [20:07:22.662] user 0m16.146s [20:07:22.662] sys 0m6.169s [20:07:22.662] [20:07:22.662] Exit status: 2