[18:19:11.294] time ./configure \ [18:19:11.294] --host=x86_64-w64-mingw32 \ [18:19:11.294] --enable-cassert \ [18:19:11.294] --without-icu \ [18:19:11.294] CC="ccache x86_64-w64-mingw32-gcc" \ [18:19:11.294] CXX="ccache x86_64-w64-mingw32-g++" [18:19:11.411] checking build system type... x86_64-pc-linux-gnu [18:19:11.593] checking host system type... x86_64-w64-mingw32 [18:19:11.598] checking which template to use... win32 [18:19:11.599] checking whether NLS is wanted... no [18:19:11.599] checking for default port number... 5432 [18:19:11.605] checking for block size... 8kB [18:19:11.607] checking for segment size... 1GB [18:19:11.609] checking for WAL block size... 8kB [18:19:11.610] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:19:11.644] checking whether the C compiler works... yes [18:19:11.767] checking for C compiler default output file name... a.exe [18:19:11.768] checking for suffix of executables... .exe [18:19:11.806] checking whether we are cross compiling... yes [18:19:11.876] checking for suffix of object files... o [18:19:11.885] checking whether we are using the GNU C compiler... yes [18:19:11.891] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:19:11.898] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:19:11.908] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:19:11.965] checking whether we are using the GNU C++ compiler... yes [18:19:11.971] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:19:12.036] checking for gawk... no [18:19:12.036] checking for mawk... mawk [18:19:12.038] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:19:12.045] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:19:12.051] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:19:12.095] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:19:12.252] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:19:12.259] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:19:12.266] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:19:12.272] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:19:12.279] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:19:12.286] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:19:12.293] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:19:12.300] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:19:12.307] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:19:12.314] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:19:12.320] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:19:12.327] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:19:12.334] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:19:12.372] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:19:12.379] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:19:12.386] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:19:12.393] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:19:12.400] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:19:12.408] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:19:12.431] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:19:12.438] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:19:12.445] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:19:12.482] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:19:12.522] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:19:12.529] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:19:12.536] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:19:12.582] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:19:12.589] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:19:12.596] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:19:12.605] checking whether the C compiler still works... yes [18:19:12.669] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:19:12.737] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:19:12.737] checking pkg-config is at least version 0.9.0... yes [18:19:12.753] checking whether to build with ICU support... no [18:19:12.753] checking whether to build with Tcl... no [18:19:12.753] checking whether to build Perl modules... no [18:19:12.753] checking whether to build Python modules... no [18:19:12.753] checking whether to build with GSSAPI support... no [18:19:12.754] checking whether to build with PAM support... no [18:19:12.754] checking whether to build with BSD Authentication support... no [18:19:12.755] checking whether to build with LDAP support... no [18:19:12.755] checking whether to build with Bonjour support... no [18:19:12.755] checking whether to build with SELinux support... no [18:19:12.755] checking whether to build with systemd support... no [18:19:12.755] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:19:12.755] checking whether to build with liburing support... no [18:19:12.755] checking whether to build with libcurl support... no [18:19:12.755] checking whether to build with libnuma support... no [18:19:12.756] checking whether to build with XML support... no [18:19:12.756] checking whether to build with LZ4 support... no [18:19:12.756] checking whether to build with ZSTD support... no [18:19:12.756] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:19:12.757] checking whether it is possible to strip libraries... yes [18:19:12.764] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:19:12.764] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:19:12.765] checking for a BSD-compatible install... /usr/bin/install -c [18:19:12.773] checking for tar... /usr/bin/tar [18:19:12.774] checking whether ln -s works... yes [18:19:12.774] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:19:12.776] checking for bison... /usr/bin/bison [18:19:12.778] configure: using bison (GNU Bison) 3.8.2 [18:19:12.781] checking for flex... /usr/bin/flex [18:19:12.783] configure: using flex 2.6.4 [18:19:12.783] checking for perl... /usr/bin/perl [18:19:12.785] configure: using perl 5.36.0 [18:19:12.787] checking for zic... /usr/sbin/zic [18:19:12.788] checking for a sed that does not truncate output... /usr/bin/sed [18:19:12.793] checking for grep that handles long lines and -e... /usr/bin/grep [18:19:12.795] checking for egrep... /usr/bin/grep -E [18:19:12.796] checking for ANSI C header files... yes [18:19:12.845] checking for sys/types.h... yes [18:19:12.862] checking for sys/stat.h... yes [18:19:12.879] checking for stdlib.h... yes [18:19:12.892] checking for string.h... yes [18:19:12.906] checking for memory.h... yes [18:19:12.920] checking for strings.h... yes [18:19:12.933] checking for inttypes.h... yes [18:19:12.950] checking for stdint.h... yes [18:19:12.963] checking for unistd.h... yes [18:19:12.979] checking for main in -lm... yes [18:19:13.026] checking for library containing setproctitle... no [18:19:13.111] checking for library containing dlsym... no [18:19:13.195] checking for library containing socket... -lws2_32 [18:19:13.325] checking for library containing getopt_long... none required [18:19:13.370] checking for library containing shm_open... no [18:19:13.458] checking for library containing shm_unlink... no [18:19:13.544] checking for library containing clock_gettime... no [18:19:13.628] checking for library containing shmget... no [18:19:13.718] checking for library containing backtrace_symbols... no [18:19:13.802] checking for library containing pthread_barrier_wait... -lpthread [18:19:13.886] checking for inflate in -lz... yes [18:19:13.931] checking atomic.h usability... no [18:19:13.986] checking atomic.h presence... no [18:19:14.005] checking for atomic.h... no [18:19:14.008] checking copyfile.h usability... no [18:19:14.058] checking copyfile.h presence... no [18:19:14.078] checking for copyfile.h... no [18:19:14.081] checking execinfo.h usability... no [18:19:14.136] checking execinfo.h presence... no [18:19:14.156] checking for execinfo.h... no [18:19:14.159] checking getopt.h usability... yes [18:19:14.167] checking getopt.h presence... yes [18:19:14.182] checking for getopt.h... yes [18:19:14.190] checking ifaddrs.h usability... no [18:19:14.243] checking ifaddrs.h presence... no [18:19:14.262] checking for ifaddrs.h... no [18:19:14.265] checking mbarrier.h usability... no [18:19:14.319] checking mbarrier.h presence... no [18:19:14.339] checking for mbarrier.h... no [18:19:14.342] checking sys/epoll.h usability... no [18:19:14.396] checking sys/epoll.h presence... no [18:19:14.414] checking for sys/epoll.h... no [18:19:14.417] checking sys/event.h usability... no [18:19:14.470] checking sys/event.h presence... no [18:19:14.487] checking for sys/event.h... no [18:19:14.491] checking sys/personality.h usability... no [18:19:14.541] checking sys/personality.h presence... no [18:19:14.560] checking for sys/personality.h... no [18:19:14.564] checking sys/prctl.h usability... no [18:19:14.618] checking sys/prctl.h presence... no [18:19:14.637] checking for sys/prctl.h... no [18:19:14.640] checking sys/procctl.h usability... no [18:19:14.692] checking sys/procctl.h presence... no [18:19:14.710] checking for sys/procctl.h... no [18:19:14.713] checking sys/signalfd.h usability... no [18:19:14.764] checking sys/signalfd.h presence... no [18:19:14.782] checking for sys/signalfd.h... no [18:19:14.785] checking sys/ucred.h usability... no [18:19:14.839] checking sys/ucred.h presence... no [18:19:14.858] checking for sys/ucred.h... no [18:19:14.861] checking termios.h usability... no [18:19:14.915] checking termios.h presence... no [18:19:14.933] checking for termios.h... no [18:19:14.937] checking ucred.h usability... no [18:19:14.988] checking ucred.h presence... no [18:19:15.006] checking for ucred.h... no [18:19:15.010] checking xlocale.h usability... no [18:19:15.062] checking xlocale.h presence... no [18:19:15.081] checking for xlocale.h... no [18:19:15.084] checking zlib.h usability... yes [18:19:15.093] checking zlib.h presence... yes [18:19:15.110] checking for zlib.h... yes [18:19:15.110] checking for lz4... /usr/bin/lz4 [18:19:15.111] checking for zstd... /usr/bin/zstd [18:19:15.111] checking for openssl... /usr/bin/openssl [18:19:15.115] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [18:19:15.115] checking crtdefs.h usability... yes [18:19:15.122] checking crtdefs.h presence... yes [18:19:15.135] checking for crtdefs.h... yes [18:19:15.136] checking whether byte ordering is bigendian... no [18:19:15.206] checking for inline... inline [18:19:15.212] checking for printf format archetype... gnu_printf [18:19:15.220] checking for _Static_assert... yes [18:19:15.258] checking for typeof... typeof [18:19:15.265] checking for __builtin_types_compatible_p... yes [18:19:15.275] checking for __builtin_constant_p... yes [18:19:15.286] checking for __builtin_mul_overflow... yes [18:19:15.330] checking for __builtin_unreachable... yes [18:19:15.368] checking for computed goto support... yes [18:19:15.375] checking for struct tm.tm_zone... no [18:19:15.451] checking for union semun... no [18:19:15.482] checking for socklen_t... yes [18:19:16.576] checking for struct sockaddr.sa_len... no [18:19:18.592] checking for C/C++ restrict keyword... __restrict [18:19:18.605] checking for struct option... yes [18:19:18.646] checking whether assembler supports x86_64 popcntq... yes [18:19:18.654] checking size of off_t... 4 [18:19:18.853] 0 [18:19:18.853] checking for int timezone... yes [18:19:18.901] checking for backtrace_symbols... no [18:19:18.949] checking for copyfile... no [18:19:18.995] checking for copy_file_range... no [18:19:19.043] checking for elf_aux_info... no [18:19:19.091] checking for getauxval... no [18:19:19.139] checking for getifaddrs... no [18:19:19.187] checking for getpeerucred... no [18:19:19.233] checking for inet_pton... yes [18:19:19.279] checking for kqueue... no [18:19:19.325] checking for localeconv_l... no [18:19:19.375] checking for mbstowcs_l... no [18:19:19.425] checking for memset_s... no [18:19:19.475] checking for posix_fallocate... no [18:19:19.523] checking for ppoll... no [18:19:19.573] checking for pthread_is_threaded_np... no [18:19:19.621] checking for setproctitle... no [18:19:19.667] checking for setproctitle_fast... no [18:19:19.713] checking for strsignal... no [18:19:19.761] checking for syncfs... no [18:19:19.810] checking for sync_file_range... no [18:19:19.860] checking for uselocale... no [18:19:19.911] checking for wcstombs_l... no [18:19:19.958] checking for __builtin_bswap16... yes [18:19:20.004] checking for __builtin_bswap32... yes [18:19:20.049] checking for __builtin_bswap64... yes [18:19:20.095] checking for __builtin_clz... yes [18:19:20.140] checking for __builtin_ctz... yes [18:19:20.185] checking for __builtin_popcount... yes [18:19:20.229] checking for __builtin_frame_address... yes [18:19:20.271] checking for _LARGEFILE_SOURCE value needed for large files... no [18:19:20.325] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:19:20.356] checking for posix_fadvise... no [18:19:20.410] checking whether posix_fadvise is declared... no [18:19:20.456] checking whether fdatasync is declared... no [18:19:20.503] checking whether strlcat is declared... no [18:19:20.565] checking whether strlcpy is declared... no [18:19:20.626] checking whether strnlen is declared... yes [18:19:20.639] checking whether strsep is declared... no [18:19:20.696] checking whether timingsafe_bcmp is declared... no [18:19:20.759] checking whether preadv is declared... no [18:19:20.795] checking whether pwritev is declared... no [18:19:20.832] checking whether strchrnul is declared... no [18:19:20.874] checking whether F_FULLFSYNC is declared... no [18:19:20.916] checking for explicit_bzero... no [18:19:20.963] checking for getopt... yes [18:19:21.006] checking for getpeereid... no [18:19:21.051] checking for inet_aton... no [18:19:21.097] checking for mkdtemp... no [18:19:21.141] checking for strlcat... no [18:19:21.187] checking for strlcpy... no [18:19:21.233] checking for strnlen... yes [18:19:21.277] checking for strsep... no [18:19:21.322] checking for timingsafe_bcmp... no [18:19:21.367] checking for pthread_barrier_wait... yes [18:19:21.409] configure: On mingw32 we will use our strtof wrapper. [18:19:21.409] checking for getopt_long... yes [18:19:21.453] checking for syslog... no [18:19:21.496] checking for opterr... yes [18:19:21.538] checking for optreset... no [18:19:21.586] checking test program... cross-compiling [18:19:21.587] checking size of void *... 8 [18:19:21.848] checking size of size_t... 8 [18:19:22.123] checking size of long... 4 [18:19:22.321] checking size of long long... 8 [18:19:22.570] checking alignment of short... 2 [18:19:22.694] checking alignment of int... 4 [18:19:22.891] checking alignment of long... 4 [18:19:23.095] checking alignment of int64_t... 8 [18:19:23.358] checking alignment of double... 8 [18:19:23.621] checking for __int128... yes [18:19:23.668] checking for __int128 alignment bug... assuming ok [18:19:23.668] checking alignment of PG_INT128_TYPE... 16 [18:19:23.990] checking for builtin __sync char locking functions... yes [18:19:24.029] checking for builtin __sync int32 locking functions... yes [18:19:24.066] checking for builtin __sync int32 atomic operations... yes [18:19:24.105] checking for builtin __sync int64 atomic operations... yes [18:19:24.145] checking for builtin __atomic int32 atomic operations... yes [18:19:24.182] checking for builtin __atomic int64 atomic operations... yes [18:19:24.224] checking for __get_cpuid... yes [18:19:24.266] checking for __get_cpuid_count... yes [18:19:24.306] checking for __cpuid... no [18:19:24.684] checking for __cpuidex... no [18:19:25.086] checking for _xgetbv... yes [18:19:25.462] checking for _mm512_popcnt_epi64... yes [18:19:25.842] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [18:19:25.935] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:19:25.958] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [18:19:25.976] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:19:25.994] 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 [18:19:26.047] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:19:26.047] checking for _mm512_clmulepi64_epi128... yes [18:19:26.450] checking for vectorized CRC-32C... AVX-512 with runtime check [18:19:26.450] checking which random number source to use... Windows native [18:19:26.452] checking for xmllint... /usr/bin/xmllint [18:19:26.452] checking for xsltproc... /usr/bin/xsltproc [18:19:26.452] checking for fop... /usr/bin/fop [18:19:26.453] checking for dbtoepub... no [18:19:26.453] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:19:26.453] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:19:26.453] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:19:26.464] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:19:26.464] 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 [18:19:26.464] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:19:26.464] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:19:26.553] configure: creating ./config.status [18:19:26.638] config.status: creating GNUmakefile [18:19:26.650] config.status: creating src/Makefile.global [18:19:26.665] config.status: creating src/include/pg_config.h [18:19:26.677] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:19:26.692] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:19:26.699] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:19:26.706] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:19:26.713] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:19:26.720] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:19:26.723] config.status: executing check_win32_symlinks commands [18:19:26.757] [18:19:26.757] real 0m15.463s [18:19:26.757] user 0m10.423s [18:19:26.757] sys 0m4.731s [18:19:26.757] make -s -j${BUILD_JOBS} clean [18:19:27.264] time make -s -j${BUILD_JOBS} world-bin [18:19:48.538] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [18:19:48.538] jsonpath_exec.c:2828:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [18:19:48.538] 2828 | JsonbValue jbvbuf; [18:19:48.538] | ^~~~~~~~~~ [18:19:48.538] cc1: all warnings being treated as errors [18:19:48.539] make[4]: *** [: jsonpath_exec.o] Error 1 [18:19:48.539] make[4]: *** Waiting for unfinished jobs.... [18:19:49.960] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [18:19:49.960] make[3]: *** Waiting for unfinished jobs.... [18:19:50.675] make[2]: *** [common.mk:37: utils-recursive] Error 2 [18:19:50.676] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:19:50.676] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:19:50.676] [18:19:50.676] real 0m23.413s [18:19:50.676] user 1m8.329s [18:19:50.676] sys 0m17.699s [18:19:50.676] [18:19:50.676] Exit status: 2