[13:29:51.598] time ./configure \ [13:29:51.598] --host=x86_64-w64-mingw32 \ [13:29:51.598] --enable-cassert \ [13:29:51.598] --without-icu \ [13:29:51.598] CC="ccache x86_64-w64-mingw32-gcc" \ [13:29:51.598] CXX="ccache x86_64-w64-mingw32-g++" [13:29:51.709] checking build system type... x86_64-pc-linux-gnu [13:29:51.915] checking host system type... x86_64-w64-mingw32 [13:29:51.921] checking which template to use... win32 [13:29:51.921] checking whether NLS is wanted... no [13:29:51.921] checking for default port number... 5432 [13:29:51.928] checking for block size... 8kB [13:29:51.929] checking for segment size... 1GB [13:29:51.931] checking for WAL block size... 8kB [13:29:51.932] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:29:51.965] checking whether the C compiler works... yes [13:29:52.110] checking for C compiler default output file name... a.exe [13:29:52.111] checking for suffix of executables... .exe [13:29:52.150] checking whether we are cross compiling... yes [13:29:52.226] checking for suffix of object files... o [13:29:52.235] checking whether we are using the GNU C compiler... yes [13:29:52.241] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:29:52.248] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:29:52.260] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:29:52.322] checking whether we are using the GNU C++ compiler... yes [13:29:52.328] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:29:52.391] checking for gawk... no [13:29:52.391] checking for mawk... mawk [13:29:52.393] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:29:52.400] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:29:52.406] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:29:52.449] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:29:52.638] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:29:52.645] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:29:52.652] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:29:52.659] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:29:52.666] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:29:52.672] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:29:52.678] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:29:52.685] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:29:52.691] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:29:52.698] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:29:52.729] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:29:52.736] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:29:52.742] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:29:52.778] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:29:52.784] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:29:52.791] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:29:52.798] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:29:52.804] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:29:52.811] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:29:52.835] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:29:52.842] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:29:52.858] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:29:52.894] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:29:52.931] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:29:52.937] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:29:52.943] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:29:52.977] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:29:52.983] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:29:52.990] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:29:52.997] checking whether the C compiler still works... yes [13:29:53.061] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:29:53.128] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:29:53.129] checking pkg-config is at least version 0.9.0... yes [13:29:53.145] checking whether to build with ICU support... no [13:29:53.145] checking whether to build with Tcl... no [13:29:53.145] checking whether to build Perl modules... no [13:29:53.145] checking whether to build Python modules... no [13:29:53.146] checking whether to build with GSSAPI support... no [13:29:53.147] checking whether to build with PAM support... no [13:29:53.147] checking whether to build with BSD Authentication support... no [13:29:53.147] checking whether to build with LDAP support... no [13:29:53.147] checking whether to build with Bonjour support... no [13:29:53.147] checking whether to build with SELinux support... no [13:29:53.147] checking whether to build with systemd support... no [13:29:53.147] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:29:53.147] checking whether to build with XML support... no [13:29:53.148] checking whether to build with LZ4 support... no [13:29:53.148] checking whether to build with ZSTD support... no [13:29:53.148] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:29:53.148] checking whether it is possible to strip libraries... yes [13:29:53.156] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:29:53.157] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:29:53.157] checking for a BSD-compatible install... /usr/bin/install -c [13:29:53.165] checking for tar... /usr/bin/tar [13:29:53.166] checking whether ln -s works... yes [13:29:53.166] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:29:53.168] checking for bison... /usr/bin/bison [13:29:53.170] configure: using bison (GNU Bison) 3.8.2 [13:29:53.172] checking for flex... /usr/bin/flex [13:29:53.184] configure: using flex 2.6.4 [13:29:53.184] checking for perl... /usr/bin/perl [13:29:53.187] configure: using perl 5.36.0 [13:29:53.189] checking for zic... /usr/sbin/zic [13:29:53.189] checking for a sed that does not truncate output... /usr/bin/sed [13:29:53.195] checking for grep that handles long lines and -e... /usr/bin/grep [13:29:53.197] checking for egrep... /usr/bin/grep -E [13:29:53.198] checking for ANSI C header files... yes [13:29:53.244] checking for sys/types.h... yes [13:29:53.278] checking for sys/stat.h... yes [13:29:53.295] checking for stdlib.h... yes [13:29:53.310] checking for string.h... yes [13:29:53.324] checking for memory.h... yes [13:29:53.340] checking for strings.h... yes [13:29:53.355] checking for inttypes.h... yes [13:29:53.371] checking for stdint.h... yes [13:29:53.385] checking for unistd.h... yes [13:29:53.404] checking for main in -lm... yes [13:29:53.451] checking for library containing setproctitle... no [13:29:53.540] checking for library containing dlsym... no [13:29:53.627] checking for library containing socket... -lws2_32 [13:29:53.755] checking for library containing getopt_long... none required [13:29:53.803] checking for library containing shm_open... no [13:29:53.891] checking for library containing shm_unlink... no [13:29:53.978] checking for library containing clock_gettime... no [13:29:54.064] checking for library containing shmget... no [13:29:54.148] checking for library containing backtrace_symbols... no [13:29:54.234] checking for library containing pthread_barrier_wait... -lpthread [13:29:54.322] checking for inflate in -lz... yes [13:29:54.366] checking for stdbool.h that conforms to C99... yes [13:29:54.378] checking for _Bool... yes [13:29:54.449] checking atomic.h usability... no [13:29:54.504] checking atomic.h presence... no [13:29:54.523] checking for atomic.h... no [13:29:54.526] checking copyfile.h usability... no [13:29:54.580] checking copyfile.h presence... no [13:29:54.599] checking for copyfile.h... no [13:29:54.603] checking execinfo.h usability... no [13:29:54.661] checking execinfo.h presence... no [13:29:54.680] checking for execinfo.h... no [13:29:54.683] checking getopt.h usability... yes [13:29:54.691] checking getopt.h presence... yes [13:29:54.706] checking for getopt.h... yes [13:29:54.714] checking ifaddrs.h usability... no [13:29:54.773] checking ifaddrs.h presence... no [13:29:54.793] checking for ifaddrs.h... no [13:29:54.796] checking mbarrier.h usability... no [13:29:54.851] checking mbarrier.h presence... no [13:29:54.869] checking for mbarrier.h... no [13:29:54.872] checking sys/epoll.h usability... no [13:29:54.925] checking sys/epoll.h presence... no [13:29:54.943] checking for sys/epoll.h... no [13:29:54.946] checking sys/event.h usability... no [13:29:54.999] checking sys/event.h presence... no [13:29:55.018] checking for sys/event.h... no [13:29:55.022] checking sys/personality.h usability... no [13:29:55.076] checking sys/personality.h presence... no [13:29:55.095] checking for sys/personality.h... no [13:29:55.098] checking sys/prctl.h usability... no [13:29:55.153] checking sys/prctl.h presence... no [13:29:55.172] checking for sys/prctl.h... no [13:29:55.175] checking sys/procctl.h usability... no [13:29:55.229] checking sys/procctl.h presence... no [13:29:55.248] checking for sys/procctl.h... no [13:29:55.251] checking sys/signalfd.h usability... no [13:29:55.306] checking sys/signalfd.h presence... no [13:29:55.325] checking for sys/signalfd.h... no [13:29:55.328] checking sys/ucred.h usability... no [13:29:55.382] checking sys/ucred.h presence... no [13:29:55.401] checking for sys/ucred.h... no [13:29:55.405] checking termios.h usability... no [13:29:55.461] checking termios.h presence... no [13:29:55.479] checking for termios.h... no [13:29:55.482] checking ucred.h usability... no [13:29:55.536] checking ucred.h presence... no [13:29:55.555] checking for ucred.h... no [13:29:55.558] checking xlocale.h usability... no [13:29:55.611] checking xlocale.h presence... no [13:29:55.629] checking for xlocale.h... no [13:29:55.631] checking zlib.h usability... yes [13:29:55.640] checking zlib.h presence... yes [13:29:55.658] checking for zlib.h... yes [13:29:55.659] checking for lz4... /usr/bin/lz4 [13:29:55.659] checking for zstd... /usr/bin/zstd [13:29:55.659] checking for openssl... /usr/bin/openssl [13:29:55.664] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [13:29:55.664] checking crtdefs.h usability... yes [13:29:55.671] checking crtdefs.h presence... yes [13:29:55.686] checking for crtdefs.h... yes [13:29:55.687] checking whether byte ordering is bigendian... no [13:29:55.767] checking for inline... inline [13:29:55.774] checking for printf format archetype... gnu_printf [13:29:55.783] checking for _Static_assert... yes [13:29:55.825] checking for typeof... typeof [13:29:55.833] checking for __builtin_types_compatible_p... yes [13:29:55.843] checking for __builtin_constant_p... yes [13:29:55.853] checking for __builtin_unreachable... yes [13:29:55.893] checking for computed goto support... yes [13:29:55.901] checking for struct tm.tm_zone... no [13:29:55.977] checking for union semun... no [13:29:56.010] checking for socklen_t... yes [13:29:57.214] checking for struct sockaddr.sa_len... no [13:29:59.228] checking for C/C++ restrict keyword... __restrict [13:29:59.241] checking for struct option... yes [13:29:59.310] checking whether assembler supports x86_64 popcntq... yes [13:29:59.317] checking size of off_t... 4 [13:29:59.517] 0 [13:29:59.517] checking size of bool... 1 [13:29:59.566] checking for int timezone... yes [13:29:59.623] checking for backtrace_symbols... no [13:29:59.677] checking for copyfile... no [13:29:59.729] checking for copy_file_range... no [13:29:59.786] checking for getifaddrs... no [13:29:59.840] checking for getpeerucred... no [13:29:59.892] checking for inet_pton... yes [13:29:59.945] checking for kqueue... no [13:30:00.000] checking for mbstowcs_l... no [13:30:00.053] checking for memset_s... no [13:30:00.106] checking for posix_fallocate... no [13:30:00.158] checking for ppoll... no [13:30:00.209] checking for pthread_is_threaded_np... no [13:30:00.259] checking for setproctitle... no [13:30:00.310] checking for setproctitle_fast... no [13:30:00.359] checking for strchrnul... no [13:30:00.407] checking for strsignal... no [13:30:00.455] checking for syncfs... no [13:30:00.505] checking for sync_file_range... no [13:30:00.555] checking for uselocale... no [13:30:00.604] checking for wcstombs_l... no [13:30:00.650] checking for __builtin_bswap16... yes [13:30:00.696] checking for __builtin_bswap32... yes [13:30:00.742] checking for __builtin_bswap64... yes [13:30:00.790] checking for __builtin_clz... yes [13:30:00.839] checking for __builtin_ctz... yes [13:30:00.885] checking for __builtin_popcount... yes [13:30:00.932] checking for __builtin_frame_address... yes [13:30:00.978] checking for _LARGEFILE_SOURCE value needed for large files... no [13:30:01.030] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:30:01.059] checking for posix_fadvise... no [13:30:01.109] checking whether posix_fadvise is declared... no [13:30:01.152] checking whether fdatasync is declared... no [13:30:01.198] checking whether strlcat is declared... no [13:30:01.261] checking whether strlcpy is declared... no [13:30:01.326] checking whether strnlen is declared... yes [13:30:01.339] checking whether strsep is declared... no [13:30:01.403] checking whether preadv is declared... no [13:30:01.438] checking whether pwritev is declared... no [13:30:01.472] checking whether F_FULLFSYNC is declared... no [13:30:01.509] checking for explicit_bzero... no [13:30:01.555] checking for getopt... yes [13:30:01.598] checking for getpeereid... no [13:30:01.643] checking for inet_aton... no [13:30:01.689] checking for mkdtemp... no [13:30:01.735] checking for strlcat... no [13:30:01.782] checking for strlcpy... no [13:30:01.829] checking for strnlen... yes [13:30:01.876] checking for strsep... no [13:30:01.922] checking for pthread_barrier_wait... yes [13:30:01.965] configure: On mingw32 we will use our strtof wrapper. [13:30:01.965] checking for getopt_long... yes [13:30:02.008] checking for _configthreadlocale... yes [13:30:02.052] checking for syslog... no [13:30:02.098] checking for opterr... yes [13:30:02.144] checking for optreset... no [13:30:02.194] checking test program... cross-compiling [13:30:02.194] checking whether long int is 64 bits... no [13:30:02.223] checking whether long long int is 64 bits... yes [13:30:02.232] checking for __builtin_mul_overflow... yes [13:30:02.273] checking size of void *... 8 [13:30:02.571] checking size of size_t... 8 [13:30:02.887] checking size of long... 4 [13:30:03.088] checking alignment of short... 2 [13:30:03.223] checking alignment of int... 4 [13:30:03.426] checking alignment of long... 4 [13:30:03.634] checking alignment of long long int... 8 [13:30:03.922] checking alignment of double... 8 [13:30:04.193] checking for __int128... yes [13:30:04.244] checking for __int128 alignment bug... assuming ok [13:30:04.244] checking alignment of PG_INT128_TYPE... 16 [13:30:04.574] checking for builtin __sync char locking functions... yes [13:30:04.617] checking for builtin __sync int32 locking functions... yes [13:30:04.661] checking for builtin __sync int32 atomic operations... yes [13:30:04.704] checking for builtin __sync int64 atomic operations... yes [13:30:04.747] checking for builtin __atomic int32 atomic operations... yes [13:30:04.792] checking for builtin __atomic int64 atomic operations... yes [13:30:04.834] checking for __get_cpuid... yes [13:30:04.881] checking for __get_cpuid_count... yes [13:30:04.925] checking for __cpuid... no [13:30:05.322] checking for __cpuidex... no [13:30:05.740] checking for _xgetbv with CFLAGS=... no [13:30:06.118] checking for _xgetbv with CFLAGS=-mxsave... yes [13:30:06.513] checking for _mm512_popcnt_epi64 with CFLAGS=... no [13:30:06.893] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [13:30:07.228] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [13:30:07.274] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [13:30:07.361] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:30:07.384] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:30:07.404] 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 [13:30:07.459] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:30:07.459] checking which random number source to use... Windows native [13:30:07.461] checking for xmllint... /usr/bin/xmllint [13:30:07.461] checking for xsltproc... /usr/bin/xsltproc [13:30:07.461] checking for fop... /usr/bin/fop [13:30:07.462] checking for dbtoepub... no [13:30:07.462] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:30:07.462] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:30:07.462] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:30:07.473] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:30:07.473] 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 [13:30:07.473] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:30:07.473] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:30:07.556] configure: creating ./config.status [13:30:07.640] config.status: creating GNUmakefile [13:30:07.652] config.status: creating src/Makefile.global [13:30:07.667] config.status: creating src/include/pg_config.h [13:30:07.679] config.status: creating src/include/pg_config_ext.h [13:30:07.691] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:30:07.705] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:30:07.711] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:30:07.718] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:30:07.725] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:30:07.732] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:30:07.735] config.status: executing check_win32_symlinks commands [13:30:07.768] [13:30:07.768] real 0m16.170s [13:30:07.768] user 0m10.687s [13:30:07.768] sys 0m5.034s [13:30:07.768] make -s -j${BUILD_JOBS} clean [13:30:08.263] time make -s -j${BUILD_JOBS} world-bin [13:30:26.303] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [13:30:26.303] jsonpath_exec.c:2829:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [13:30:26.303] 2829 | JsonbValue jbvbuf; [13:30:26.303] | ^~~~~~~~~~ [13:30:26.303] cc1: all warnings being treated as errors [13:30:26.304] make[4]: *** [: jsonpath_exec.o] Error 1 [13:30:26.304] make[4]: *** Waiting for unfinished jobs.... [13:30:27.060] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [13:30:27.060] make[2]: *** [common.mk:37: utils-recursive] Error 2 [13:30:27.060] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:30:27.060] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:30:27.060] [13:30:27.060] real 0m18.797s [13:30:27.060] user 0m48.523s [13:30:27.060] sys 0m13.443s [13:30:27.060] [13:30:27.060] Exit status: 2