[06:11:24.522] time ./configure \ [06:11:24.522] --host=x86_64-w64-mingw32 \ [06:11:24.522] --enable-cassert \ [06:11:24.522] --without-icu \ [06:11:24.522] CC="ccache x86_64-w64-mingw32-gcc" \ [06:11:24.522] CXX="ccache x86_64-w64-mingw32-g++" [06:11:24.654] checking build system type... x86_64-pc-linux-gnu [06:11:24.848] checking host system type... x86_64-w64-mingw32 [06:11:24.855] checking which template to use... win32 [06:11:24.855] checking whether NLS is wanted... no [06:11:24.855] checking for default port number... 5432 [06:11:24.862] checking for block size... 8kB [06:11:24.864] checking for segment size... 1GB [06:11:24.866] checking for WAL block size... 8kB [06:11:24.867] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:11:24.904] checking whether the C compiler works... yes [06:11:25.053] checking for C compiler default output file name... a.exe [06:11:25.054] checking for suffix of executables... .exe [06:11:25.099] checking whether we are cross compiling... yes [06:11:25.178] checking for suffix of object files... o [06:11:25.187] checking whether we are using the GNU C compiler... yes [06:11:25.194] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:11:25.201] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:11:25.212] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:11:25.273] checking whether we are using the GNU C++ compiler... yes [06:11:25.281] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:11:25.354] checking for gawk... no [06:11:25.354] checking for mawk... mawk [06:11:25.357] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:11:25.364] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:11:25.372] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:11:25.424] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:11:25.599] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:11:25.607] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:11:25.615] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:11:25.623] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:11:25.631] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:11:25.639] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:11:25.646] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:11:25.654] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:11:25.662] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:11:25.669] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:11:25.677] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:11:25.684] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:11:25.692] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [06:11:25.732] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:11:25.739] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:11:25.747] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:11:25.755] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:11:25.762] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:11:25.770] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:11:25.795] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:11:25.803] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:11:25.811] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:11:25.851] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:11:25.893] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:11:25.900] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:11:25.907] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:11:25.946] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:11:25.954] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:11:25.961] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:11:25.970] checking whether the C compiler still works... yes [06:11:26.040] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:11:26.117] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:11:26.118] checking pkg-config is at least version 0.9.0... yes [06:11:26.135] checking whether to build with ICU support... no [06:11:26.136] checking whether to build with Tcl... no [06:11:26.136] checking whether to build Perl modules... no [06:11:26.136] checking whether to build Python modules... no [06:11:26.136] checking whether to build with GSSAPI support... no [06:11:26.137] checking whether to build with PAM support... no [06:11:26.137] checking whether to build with BSD Authentication support... no [06:11:26.137] checking whether to build with LDAP support... no [06:11:26.138] checking whether to build with Bonjour support... no [06:11:26.138] checking whether to build with SELinux support... no [06:11:26.138] checking whether to build with systemd support... no [06:11:26.138] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:11:26.138] checking whether to build with libcurl support... no [06:11:26.138] checking whether to build with XML support... no [06:11:26.139] checking whether to build with LZ4 support... no [06:11:26.139] checking whether to build with ZSTD support... no [06:11:26.139] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:11:26.139] checking whether it is possible to strip libraries... yes [06:11:26.147] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:11:26.148] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:11:26.148] checking for a BSD-compatible install... /usr/bin/install -c [06:11:26.157] checking for tar... /usr/bin/tar [06:11:26.158] checking whether ln -s works... yes [06:11:26.158] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:11:26.160] checking for bison... /usr/bin/bison [06:11:26.163] configure: using bison (GNU Bison) 3.8.2 [06:11:26.166] checking for flex... /usr/bin/flex [06:11:26.168] configure: using flex 2.6.4 [06:11:26.168] checking for perl... /usr/bin/perl [06:11:26.171] configure: using perl 5.36.0 [06:11:26.174] checking for zic... /usr/sbin/zic [06:11:26.174] checking for a sed that does not truncate output... /usr/bin/sed [06:11:26.179] checking for grep that handles long lines and -e... /usr/bin/grep [06:11:26.181] checking for egrep... /usr/bin/grep -E [06:11:26.183] checking for ANSI C header files... yes [06:11:26.237] checking for sys/types.h... yes [06:11:26.256] checking for sys/stat.h... yes [06:11:26.273] checking for stdlib.h... yes [06:11:26.289] checking for string.h... yes [06:11:26.305] checking for memory.h... yes [06:11:26.321] checking for strings.h... yes [06:11:26.338] checking for inttypes.h... yes [06:11:26.356] checking for stdint.h... yes [06:11:26.372] checking for unistd.h... yes [06:11:26.389] checking for main in -lm... yes [06:11:26.443] checking for library containing setproctitle... no [06:11:26.540] checking for library containing dlsym... no [06:11:26.637] checking for library containing socket... -lws2_32 [06:11:26.784] checking for library containing getopt_long... none required [06:11:26.836] checking for library containing shm_open... no [06:11:26.933] checking for library containing shm_unlink... no [06:11:27.023] checking for library containing clock_gettime... no [06:11:27.114] checking for library containing shmget... no [06:11:27.211] checking for library containing backtrace_symbols... no [06:11:27.306] checking for library containing pthread_barrier_wait... -lpthread [06:11:27.405] checking for inflate in -lz... yes [06:11:27.458] checking atomic.h usability... no [06:11:27.523] checking atomic.h presence... no [06:11:27.544] checking for atomic.h... no [06:11:27.548] checking copyfile.h usability... no [06:11:27.610] checking copyfile.h presence... no [06:11:27.631] checking for copyfile.h... no [06:11:27.635] checking execinfo.h usability... no [06:11:27.697] checking execinfo.h presence... no [06:11:27.718] checking for execinfo.h... no [06:11:27.722] checking getopt.h usability... yes [06:11:27.730] checking getopt.h presence... yes [06:11:27.746] checking for getopt.h... yes [06:11:27.754] checking ifaddrs.h usability... no [06:11:27.814] checking ifaddrs.h presence... no [06:11:27.836] checking for ifaddrs.h... no [06:11:27.840] checking mbarrier.h usability... no [06:11:27.901] checking mbarrier.h presence... no [06:11:27.921] checking for mbarrier.h... no [06:11:27.925] checking sys/epoll.h usability... no [06:11:27.987] checking sys/epoll.h presence... no [06:11:28.008] checking for sys/epoll.h... no [06:11:28.012] checking sys/event.h usability... no [06:11:28.069] checking sys/event.h presence... no [06:11:28.089] checking for sys/event.h... no [06:11:28.093] checking sys/personality.h usability... no [06:11:28.150] checking sys/personality.h presence... no [06:11:28.170] checking for sys/personality.h... no [06:11:28.174] checking sys/prctl.h usability... no [06:11:28.229] checking sys/prctl.h presence... no [06:11:28.250] checking for sys/prctl.h... no [06:11:28.254] checking sys/procctl.h usability... no [06:11:28.316] checking sys/procctl.h presence... no [06:11:28.339] checking for sys/procctl.h... no [06:11:28.343] checking sys/signalfd.h usability... no [06:11:28.402] checking sys/signalfd.h presence... no [06:11:28.423] checking for sys/signalfd.h... no [06:11:28.427] checking sys/ucred.h usability... no [06:11:28.487] checking sys/ucred.h presence... no [06:11:28.508] checking for sys/ucred.h... no [06:11:28.512] checking termios.h usability... no [06:11:28.574] checking termios.h presence... no [06:11:28.597] checking for termios.h... no [06:11:28.601] checking ucred.h usability... no [06:11:28.665] checking ucred.h presence... no [06:11:28.689] checking for ucred.h... no [06:11:28.693] checking xlocale.h usability... no [06:11:28.759] checking xlocale.h presence... no [06:11:28.781] checking for xlocale.h... no [06:11:28.785] checking zlib.h usability... yes [06:11:28.796] checking zlib.h presence... yes [06:11:28.820] checking for zlib.h... yes [06:11:28.820] checking for lz4... /usr/bin/lz4 [06:11:28.820] checking for zstd... /usr/bin/zstd [06:11:28.821] checking for openssl... /usr/bin/openssl [06:11:28.826] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [06:11:28.826] checking crtdefs.h usability... yes [06:11:28.836] checking crtdefs.h presence... yes [06:11:28.852] checking for crtdefs.h... yes [06:11:28.854] checking whether byte ordering is bigendian... no [06:11:28.941] checking for inline... inline [06:11:28.950] checking for printf format archetype... gnu_printf [06:11:28.959] checking for _Static_assert... yes [06:11:29.007] checking for typeof... typeof [06:11:29.015] checking for __builtin_types_compatible_p... yes [06:11:29.027] checking for __builtin_constant_p... yes [06:11:29.039] checking for __builtin_mul_overflow... yes [06:11:29.095] checking for __builtin_unreachable... yes [06:11:29.144] checking for computed goto support... yes [06:11:29.152] checking for struct tm.tm_zone... no [06:11:29.243] checking for union semun... no [06:11:29.283] checking for socklen_t... yes [06:11:30.677] checking for struct sockaddr.sa_len... no [06:11:32.785] checking for C/C++ restrict keyword... __restrict [06:11:32.799] checking for struct option... yes [06:11:32.845] checking whether assembler supports x86_64 popcntq... yes [06:11:32.854] checking size of off_t... 4 [06:11:33.071] 0 [06:11:33.072] checking for int timezone... yes [06:11:33.129] checking for backtrace_symbols... no [06:11:33.184] checking for copyfile... no [06:11:33.241] checking for copy_file_range... no [06:11:33.295] checking for elf_aux_info... no [06:11:33.349] checking for getauxval... no [06:11:33.403] checking for getifaddrs... no [06:11:33.458] checking for getpeerucred... no [06:11:33.512] checking for inet_pton... yes [06:11:33.565] checking for kqueue... no [06:11:33.620] checking for mbstowcs_l... no [06:11:33.676] checking for memset_s... no [06:11:33.733] checking for posix_fallocate... no [06:11:33.790] checking for ppoll... no [06:11:33.848] checking for pthread_is_threaded_np... no [06:11:33.905] checking for setproctitle... no [06:11:33.962] checking for setproctitle_fast... no [06:11:34.018] checking for strchrnul... no [06:11:34.075] checking for strsignal... no [06:11:34.133] checking for syncfs... no [06:11:34.188] checking for sync_file_range... no [06:11:34.242] checking for uselocale... no [06:11:34.297] checking for wcstombs_l... no [06:11:34.348] checking for __builtin_bswap16... yes [06:11:34.404] checking for __builtin_bswap32... yes [06:11:34.459] checking for __builtin_bswap64... yes [06:11:34.517] checking for __builtin_clz... yes [06:11:34.574] checking for __builtin_ctz... yes [06:11:34.626] checking for __builtin_popcount... yes [06:11:34.680] checking for __builtin_frame_address... yes [06:11:34.735] checking for _LARGEFILE_SOURCE value needed for large files... no [06:11:34.795] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:11:34.831] checking for posix_fadvise... no [06:11:34.888] checking whether posix_fadvise is declared... no [06:11:34.937] checking whether fdatasync is declared... no [06:11:34.988] checking whether strlcat is declared... no [06:11:35.061] checking whether strlcpy is declared... no [06:11:35.130] checking whether strnlen is declared... yes [06:11:35.146] checking whether strsep is declared... no [06:11:35.219] checking whether preadv is declared... no [06:11:35.262] checking whether pwritev is declared... no [06:11:35.302] checking whether F_FULLFSYNC is declared... no [06:11:35.347] checking for explicit_bzero... no [06:11:35.401] checking for getopt... yes [06:11:35.452] checking for getpeereid... no [06:11:35.502] checking for inet_aton... no [06:11:35.555] checking for mkdtemp... no [06:11:35.609] checking for strlcat... no [06:11:35.664] checking for strlcpy... no [06:11:35.718] checking for strnlen... yes [06:11:35.771] checking for strsep... no [06:11:35.823] checking for pthread_barrier_wait... yes [06:11:35.873] configure: On mingw32 we will use our strtof wrapper. [06:11:35.873] checking for getopt_long... yes [06:11:35.926] checking for syslog... no [06:11:35.980] checking for opterr... yes [06:11:36.036] checking for optreset... no [06:11:36.095] checking test program... cross-compiling [06:11:36.095] checking size of void *... 8 [06:11:36.399] checking size of size_t... 8 [06:11:36.703] checking size of long... 4 [06:11:36.930] checking size of long long... 8 [06:11:37.230] checking alignment of short... 2 [06:11:37.380] checking alignment of int... 4 [06:11:37.614] checking alignment of long... 4 [06:11:37.853] checking alignment of int64_t... 8 [06:11:38.173] checking alignment of double... 8 [06:11:38.491] checking for __int128... yes [06:11:38.551] checking for __int128 alignment bug... assuming ok [06:11:38.552] checking alignment of PG_INT128_TYPE... 16 [06:11:38.938] checking for builtin __sync char locking functions... yes [06:11:38.986] checking for builtin __sync int32 locking functions... yes [06:11:39.031] checking for builtin __sync int32 atomic operations... yes [06:11:39.078] checking for builtin __sync int64 atomic operations... yes [06:11:39.127] checking for builtin __atomic int32 atomic operations... yes [06:11:39.174] checking for builtin __atomic int64 atomic operations... yes [06:11:39.222] checking for __get_cpuid... yes [06:11:39.274] checking for __get_cpuid_count... yes [06:11:39.323] checking for __cpuid... no [06:11:39.738] checking for __cpuidex... no [06:11:40.170] checking for _xgetbv... yes [06:11:40.574] checking for _mm512_popcnt_epi64... yes [06:11:41.009] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [06:11:41.118] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:11:41.142] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [06:11:41.162] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:11:41.182] 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 [06:11:41.244] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:11:41.245] checking which random number source to use... Windows native [06:11:41.247] checking for xmllint... /usr/bin/xmllint [06:11:41.247] checking for xsltproc... /usr/bin/xsltproc [06:11:41.247] checking for fop... /usr/bin/fop [06:11:41.248] checking for dbtoepub... no [06:11:41.248] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:11:41.248] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:11:41.249] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [06:11:41.261] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [06:11:41.261] 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 [06:11:41.261] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [06:11:41.261] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:11:41.360] configure: creating ./config.status [06:11:41.454] config.status: creating GNUmakefile [06:11:41.467] config.status: creating src/Makefile.global [06:11:41.484] config.status: creating src/include/pg_config.h [06:11:41.499] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:11:41.516] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:11:41.524] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:11:41.532] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:11:41.540] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:11:41.548] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:11:41.552] config.status: executing check_win32_symlinks commands [06:11:41.591] [06:11:41.591] real 0m17.069s [06:11:41.591] user 0m11.187s [06:11:41.591] sys 0m5.569s [06:11:41.591] make -s -j${BUILD_JOBS} clean [06:11:42.118] time make -s -j${BUILD_JOBS} world-bin [06:11:47.514] In file included from ../../../../src/include/postgres.h:48, [06:11:47.514] from allpaths.c:16: [06:11:47.514] allpaths.c: In function ‘starjoin_join_search’: [06:11:47.514] allpaths.c:3462:53: error: ‘startlev’ undeclared (first use in this function); did you mean ‘strrev’? [06:11:47.514] 3462 | Assert(root->join_rel_level[startlev] != NIL); [06:11:47.514] | ^~~~~~~~ [06:11:47.514] ../../../../src/include/c.h:832:23: note: in definition of macro ‘Assert’ [06:11:47.514] 832 | if (!(condition)) \ [06:11:47.514] | ^~~~~~~~~ [06:11:47.514] allpaths.c:3462:53: note: each undeclared identifier is reported only once for each function it appears in [06:11:47.514] 3462 | Assert(root->join_rel_level[startlev] != NIL); [06:11:47.514] | ^~~~~~~~ [06:11:47.514] ../../../../src/include/c.h:832:23: note: in definition of macro ‘Assert’ [06:11:47.514] 832 | if (!(condition)) \ [06:11:47.514] | ^~~~~~~~~ [06:11:47.514] make[4]: *** [: allpaths.o] Error 1 [06:11:47.514] make[4]: *** Waiting for unfinished jobs.... [06:11:49.088] make[3]: *** [../../../src/backend/common.mk:37: path-recursive] Error 2 [06:11:49.088] make[3]: *** Waiting for unfinished jobs.... [06:11:52.112] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [06:11:52.112] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:11:52.113] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:11:52.113] [06:11:52.113] real 0m9.995s [06:11:52.113] user 0m20.924s [06:11:52.113] sys 0m8.375s [06:11:52.113] [06:11:52.113] Exit status: 2