[11:11:43.036] time ./configure \ [11:11:43.036] --host=x86_64-w64-mingw32 \ [11:11:43.036] --enable-cassert \ [11:11:43.036] --without-icu \ [11:11:43.036] CC="ccache x86_64-w64-mingw32-gcc" \ [11:11:43.036] CXX="ccache x86_64-w64-mingw32-g++" [11:11:43.160] checking build system type... x86_64-pc-linux-gnu [11:11:43.362] checking host system type... x86_64-w64-mingw32 [11:11:43.368] checking which template to use... win32 [11:11:43.368] checking whether NLS is wanted... no [11:11:43.368] checking for default port number... 5432 [11:11:43.376] checking for block size... 8kB [11:11:43.377] checking for segment size... 1GB [11:11:43.380] checking for WAL block size... 8kB [11:11:43.381] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [11:11:43.419] checking whether the C compiler works... yes [11:11:43.566] checking for C compiler default output file name... a.exe [11:11:43.567] checking for suffix of executables... .exe [11:11:43.611] checking whether we are cross compiling... yes [11:11:43.691] checking for suffix of object files... o [11:11:43.700] checking whether we are using the GNU C compiler... yes [11:11:43.707] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [11:11:43.715] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [11:11:43.726] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [11:11:43.790] checking whether we are using the GNU C++ compiler... yes [11:11:43.798] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [11:11:43.874] checking for gawk... no [11:11:43.874] checking for mawk... mawk [11:11:43.876] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [11:11:43.884] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [11:11:43.892] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [11:11:43.941] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [11:11:44.121] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [11:11:44.128] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [11:11:44.135] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [11:11:44.142] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [11:11:44.149] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [11:11:44.156] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [11:11:44.163] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [11:11:44.170] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [11:11:44.177] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [11:11:44.185] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [11:11:44.193] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [11:11:44.200] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [11:11:44.208] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [11:11:44.248] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [11:11:44.255] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [11:11:44.263] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [11:11:44.271] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [11:11:44.279] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [11:11:44.286] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [11:11:44.310] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [11:11:44.317] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [11:11:44.324] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [11:11:44.363] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [11:11:44.403] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [11:11:44.410] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [11:11:44.418] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [11:11:44.454] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [11:11:44.461] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [11:11:44.469] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [11:11:44.478] checking whether the C compiler still works... yes [11:11:44.544] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [11:11:44.617] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [11:11:44.617] checking pkg-config is at least version 0.9.0... yes [11:11:44.634] checking whether to build with ICU support... no [11:11:44.634] checking whether to build with Tcl... no [11:11:44.634] checking whether to build Perl modules... no [11:11:44.634] checking whether to build Python modules... no [11:11:44.634] checking whether to build with GSSAPI support... no [11:11:44.635] checking whether to build with PAM support... no [11:11:44.636] checking whether to build with BSD Authentication support... no [11:11:44.636] checking whether to build with LDAP support... no [11:11:44.636] checking whether to build with Bonjour support... no [11:11:44.636] checking whether to build with SELinux support... no [11:11:44.636] checking whether to build with systemd support... no [11:11:44.636] configure: WARNING: *** Readline does not work on MinGW --- disabling [11:11:44.636] checking whether to build with XML support... no [11:11:44.637] checking whether to build with LZ4 support... no [11:11:44.637] checking whether to build with ZSTD support... no [11:11:44.637] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [11:11:44.637] checking whether it is possible to strip libraries... yes [11:11:44.645] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [11:11:44.645] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [11:11:44.646] checking for a BSD-compatible install... /usr/bin/install -c [11:11:44.656] checking for tar... /usr/bin/tar [11:11:44.656] checking whether ln -s works... yes [11:11:44.656] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [11:11:44.658] checking for bison... /usr/bin/bison [11:11:44.661] configure: using bison (GNU Bison) 3.8.2 [11:11:44.664] checking for flex... /usr/bin/flex [11:11:44.677] configure: using flex 2.6.4 [11:11:44.677] checking for perl... /usr/bin/perl [11:11:44.680] configure: using perl 5.36.0 [11:11:44.682] checking for zic... /usr/sbin/zic [11:11:44.682] checking for a sed that does not truncate output... /usr/bin/sed [11:11:44.688] checking for grep that handles long lines and -e... /usr/bin/grep [11:11:44.690] checking for egrep... /usr/bin/grep -E [11:11:44.692] checking for ANSI C header files... yes [11:11:44.743] checking for sys/types.h... yes [11:11:44.761] checking for sys/stat.h... yes [11:11:44.778] checking for stdlib.h... yes [11:11:44.794] checking for string.h... yes [11:11:44.809] checking for memory.h... yes [11:11:44.825] checking for strings.h... yes [11:11:44.841] checking for inttypes.h... yes [11:11:44.858] checking for stdint.h... yes [11:11:44.873] checking for unistd.h... yes [11:11:44.890] checking for main in -lm... yes [11:11:44.940] checking for library containing setproctitle... no [11:11:45.034] checking for library containing dlsym... no [11:11:45.129] checking for library containing socket... -lws2_32 [11:11:45.268] checking for library containing getopt_long... none required [11:11:45.318] checking for library containing shm_open... no [11:11:45.409] checking for library containing shm_unlink... no [11:11:45.499] checking for library containing clock_gettime... no [11:11:45.589] checking for library containing shmget... no [11:11:45.682] checking for library containing backtrace_symbols... no [11:11:45.777] checking for library containing pthread_barrier_wait... -lpthread [11:11:45.872] checking for inflate in -lz... yes [11:11:45.921] checking for stdbool.h that conforms to C99... yes [11:11:45.933] checking for _Bool... yes [11:11:46.010] checking atomic.h usability... no [11:11:46.067] checking atomic.h presence... no [11:11:46.087] checking for atomic.h... no [11:11:46.091] checking copyfile.h usability... no [11:11:46.149] checking copyfile.h presence... no [11:11:46.169] checking for copyfile.h... no [11:11:46.173] checking execinfo.h usability... no [11:11:46.235] checking execinfo.h presence... no [11:11:46.255] checking for execinfo.h... no [11:11:46.259] checking getopt.h usability... yes [11:11:46.267] checking getopt.h presence... yes [11:11:46.284] checking for getopt.h... yes [11:11:46.292] checking ifaddrs.h usability... no [11:11:46.351] checking ifaddrs.h presence... no [11:11:46.372] checking for ifaddrs.h... no [11:11:46.376] checking mbarrier.h usability... no [11:11:46.433] checking mbarrier.h presence... no [11:11:46.453] checking for mbarrier.h... no [11:11:46.456] checking sys/epoll.h usability... no [11:11:46.512] checking sys/epoll.h presence... no [11:11:46.533] checking for sys/epoll.h... no [11:11:46.536] checking sys/event.h usability... no [11:11:46.595] checking sys/event.h presence... no [11:11:46.616] checking for sys/event.h... no [11:11:46.620] checking sys/personality.h usability... no [11:11:46.678] checking sys/personality.h presence... no [11:11:46.699] checking for sys/personality.h... no [11:11:46.703] checking sys/prctl.h usability... no [11:11:46.761] checking sys/prctl.h presence... no [11:11:46.782] checking for sys/prctl.h... no [11:11:46.786] checking sys/procctl.h usability... no [11:11:46.842] checking sys/procctl.h presence... no [11:11:46.862] checking for sys/procctl.h... no [11:11:46.865] checking sys/signalfd.h usability... no [11:11:46.923] checking sys/signalfd.h presence... no [11:11:46.944] checking for sys/signalfd.h... no [11:11:46.948] checking sys/ucred.h usability... no [11:11:47.007] checking sys/ucred.h presence... no [11:11:47.027] checking for sys/ucred.h... no [11:11:47.031] checking termios.h usability... no [11:11:47.088] checking termios.h presence... no [11:11:47.107] checking for termios.h... no [11:11:47.110] checking ucred.h usability... no [11:11:47.168] checking ucred.h presence... no [11:11:47.189] checking for ucred.h... no [11:11:47.193] checking xlocale.h usability... no [11:11:47.250] checking xlocale.h presence... no [11:11:47.271] checking for xlocale.h... no [11:11:47.273] checking zlib.h usability... yes [11:11:47.286] checking zlib.h presence... yes [11:11:47.306] checking for zlib.h... yes [11:11:47.306] checking for lz4... /usr/bin/lz4 [11:11:47.307] checking for zstd... /usr/bin/zstd [11:11:47.307] checking for openssl... /usr/bin/openssl [11:11:47.311] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [11:11:47.312] checking crtdefs.h usability... yes [11:11:47.320] checking crtdefs.h presence... yes [11:11:47.336] checking for crtdefs.h... yes [11:11:47.338] checking whether byte ordering is bigendian... no [11:11:47.419] checking for inline... inline [11:11:47.427] checking for printf format archetype... gnu_printf [11:11:47.436] checking for _Static_assert... yes [11:11:47.480] checking for typeof... typeof [11:11:47.488] checking for __builtin_types_compatible_p... yes [11:11:47.499] checking for __builtin_constant_p... yes [11:11:47.510] checking for __builtin_unreachable... yes [11:11:47.552] checking for computed goto support... yes [11:11:47.560] checking for struct tm.tm_zone... no [11:11:47.642] checking for union semun... no [11:11:47.679] checking for socklen_t... yes [11:11:48.955] checking for struct sockaddr.sa_len... no [11:11:51.188] checking for C/C++ restrict keyword... __restrict [11:11:51.203] checking for struct option... yes [11:11:51.252] checking whether assembler supports x86_64 popcntq... yes [11:11:51.260] checking size of off_t... 4 [11:11:51.482] 0 [11:11:51.482] checking size of bool... 1 [11:11:51.532] checking for int timezone... yes [11:11:51.589] checking for backtrace_symbols... no [11:11:51.643] checking for copyfile... no [11:11:51.696] checking for copy_file_range... no [11:11:51.751] checking for getifaddrs... no [11:11:51.804] checking for getpeerucred... no [11:11:51.857] checking for inet_pton... yes [11:11:51.911] checking for kqueue... no [11:11:51.963] checking for mbstowcs_l... no [11:11:52.014] checking for memset_s... no [11:11:52.067] checking for posix_fallocate... no [11:11:52.120] checking for ppoll... no [11:11:52.173] checking for pthread_is_threaded_np... no [11:11:52.227] checking for setproctitle... no [11:11:52.283] checking for setproctitle_fast... no [11:11:52.337] checking for strchrnul... no [11:11:52.389] checking for strsignal... no [11:11:52.442] checking for syncfs... no [11:11:52.496] checking for sync_file_range... no [11:11:52.549] checking for uselocale... no [11:11:52.601] checking for wcstombs_l... no [11:11:52.651] checking for __builtin_bswap16... yes [11:11:52.702] checking for __builtin_bswap32... yes [11:11:52.754] checking for __builtin_bswap64... yes [11:11:52.804] checking for __builtin_clz... yes [11:11:52.858] checking for __builtin_ctz... yes [11:11:52.909] checking for __builtin_popcount... yes [11:11:52.961] checking for __builtin_frame_address... yes [11:11:53.013] checking for _LARGEFILE_SOURCE value needed for large files... no [11:11:53.068] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [11:11:53.102] checking for posix_fadvise... no [11:11:53.155] checking whether posix_fadvise is declared... no [11:11:53.205] checking whether fdatasync is declared... no [11:11:53.255] checking whether strlcat is declared... no [11:11:53.322] checking whether strlcpy is declared... no [11:11:53.390] checking whether strnlen is declared... yes [11:11:53.406] checking whether strsep is declared... no [11:11:53.474] checking whether preadv is declared... no [11:11:53.518] checking whether pwritev is declared... no [11:11:53.561] checking whether F_FULLFSYNC is declared... no [11:11:53.606] checking for explicit_bzero... no [11:11:53.657] checking for getopt... yes [11:11:53.704] checking for getpeereid... no [11:11:53.755] checking for inet_aton... no [11:11:53.804] checking for mkdtemp... no [11:11:53.855] checking for strlcat... no [11:11:53.905] checking for strlcpy... no [11:11:53.956] checking for strnlen... yes [11:11:54.006] checking for strsep... no [11:11:54.056] checking for pthread_barrier_wait... yes [11:11:54.103] configure: On mingw32 we will use our strtof wrapper. [11:11:54.103] checking for getopt_long... yes [11:11:54.151] checking for _configthreadlocale... yes [11:11:54.198] checking for syslog... no [11:11:54.248] checking for opterr... yes [11:11:54.299] checking for optreset... no [11:11:54.353] checking test program... cross-compiling [11:11:54.353] checking whether long int is 64 bits... no [11:11:54.388] checking whether long long int is 64 bits... yes [11:11:54.399] checking for __builtin_mul_overflow... yes [11:11:54.445] checking size of void *... 8 [11:11:54.735] checking size of size_t... 8 [11:11:55.017] checking size of long... 4 [11:11:55.234] checking alignment of short... 2 [11:11:55.380] checking alignment of int... 4 [11:11:55.593] checking alignment of long... 4 [11:11:55.810] checking alignment of long long int... 8 [11:11:56.094] checking alignment of double... 8 [11:11:56.386] checking for __int128... yes [11:11:56.440] checking for __int128 alignment bug... assuming ok [11:11:56.440] checking alignment of PG_INT128_TYPE... 16 [11:11:56.799] checking for builtin __sync char locking functions... yes [11:11:56.844] checking for builtin __sync int32 locking functions... yes [11:11:56.888] checking for builtin __sync int32 atomic operations... yes [11:11:56.934] checking for builtin __sync int64 atomic operations... yes [11:11:56.979] checking for builtin __atomic int32 atomic operations... yes [11:11:57.024] checking for builtin __atomic int64 atomic operations... yes [11:11:57.069] checking for __get_cpuid... yes [11:11:57.119] checking for __get_cpuid_count... yes [11:11:57.166] checking for __cpuid... no [11:11:57.577] checking for __cpuidex... no [11:11:58.017] checking for _xgetbv with CFLAGS=... no [11:11:58.409] checking for _xgetbv with CFLAGS=-mxsave... yes [11:11:58.816] checking for _mm512_popcnt_epi64 with CFLAGS=... no [11:11:59.210] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [11:11:59.562] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [11:11:59.612] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [11:11:59.707] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [11:11:59.731] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [11:11:59.752] 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:11:59.811] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [11:11:59.812] checking which random number source to use... Windows native [11:11:59.814] checking for xmllint... /usr/bin/xmllint [11:11:59.814] checking for xsltproc... /usr/bin/xsltproc [11:11:59.814] checking for fop... /usr/bin/fop [11:11:59.814] checking for dbtoepub... no [11:11:59.815] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [11:11:59.815] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [11:11:59.815] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [11:11:59.827] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [11:11:59.827] 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:11:59.827] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [11:11:59.827] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [11:11:59.918] configure: creating ./config.status [11:12:00.009] config.status: creating GNUmakefile [11:12:00.021] config.status: creating src/Makefile.global [11:12:00.037] config.status: creating src/include/pg_config.h [11:12:00.050] config.status: creating src/include/pg_config_ext.h [11:12:00.063] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [11:12:00.079] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [11:12:00.086] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [11:12:00.094] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [11:12:00.101] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [11:12:00.108] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [11:12:00.111] config.status: executing check_win32_symlinks commands [11:12:00.147] [11:12:00.147] real 0m17.110s [11:12:00.147] user 0m11.491s [11:12:00.147] sys 0m5.273s [11:12:00.147] make -s -j${BUILD_JOBS} clean [11:12:00.684] time make -s -j${BUILD_JOBS} world-bin [11:12:08.006] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [11:12:08.006] jsonpath_exec.c:2827:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [11:12:08.006] 2827 | JsonbValue jbvbuf; [11:12:08.006] | ^~~~~~~~~~ [11:12:08.006] cc1: all warnings being treated as errors [11:12:08.007] make[4]: *** [: jsonpath_exec.o] Error 1 [11:12:08.007] make[4]: *** Waiting for unfinished jobs.... [11:12:08.018] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [11:12:08.018] make[2]: *** [common.mk:37: utils-recursive] Error 2 [11:12:08.018] make[2]: *** Waiting for unfinished jobs.... [11:12:08.433] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [11:12:08.434] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [11:12:08.434] [11:12:08.434] real 0m7.750s [11:12:08.434] user 0m16.622s [11:12:08.434] sys 0m8.000s [11:12:08.434] [11:12:08.434] Exit status: 2