[07:37:32.322] time ./configure \ [07:37:32.322] --host=x86_64-w64-mingw32 \ [07:37:32.322] --enable-cassert \ [07:37:32.322] --without-icu \ [07:37:32.322] CC="ccache x86_64-w64-mingw32-gcc" \ [07:37:32.322] CXX="ccache x86_64-w64-mingw32-g++" [07:37:32.392] checking build system type... x86_64-pc-linux-gnu [07:37:32.569] checking host system type... x86_64-w64-mingw32 [07:37:32.573] checking which template to use... win32 [07:37:32.573] checking whether NLS is wanted... no [07:37:32.573] checking for default port number... 5432 [07:37:32.577] checking for block size... 8kB [07:37:32.578] checking for segment size... 1GB [07:37:32.579] checking for WAL block size... 8kB [07:37:32.580] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:37:32.601] checking whether the C compiler works... yes [07:37:32.757] checking for C compiler default output file name... a.exe [07:37:32.757] checking for suffix of executables... .exe [07:37:32.788] checking whether we are cross compiling... yes [07:37:32.852] checking for suffix of object files... o [07:37:32.864] checking whether we are using the GNU C compiler... yes [07:37:32.868] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:37:32.881] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:37:32.891] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:37:32.943] checking whether we are using the GNU C++ compiler... yes [07:37:32.946] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:37:33.185] checking for gawk... no [07:37:33.185] checking for mawk... mawk [07:37:33.187] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:37:33.191] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:37:33.211] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:37:33.241] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:37:33.268] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:37:33.272] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:37:33.276] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:37:33.297] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:37:33.321] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:37:33.326] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:37:33.330] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:37:33.334] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:37:33.339] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:37:33.343] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:37:33.354] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:37:33.358] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:37:33.362] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:37:33.373] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:37:33.383] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:37:33.406] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:37:33.428] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:37:33.432] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:37:33.445] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:37:33.467] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:37:33.471] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:37:33.494] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:37:33.518] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:37:33.522] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:37:33.526] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:37:33.547] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:37:33.551] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:37:33.556] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:37:33.567] checking whether the C compiler still works... yes [07:37:33.610] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:37:33.651] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:37:33.652] checking pkg-config is at least version 0.9.0... yes [07:37:33.667] checking whether to build with ICU support... no [07:37:33.667] checking whether to build with Tcl... no [07:37:33.667] checking whether to build Perl modules... no [07:37:33.667] checking whether to build Python modules... no [07:37:33.667] checking whether to build with GSSAPI support... no [07:37:33.668] checking whether to build with PAM support... no [07:37:33.668] checking whether to build with BSD Authentication support... no [07:37:33.668] checking whether to build with LDAP support... no [07:37:33.668] checking whether to build with Bonjour support... no [07:37:33.668] checking whether to build with SELinux support... no [07:37:33.668] checking whether to build with systemd support... no [07:37:33.669] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:37:33.669] checking whether to build with XML support... no [07:37:33.669] checking whether to build with LZ4 support... no [07:37:33.669] checking whether to build with ZSTD support... no [07:37:33.669] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:37:33.670] checking whether it is possible to strip libraries... yes [07:37:33.676] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:37:33.677] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:37:33.677] checking for a BSD-compatible install... /usr/bin/install -c [07:37:33.682] checking for tar... /usr/bin/tar [07:37:33.682] checking whether ln -s works... yes [07:37:33.682] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:37:33.683] checking for bison... /usr/bin/bison [07:37:33.685] configure: using bison (GNU Bison) 3.7.5 [07:37:33.686] checking for flex... /usr/bin/flex [07:37:33.694] configure: using flex 2.6.4 [07:37:33.694] checking for perl... /usr/bin/perl [07:37:33.695] configure: using perl 5.32.1 [07:37:33.697] checking for zic... /usr/sbin/zic [07:37:33.697] checking for a sed that does not truncate output... /usr/bin/sed [07:37:33.704] checking for grep that handles long lines and -e... /usr/bin/grep [07:37:33.705] checking for egrep... /usr/bin/grep -E [07:37:33.706] checking for ANSI C header files... yes [07:37:33.735] checking for sys/types.h... yes [07:37:33.757] checking for sys/stat.h... yes [07:37:33.766] checking for stdlib.h... yes [07:37:33.774] checking for string.h... yes [07:37:33.782] checking for memory.h... yes [07:37:33.790] checking for strings.h... yes [07:37:33.798] checking for inttypes.h... yes [07:37:33.807] checking for stdint.h... yes [07:37:33.850] checking for unistd.h... yes [07:37:33.859] checking for main in -lm... yes [07:37:33.887] checking for library containing setproctitle... no [07:37:33.943] checking for library containing dlsym... no [07:37:33.998] checking for library containing socket... -lws2_32 [07:37:34.082] checking for library containing getopt_long... none required [07:37:34.117] checking for library containing shm_open... no [07:37:34.176] checking for library containing shm_unlink... no [07:37:34.237] checking for library containing clock_gettime... no [07:37:34.296] checking for library containing shmget... no [07:37:34.357] checking for library containing backtrace_symbols... no [07:37:34.414] checking for library containing pthread_barrier_wait... -lpthread [07:37:34.475] checking for inflate in -lz... yes [07:37:34.506] checking for stdbool.h that conforms to C99... yes [07:37:34.512] checking for _Bool... yes [07:37:34.573] checking atomic.h usability... no [07:37:34.611] checking atomic.h presence... no [07:37:34.621] checking for atomic.h... no [07:37:34.623] checking copyfile.h usability... no [07:37:34.659] checking copyfile.h presence... no [07:37:34.670] checking for copyfile.h... no [07:37:34.671] checking execinfo.h usability... no [07:37:34.709] checking execinfo.h presence... no [07:37:34.719] checking for execinfo.h... no [07:37:34.721] checking getopt.h usability... yes [07:37:34.725] checking getopt.h presence... yes [07:37:34.734] checking for getopt.h... yes [07:37:34.737] checking ifaddrs.h usability... no [07:37:34.774] checking ifaddrs.h presence... no [07:37:34.784] checking for ifaddrs.h... no [07:37:34.786] checking langinfo.h usability... no [07:37:34.822] checking langinfo.h presence... no [07:37:34.832] checking for langinfo.h... no [07:37:34.834] checking mbarrier.h usability... no [07:37:34.871] checking mbarrier.h presence... no [07:37:34.882] checking for mbarrier.h... no [07:37:34.884] checking sys/epoll.h usability... no [07:37:34.924] checking sys/epoll.h presence... no [07:37:34.937] checking for sys/epoll.h... no [07:37:34.940] checking sys/event.h usability... no [07:37:34.983] checking sys/event.h presence... no [07:37:34.994] checking for sys/event.h... no [07:37:34.996] checking sys/personality.h usability... no [07:37:35.033] checking sys/personality.h presence... no [07:37:35.043] checking for sys/personality.h... no [07:37:35.045] checking sys/prctl.h usability... no [07:37:35.081] checking sys/prctl.h presence... no [07:37:35.091] checking for sys/prctl.h... no [07:37:35.093] checking sys/procctl.h usability... no [07:37:35.129] checking sys/procctl.h presence... no [07:37:35.139] checking for sys/procctl.h... no [07:37:35.141] checking sys/signalfd.h usability... no [07:37:35.177] checking sys/signalfd.h presence... no [07:37:35.187] checking for sys/signalfd.h... no [07:37:35.189] checking sys/ucred.h usability... no [07:37:35.229] checking sys/ucred.h presence... no [07:37:35.242] checking for sys/ucred.h... no [07:37:35.244] checking termios.h usability... no [07:37:35.283] checking termios.h presence... no [07:37:35.294] checking for termios.h... no [07:37:35.296] checking ucred.h usability... no [07:37:35.333] checking ucred.h presence... no [07:37:35.344] checking for ucred.h... no [07:37:35.346] checking zlib.h usability... yes [07:37:35.391] checking zlib.h presence... yes [07:37:35.403] checking for zlib.h... yes [07:37:35.404] checking for lz4... /usr/bin/lz4 [07:37:35.404] checking for zstd... /usr/bin/zstd [07:37:35.404] checking for openssl... /usr/bin/openssl [07:37:35.407] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [07:37:35.408] checking crtdefs.h usability... yes [07:37:35.413] checking crtdefs.h presence... yes [07:37:35.422] checking for crtdefs.h... yes [07:37:35.422] checking whether byte ordering is bigendian... no [07:37:35.470] checking for inline... inline [07:37:35.474] checking for printf format archetype... gnu_printf [07:37:35.486] checking for _Static_assert... yes [07:37:35.514] checking for typeof... typeof [07:37:35.518] checking for __builtin_types_compatible_p... yes [07:37:35.524] checking for __builtin_constant_p... yes [07:37:35.530] checking for __builtin_unreachable... yes [07:37:35.559] checking for computed goto support... yes [07:37:35.563] checking for struct tm.tm_zone... no [07:37:35.610] checking for union semun... no [07:37:35.633] checking for socklen_t... yes [07:37:36.489] checking for struct sockaddr.sa_len... no [07:37:37.910] checking for locale_t... no [07:37:37.950] checking for C/C++ restrict keyword... __restrict [07:37:37.958] checking for struct option... yes [07:37:37.993] checking whether assembler supports x86_64 popcntq... yes [07:37:37.998] checking size of off_t... 4 [07:37:38.226] 0 [07:37:38.226] checking size of bool... 1 [07:37:38.262] checking for int timezone... yes [07:37:38.297] checking for wcstombs_l declaration... no [07:37:38.357] checking for backtrace_symbols... no [07:37:38.392] checking for copyfile... no [07:37:38.426] checking for copy_file_range... no [07:37:38.459] checking for getifaddrs... no [07:37:38.493] checking for getpeerucred... no [07:37:38.526] checking for inet_pton... yes [07:37:38.561] checking for kqueue... no [07:37:38.594] checking for mbstowcs_l... no [07:37:38.627] checking for memset_s... no [07:37:38.660] checking for posix_fallocate... no [07:37:38.692] checking for ppoll... no [07:37:38.726] checking for pthread_is_threaded_np... no [07:37:38.760] checking for setproctitle... no [07:37:38.796] checking for setproctitle_fast... no [07:37:38.830] checking for strchrnul... no [07:37:38.864] checking for strsignal... no [07:37:38.899] checking for syncfs... no [07:37:38.936] checking for sync_file_range... no [07:37:38.976] checking for uselocale... no [07:37:39.014] checking for wcstombs_l... no [07:37:39.049] checking for __builtin_bswap16... yes [07:37:39.083] checking for __builtin_bswap32... yes [07:37:39.119] checking for __builtin_bswap64... yes [07:37:39.153] checking for __builtin_clz... yes [07:37:39.189] checking for __builtin_ctz... yes [07:37:39.223] checking for __builtin_popcount... yes [07:37:39.256] checking for __builtin_frame_address... yes [07:37:39.287] checking for _LARGEFILE_SOURCE value needed for large files... no [07:37:39.330] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:37:39.353] checking for posix_fadvise... no [07:37:39.390] checking whether posix_fadvise is declared... no [07:37:39.423] checking whether fdatasync is declared... no [07:37:39.455] checking whether strlcat is declared... no [07:37:39.500] checking whether strlcpy is declared... no [07:37:39.547] checking whether strnlen is declared... yes [07:37:39.574] checking whether preadv is declared... no [07:37:39.600] checking whether pwritev is declared... no [07:37:39.625] checking whether F_FULLFSYNC is declared... no [07:37:39.653] checking for explicit_bzero... no [07:37:39.688] checking for getopt... yes [07:37:39.719] checking for getpeereid... no [07:37:39.754] checking for inet_aton... no [07:37:39.789] checking for mkdtemp... no [07:37:39.822] checking for strlcat... no [07:37:39.856] checking for strlcpy... no [07:37:39.888] checking for strnlen... yes [07:37:39.923] checking for pthread_barrier_wait... yes [07:37:39.954] configure: On mingw32 we will use our strtof wrapper. [07:37:39.955] checking for getopt_long... yes [07:37:39.988] checking for _configthreadlocale... yes [07:37:40.020] checking for syslog... no [07:37:40.052] checking for opterr... yes [07:37:40.085] checking for optreset... no [07:37:40.119] checking test program... cross-compiling [07:37:40.119] checking whether long int is 64 bits... no [07:37:40.138] checking whether long long int is 64 bits... yes [07:37:40.143] checking for __builtin_mul_overflow... yes [07:37:40.173] checking size of void *... 8 [07:37:40.357] checking size of size_t... 8 [07:37:40.576] checking size of long... 4 [07:37:40.712] checking alignment of short... 2 [07:37:40.833] checking alignment of int... 4 [07:37:41.007] checking alignment of long... 4 [07:37:41.189] checking alignment of long long int... 8 [07:37:41.372] checking alignment of double... 8 [07:37:41.565] checking for int8... no [07:37:41.593] checking for uint8... no [07:37:41.624] checking for int64... no [07:37:41.656] checking for uint64... no [07:37:41.688] checking for __int128... yes [07:37:41.725] checking for __int128 alignment bug... assuming ok [07:37:41.725] checking alignment of PG_INT128_TYPE... 16 [07:37:42.024] checking for builtin __sync char locking functions... yes [07:37:42.054] checking for builtin __sync int32 locking functions... yes [07:37:42.082] checking for builtin __sync int32 atomic operations... yes [07:37:42.110] checking for builtin __sync int64 atomic operations... yes [07:37:42.140] checking for builtin __atomic int32 atomic operations... yes [07:37:42.169] checking for builtin __atomic int64 atomic operations... yes [07:37:42.197] checking for __get_cpuid... yes [07:37:42.230] checking for __cpuid... no [07:37:42.462] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [07:37:42.492] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [07:37:42.550] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:37:42.562] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:37:42.572] 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 [07:37:42.607] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:37:42.607] checking which random number source to use... Windows native [07:37:42.608] checking for xmllint... /usr/bin/xmllint [07:37:42.608] checking for xsltproc... /usr/bin/xsltproc [07:37:42.609] checking for fop... /usr/bin/fop [07:37:42.609] checking for dbtoepub... no [07:37:42.609] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:37:42.609] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:37:42.615] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [07:37:42.615] 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 [07:37:42.615] configure: using CPPFLAGS= -I./src/include/port/win32 [07:37:42.615] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:37:42.665] configure: creating ./config.status [07:37:42.711] config.status: creating GNUmakefile [07:37:42.718] config.status: creating src/Makefile.global [07:37:42.727] config.status: creating src/include/pg_config.h [07:37:42.733] config.status: creating src/include/pg_config_ext.h [07:37:42.740] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:37:42.748] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:37:42.752] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:37:42.755] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:37:42.759] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:37:42.763] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:37:42.765] config.status: executing check_win32_symlinks commands [07:37:42.788] [07:37:42.788] real 0m10.466s [07:37:42.788] user 0m7.600s [07:37:42.788] sys 0m2.392s [07:37:42.788] make -s -j${BUILD_JOBS} clean [07:37:43.129] time make -s -j${BUILD_JOBS} world-bin [07:38:05.442] parse_expr.c: In function ‘expr_kind_allows_session_variables’: [07:38:05.442] parse_expr.c:516:2: error: enumeration value ‘EXPR_KIND_MERGE_RETURNING’ not handled in switch [-Werror=switch] [07:38:05.442] 516 | switch (p_expr_kind) [07:38:05.442] | ^~~~~~ [07:38:05.442] cc1: all warnings being treated as errors [07:38:05.447] make[3]: *** [: parse_expr.o] Error 1 [07:38:05.447] make[2]: *** [common.mk:37: parser-recursive] Error 2 [07:38:05.447] make[2]: *** Waiting for unfinished jobs.... [07:38:31.743] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:38:31.743] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:38:31.743] [07:38:31.743] real 0m48.614s [07:38:31.743] user 2m43.101s [07:38:31.743] sys 0m20.511s [07:38:31.744] [07:38:31.744] Exit status: 2