[13:03:55.941] time ./configure \ [13:03:55.941] --host=x86_64-w64-mingw32 \ [13:03:55.941] --enable-cassert \ [13:03:55.941] --without-icu \ [13:03:55.941] CC="ccache x86_64-w64-mingw32-gcc" \ [13:03:55.941] CXX="ccache x86_64-w64-mingw32-g++" [13:03:56.061] checking build system type... x86_64-pc-linux-gnu [13:03:56.273] checking host system type... x86_64-w64-mingw32 [13:03:56.279] checking which template to use... win32 [13:03:56.279] checking whether NLS is wanted... no [13:03:56.279] checking for default port number... 5432 [13:03:56.286] checking for block size... 8kB [13:03:56.287] checking for segment size... 1GB [13:03:56.290] checking for WAL block size... 8kB [13:03:56.291] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:03:56.327] checking whether the C compiler works... yes [13:03:56.484] checking for C compiler default output file name... a.exe [13:03:56.486] checking for suffix of executables... .exe [13:03:56.528] checking whether we are cross compiling... yes [13:03:56.609] checking for suffix of object files... o [13:03:56.618] checking whether we are using the GNU C compiler... yes [13:03:56.649] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:03:56.666] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:03:56.747] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:03:56.887] checking whether we are using the GNU C++ compiler... yes [13:03:57.051] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:03:57.183] checking for gawk... no [13:03:57.183] checking for mawk... mawk [13:03:57.185] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:03:57.220] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:03:57.254] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:03:57.301] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:03:57.346] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:03:57.354] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:03:57.371] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:03:57.405] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:03:57.422] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:03:57.455] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:03:57.462] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:03:57.496] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:03:57.513] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:03:57.529] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:03:57.563] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:03:57.598] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:03:57.615] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:03:57.652] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:03:57.668] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:03:57.702] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:03:57.718] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:03:57.755] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:03:57.787] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:03:57.809] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:03:57.839] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:03:57.854] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:03:57.889] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:03:57.925] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:03:57.932] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:03:57.963] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:03:57.998] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:03:58.014] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:03:58.031] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:03:58.063] checking whether the C compiler still works... yes [13:03:58.136] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:03:58.205] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:03:58.206] checking pkg-config is at least version 0.9.0... yes [13:03:58.224] checking whether to build with ICU support... no [13:03:58.224] checking whether to build with Tcl... no [13:03:58.224] checking whether to build Perl modules... no [13:03:58.224] checking whether to build Python modules... no [13:03:58.224] checking whether to build with GSSAPI support... no [13:03:58.225] checking whether to build with PAM support... no [13:03:58.225] checking whether to build with BSD Authentication support... no [13:03:58.225] checking whether to build with LDAP support... no [13:03:58.225] checking whether to build with Bonjour support... no [13:03:58.226] checking whether to build with SELinux support... no [13:03:58.226] checking whether to build with systemd support... no [13:03:58.226] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:03:58.226] checking whether to build with XML support... no [13:03:58.226] checking whether to build with LZ4 support... no [13:03:58.226] checking whether to build with ZSTD support... no [13:03:58.227] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:03:58.227] checking whether it is possible to strip libraries... yes [13:03:58.235] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:03:58.235] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:03:58.236] checking for a BSD-compatible install... /usr/bin/install -c [13:03:58.245] checking for tar... /usr/bin/tar [13:03:58.245] checking whether ln -s works... yes [13:03:58.245] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:03:58.248] checking for bison... /usr/bin/bison [13:03:58.250] configure: using bison (GNU Bison) 3.8.2 [13:03:58.253] checking for flex... /usr/bin/flex [13:03:58.265] configure: using flex 2.6.4 [13:03:58.265] checking for perl... /usr/bin/perl [13:03:58.268] configure: using perl 5.36.0 [13:03:58.270] checking for zic... /usr/sbin/zic [13:03:58.270] checking for a sed that does not truncate output... /usr/bin/sed [13:03:58.276] checking for grep that handles long lines and -e... /usr/bin/grep [13:03:58.278] checking for egrep... /usr/bin/grep -E [13:03:58.279] checking for ANSI C header files... yes [13:03:58.366] checking for sys/types.h... yes [13:03:58.424] checking for sys/stat.h... yes [13:03:58.484] checking for stdlib.h... yes [13:03:58.546] checking for string.h... yes [13:03:58.581] checking for memory.h... yes [13:03:58.642] checking for strings.h... yes [13:03:58.679] checking for inttypes.h... yes [13:03:58.744] checking for stdint.h... yes [13:03:58.806] checking for unistd.h... yes [13:03:58.875] checking for main in -lm... yes [13:03:58.924] checking for library containing setproctitle... no [13:03:59.012] checking for library containing dlsym... no [13:03:59.102] checking for library containing socket... -lws2_32 [13:03:59.239] checking for library containing getopt_long... none required [13:03:59.287] checking for library containing shm_open... no [13:03:59.376] checking for library containing shm_unlink... no [13:03:59.464] checking for library containing clock_gettime... no [13:03:59.552] checking for library containing shmget... no [13:03:59.641] checking for library containing backtrace_symbols... no [13:03:59.729] checking for library containing pthread_barrier_wait... -lpthread [13:03:59.821] checking for inflate in -lz... yes [13:03:59.867] checking for stdbool.h that conforms to C99... yes [13:03:59.912] checking for _Bool... yes [13:04:00.039] checking atomic.h usability... no [13:04:00.095] checking atomic.h presence... no [13:04:00.115] checking for atomic.h... no [13:04:00.118] checking copyfile.h usability... no [13:04:00.173] checking copyfile.h presence... no [13:04:00.194] checking for copyfile.h... no [13:04:00.197] checking execinfo.h usability... no [13:04:00.253] checking execinfo.h presence... no [13:04:00.273] checking for execinfo.h... no [13:04:00.276] checking getopt.h usability... yes [13:04:00.304] checking getopt.h presence... yes [13:04:00.321] checking for getopt.h... yes [13:04:00.328] checking ifaddrs.h usability... no [13:04:00.383] checking ifaddrs.h presence... no [13:04:00.403] checking for ifaddrs.h... no [13:04:00.406] checking mbarrier.h usability... no [13:04:00.461] checking mbarrier.h presence... no [13:04:00.481] checking for mbarrier.h... no [13:04:00.484] checking sys/epoll.h usability... no [13:04:00.539] checking sys/epoll.h presence... no [13:04:00.558] checking for sys/epoll.h... no [13:04:00.561] checking sys/event.h usability... no [13:04:00.617] checking sys/event.h presence... no [13:04:00.635] checking for sys/event.h... no [13:04:00.638] checking sys/personality.h usability... no [13:04:00.691] checking sys/personality.h presence... no [13:04:00.710] checking for sys/personality.h... no [13:04:00.713] checking sys/prctl.h usability... no [13:04:00.769] checking sys/prctl.h presence... no [13:04:00.788] checking for sys/prctl.h... no [13:04:00.792] checking sys/procctl.h usability... no [13:04:00.847] checking sys/procctl.h presence... no [13:04:00.868] checking for sys/procctl.h... no [13:04:00.871] checking sys/signalfd.h usability... no [13:04:00.928] checking sys/signalfd.h presence... no [13:04:00.948] checking for sys/signalfd.h... no [13:04:00.951] checking sys/ucred.h usability... no [13:04:01.009] checking sys/ucred.h presence... no [13:04:01.028] checking for sys/ucred.h... no [13:04:01.032] checking termios.h usability... no [13:04:01.087] checking termios.h presence... no [13:04:01.106] checking for termios.h... no [13:04:01.110] checking ucred.h usability... no [13:04:01.165] checking ucred.h presence... no [13:04:01.187] checking for ucred.h... no [13:04:01.191] checking xlocale.h usability... no [13:04:01.247] checking xlocale.h presence... no [13:04:01.266] checking for xlocale.h... no [13:04:01.269] checking zlib.h usability... yes [13:04:01.330] checking zlib.h presence... yes [13:04:01.351] checking for zlib.h... yes [13:04:01.351] checking for lz4... /usr/bin/lz4 [13:04:01.351] checking for zstd... /usr/bin/zstd [13:04:01.352] checking for openssl... /usr/bin/openssl [13:04:01.356] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [13:04:01.357] checking crtdefs.h usability... yes [13:04:01.365] checking crtdefs.h presence... yes [13:04:01.381] checking for crtdefs.h... yes [13:04:01.382] checking whether byte ordering is bigendian... no [13:04:01.491] checking for inline... inline [13:04:01.508] checking for printf format archetype... gnu_printf [13:04:01.516] checking for _Static_assert... yes [13:04:01.559] checking for typeof... typeof [13:04:01.594] checking for __builtin_types_compatible_p... yes [13:04:01.605] checking for __builtin_constant_p... yes [13:04:01.626] checking for __builtin_unreachable... yes [13:04:01.669] checking for computed goto support... yes [13:04:01.704] checking for struct tm.tm_zone... no [13:04:01.783] checking for union semun... no [13:04:01.819] checking for socklen_t... yes [13:04:03.994] checking for struct sockaddr.sa_len... no [13:04:06.146] checking for C/C++ restrict keyword... __restrict [13:04:06.161] checking for struct option... yes [13:04:06.238] checking whether assembler supports x86_64 popcntq... yes [13:04:06.246] checking size of off_t... 4 [13:04:06.553] 0 [13:04:06.553] checking size of bool... 1 [13:04:06.630] checking for int timezone... yes [13:04:06.684] checking for backtrace_symbols... no [13:04:06.736] checking for copyfile... no [13:04:06.787] checking for copy_file_range... no [13:04:06.838] checking for getifaddrs... no [13:04:06.888] checking for getpeerucred... no [13:04:06.938] checking for inet_pton... yes [13:04:06.989] checking for kqueue... no [13:04:07.040] checking for mbstowcs_l... no [13:04:07.091] checking for memset_s... no [13:04:07.142] checking for posix_fallocate... no [13:04:07.196] checking for ppoll... no [13:04:07.250] checking for pthread_is_threaded_np... no [13:04:07.303] checking for setproctitle... no [13:04:07.357] checking for setproctitle_fast... no [13:04:07.411] checking for strchrnul... no [13:04:07.464] checking for strsignal... no [13:04:07.518] checking for syncfs... no [13:04:07.571] checking for sync_file_range... no [13:04:07.622] checking for uselocale... no [13:04:07.673] checking for wcstombs_l... no [13:04:07.722] checking for __builtin_bswap16... yes [13:04:07.774] checking for __builtin_bswap32... yes [13:04:07.824] checking for __builtin_bswap64... yes [13:04:07.873] checking for __builtin_clz... yes [13:04:07.923] checking for __builtin_ctz... yes [13:04:07.974] checking for __builtin_popcount... yes [13:04:08.022] checking for __builtin_frame_address... yes [13:04:08.069] checking for _LARGEFILE_SOURCE value needed for large files... no [13:04:08.120] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:04:08.151] checking for posix_fadvise... no [13:04:08.204] checking whether posix_fadvise is declared... no [13:04:08.252] checking whether fdatasync is declared... no [13:04:08.303] checking whether strlcat is declared... no [13:04:08.371] checking whether strlcpy is declared... no [13:04:08.434] checking whether strnlen is declared... yes [13:04:08.504] checking whether strsep is declared... no [13:04:08.571] checking whether preadv is declared... no [13:04:08.611] checking whether pwritev is declared... no [13:04:08.651] checking whether F_FULLFSYNC is declared... no [13:04:08.695] checking for explicit_bzero... no [13:04:08.745] checking for getopt... yes [13:04:08.790] checking for getpeereid... no [13:04:08.840] checking for inet_aton... no [13:04:08.891] checking for mkdtemp... no [13:04:08.940] checking for strlcat... no [13:04:08.990] checking for strlcpy... no [13:04:09.040] checking for strnlen... yes [13:04:09.089] checking for strsep... no [13:04:09.138] checking for pthread_barrier_wait... yes [13:04:09.182] configure: On mingw32 we will use our strtof wrapper. [13:04:09.182] checking for getopt_long... yes [13:04:09.227] checking for _configthreadlocale... yes [13:04:09.273] checking for syslog... no [13:04:09.321] checking for opterr... yes [13:04:09.370] checking for optreset... no [13:04:09.422] checking test program... cross-compiling [13:04:09.422] checking whether long int is 64 bits... no [13:04:09.456] checking whether long long int is 64 bits... yes [13:04:09.496] checking for __builtin_mul_overflow... yes [13:04:09.540] checking size of void *... 8 [13:04:10.094] checking size of size_t... 8 [13:04:10.526] checking size of long... 4 [13:04:10.885] checking alignment of short... 2 [13:04:11.190] checking alignment of int... 4 [13:04:11.623] checking alignment of long... 4 [13:04:11.929] checking alignment of long long int... 8 [13:04:12.276] checking alignment of double... 8 [13:04:12.764] checking for int8... no [13:04:12.808] checking for uint8... no [13:04:12.850] checking for int64... no [13:04:12.895] checking for uint64... no [13:04:12.940] checking for __int128... yes [13:04:12.993] checking for __int128 alignment bug... assuming ok [13:04:12.993] checking alignment of PG_INT128_TYPE... 16 [13:04:13.542] checking for builtin __sync char locking functions... yes [13:04:13.587] checking for builtin __sync int32 locking functions... yes [13:04:13.631] checking for builtin __sync int32 atomic operations... yes [13:04:13.676] checking for builtin __sync int64 atomic operations... yes [13:04:13.720] checking for builtin __atomic int32 atomic operations... yes [13:04:13.764] checking for builtin __atomic int64 atomic operations... yes [13:04:13.809] checking for __get_cpuid... yes [13:04:13.856] checking for __get_cpuid_count... yes [13:04:13.903] checking for __cpuid... no [13:04:14.305] checking for __cpuidex... no [13:04:14.735] checking for _xgetbv with CFLAGS=... no [13:04:15.112] checking for _xgetbv with CFLAGS=-mxsave... yes [13:04:15.513] checking for _mm512_popcnt_epi64 with CFLAGS=... no [13:04:15.897] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [13:04:16.235] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [13:04:16.283] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [13:04:16.375] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:04:16.399] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:04:16.420] 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 [13:04:16.477] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:04:16.478] checking which random number source to use... Windows native [13:04:16.479] checking for xmllint... /usr/bin/xmllint [13:04:16.480] checking for xsltproc... /usr/bin/xsltproc [13:04:16.480] checking for fop... /usr/bin/fop [13:04:16.480] checking for dbtoepub... no [13:04:16.480] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:04:16.480] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:04:16.481] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:04:16.492] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:04:16.492] 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 [13:04:16.492] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:04:16.492] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:04:16.578] configure: creating ./config.status [13:04:16.666] config.status: creating GNUmakefile [13:04:16.678] config.status: creating src/Makefile.global [13:04:16.694] config.status: creating src/include/pg_config.h [13:04:16.707] config.status: creating src/include/pg_config_ext.h [13:04:16.719] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:04:16.736] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:04:16.743] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:04:16.750] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:04:16.758] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:04:16.765] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:04:16.769] config.status: executing check_win32_symlinks commands [13:04:16.804] [13:04:16.804] real 0m20.862s [13:04:16.804] user 0m13.847s [13:04:16.804] sys 0m6.554s [13:04:16.804] make -s -j${BUILD_JOBS} clean [13:04:17.325] time make -s -j${BUILD_JOBS} world-bin [13:07:22.611] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [13:07:22.611] jsonpath_exec.c:2829:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [13:07:22.611] 2829 | JsonbValue jbvbuf; [13:07:22.611] | ^~~~~~~~~~ [13:07:22.611] cc1: all warnings being treated as errors [13:07:22.612] make[4]: *** [: jsonpath_exec.o] Error 1 [13:07:22.612] make[4]: *** Waiting for unfinished jobs.... [13:07:23.409] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [13:07:23.409] make[3]: *** Waiting for unfinished jobs.... [13:07:26.868] make[2]: *** [common.mk:37: utils-recursive] Error 2 [13:07:26.868] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:07:26.868] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:07:26.869] [13:07:26.869] real 3m9.544s [13:07:26.869] user 10m24.906s [13:07:26.869] sys 1m54.957s [13:07:26.869] [13:07:26.869] Exit status: 2