[12:50:38.324] time ./configure \ [12:50:38.324] --host=x86_64-w64-mingw32 \ [12:50:38.324] --enable-cassert \ [12:50:38.324] --without-icu \ [12:50:38.324] CC="ccache x86_64-w64-mingw32-gcc" \ [12:50:38.324] CXX="ccache x86_64-w64-mingw32-g++" [12:50:38.434] checking build system type... x86_64-pc-linux-gnu [12:50:38.613] checking host system type... x86_64-w64-mingw32 [12:50:38.618] checking which template to use... win32 [12:50:38.618] checking whether NLS is wanted... no [12:50:38.619] checking for default port number... 5432 [12:50:38.625] checking for block size... 8kB [12:50:38.626] checking for segment size... 1GB [12:50:38.628] checking for WAL block size... 8kB [12:50:38.629] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [12:50:38.662] checking whether the C compiler works... yes [12:50:38.797] checking for C compiler default output file name... a.exe [12:50:38.798] checking for suffix of executables... .exe [12:50:38.839] checking whether we are cross compiling... yes [12:50:38.909] checking for suffix of object files... o [12:50:38.917] checking whether we are using the GNU C compiler... yes [12:50:38.924] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [12:50:38.931] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [12:50:38.940] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [12:50:39.005] checking whether we are using the GNU C++ compiler... yes [12:50:39.011] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [12:50:39.079] checking for gawk... no [12:50:39.079] checking for mawk... mawk [12:50:39.081] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [12:50:39.087] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [12:50:39.094] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [12:50:39.139] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [12:50:39.322] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [12:50:39.329] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [12:50:39.336] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [12:50:39.343] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [12:50:39.349] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [12:50:39.356] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [12:50:39.362] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [12:50:39.369] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [12:50:39.376] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [12:50:39.382] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [12:50:39.388] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [12:50:39.395] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [12:50:39.401] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [12:50:39.439] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [12:50:39.446] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [12:50:39.453] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [12:50:39.460] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [12:50:39.467] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [12:50:39.474] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [12:50:39.499] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [12:50:39.506] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [12:50:39.513] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [12:50:39.552] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [12:50:39.592] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [12:50:39.599] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [12:50:39.606] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [12:50:39.640] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [12:50:39.647] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [12:50:39.654] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [12:50:39.661] checking whether the C compiler still works... yes [12:50:39.723] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [12:50:39.790] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [12:50:39.791] checking pkg-config is at least version 0.9.0... yes [12:50:39.808] checking whether to build with ICU support... no [12:50:39.808] checking whether to build with Tcl... no [12:50:39.808] checking whether to build Perl modules... no [12:50:39.808] checking whether to build Python modules... no [12:50:39.808] checking whether to build with GSSAPI support... no [12:50:39.810] checking whether to build with PAM support... no [12:50:39.810] checking whether to build with BSD Authentication support... no [12:50:39.810] checking whether to build with LDAP support... no [12:50:39.810] checking whether to build with Bonjour support... no [12:50:39.810] checking whether to build with SELinux support... no [12:50:39.810] checking whether to build with systemd support... no [12:50:39.810] configure: WARNING: *** Readline does not work on MinGW --- disabling [12:50:39.810] checking whether to build with XML support... no [12:50:39.811] checking whether to build with LZ4 support... no [12:50:39.811] checking whether to build with ZSTD support... no [12:50:39.811] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [12:50:39.811] checking whether it is possible to strip libraries... yes [12:50:39.820] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [12:50:39.821] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [12:50:39.821] checking for a BSD-compatible install... /usr/bin/install -c [12:50:39.830] checking for tar... /usr/bin/tar [12:50:39.830] checking whether ln -s works... yes [12:50:39.830] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [12:50:39.832] checking for bison... /usr/bin/bison [12:50:39.834] configure: using bison (GNU Bison) 3.8.2 [12:50:39.837] checking for flex... /usr/bin/flex [12:50:39.848] configure: using flex 2.6.4 [12:50:39.848] checking for perl... /usr/bin/perl [12:50:39.851] configure: using perl 5.36.0 [12:50:39.853] checking for zic... /usr/sbin/zic [12:50:39.853] checking for a sed that does not truncate output... /usr/bin/sed [12:50:39.858] checking for grep that handles long lines and -e... /usr/bin/grep [12:50:39.860] checking for egrep... /usr/bin/grep -E [12:50:39.862] checking for ANSI C header files... yes [12:50:39.908] checking for sys/types.h... yes [12:50:39.926] checking for sys/stat.h... yes [12:50:39.942] checking for stdlib.h... yes [12:50:39.957] checking for string.h... yes [12:50:39.972] checking for memory.h... yes [12:50:39.987] checking for strings.h... yes [12:50:40.002] checking for inttypes.h... yes [12:50:40.019] checking for stdint.h... yes [12:50:40.032] checking for unistd.h... yes [12:50:40.047] checking for main in -lm... yes [12:50:40.094] checking for library containing setproctitle... no [12:50:40.182] checking for library containing dlsym... no [12:50:40.270] checking for library containing socket... -lws2_32 [12:50:40.404] checking for library containing getopt_long... none required [12:50:40.453] checking for library containing shm_open... no [12:50:40.543] checking for library containing shm_unlink... no [12:50:40.636] checking for library containing clock_gettime... no [12:50:40.728] checking for library containing shmget... no [12:50:40.819] checking for library containing backtrace_symbols... no [12:50:40.910] checking for library containing pthread_barrier_wait... -lpthread [12:50:40.999] checking for inflate in -lz... yes [12:50:41.044] checking for stdbool.h that conforms to C99... yes [12:50:41.056] checking for _Bool... yes [12:50:41.131] checking atomic.h usability... no [12:50:41.187] checking atomic.h presence... no [12:50:41.206] checking for atomic.h... no [12:50:41.210] checking copyfile.h usability... no [12:50:41.266] checking copyfile.h presence... no [12:50:41.285] checking for copyfile.h... no [12:50:41.288] checking execinfo.h usability... no [12:50:41.344] checking execinfo.h presence... no [12:50:41.363] checking for execinfo.h... no [12:50:41.367] checking getopt.h usability... yes [12:50:41.375] checking getopt.h presence... yes [12:50:41.390] checking for getopt.h... yes [12:50:41.397] checking ifaddrs.h usability... no [12:50:41.452] checking ifaddrs.h presence... no [12:50:41.470] checking for ifaddrs.h... no [12:50:41.473] checking mbarrier.h usability... no [12:50:41.528] checking mbarrier.h presence... no [12:50:41.548] checking for mbarrier.h... no [12:50:41.551] checking sys/epoll.h usability... no [12:50:41.608] checking sys/epoll.h presence... no [12:50:41.628] checking for sys/epoll.h... no [12:50:41.631] checking sys/event.h usability... no [12:50:41.686] checking sys/event.h presence... no [12:50:41.704] checking for sys/event.h... no [12:50:41.707] checking sys/personality.h usability... no [12:50:41.761] checking sys/personality.h presence... no [12:50:41.781] checking for sys/personality.h... no [12:50:41.784] checking sys/prctl.h usability... no [12:50:41.839] checking sys/prctl.h presence... no [12:50:41.857] checking for sys/prctl.h... no [12:50:41.860] checking sys/procctl.h usability... no [12:50:41.914] checking sys/procctl.h presence... no [12:50:41.932] checking for sys/procctl.h... no [12:50:41.934] checking sys/signalfd.h usability... no [12:50:41.987] checking sys/signalfd.h presence... no [12:50:42.005] checking for sys/signalfd.h... no [12:50:42.008] checking sys/ucred.h usability... no [12:50:42.061] checking sys/ucred.h presence... no [12:50:42.080] checking for sys/ucred.h... no [12:50:42.083] checking termios.h usability... no [12:50:42.136] checking termios.h presence... no [12:50:42.155] checking for termios.h... no [12:50:42.158] checking ucred.h usability... no [12:50:42.214] checking ucred.h presence... no [12:50:42.232] checking for ucred.h... no [12:50:42.235] checking xlocale.h usability... no [12:50:42.289] checking xlocale.h presence... no [12:50:42.307] checking for xlocale.h... no [12:50:42.310] checking zlib.h usability... yes [12:50:42.320] checking zlib.h presence... yes [12:50:42.339] checking for zlib.h... yes [12:50:42.339] checking for lz4... /usr/bin/lz4 [12:50:42.339] checking for zstd... /usr/bin/zstd [12:50:42.340] checking for openssl... /usr/bin/openssl [12:50:42.344] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [12:50:42.344] checking crtdefs.h usability... yes [12:50:42.352] checking crtdefs.h presence... yes [12:50:42.366] checking for crtdefs.h... yes [12:50:42.367] checking whether byte ordering is bigendian... no [12:50:42.438] checking for inline... inline [12:50:42.445] checking for printf format archetype... gnu_printf [12:50:42.452] checking for _Static_assert... yes [12:50:42.493] checking for typeof... typeof [12:50:42.500] checking for __builtin_types_compatible_p... yes [12:50:42.510] checking for __builtin_constant_p... yes [12:50:42.520] checking for __builtin_unreachable... yes [12:50:42.561] checking for computed goto support... yes [12:50:42.568] checking for struct tm.tm_zone... no [12:50:42.643] checking for union semun... no [12:50:42.675] checking for socklen_t... yes [12:50:43.887] checking for struct sockaddr.sa_len... no [12:50:46.071] checking for C/C++ restrict keyword... __restrict [12:50:46.085] checking for struct option... yes [12:50:46.131] checking whether assembler supports x86_64 popcntq... yes [12:50:46.139] checking size of off_t... 4 [12:50:46.348] 0 [12:50:46.348] checking size of bool... 1 [12:50:46.392] checking for int timezone... yes [12:50:46.446] checking for backtrace_symbols... no [12:50:46.496] checking for copyfile... no [12:50:46.545] checking for copy_file_range... no [12:50:46.596] checking for getifaddrs... no [12:50:46.644] checking for getpeerucred... no [12:50:46.694] checking for inet_pton... yes [12:50:46.742] checking for kqueue... no [12:50:46.792] checking for mbstowcs_l... no [12:50:46.841] checking for memset_s... no [12:50:46.889] checking for posix_fallocate... no [12:50:46.938] checking for ppoll... no [12:50:46.988] checking for pthread_is_threaded_np... no [12:50:47.038] checking for setproctitle... no [12:50:47.089] checking for setproctitle_fast... no [12:50:47.140] checking for strchrnul... no [12:50:47.190] checking for strsignal... no [12:50:47.241] checking for syncfs... no [12:50:47.292] checking for sync_file_range... no [12:50:47.343] checking for uselocale... no [12:50:47.391] checking for wcstombs_l... no [12:50:47.437] checking for __builtin_bswap16... yes [12:50:47.486] checking for __builtin_bswap32... yes [12:50:47.533] checking for __builtin_bswap64... yes [12:50:47.580] checking for __builtin_clz... yes [12:50:47.627] checking for __builtin_ctz... yes [12:50:47.674] checking for __builtin_popcount... yes [12:50:47.720] checking for __builtin_frame_address... yes [12:50:47.766] checking for _LARGEFILE_SOURCE value needed for large files... no [12:50:47.817] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [12:50:47.847] checking for posix_fadvise... no [12:50:47.899] checking whether posix_fadvise is declared... no [12:50:47.944] checking whether fdatasync is declared... no [12:50:47.990] checking whether strlcat is declared... no [12:50:48.053] checking whether strlcpy is declared... no [12:50:48.115] checking whether strnlen is declared... yes [12:50:48.128] checking whether strsep is declared... no [12:50:48.189] checking whether preadv is declared... no [12:50:48.225] checking whether pwritev is declared... no [12:50:48.264] checking whether F_FULLFSYNC is declared... no [12:50:48.306] checking for explicit_bzero... no [12:50:48.354] checking for getopt... yes [12:50:48.398] checking for getpeereid... no [12:50:48.446] checking for inet_aton... no [12:50:48.493] checking for mkdtemp... no [12:50:48.540] checking for strlcat... no [12:50:48.587] checking for strlcpy... no [12:50:48.635] checking for strnlen... yes [12:50:48.683] checking for strsep... no [12:50:48.733] checking for pthread_barrier_wait... yes [12:50:48.778] configure: On mingw32 we will use our strtof wrapper. [12:50:48.778] checking for getopt_long... yes [12:50:48.823] checking for _configthreadlocale... yes [12:50:48.869] checking for syslog... no [12:50:48.918] checking for opterr... yes [12:50:48.966] checking for optreset... no [12:50:49.017] checking test program... cross-compiling [12:50:49.017] checking whether long int is 64 bits... no [12:50:49.049] checking whether long long int is 64 bits... yes [12:50:49.058] checking for __builtin_mul_overflow... yes [12:50:49.101] checking size of void *... 8 [12:50:49.371] checking size of size_t... 8 [12:50:49.642] checking size of long... 4 [12:50:49.849] checking alignment of short... 2 [12:50:49.992] checking alignment of int... 4 [12:50:50.198] checking alignment of long... 4 [12:50:50.404] checking alignment of long long int... 8 [12:50:50.673] checking alignment of double... 8 [12:50:50.946] checking for int8... no [12:50:50.991] checking for uint8... no [12:50:51.035] checking for int64... no [12:50:51.080] checking for uint64... no [12:50:51.124] checking for __int128... yes [12:50:51.176] checking for __int128 alignment bug... assuming ok [12:50:51.176] checking alignment of PG_INT128_TYPE... 16 [12:50:51.528] checking for builtin __sync char locking functions... yes [12:50:51.572] checking for builtin __sync int32 locking functions... yes [12:50:51.616] checking for builtin __sync int32 atomic operations... yes [12:50:51.660] checking for builtin __sync int64 atomic operations... yes [12:50:51.704] checking for builtin __atomic int32 atomic operations... yes [12:50:51.748] checking for builtin __atomic int64 atomic operations... yes [12:50:51.792] checking for __get_cpuid... yes [12:50:51.839] checking for __get_cpuid_count... yes [12:50:51.883] checking for __cpuid... no [12:50:52.291] checking for __cpuidex... no [12:50:52.717] checking for _xgetbv with CFLAGS=... no [12:50:53.103] checking for _xgetbv with CFLAGS=-mxsave... yes [12:50:53.511] checking for _mm512_popcnt_epi64 with CFLAGS=... no [12:50:53.907] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [12:50:54.257] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [12:50:54.304] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [12:50:54.397] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [12:50:54.420] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [12:50:54.439] 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 [12:50:54.495] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [12:50:54.495] checking which random number source to use... Windows native [12:50:54.497] checking for xmllint... /usr/bin/xmllint [12:50:54.497] checking for xsltproc... /usr/bin/xsltproc [12:50:54.497] checking for fop... /usr/bin/fop [12:50:54.498] checking for dbtoepub... no [12:50:54.498] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [12:50:54.498] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [12:50:54.498] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [12:50:54.509] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [12:50:54.509] 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 [12:50:54.509] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [12:50:54.509] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [12:50:54.597] configure: creating ./config.status [12:50:54.678] config.status: creating GNUmakefile [12:50:54.689] config.status: creating src/Makefile.global [12:50:54.704] config.status: creating src/include/pg_config.h [12:50:54.717] config.status: creating src/include/pg_config_ext.h [12:50:54.728] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [12:50:54.743] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [12:50:54.750] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [12:50:54.757] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [12:50:54.764] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [12:50:54.772] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [12:50:54.775] config.status: executing check_win32_symlinks commands [12:50:54.810] [12:50:54.810] real 0m16.486s [12:50:54.810] user 0m11.006s [12:50:54.810] sys 0m5.156s [12:50:54.810] make -s -j${BUILD_JOBS} clean [12:50:55.310] time make -s -j${BUILD_JOBS} world-bin [12:51:02.807] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [12:51:02.807] jsonpath_exec.c:2829:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [12:51:02.807] 2829 | JsonbValue jbvbuf; [12:51:02.807] | ^~~~~~~~~~ [12:51:02.807] cc1: all warnings being treated as errors [12:51:02.809] make[4]: *** [: jsonpath_exec.o] Error 1 [12:51:02.809] make[4]: *** Waiting for unfinished jobs.... [12:51:03.456] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [12:51:03.456] make[2]: *** [common.mk:37: utils-recursive] Error 2 [12:51:03.457] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [12:51:03.457] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [12:51:03.457] [12:51:03.457] real 0m8.147s [12:51:03.457] user 0m17.132s [12:51:03.457] sys 0m7.754s [12:51:03.457] [12:51:03.457] Exit status: 2