[09:07:02.130] time ./configure \ [09:07:02.130] --host=x86_64-w64-mingw32 \ [09:07:02.130] --enable-cassert \ [09:07:02.130] --without-icu \ [09:07:02.130] CC="ccache x86_64-w64-mingw32-gcc" \ [09:07:02.130] CXX="ccache x86_64-w64-mingw32-g++" [09:07:02.210] checking build system type... x86_64-pc-linux-gnu [09:07:02.406] checking host system type... x86_64-w64-mingw32 [09:07:02.410] checking which template to use... win32 [09:07:02.411] checking whether NLS is wanted... no [09:07:02.411] checking for default port number... 5432 [09:07:02.416] checking for block size... 8kB [09:07:02.416] checking for segment size... 1GB [09:07:02.418] checking for WAL block size... 8kB [09:07:02.419] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:07:02.442] checking whether the C compiler works... yes [09:07:02.585] checking for C compiler default output file name... a.exe [09:07:02.586] checking for suffix of executables... .exe [09:07:02.616] checking whether we are cross compiling... yes [09:07:02.681] checking for suffix of object files... o [09:07:02.708] checking whether we are using the GNU C compiler... yes [09:07:02.713] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:07:02.717] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:07:02.736] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:07:02.786] checking whether we are using the GNU C++ compiler... yes [09:07:02.979] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:07:03.048] checking for gawk... no [09:07:03.048] checking for mawk... mawk [09:07:03.051] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:07:03.055] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:07:03.060] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:07:03.093] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:07:03.123] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:07:03.149] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:07:03.154] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:07:03.166] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:07:03.171] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:07:03.176] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:07:03.180] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:07:03.186] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:07:03.191] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:07:03.203] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:07:03.208] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:07:03.213] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:07:03.217] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:07:03.242] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:07:03.246] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:07:03.251] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:07:03.262] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:07:03.267] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:07:03.281] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:07:03.305] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:07:03.331] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:07:03.354] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:07:03.378] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:07:03.383] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:07:03.395] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:07:03.416] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:07:03.421] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:07:03.425] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:07:03.431] checking whether the C compiler still works... yes [09:07:03.481] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:07:03.529] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:07:03.529] checking pkg-config is at least version 0.9.0... yes [09:07:03.542] checking whether to build with ICU support... no [09:07:03.542] checking whether to build with Tcl... no [09:07:03.543] checking whether to build Perl modules... no [09:07:03.543] checking whether to build Python modules... no [09:07:03.543] checking whether to build with GSSAPI support... no [09:07:03.543] checking whether to build with PAM support... no [09:07:03.543] checking whether to build with BSD Authentication support... no [09:07:03.544] checking whether to build with LDAP support... no [09:07:03.544] checking whether to build with Bonjour support... no [09:07:03.544] checking whether to build with SELinux support... no [09:07:03.544] checking whether to build with systemd support... no [09:07:03.544] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:07:03.544] checking whether to build with XML support... no [09:07:03.544] checking whether to build with LZ4 support... no [09:07:03.544] checking whether to build with ZSTD support... no [09:07:03.545] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:07:03.545] checking whether it is possible to strip libraries... yes [09:07:03.551] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:07:03.551] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:07:03.552] checking for a BSD-compatible install... /usr/bin/install -c [09:07:03.557] checking for tar... /usr/bin/tar [09:07:03.557] checking whether ln -s works... yes [09:07:03.557] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:07:03.559] checking for bison... /usr/bin/bison [09:07:03.560] configure: using bison (GNU Bison) 3.7.5 [09:07:03.563] checking for flex... /usr/bin/flex [09:07:03.573] configure: using flex 2.6.4 [09:07:03.573] checking for perl... /usr/bin/perl [09:07:03.575] configure: using perl 5.32.1 [09:07:03.577] checking for zic... /usr/sbin/zic [09:07:03.577] checking for a sed that does not truncate output... /usr/bin/sed [09:07:03.581] checking for grep that handles long lines and -e... /usr/bin/grep [09:07:03.583] checking for egrep... /usr/bin/grep -E [09:07:03.584] checking for ANSI C header files... yes [09:07:03.620] checking for sys/types.h... yes [09:07:03.633] checking for sys/stat.h... yes [09:07:03.646] checking for stdlib.h... yes [09:07:03.657] checking for string.h... yes [09:07:03.707] checking for memory.h... yes [09:07:03.718] checking for strings.h... yes [09:07:03.743] checking for inttypes.h... yes [09:07:03.790] checking for stdint.h... yes [09:07:03.835] checking for unistd.h... yes [09:07:03.847] checking for main in -lm... yes [09:07:03.879] checking for library containing setproctitle... no [09:07:03.943] checking for library containing dlsym... no [09:07:04.005] checking for library containing socket... -lws2_32 [09:07:04.096] checking for library containing getopt_long... none required [09:07:04.134] checking for library containing shm_open... no [09:07:04.199] checking for library containing shm_unlink... no [09:07:04.266] checking for library containing clock_gettime... no [09:07:04.330] checking for library containing shmget... no [09:07:04.397] checking for library containing backtrace_symbols... no [09:07:04.461] checking for library containing pthread_barrier_wait... -lpthread [09:07:04.528] checking for inflate in -lz... yes [09:07:04.565] checking for stdbool.h that conforms to C99... yes [09:07:04.573] checking for _Bool... yes [09:07:04.625] checking atomic.h usability... no [09:07:04.668] checking atomic.h presence... no [09:07:04.681] checking for atomic.h... no [09:07:04.683] checking copyfile.h usability... no [09:07:04.725] checking copyfile.h presence... no [09:07:04.738] checking for copyfile.h... no [09:07:04.741] checking execinfo.h usability... no [09:07:04.780] checking execinfo.h presence... no [09:07:04.793] checking for execinfo.h... no [09:07:04.795] checking getopt.h usability... yes [09:07:04.800] checking getopt.h presence... yes [09:07:04.811] checking for getopt.h... yes [09:07:04.819] checking ifaddrs.h usability... no [09:07:04.862] checking ifaddrs.h presence... no [09:07:04.876] checking for ifaddrs.h... no [09:07:04.878] checking langinfo.h usability... no [09:07:04.918] checking langinfo.h presence... no [09:07:04.931] checking for langinfo.h... no [09:07:04.933] checking mbarrier.h usability... no [09:07:04.973] checking mbarrier.h presence... no [09:07:04.987] checking for mbarrier.h... no [09:07:04.990] checking sys/epoll.h usability... no [09:07:05.029] checking sys/epoll.h presence... no [09:07:05.042] checking for sys/epoll.h... no [09:07:05.045] checking sys/event.h usability... no [09:07:05.087] checking sys/event.h presence... no [09:07:05.100] checking for sys/event.h... no [09:07:05.103] checking sys/personality.h usability... no [09:07:05.144] checking sys/personality.h presence... no [09:07:05.156] checking for sys/personality.h... no [09:07:05.158] checking sys/prctl.h usability... no [09:07:05.202] checking sys/prctl.h presence... no [09:07:05.216] checking for sys/prctl.h... no [09:07:05.218] checking sys/procctl.h usability... no [09:07:05.260] checking sys/procctl.h presence... no [09:07:05.274] checking for sys/procctl.h... no [09:07:05.276] checking sys/signalfd.h usability... no [09:07:05.317] checking sys/signalfd.h presence... no [09:07:05.330] checking for sys/signalfd.h... no [09:07:05.332] checking sys/ucred.h usability... no [09:07:05.373] checking sys/ucred.h presence... no [09:07:05.387] checking for sys/ucred.h... no [09:07:05.389] checking termios.h usability... no [09:07:05.432] checking termios.h presence... no [09:07:05.446] checking for termios.h... no [09:07:05.449] checking ucred.h usability... no [09:07:05.490] checking ucred.h presence... no [09:07:05.502] checking for ucred.h... no [09:07:05.504] checking zlib.h usability... yes [09:07:05.556] checking zlib.h presence... yes [09:07:05.570] checking for zlib.h... yes [09:07:05.570] checking for lz4... /usr/bin/lz4 [09:07:05.570] checking for zstd... /usr/bin/zstd [09:07:05.570] checking for openssl... /usr/bin/openssl [09:07:05.573] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [09:07:05.574] checking crtdefs.h usability... yes [09:07:05.578] checking crtdefs.h presence... yes [09:07:05.588] checking for crtdefs.h... yes [09:07:05.588] checking whether byte ordering is bigendian... no [09:07:05.632] checking for inline... inline [09:07:05.636] checking for printf format archetype... gnu_printf [09:07:05.647] checking for _Static_assert... yes [09:07:05.676] checking for typeof... typeof [09:07:05.688] checking for __builtin_types_compatible_p... yes [09:07:05.701] checking for __builtin_constant_p... yes [09:07:05.708] checking for __builtin_unreachable... yes [09:07:05.739] checking for computed goto support... yes [09:07:05.744] checking for struct tm.tm_zone... no [09:07:05.798] checking for union semun... no [09:07:05.820] checking for socklen_t... yes [09:07:06.693] checking for struct sockaddr.sa_len... no [09:07:08.184] checking for locale_t... no [09:07:08.229] checking for C/C++ restrict keyword... __restrict [09:07:08.238] checking for struct option... yes [09:07:08.269] checking whether assembler supports x86_64 popcntq... yes [09:07:08.274] checking size of off_t... 4 [09:07:08.467] 0 [09:07:08.467] checking size of bool... 1 [09:07:08.518] checking for int timezone... yes [09:07:08.558] checking for wcstombs_l declaration... no [09:07:08.622] checking for backtrace_symbols... no [09:07:08.660] checking for copyfile... no [09:07:08.698] checking for copy_file_range... no [09:07:08.735] checking for getifaddrs... no [09:07:08.773] checking for getpeerucred... no [09:07:08.806] checking for inet_pton... yes [09:07:08.840] checking for kqueue... no [09:07:08.872] checking for mbstowcs_l... no [09:07:08.905] checking for memset_s... no [09:07:08.938] checking for posix_fallocate... no [09:07:08.974] checking for ppoll... no [09:07:09.009] checking for pthread_is_threaded_np... no [09:07:09.043] checking for setproctitle... no [09:07:09.078] checking for setproctitle_fast... no [09:07:09.115] checking for strchrnul... no [09:07:09.148] checking for strsignal... no [09:07:09.180] checking for syncfs... no [09:07:09.217] checking for sync_file_range... no [09:07:09.253] checking for uselocale... no [09:07:09.287] checking for wcstombs_l... no [09:07:09.319] checking for __builtin_bswap16... yes [09:07:09.354] checking for __builtin_bswap32... yes [09:07:09.389] checking for __builtin_bswap64... yes [09:07:09.423] checking for __builtin_clz... yes [09:07:09.458] checking for __builtin_ctz... yes [09:07:09.491] checking for __builtin_popcount... yes [09:07:09.526] checking for __builtin_frame_address... yes [09:07:09.558] checking for _LARGEFILE_SOURCE value needed for large files... no [09:07:09.599] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:07:09.619] checking for posix_fadvise... no [09:07:09.658] checking whether posix_fadvise is declared... no [09:07:09.692] checking whether fdatasync is declared... no [09:07:09.724] checking whether strlcat is declared... no [09:07:09.771] checking whether strlcpy is declared... no [09:07:09.819] checking whether strnlen is declared... yes [09:07:09.873] checking whether preadv is declared... no [09:07:09.900] checking whether pwritev is declared... no [09:07:09.929] checking whether F_FULLFSYNC is declared... no [09:07:09.962] checking for explicit_bzero... no [09:07:09.997] checking for getopt... yes [09:07:10.029] checking for getpeereid... no [09:07:10.068] checking for inet_aton... no [09:07:10.106] checking for mkdtemp... no [09:07:10.143] checking for strlcat... no [09:07:10.180] checking for strlcpy... no [09:07:10.217] checking for strnlen... yes [09:07:10.256] checking for pthread_barrier_wait... yes [09:07:10.290] configure: On mingw32 we will use our strtof wrapper. [09:07:10.291] checking for getopt_long... yes [09:07:10.327] checking for _configthreadlocale... yes [09:07:10.364] checking for syslog... no [09:07:10.403] checking for opterr... yes [09:07:10.443] checking for optreset... no [09:07:10.483] checking test program... cross-compiling [09:07:10.483] checking whether long int is 64 bits... no [09:07:10.508] checking whether long long int is 64 bits... yes [09:07:10.515] checking for __builtin_mul_overflow... yes [09:07:10.549] checking size of void *... 8 [09:07:10.749] checking size of size_t... 8 [09:07:11.010] checking size of long... 4 [09:07:11.207] checking alignment of short... 2 [09:07:11.313] checking alignment of int... 4 [09:07:11.544] checking alignment of long... 4 [09:07:11.719] checking alignment of long long int... 8 [09:07:12.015] checking alignment of double... 8 [09:07:12.331] checking for int8... no [09:07:12.366] checking for uint8... no [09:07:12.398] checking for int64... no [09:07:12.432] checking for uint64... no [09:07:12.468] checking for __int128... yes [09:07:12.508] checking for __int128 alignment bug... assuming ok [09:07:12.508] checking alignment of PG_INT128_TYPE... 16 [09:07:12.887] checking for builtin __sync char locking functions... yes [09:07:12.918] checking for builtin __sync int32 locking functions... yes [09:07:12.949] checking for builtin __sync int32 atomic operations... yes [09:07:12.983] checking for builtin __sync int64 atomic operations... yes [09:07:13.017] checking for builtin __atomic int32 atomic operations... yes [09:07:13.052] checking for builtin __atomic int64 atomic operations... yes [09:07:13.087] checking for __get_cpuid... yes [09:07:13.127] checking for __cpuid... no [09:07:13.372] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:07:13.406] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:07:13.468] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:07:13.482] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:07:13.494] 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 [09:07:13.535] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:07:13.536] checking which random number source to use... Windows native [09:07:13.537] checking for xmllint... /usr/bin/xmllint [09:07:13.537] checking for xsltproc... /usr/bin/xsltproc [09:07:13.537] checking for fop... /usr/bin/fop [09:07:13.537] checking for dbtoepub... no [09:07:13.538] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:07:13.538] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:07:13.546] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [09:07:13.546] 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 [09:07:13.546] configure: using CPPFLAGS= -I./src/include/port/win32 [09:07:13.546] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:07:13.610] configure: creating ./config.status [09:07:13.670] config.status: creating GNUmakefile [09:07:13.678] config.status: creating src/Makefile.global [09:07:13.690] config.status: creating src/include/pg_config.h [09:07:13.699] config.status: creating src/include/pg_config_ext.h [09:07:13.707] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:07:13.717] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:07:13.722] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:07:13.727] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:07:13.732] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:07:13.738] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:07:13.740] config.status: executing check_win32_symlinks commands [09:07:13.767] [09:07:13.767] real 0m11.637s [09:07:13.767] user 0m8.509s [09:07:13.767] sys 0m2.739s [09:07:13.767] make -s -j${BUILD_JOBS} clean [09:07:14.144] time make -s -j${BUILD_JOBS} world-bin [09:07:38.766] parse_expr.c: In function ‘expr_kind_allows_session_variables’: [09:07:38.766] parse_expr.c:516:2: error: enumeration value ‘EXPR_KIND_MERGE_RETURNING’ not handled in switch [-Werror=switch] [09:07:38.766] 516 | switch (p_expr_kind) [09:07:38.766] | ^~~~~~ [09:07:38.766] cc1: all warnings being treated as errors [09:07:38.766] make[3]: *** [: parse_expr.o] Error 1 [09:07:38.766] make[2]: *** [common.mk:37: parser-recursive] Error 2 [09:07:38.766] make[2]: *** Waiting for unfinished jobs.... [09:08:05.409] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:08:05.409] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:08:05.409] [09:08:05.409] real 0m51.265s [09:08:05.409] user 2m50.531s [09:08:05.409] sys 0m20.950s [09:08:05.410] [09:08:05.410] Exit status: 2