[09:30:13.317] time ./configure \ [09:30:13.317] --host=x86_64-w64-mingw32 \ [09:30:13.317] --enable-cassert \ [09:30:13.317] --without-icu \ [09:30:13.317] CC="ccache x86_64-w64-mingw32-gcc" \ [09:30:13.317] CXX="ccache x86_64-w64-mingw32-g++" [09:30:13.428] checking build system type... x86_64-pc-linux-gnu [09:30:13.635] checking host system type... x86_64-w64-mingw32 [09:30:13.640] checking which template to use... win32 [09:30:13.640] checking whether NLS is wanted... no [09:30:13.640] checking for default port number... 5432 [09:30:13.647] checking for block size... 8kB [09:30:13.648] checking for segment size... 1GB [09:30:13.650] checking for WAL block size... 8kB [09:30:13.652] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:30:13.683] checking whether the C compiler works... yes [09:30:13.825] checking for C compiler default output file name... a.exe [09:30:13.826] checking for suffix of executables... .exe [09:30:13.868] checking whether we are cross compiling... yes [09:30:13.948] checking for suffix of object files... o [09:30:13.956] checking whether we are using the GNU C compiler... yes [09:30:13.963] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:30:13.969] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:30:13.979] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:30:14.042] checking whether we are using the GNU C++ compiler... yes [09:30:14.048] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:30:14.120] checking for gawk... no [09:30:14.120] checking for mawk... mawk [09:30:14.122] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:30:14.129] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:30:14.135] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:30:14.180] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:30:14.352] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:30:14.359] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:30:14.366] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:30:14.373] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:30:14.380] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:30:14.387] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:30:14.394] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:30:14.401] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:30:14.408] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:30:14.414] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:30:14.421] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:30:14.428] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:30:14.435] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:30:14.472] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:30:14.480] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:30:14.487] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:30:14.494] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:30:14.501] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:30:14.508] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:30:14.532] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:30:14.539] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:30:14.547] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:30:14.584] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:30:14.623] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:30:14.630] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:30:14.637] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:30:14.673] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:30:14.680] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:30:14.688] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:30:14.697] checking whether the C compiler still works... yes [09:30:14.765] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:30:14.844] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:30:14.845] checking pkg-config is at least version 0.9.0... yes [09:30:14.862] checking whether to build with ICU support... no [09:30:14.862] checking whether to build with Tcl... no [09:30:14.862] checking whether to build Perl modules... no [09:30:14.862] checking whether to build Python modules... no [09:30:14.862] checking whether to build with GSSAPI support... no [09:30:14.864] checking whether to build with PAM support... no [09:30:14.864] checking whether to build with BSD Authentication support... no [09:30:14.864] checking whether to build with LDAP support... no [09:30:14.864] checking whether to build with Bonjour support... no [09:30:14.864] checking whether to build with SELinux support... no [09:30:14.864] checking whether to build with systemd support... no [09:30:14.864] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:30:14.864] checking whether to build with XML support... no [09:30:14.865] checking whether to build with LZ4 support... no [09:30:14.865] checking whether to build with ZSTD support... no [09:30:14.865] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:30:14.865] checking whether it is possible to strip libraries... yes [09:30:14.873] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:30:14.873] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:30:14.874] checking for a BSD-compatible install... /usr/bin/install -c [09:30:14.883] checking for tar... /usr/bin/tar [09:30:14.883] checking whether ln -s works... yes [09:30:14.883] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:30:14.885] checking for bison... /usr/bin/bison [09:30:14.888] configure: using bison (GNU Bison) 3.8.2 [09:30:14.890] checking for flex... /usr/bin/flex [09:30:14.903] configure: using flex 2.6.4 [09:30:14.903] checking for perl... /usr/bin/perl [09:30:14.906] configure: using perl 5.36.0 [09:30:14.908] checking for zic... /usr/sbin/zic [09:30:14.909] checking for a sed that does not truncate output... /usr/bin/sed [09:30:14.914] checking for grep that handles long lines and -e... /usr/bin/grep [09:30:14.916] checking for egrep... /usr/bin/grep -E [09:30:14.918] checking for ANSI C header files... yes [09:30:14.966] checking for sys/types.h... yes [09:30:14.983] checking for sys/stat.h... yes [09:30:14.999] checking for stdlib.h... yes [09:30:15.014] checking for string.h... yes [09:30:15.028] checking for memory.h... yes [09:30:15.043] checking for strings.h... yes [09:30:15.059] checking for inttypes.h... yes [09:30:15.074] checking for stdint.h... yes [09:30:15.088] checking for unistd.h... yes [09:30:15.102] checking for main in -lm... yes [09:30:15.148] checking for library containing setproctitle... no [09:30:15.238] checking for library containing dlsym... no [09:30:15.328] checking for library containing socket... -lws2_32 [09:30:15.460] checking for library containing getopt_long... none required [09:30:15.506] checking for library containing shm_open... no [09:30:15.595] checking for library containing shm_unlink... no [09:30:15.683] checking for library containing clock_gettime... no [09:30:15.770] checking for library containing shmget... no [09:30:15.854] checking for library containing backtrace_symbols... no [09:30:15.941] checking for library containing pthread_barrier_wait... -lpthread [09:30:16.037] checking for inflate in -lz... yes [09:30:16.087] checking for stdbool.h that conforms to C99... yes [09:30:16.099] checking for _Bool... yes [09:30:16.176] checking atomic.h usability... no [09:30:16.235] checking atomic.h presence... no [09:30:16.256] checking for atomic.h... no [09:30:16.259] checking copyfile.h usability... no [09:30:16.317] checking copyfile.h presence... no [09:30:16.338] checking for copyfile.h... no [09:30:16.341] checking execinfo.h usability... no [09:30:16.399] checking execinfo.h presence... no [09:30:16.418] checking for execinfo.h... no [09:30:16.421] checking getopt.h usability... yes [09:30:16.430] checking getopt.h presence... yes [09:30:16.445] checking for getopt.h... yes [09:30:16.453] checking ifaddrs.h usability... no [09:30:16.509] checking ifaddrs.h presence... no [09:30:16.529] checking for ifaddrs.h... no [09:30:16.532] checking mbarrier.h usability... no [09:30:16.589] checking mbarrier.h presence... no [09:30:16.609] checking for mbarrier.h... no [09:30:16.612] checking sys/epoll.h usability... no [09:30:16.669] checking sys/epoll.h presence... no [09:30:16.689] checking for sys/epoll.h... no [09:30:16.693] checking sys/event.h usability... no [09:30:16.749] checking sys/event.h presence... no [09:30:16.769] checking for sys/event.h... no [09:30:16.773] checking sys/personality.h usability... no [09:30:16.830] checking sys/personality.h presence... no [09:30:16.849] checking for sys/personality.h... no [09:30:16.853] checking sys/prctl.h usability... no [09:30:16.909] checking sys/prctl.h presence... no [09:30:16.929] checking for sys/prctl.h... no [09:30:16.932] checking sys/procctl.h usability... no [09:30:16.987] checking sys/procctl.h presence... no [09:30:17.005] checking for sys/procctl.h... no [09:30:17.008] checking sys/signalfd.h usability... no [09:30:17.064] checking sys/signalfd.h presence... no [09:30:17.084] checking for sys/signalfd.h... no [09:30:17.088] checking sys/ucred.h usability... no [09:30:17.144] checking sys/ucred.h presence... no [09:30:17.165] checking for sys/ucred.h... no [09:30:17.169] checking termios.h usability... no [09:30:17.225] checking termios.h presence... no [09:30:17.243] checking for termios.h... no [09:30:17.247] checking ucred.h usability... no [09:30:17.302] checking ucred.h presence... no [09:30:17.323] checking for ucred.h... no [09:30:17.327] checking xlocale.h usability... no [09:30:17.384] checking xlocale.h presence... no [09:30:17.404] checking for xlocale.h... no [09:30:17.407] checking zlib.h usability... yes [09:30:17.416] checking zlib.h presence... yes [09:30:17.436] checking for zlib.h... yes [09:30:17.436] checking for lz4... /usr/bin/lz4 [09:30:17.437] checking for zstd... /usr/bin/zstd [09:30:17.437] checking for openssl... /usr/bin/openssl [09:30:17.442] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [09:30:17.442] checking crtdefs.h usability... yes [09:30:17.450] checking crtdefs.h presence... yes [09:30:17.466] checking for crtdefs.h... yes [09:30:17.467] checking whether byte ordering is bigendian... no [09:30:17.545] checking for inline... inline [09:30:17.552] checking for printf format archetype... gnu_printf [09:30:17.561] checking for _Static_assert... yes [09:30:17.604] checking for typeof... typeof [09:30:17.611] checking for __builtin_types_compatible_p... yes [09:30:17.623] checking for __builtin_constant_p... yes [09:30:17.633] checking for __builtin_unreachable... yes [09:30:17.675] checking for computed goto support... yes [09:30:17.683] checking for struct tm.tm_zone... no [09:30:17.761] checking for union semun... no [09:30:17.794] checking for socklen_t... yes [09:30:18.965] checking for struct sockaddr.sa_len... no [09:30:21.086] checking for C/C++ restrict keyword... __restrict [09:30:21.099] checking for struct option... yes [09:30:21.140] checking whether assembler supports x86_64 popcntq... yes [09:30:21.148] checking size of off_t... 4 [09:30:21.362] 0 [09:30:21.362] checking size of bool... 1 [09:30:21.409] checking for int timezone... yes [09:30:21.464] checking for backtrace_symbols... no [09:30:21.517] checking for copyfile... no [09:30:21.569] checking for copy_file_range... no [09:30:21.620] checking for getifaddrs... no [09:30:21.671] checking for getpeerucred... no [09:30:21.723] checking for inet_pton... yes [09:30:21.776] checking for kqueue... no [09:30:21.827] checking for mbstowcs_l... no [09:30:21.878] checking for memset_s... no [09:30:21.931] checking for posix_fallocate... no [09:30:21.983] checking for ppoll... no [09:30:22.037] checking for pthread_is_threaded_np... no [09:30:22.089] checking for setproctitle... no [09:30:22.142] checking for setproctitle_fast... no [09:30:22.194] checking for strchrnul... no [09:30:22.247] checking for strsignal... no [09:30:22.299] checking for syncfs... no [09:30:22.352] checking for sync_file_range... no [09:30:22.404] checking for uselocale... no [09:30:22.456] checking for wcstombs_l... no [09:30:22.504] checking for __builtin_bswap16... yes [09:30:22.554] checking for __builtin_bswap32... yes [09:30:22.603] checking for __builtin_bswap64... yes [09:30:22.650] checking for __builtin_clz... yes [09:30:22.698] checking for __builtin_ctz... yes [09:30:22.746] checking for __builtin_popcount... yes [09:30:22.793] checking for __builtin_frame_address... yes [09:30:22.840] checking for _LARGEFILE_SOURCE value needed for large files... no [09:30:22.894] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:30:22.926] checking for posix_fadvise... no [09:30:22.981] checking whether posix_fadvise is declared... no [09:30:23.027] checking whether fdatasync is declared... no [09:30:23.077] checking whether strlcat is declared... no [09:30:23.145] checking whether strlcpy is declared... no [09:30:23.210] checking whether strnlen is declared... yes [09:30:23.228] checking whether strsep is declared... no [09:30:23.291] checking whether preadv is declared... no [09:30:23.330] checking whether pwritev is declared... no [09:30:23.368] checking whether F_FULLFSYNC is declared... no [09:30:23.410] checking for explicit_bzero... no [09:30:23.458] checking for getopt... yes [09:30:23.504] checking for getpeereid... no [09:30:23.552] checking for inet_aton... no [09:30:23.600] checking for mkdtemp... no [09:30:23.649] checking for strlcat... no [09:30:23.697] checking for strlcpy... no [09:30:23.745] checking for strnlen... yes [09:30:23.794] checking for strsep... no [09:30:23.843] checking for pthread_barrier_wait... yes [09:30:23.888] configure: On mingw32 we will use our strtof wrapper. [09:30:23.888] checking for getopt_long... yes [09:30:23.935] checking for _configthreadlocale... yes [09:30:23.982] checking for syslog... no [09:30:24.032] checking for opterr... yes [09:30:24.082] checking for optreset... no [09:30:24.134] checking test program... cross-compiling [09:30:24.134] checking whether long int is 64 bits... no [09:30:24.167] checking whether long long int is 64 bits... yes [09:30:24.176] checking for __builtin_mul_overflow... yes [09:30:24.221] checking size of void *... 8 [09:30:24.498] checking size of size_t... 8 [09:30:24.777] checking size of long... 4 [09:30:24.989] checking alignment of short... 2 [09:30:25.131] checking alignment of int... 4 [09:30:25.332] checking alignment of long... 4 [09:30:25.529] checking alignment of long long int... 8 [09:30:25.796] checking alignment of double... 8 [09:30:26.072] checking for __int128... yes [09:30:26.124] checking for __int128 alignment bug... assuming ok [09:30:26.124] checking alignment of PG_INT128_TYPE... 16 [09:30:26.466] checking for builtin __sync char locking functions... yes [09:30:26.511] checking for builtin __sync int32 locking functions... yes [09:30:26.555] checking for builtin __sync int32 atomic operations... yes [09:30:26.600] checking for builtin __sync int64 atomic operations... yes [09:30:26.645] checking for builtin __atomic int32 atomic operations... yes [09:30:26.691] checking for builtin __atomic int64 atomic operations... yes [09:30:26.736] checking for __get_cpuid... yes [09:30:26.786] checking for __get_cpuid_count... yes [09:30:26.833] checking for __cpuid... no [09:30:27.238] checking for __cpuidex... no [09:30:27.665] checking for _xgetbv with CFLAGS=... no [09:30:28.052] checking for _xgetbv with CFLAGS=-mxsave... yes [09:30:28.457] checking for _mm512_popcnt_epi64 with CFLAGS=... no [09:30:28.846] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [09:30:29.188] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:30:29.234] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:30:29.321] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:30:29.345] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:30:29.365] 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:30:29.422] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:30:29.423] checking which random number source to use... Windows native [09:30:29.425] checking for xmllint... /usr/bin/xmllint [09:30:29.425] checking for xsltproc... /usr/bin/xsltproc [09:30:29.425] checking for fop... /usr/bin/fop [09:30:29.425] checking for dbtoepub... no [09:30:29.426] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:30:29.426] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:30:29.426] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:30:29.437] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:30:29.437] 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:30:29.437] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:30:29.437] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:30:29.520] configure: creating ./config.status [09:30:29.601] config.status: creating GNUmakefile [09:30:29.613] config.status: creating src/Makefile.global [09:30:29.628] config.status: creating src/include/pg_config.h [09:30:29.640] config.status: creating src/include/pg_config_ext.h [09:30:29.651] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:30:29.666] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:30:29.673] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:30:29.679] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:30:29.686] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:30:29.693] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:30:29.696] config.status: executing check_win32_symlinks commands [09:30:29.729] [09:30:29.729] real 0m16.412s [09:30:29.729] user 0m10.963s [09:30:29.729] sys 0m5.082s [09:30:29.729] make -s -j${BUILD_JOBS} clean [09:30:30.228] time make -s -j${BUILD_JOBS} world-bin [09:32:37.172] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [09:32:37.172] jsonpath_exec.c:2827:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [09:32:37.172] 2827 | JsonbValue jbvbuf; [09:32:37.172] | ^~~~~~~~~~ [09:32:37.172] cc1: all warnings being treated as errors [09:32:37.173] make[4]: *** [: jsonpath_exec.o] Error 1 [09:32:37.173] make[4]: *** Waiting for unfinished jobs.... [09:32:37.881] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [09:32:37.881] make[3]: *** Waiting for unfinished jobs.... [09:32:42.396] make[2]: *** [common.mk:37: utils-recursive] Error 2 [09:32:42.397] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:32:42.397] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:32:42.397] [09:32:42.397] real 2m12.169s [09:32:42.397] user 7m4.687s [09:32:42.397] sys 1m26.911s [09:32:42.397] [09:32:42.397] Exit status: 2