[22:49:21.795] time ./configure \ [22:49:21.795] --host=x86_64-w64-mingw32 \ [22:49:21.795] --enable-cassert \ [22:49:21.795] --without-icu \ [22:49:21.795] CC="ccache x86_64-w64-mingw32-gcc" \ [22:49:21.795] CXX="ccache x86_64-w64-mingw32-g++" [22:49:21.941] checking build system type... x86_64-pc-linux-gnu [22:49:22.158] checking host system type... x86_64-w64-mingw32 [22:49:22.164] checking which template to use... win32 [22:49:22.164] checking whether NLS is wanted... no [22:49:22.164] checking for default port number... 5432 [22:49:22.172] checking for block size... 8kB [22:49:22.174] checking for segment size... 1GB [22:49:22.177] checking for WAL block size... 8kB [22:49:22.178] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:49:22.219] checking whether the C compiler works... yes [22:49:22.384] checking for C compiler default output file name... a.exe [22:49:22.386] checking for suffix of executables... .exe [22:49:22.433] checking whether we are cross compiling... yes [22:49:22.526] checking for suffix of object files... o [22:49:22.536] checking whether we are using the GNU C compiler... yes [22:49:22.544] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:49:22.552] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:49:22.646] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:49:22.716] checking whether we are using the GNU C++ compiler... yes [22:49:22.724] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:49:22.803] checking for gawk... no [22:49:22.803] checking for mawk... mawk [22:49:22.806] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:49:22.846] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:49:22.855] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:49:22.911] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:49:23.098] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:49:23.107] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:49:23.115] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:49:23.123] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:49:23.132] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:49:23.140] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:49:23.147] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:49:23.156] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:49:23.163] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:49:23.170] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:49:23.178] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:49:23.185] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:49:23.193] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:49:23.237] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:49:23.245] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:49:23.252] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:49:23.270] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:49:23.362] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:49:23.371] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:49:23.400] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:49:23.420] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:49:23.428] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:49:23.475] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:49:23.526] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:49:23.535] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:49:23.574] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:49:23.617] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:49:23.626] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:49:23.634] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:49:23.643] checking whether the C compiler still works... yes [22:49:23.700] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:49:23.788] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:49:23.788] checking pkg-config is at least version 0.9.0... yes [22:49:23.805] checking whether to build with ICU support... no [22:49:23.806] checking whether to build with Tcl... no [22:49:23.806] checking whether to build Perl modules... no [22:49:23.806] checking whether to build Python modules... no [22:49:23.806] checking whether to build with GSSAPI support... no [22:49:23.807] checking whether to build with PAM support... no [22:49:23.807] checking whether to build with BSD Authentication support... no [22:49:23.807] checking whether to build with LDAP support... no [22:49:23.807] checking whether to build with Bonjour support... no [22:49:23.807] checking whether to build with SELinux support... no [22:49:23.807] checking whether to build with systemd support... no [22:49:23.808] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:49:23.808] checking whether to build with XML support... no [22:49:23.808] checking whether to build with LZ4 support... no [22:49:23.808] checking whether to build with ZSTD support... no [22:49:23.809] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:49:23.809] checking whether it is possible to strip libraries... yes [22:49:23.817] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:49:23.817] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:49:23.817] checking for a BSD-compatible install... /usr/bin/install -c [22:49:23.827] checking for tar... /usr/bin/tar [22:49:23.827] checking whether ln -s works... yes [22:49:23.827] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:49:23.830] checking for bison... /usr/bin/bison [22:49:23.833] configure: using bison (GNU Bison) 3.8.2 [22:49:23.837] checking for flex... /usr/bin/flex [22:49:23.850] configure: using flex 2.6.4 [22:49:23.850] checking for perl... /usr/bin/perl [22:49:23.854] configure: using perl 5.36.0 [22:49:23.857] checking for zic... /usr/sbin/zic [22:49:23.857] checking for a sed that does not truncate output... /usr/bin/sed [22:49:23.863] checking for grep that handles long lines and -e... /usr/bin/grep [22:49:23.865] checking for egrep... /usr/bin/grep -E [22:49:23.867] checking for ANSI C header files... yes [22:49:23.928] checking for sys/types.h... yes [22:49:23.948] checking for sys/stat.h... yes [22:49:24.026] checking for stdlib.h... yes [22:49:24.044] checking for string.h... yes [22:49:24.061] checking for memory.h... yes [22:49:24.103] checking for strings.h... yes [22:49:24.152] checking for inttypes.h... yes [22:49:24.173] checking for stdint.h... yes [22:49:24.191] checking for unistd.h... yes [22:49:24.211] checking for main in -lm... yes [22:49:24.271] checking for library containing setproctitle... no [22:49:24.378] checking for library containing dlsym... no [22:49:24.476] checking for library containing socket... -lws2_32 [22:49:24.629] checking for library containing getopt_long... none required [22:49:24.685] checking for library containing shm_open... no [22:49:24.786] checking for library containing shm_unlink... no [22:49:24.883] checking for library containing clock_gettime... no [22:49:24.988] checking for library containing shmget... no [22:49:25.090] checking for library containing backtrace_symbols... no [22:49:25.189] checking for library containing pthread_barrier_wait... -lpthread [22:49:25.290] checking for inflate in -lz... yes [22:49:25.344] checking for stdbool.h that conforms to C99... yes [22:49:25.356] checking for _Bool... yes [22:49:25.438] checking atomic.h usability... no [22:49:25.507] checking atomic.h presence... no [22:49:25.529] checking for atomic.h... no [22:49:25.533] checking copyfile.h usability... no [22:49:25.607] checking copyfile.h presence... no [22:49:25.631] checking for copyfile.h... no [22:49:25.635] checking execinfo.h usability... no [22:49:25.704] checking execinfo.h presence... no [22:49:25.729] checking for execinfo.h... no [22:49:25.734] checking getopt.h usability... yes [22:49:25.743] checking getopt.h presence... yes [22:49:25.762] checking for getopt.h... yes [22:49:25.772] checking ifaddrs.h usability... no [22:49:25.841] checking ifaddrs.h presence... no [22:49:25.863] checking for ifaddrs.h... no [22:49:25.867] checking mbarrier.h usability... no [22:49:25.931] checking mbarrier.h presence... no [22:49:25.953] checking for mbarrier.h... no [22:49:25.957] checking sys/epoll.h usability... no [22:49:26.026] checking sys/epoll.h presence... no [22:49:26.048] checking for sys/epoll.h... no [22:49:26.052] checking sys/event.h usability... no [22:49:26.115] checking sys/event.h presence... no [22:49:26.138] checking for sys/event.h... no [22:49:26.142] checking sys/personality.h usability... no [22:49:26.208] checking sys/personality.h presence... no [22:49:26.231] checking for sys/personality.h... no [22:49:26.234] checking sys/prctl.h usability... no [22:49:26.295] checking sys/prctl.h presence... no [22:49:26.317] checking for sys/prctl.h... no [22:49:26.321] checking sys/procctl.h usability... no [22:49:26.386] checking sys/procctl.h presence... no [22:49:26.411] checking for sys/procctl.h... no [22:49:26.415] checking sys/signalfd.h usability... no [22:49:26.486] checking sys/signalfd.h presence... no [22:49:26.508] checking for sys/signalfd.h... no [22:49:26.511] checking sys/ucred.h usability... no [22:49:26.579] checking sys/ucred.h presence... no [22:49:26.603] checking for sys/ucred.h... no [22:49:26.607] checking termios.h usability... no [22:49:26.690] checking termios.h presence... no [22:49:26.714] checking for termios.h... no [22:49:26.718] checking ucred.h usability... no [22:49:26.786] checking ucred.h presence... no [22:49:26.817] checking for ucred.h... no [22:49:26.821] checking xlocale.h usability... no [22:49:26.892] checking xlocale.h presence... no [22:49:26.915] checking for xlocale.h... no [22:49:26.919] checking zlib.h usability... yes [22:49:26.931] checking zlib.h presence... yes [22:49:26.954] checking for zlib.h... yes [22:49:26.954] checking for lz4... /usr/bin/lz4 [22:49:26.954] checking for zstd... /usr/bin/zstd [22:49:26.955] checking for openssl... /usr/bin/openssl [22:49:26.959] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [22:49:26.959] checking crtdefs.h usability... yes [22:49:26.967] checking crtdefs.h presence... yes [22:49:26.984] checking for crtdefs.h... yes [22:49:26.986] checking whether byte ordering is bigendian... no [22:49:27.065] checking for inline... inline [22:49:27.082] checking for printf format archetype... gnu_printf [22:49:27.090] checking for _Static_assert... yes [22:49:27.137] checking for typeof... typeof [22:49:27.146] checking for __builtin_types_compatible_p... yes [22:49:27.159] checking for __builtin_constant_p... yes [22:49:27.171] checking for __builtin_unreachable... yes [22:49:27.221] checking for computed goto support... yes [22:49:27.228] checking for struct tm.tm_zone... no [22:49:27.316] checking for union semun... no [22:49:27.355] checking for socklen_t... yes [22:49:30.014] checking for struct sockaddr.sa_len... no [22:49:32.512] checking for C/C++ restrict keyword... __restrict [22:49:32.529] checking for struct option... yes [22:49:32.599] checking whether assembler supports x86_64 popcntq... yes [22:49:32.610] checking size of off_t... 4 [22:49:32.869] 0 [22:49:32.869] checking size of bool... 1 [22:49:32.931] checking for int timezone... yes [22:49:32.999] checking for backtrace_symbols... no [22:49:33.064] checking for copyfile... no [22:49:33.127] checking for copy_file_range... no [22:49:33.190] checking for getifaddrs... no [22:49:33.253] checking for getpeerucred... no [22:49:33.317] checking for inet_pton... yes [22:49:33.381] checking for kqueue... no [22:49:33.444] checking for mbstowcs_l... no [22:49:33.506] checking for memset_s... no [22:49:33.570] checking for posix_fallocate... no [22:49:33.635] checking for ppoll... no [22:49:33.698] checking for pthread_is_threaded_np... no [22:49:33.760] checking for setproctitle... no [22:49:33.822] checking for setproctitle_fast... no [22:49:33.889] checking for strchrnul... no [22:49:33.954] checking for strsignal... no [22:49:34.018] checking for syncfs... no [22:49:34.082] checking for sync_file_range... no [22:49:34.146] checking for uselocale... no [22:49:34.209] checking for wcstombs_l... no [22:49:34.267] checking for __builtin_bswap16... yes [22:49:34.328] checking for __builtin_bswap32... yes [22:49:34.388] checking for __builtin_bswap64... yes [22:49:34.450] checking for __builtin_clz... yes [22:49:34.511] checking for __builtin_ctz... yes [22:49:34.573] checking for __builtin_popcount... yes [22:49:34.635] checking for __builtin_frame_address... yes [22:49:34.697] checking for _LARGEFILE_SOURCE value needed for large files... no [22:49:34.762] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:49:34.807] checking for posix_fadvise... no [22:49:34.874] checking whether posix_fadvise is declared... no [22:49:34.934] checking whether fdatasync is declared... no [22:49:34.995] checking whether strlcat is declared... no [22:49:35.075] checking whether strlcpy is declared... no [22:49:35.152] checking whether strnlen is declared... yes [22:49:35.169] checking whether strsep is declared... no [22:49:35.251] checking whether preadv is declared... no [22:49:35.298] checking whether pwritev is declared... no [22:49:35.347] checking whether F_FULLFSYNC is declared... no [22:49:35.398] checking for explicit_bzero... no [22:49:35.456] checking for getopt... yes [22:49:35.512] checking for getpeereid... no [22:49:35.571] checking for inet_aton... no [22:49:35.632] checking for mkdtemp... no [22:49:35.695] checking for strlcat... no [22:49:35.755] checking for strlcpy... no [22:49:35.818] checking for strnlen... yes [22:49:35.879] checking for strsep... no [22:49:35.938] checking for pthread_barrier_wait... yes [22:49:35.992] configure: On mingw32 we will use our strtof wrapper. [22:49:35.992] checking for getopt_long... yes [22:49:36.047] checking for _configthreadlocale... yes [22:49:36.104] checking for syslog... no [22:49:36.163] checking for opterr... yes [22:49:36.221] checking for optreset... no [22:49:36.282] checking test program... cross-compiling [22:49:36.282] checking whether long int is 64 bits... no [22:49:36.319] checking whether long long int is 64 bits... yes [22:49:36.331] checking for __builtin_mul_overflow... yes [22:49:36.383] checking size of void *... 8 [22:49:36.714] checking size of size_t... 8 [22:49:37.115] checking size of long... 4 [22:49:37.396] checking alignment of short... 2 [22:49:37.636] checking alignment of int... 4 [22:49:37.890] checking alignment of long... 4 [22:49:38.147] checking alignment of long long int... 8 [22:49:38.473] checking alignment of double... 8 [22:49:38.826] checking for int8... no [22:49:38.880] checking for uint8... no [22:49:38.933] checking for int64... no [22:49:38.985] checking for uint64... no [22:49:39.035] checking for __int128... yes [22:49:39.094] checking for __int128 alignment bug... assuming ok [22:49:39.094] checking alignment of PG_INT128_TYPE... 16 [22:49:39.543] checking for builtin __sync char locking functions... yes [22:49:39.594] checking for builtin __sync int32 locking functions... yes [22:49:39.645] checking for builtin __sync int32 atomic operations... yes [22:49:39.696] checking for builtin __sync int64 atomic operations... yes [22:49:39.746] checking for builtin __atomic int32 atomic operations... yes [22:49:39.794] checking for builtin __atomic int64 atomic operations... yes [22:49:39.846] checking for __get_cpuid... yes [22:49:39.902] checking for __get_cpuid_count... yes [22:49:39.954] checking for __cpuid... no [22:49:40.374] checking for __cpuidex... no [22:49:40.816] checking for _xgetbv with CFLAGS=... no [22:49:41.216] checking for _xgetbv with CFLAGS=-mxsave... yes [22:49:41.630] checking for _mm512_popcnt_epi64 with CFLAGS=... no [22:49:42.026] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [22:49:42.371] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [22:49:42.420] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [22:49:42.516] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:49:42.542] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:49:42.563] 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 [22:49:42.624] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:49:42.624] checking which random number source to use... Windows native [22:49:42.627] checking for xmllint... /usr/bin/xmllint [22:49:42.627] checking for xsltproc... /usr/bin/xsltproc [22:49:42.627] checking for fop... /usr/bin/fop [22:49:42.627] checking for dbtoepub... no [22:49:42.628] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:49:42.628] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:49:42.628] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:49:42.640] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:49:42.640] 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 [22:49:42.640] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:49:42.640] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:49:42.735] configure: creating ./config.status [22:49:42.830] config.status: creating GNUmakefile [22:49:42.844] config.status: creating src/Makefile.global [22:49:42.862] config.status: creating src/include/pg_config.h [22:49:42.877] config.status: creating src/include/pg_config_ext.h [22:49:42.891] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:49:42.909] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:49:42.918] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:49:42.927] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:49:42.936] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:49:42.945] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:49:42.949] config.status: executing check_win32_symlinks commands [22:49:42.989] [22:49:42.989] real 0m21.194s [22:49:42.989] user 0m14.314s [22:49:42.989] sys 0m6.456s [22:49:42.989] make -s -j${BUILD_JOBS} clean [22:49:43.524] time make -s -j${BUILD_JOBS} world-bin [22:50:18.023] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [22:50:18.023] jsonpath_exec.c:2829:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [22:50:18.023] 2829 | JsonbValue jbvbuf; [22:50:18.023] | ^~~~~~~~~~ [22:50:18.023] cc1: all warnings being treated as errors [22:50:18.024] make[4]: *** [: jsonpath_exec.o] Error 1 [22:50:18.024] make[4]: *** Waiting for unfinished jobs.... [22:50:18.463] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [22:50:18.463] make[3]: *** Waiting for unfinished jobs.... [22:50:19.113] make[2]: *** [common.mk:37: utils-recursive] Error 2 [22:50:19.114] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:50:19.114] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:50:19.114] [22:50:19.114] real 0m35.590s [22:50:19.114] user 1m47.396s [22:50:19.114] sys 0m24.714s [22:50:19.115] [22:50:19.115] Exit status: 2