[11:47:58.705] time ./configure \ [11:47:58.705] --host=x86_64-w64-mingw32 \ [11:47:58.705] --enable-cassert \ [11:47:58.705] --without-icu \ [11:47:58.705] CC="ccache x86_64-w64-mingw32-gcc" \ [11:47:58.705] CXX="ccache x86_64-w64-mingw32-g++" [11:47:58.816] checking build system type... x86_64-pc-linux-gnu [11:47:58.996] checking host system type... x86_64-w64-mingw32 [11:47:59.001] checking which template to use... win32 [11:47:59.002] checking whether NLS is wanted... no [11:47:59.002] checking for default port number... 5432 [11:47:59.008] checking for block size... 8kB [11:47:59.009] checking for segment size... 1GB [11:47:59.012] checking for WAL block size... 8kB [11:47:59.013] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [11:47:59.045] checking whether the C compiler works... yes [11:47:59.180] checking for C compiler default output file name... a.exe [11:47:59.181] checking for suffix of executables... .exe [11:47:59.222] checking whether we are cross compiling... yes [11:47:59.295] checking for suffix of object files... o [11:47:59.303] checking whether we are using the GNU C compiler... yes [11:47:59.310] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [11:47:59.317] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [11:47:59.327] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [11:47:59.386] checking whether we are using the GNU C++ compiler... yes [11:47:59.392] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [11:47:59.463] checking for gawk... no [11:47:59.463] checking for mawk... mawk [11:47:59.465] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [11:47:59.472] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [11:47:59.480] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [11:47:59.538] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [11:47:59.711] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [11:47:59.717] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [11:47:59.724] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [11:47:59.732] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [11:47:59.738] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [11:47:59.745] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [11:47:59.752] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [11:47:59.759] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [11:47:59.766] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [11:47:59.773] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [11:47:59.780] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [11:47:59.786] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [11:47:59.793] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [11:47:59.832] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [11:47:59.839] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [11:47:59.846] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [11:47:59.853] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [11:47:59.861] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [11:47:59.868] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [11:47:59.893] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [11:47:59.900] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [11:47:59.907] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [11:47:59.946] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [11:47:59.984] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [11:47:59.991] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [11:47:59.997] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [11:48:00.031] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [11:48:00.038] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [11:48:00.045] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [11:48:00.053] checking whether the C compiler still works... yes [11:48:00.116] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [11:48:00.189] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [11:48:00.189] checking pkg-config is at least version 0.9.0... yes [11:48:00.207] checking whether to build with ICU support... no [11:48:00.207] checking whether to build with Tcl... no [11:48:00.207] checking whether to build Perl modules... no [11:48:00.207] checking whether to build Python modules... no [11:48:00.207] checking whether to build with GSSAPI support... no [11:48:00.208] checking whether to build with PAM support... no [11:48:00.209] checking whether to build with BSD Authentication support... no [11:48:00.209] checking whether to build with LDAP support... no [11:48:00.209] checking whether to build with Bonjour support... no [11:48:00.209] checking whether to build with SELinux support... no [11:48:00.209] checking whether to build with systemd support... no [11:48:00.209] configure: WARNING: *** Readline does not work on MinGW --- disabling [11:48:00.209] checking whether to build with XML support... no [11:48:00.210] checking whether to build with LZ4 support... no [11:48:00.210] checking whether to build with ZSTD support... no [11:48:00.210] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [11:48:00.210] checking whether it is possible to strip libraries... yes [11:48:00.218] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [11:48:00.218] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [11:48:00.218] checking for a BSD-compatible install... /usr/bin/install -c [11:48:00.227] checking for tar... /usr/bin/tar [11:48:00.227] checking whether ln -s works... yes [11:48:00.227] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [11:48:00.230] checking for bison... /usr/bin/bison [11:48:00.232] configure: using bison (GNU Bison) 3.8.2 [11:48:00.235] checking for flex... /usr/bin/flex [11:48:00.248] configure: using flex 2.6.4 [11:48:00.248] checking for perl... /usr/bin/perl [11:48:00.251] configure: using perl 5.36.0 [11:48:00.253] checking for zic... /usr/sbin/zic [11:48:00.253] checking for a sed that does not truncate output... /usr/bin/sed [11:48:00.258] checking for grep that handles long lines and -e... /usr/bin/grep [11:48:00.261] checking for egrep... /usr/bin/grep -E [11:48:00.262] checking for ANSI C header files... yes [11:48:00.309] checking for sys/types.h... yes [11:48:00.325] checking for sys/stat.h... yes [11:48:00.339] checking for stdlib.h... yes [11:48:00.353] checking for string.h... yes [11:48:00.366] checking for memory.h... yes [11:48:00.380] checking for strings.h... yes [11:48:00.394] checking for inttypes.h... yes [11:48:00.410] checking for stdint.h... yes [11:48:00.423] checking for unistd.h... yes [11:48:00.439] checking for main in -lm... yes [11:48:00.487] checking for library containing setproctitle... no [11:48:00.577] checking for library containing dlsym... no [11:48:00.666] checking for library containing socket... -lws2_32 [11:48:00.795] checking for library containing getopt_long... none required [11:48:00.842] checking for library containing shm_open... no [11:48:00.932] checking for library containing shm_unlink... no [11:48:01.019] checking for library containing clock_gettime... no [11:48:01.108] checking for library containing shmget... no [11:48:01.197] checking for library containing backtrace_symbols... no [11:48:01.284] checking for library containing pthread_barrier_wait... -lpthread [11:48:01.373] checking for inflate in -lz... yes [11:48:01.417] checking for stdbool.h that conforms to C99... yes [11:48:01.428] checking for _Bool... yes [11:48:01.501] checking atomic.h usability... no [11:48:01.556] checking atomic.h presence... no [11:48:01.575] checking for atomic.h... no [11:48:01.579] checking copyfile.h usability... no [11:48:01.635] checking copyfile.h presence... no [11:48:01.654] checking for copyfile.h... no [11:48:01.657] checking execinfo.h usability... no [11:48:01.713] checking execinfo.h presence... no [11:48:01.732] checking for execinfo.h... no [11:48:01.735] checking getopt.h usability... yes [11:48:01.743] checking getopt.h presence... yes [11:48:01.759] checking for getopt.h... yes [11:48:01.766] checking ifaddrs.h usability... no [11:48:01.821] checking ifaddrs.h presence... no [11:48:01.841] checking for ifaddrs.h... no [11:48:01.844] checking mbarrier.h usability... no [11:48:01.900] checking mbarrier.h presence... no [11:48:01.920] checking for mbarrier.h... no [11:48:01.923] checking sys/epoll.h usability... no [11:48:01.978] checking sys/epoll.h presence... no [11:48:01.998] checking for sys/epoll.h... no [11:48:02.001] checking sys/event.h usability... no [11:48:02.057] checking sys/event.h presence... no [11:48:02.076] checking for sys/event.h... no [11:48:02.079] checking sys/personality.h usability... no [11:48:02.133] checking sys/personality.h presence... no [11:48:02.151] checking for sys/personality.h... no [11:48:02.155] checking sys/prctl.h usability... no [11:48:02.210] checking sys/prctl.h presence... no [11:48:02.228] checking for sys/prctl.h... no [11:48:02.231] checking sys/procctl.h usability... no [11:48:02.285] checking sys/procctl.h presence... no [11:48:02.303] checking for sys/procctl.h... no [11:48:02.306] checking sys/signalfd.h usability... no [11:48:02.361] checking sys/signalfd.h presence... no [11:48:02.379] checking for sys/signalfd.h... no [11:48:02.382] checking sys/ucred.h usability... no [11:48:02.437] checking sys/ucred.h presence... no [11:48:02.455] checking for sys/ucred.h... no [11:48:02.458] checking termios.h usability... no [11:48:02.513] checking termios.h presence... no [11:48:02.532] checking for termios.h... no [11:48:02.535] checking ucred.h usability... no [11:48:02.590] checking ucred.h presence... no [11:48:02.608] checking for ucred.h... no [11:48:02.611] checking xlocale.h usability... no [11:48:02.666] checking xlocale.h presence... no [11:48:02.685] checking for xlocale.h... no [11:48:02.688] checking zlib.h usability... yes [11:48:02.699] checking zlib.h presence... yes [11:48:02.718] checking for zlib.h... yes [11:48:02.718] checking for lz4... /usr/bin/lz4 [11:48:02.718] checking for zstd... /usr/bin/zstd [11:48:02.719] checking for openssl... /usr/bin/openssl [11:48:02.723] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [11:48:02.723] checking crtdefs.h usability... yes [11:48:02.730] checking crtdefs.h presence... yes [11:48:02.745] checking for crtdefs.h... yes [11:48:02.746] checking whether byte ordering is bigendian... no [11:48:02.818] checking for inline... inline [11:48:02.825] checking for printf format archetype... gnu_printf [11:48:02.833] checking for _Static_assert... yes [11:48:02.873] checking for typeof... typeof [11:48:02.881] checking for __builtin_types_compatible_p... yes [11:48:02.892] checking for __builtin_constant_p... yes [11:48:02.902] checking for __builtin_unreachable... yes [11:48:02.943] checking for computed goto support... yes [11:48:02.950] checking for struct tm.tm_zone... no [11:48:03.025] checking for union semun... no [11:48:03.058] checking for socklen_t... yes [11:48:04.256] checking for struct sockaddr.sa_len... no [11:48:06.383] checking for C/C++ restrict keyword... __restrict [11:48:06.396] checking for struct option... yes [11:48:06.438] checking whether assembler supports x86_64 popcntq... yes [11:48:06.445] checking size of off_t... 4 [11:48:06.650] 0 [11:48:06.650] checking size of bool... 1 [11:48:06.696] checking for int timezone... yes [11:48:06.749] checking for backtrace_symbols... no [11:48:06.800] checking for copyfile... no [11:48:06.852] checking for copy_file_range... no [11:48:06.902] checking for getifaddrs... no [11:48:06.954] checking for getpeerucred... no [11:48:07.005] checking for inet_pton... yes [11:48:07.056] checking for kqueue... no [11:48:07.107] checking for mbstowcs_l... no [11:48:07.158] checking for memset_s... no [11:48:07.209] checking for posix_fallocate... no [11:48:07.260] checking for ppoll... no [11:48:07.312] checking for pthread_is_threaded_np... no [11:48:07.364] checking for setproctitle... no [11:48:07.416] checking for setproctitle_fast... no [11:48:07.468] checking for strchrnul... no [11:48:07.517] checking for strsignal... no [11:48:07.568] checking for syncfs... no [11:48:07.617] checking for sync_file_range... no [11:48:07.668] checking for uselocale... no [11:48:07.720] checking for wcstombs_l... no [11:48:07.768] checking for __builtin_bswap16... yes [11:48:07.818] checking for __builtin_bswap32... yes [11:48:07.866] checking for __builtin_bswap64... yes [11:48:07.915] checking for __builtin_clz... yes [11:48:07.964] checking for __builtin_ctz... yes [11:48:08.012] checking for __builtin_popcount... yes [11:48:08.059] checking for __builtin_frame_address... yes [11:48:08.107] checking for _LARGEFILE_SOURCE value needed for large files... no [11:48:08.161] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [11:48:08.193] checking for posix_fadvise... no [11:48:08.246] checking whether posix_fadvise is declared... no [11:48:08.293] checking whether fdatasync is declared... no [11:48:08.343] checking whether strlcat is declared... no [11:48:08.408] checking whether strlcpy is declared... no [11:48:08.473] checking whether strnlen is declared... yes [11:48:08.486] checking whether strsep is declared... no [11:48:08.550] checking whether preadv is declared... no [11:48:08.589] checking whether pwritev is declared... no [11:48:08.625] checking whether F_FULLFSYNC is declared... no [11:48:08.665] checking for explicit_bzero... no [11:48:08.714] checking for getopt... yes [11:48:08.758] checking for getpeereid... no [11:48:08.806] checking for inet_aton... no [11:48:08.854] checking for mkdtemp... no [11:48:08.901] checking for strlcat... no [11:48:08.950] checking for strlcpy... no [11:48:08.999] checking for strnlen... yes [11:48:09.048] checking for strsep... no [11:48:09.096] checking for pthread_barrier_wait... yes [11:48:09.141] configure: On mingw32 we will use our strtof wrapper. [11:48:09.141] checking for getopt_long... yes [11:48:09.187] checking for _configthreadlocale... yes [11:48:09.231] checking for syslog... no [11:48:09.279] checking for opterr... yes [11:48:09.326] checking for optreset... no [11:48:09.377] checking test program... cross-compiling [11:48:09.377] checking whether long int is 64 bits... no [11:48:09.407] checking whether long long int is 64 bits... yes [11:48:09.416] checking for __builtin_mul_overflow... yes [11:48:09.458] checking size of void *... 8 [11:48:09.726] checking size of size_t... 8 [11:48:09.995] checking size of long... 4 [11:48:10.204] checking alignment of short... 2 [11:48:10.343] checking alignment of int... 4 [11:48:10.545] checking alignment of long... 4 [11:48:10.756] checking alignment of long long int... 8 [11:48:11.031] checking alignment of double... 8 [11:48:11.309] checking for int8... no [11:48:11.353] checking for uint8... no [11:48:11.398] checking for int64... no [11:48:11.442] checking for uint64... no [11:48:11.486] checking for __int128... yes [11:48:11.536] checking for __int128 alignment bug... assuming ok [11:48:11.536] checking alignment of PG_INT128_TYPE... 16 [11:48:11.871] checking for builtin __sync char locking functions... yes [11:48:11.912] checking for builtin __sync int32 locking functions... yes [11:48:11.954] checking for builtin __sync int32 atomic operations... yes [11:48:11.997] checking for builtin __sync int64 atomic operations... yes [11:48:12.040] checking for builtin __atomic int32 atomic operations... yes [11:48:12.084] checking for builtin __atomic int64 atomic operations... yes [11:48:12.127] checking for __get_cpuid... yes [11:48:12.175] checking for __get_cpuid_count... yes [11:48:12.220] checking for __cpuid... no [11:48:12.628] checking for __cpuidex... no [11:48:13.050] checking for _xgetbv with CFLAGS=... no [11:48:13.432] checking for _xgetbv with CFLAGS=-mxsave... yes [11:48:13.826] checking for _mm512_popcnt_epi64 with CFLAGS=... no [11:48:14.213] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [11:48:14.554] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [11:48:14.601] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [11:48:14.688] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [11:48:14.711] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [11:48:14.731] 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 [11:48:14.786] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [11:48:14.786] checking which random number source to use... Windows native [11:48:14.788] checking for xmllint... /usr/bin/xmllint [11:48:14.788] checking for xsltproc... /usr/bin/xsltproc [11:48:14.788] checking for fop... /usr/bin/fop [11:48:14.788] checking for dbtoepub... no [11:48:14.789] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [11:48:14.789] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [11:48:14.789] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [11:48:14.800] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [11:48:14.800] 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 [11:48:14.800] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [11:48:14.800] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [11:48:14.881] configure: creating ./config.status [11:48:14.962] config.status: creating GNUmakefile [11:48:14.973] config.status: creating src/Makefile.global [11:48:14.988] config.status: creating src/include/pg_config.h [11:48:15.000] config.status: creating src/include/pg_config_ext.h [11:48:15.012] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [11:48:15.026] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [11:48:15.033] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [11:48:15.040] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [11:48:15.047] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [11:48:15.054] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [11:48:15.057] config.status: executing check_win32_symlinks commands [11:48:15.090] [11:48:15.090] real 0m16.385s [11:48:15.090] user 0m10.815s [11:48:15.090] sys 0m5.237s [11:48:15.090] make -s -j${BUILD_JOBS} clean [11:48:15.592] time make -s -j${BUILD_JOBS} world-bin [11:48:22.861] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [11:48:22.861] jsonpath_exec.c:2829:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [11:48:22.861] 2829 | JsonbValue jbvbuf; [11:48:22.861] | ^~~~~~~~~~ [11:48:22.861] cc1: all warnings being treated as errors [11:48:22.862] make[4]: *** [: jsonpath_exec.o] Error 1 [11:48:22.862] make[4]: *** Waiting for unfinished jobs.... [11:48:23.507] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [11:48:23.507] make[2]: *** [common.mk:37: utils-recursive] Error 2 [11:48:23.508] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [11:48:23.508] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [11:48:23.508] [11:48:23.508] real 0m7.916s [11:48:23.508] user 0m17.385s [11:48:23.508] sys 0m7.420s [11:48:23.508] [11:48:23.508] Exit status: 2