[14:42:37.535] time ./configure \ [14:42:37.535] --host=x86_64-w64-mingw32 \ [14:42:37.535] --enable-cassert \ [14:42:37.535] --without-icu \ [14:42:37.535] CC="ccache x86_64-w64-mingw32-gcc" \ [14:42:37.535] CXX="ccache x86_64-w64-mingw32-g++" [14:42:37.638] checking build system type... x86_64-pc-linux-gnu [14:42:37.792] checking host system type... x86_64-w64-mingw32 [14:42:37.796] checking which template to use... win32 [14:42:37.797] checking whether NLS is wanted... no [14:42:37.797] checking for default port number... 5432 [14:42:37.802] checking for block size... 8kB [14:42:37.803] checking for segment size... 1GB [14:42:37.806] checking for WAL block size... 8kB [14:42:37.807] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [14:42:37.839] checking whether the C compiler works... yes [14:42:37.954] checking for C compiler default output file name... a.exe [14:42:37.956] checking for suffix of executables... .exe [14:42:37.993] checking whether we are cross compiling... yes [14:42:38.063] checking for suffix of object files... o [14:42:38.070] checking whether we are using the GNU C compiler... yes [14:42:38.077] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [14:42:38.093] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [14:42:38.102] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [14:42:38.159] checking whether we are using the GNU C++ compiler... yes [14:42:38.289] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [14:42:38.361] checking for gawk... no [14:42:38.362] checking for mawk... mawk [14:42:38.364] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [14:42:38.396] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [14:42:38.412] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [14:42:38.460] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [14:42:38.503] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [14:42:38.510] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [14:42:38.527] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [14:42:38.534] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [14:42:38.541] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [14:42:38.573] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [14:42:38.581] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [14:42:38.597] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [14:42:38.614] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [14:42:38.621] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [14:42:38.682] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [14:42:38.698] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [14:42:38.705] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [14:42:38.742] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [14:42:38.758] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [14:42:38.773] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [14:42:38.780] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [14:42:38.813] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [14:42:38.847] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [14:42:38.871] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [14:42:38.878] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [14:42:38.885] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [14:42:38.922] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [14:42:38.958] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [14:42:38.965] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [14:42:38.981] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [14:42:39.014] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [14:42:39.021] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [14:42:39.037] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [14:42:39.069] checking whether the C compiler still works... yes [14:42:39.132] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [14:42:39.202] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [14:42:39.203] checking pkg-config is at least version 0.9.0... yes [14:42:39.218] checking whether to build with ICU support... no [14:42:39.218] checking whether to build with Tcl... no [14:42:39.218] checking whether to build Perl modules... no [14:42:39.218] checking whether to build Python modules... no [14:42:39.219] checking whether to build with GSSAPI support... no [14:42:39.220] checking whether to build with PAM support... no [14:42:39.220] checking whether to build with BSD Authentication support... no [14:42:39.220] checking whether to build with LDAP support... no [14:42:39.220] checking whether to build with Bonjour support... no [14:42:39.220] checking whether to build with SELinux support... no [14:42:39.220] checking whether to build with systemd support... no [14:42:39.221] configure: WARNING: *** Readline does not work on MinGW --- disabling [14:42:39.221] checking whether to build with XML support... no [14:42:39.221] checking whether to build with LZ4 support... no [14:42:39.221] checking whether to build with ZSTD support... no [14:42:39.221] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [14:42:39.222] checking whether it is possible to strip libraries... yes [14:42:39.228] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [14:42:39.229] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [14:42:39.229] checking for a BSD-compatible install... /usr/bin/install -c [14:42:39.238] checking for tar... /usr/bin/tar [14:42:39.239] checking whether ln -s works... yes [14:42:39.239] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [14:42:39.241] checking for bison... /usr/bin/bison [14:42:39.243] configure: using bison (GNU Bison) 3.8.2 [14:42:39.246] checking for flex... /usr/bin/flex [14:42:39.248] configure: using flex 2.6.4 [14:42:39.248] checking for perl... /usr/bin/perl [14:42:39.251] configure: using perl 5.36.0 [14:42:39.254] checking for zic... /usr/sbin/zic [14:42:39.254] checking for a sed that does not truncate output... /usr/bin/sed [14:42:39.259] checking for grep that handles long lines and -e... /usr/bin/grep [14:42:39.261] checking for egrep... /usr/bin/grep -E [14:42:39.263] checking for ANSI C header files... yes [14:42:39.355] checking for sys/types.h... yes [14:42:39.411] checking for sys/stat.h... yes [14:42:39.445] checking for stdlib.h... yes [14:42:39.479] checking for string.h... yes [14:42:39.513] checking for memory.h... yes [14:42:39.548] checking for strings.h... yes [14:42:39.563] checking for inttypes.h... yes [14:42:39.623] checking for stdint.h... yes [14:42:39.638] checking for unistd.h... yes [14:42:39.701] checking for main in -lm... yes [14:42:39.746] checking for library containing setproctitle... no [14:42:39.838] checking for library containing dlsym... no [14:42:39.925] checking for library containing socket... -lws2_32 [14:42:40.053] checking for library containing getopt_long... none required [14:42:40.100] checking for library containing shm_open... no [14:42:40.184] checking for library containing shm_unlink... no [14:42:40.263] checking for library containing clock_gettime... no [14:42:40.343] checking for library containing shmget... no [14:42:40.423] checking for library containing backtrace_symbols... no [14:42:40.511] checking for library containing pthread_barrier_wait... -lpthread [14:42:40.600] checking for inflate in -lz... yes [14:42:40.650] checking atomic.h usability... no [14:42:40.706] checking atomic.h presence... no [14:42:40.726] checking for atomic.h... no [14:42:40.729] checking copyfile.h usability... no [14:42:40.785] checking copyfile.h presence... no [14:42:40.805] checking for copyfile.h... no [14:42:40.808] checking execinfo.h usability... no [14:42:40.864] checking execinfo.h presence... no [14:42:40.884] checking for execinfo.h... no [14:42:40.888] checking getopt.h usability... yes [14:42:40.943] checking getopt.h presence... yes [14:42:40.958] checking for getopt.h... yes [14:42:40.965] checking ifaddrs.h usability... no [14:42:41.020] checking ifaddrs.h presence... no [14:42:41.038] checking for ifaddrs.h... no [14:42:41.042] checking mbarrier.h usability... no [14:42:41.096] checking mbarrier.h presence... no [14:42:41.115] checking for mbarrier.h... no [14:42:41.119] checking sys/epoll.h usability... no [14:42:41.172] checking sys/epoll.h presence... no [14:42:41.191] checking for sys/epoll.h... no [14:42:41.194] checking sys/event.h usability... no [14:42:41.251] checking sys/event.h presence... no [14:42:41.271] checking for sys/event.h... no [14:42:41.274] checking sys/personality.h usability... no [14:42:41.331] checking sys/personality.h presence... no [14:42:41.350] checking for sys/personality.h... no [14:42:41.353] checking sys/prctl.h usability... no [14:42:41.409] checking sys/prctl.h presence... no [14:42:41.427] checking for sys/prctl.h... no [14:42:41.430] checking sys/procctl.h usability... no [14:42:41.481] checking sys/procctl.h presence... no [14:42:41.499] checking for sys/procctl.h... no [14:42:41.502] checking sys/signalfd.h usability... no [14:42:41.554] checking sys/signalfd.h presence... no [14:42:41.572] checking for sys/signalfd.h... no [14:42:41.574] checking sys/ucred.h usability... no [14:42:41.627] checking sys/ucred.h presence... no [14:42:41.644] checking for sys/ucred.h... no [14:42:41.647] checking termios.h usability... no [14:42:41.699] checking termios.h presence... no [14:42:41.717] checking for termios.h... no [14:42:41.720] checking ucred.h usability... no [14:42:41.773] checking ucred.h presence... no [14:42:41.791] checking for ucred.h... no [14:42:41.795] checking xlocale.h usability... no [14:42:41.847] checking xlocale.h presence... no [14:42:41.865] checking for xlocale.h... no [14:42:41.868] checking zlib.h usability... yes [14:42:41.877] checking zlib.h presence... yes [14:42:41.895] checking for zlib.h... yes [14:42:41.895] checking for lz4... /usr/bin/lz4 [14:42:41.895] checking for zstd... /usr/bin/zstd [14:42:41.895] checking for openssl... /usr/bin/openssl [14:42:41.899] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [14:42:41.900] checking crtdefs.h usability... yes [14:42:41.956] checking crtdefs.h presence... yes [14:42:41.970] checking for crtdefs.h... yes [14:42:41.972] checking whether byte ordering is bigendian... no [14:42:42.054] checking for inline... inline [14:42:42.062] checking for printf format archetype... gnu_printf [14:42:42.096] checking for _Static_assert... yes [14:42:42.136] checking for typeof... typeof [14:42:42.169] checking for __builtin_types_compatible_p... yes [14:42:42.180] checking for __builtin_constant_p... yes [14:42:42.199] checking for __builtin_mul_overflow... yes [14:42:42.243] checking for __builtin_unreachable... yes [14:42:42.281] checking for computed goto support... yes [14:42:42.315] checking for struct tm.tm_zone... no [14:42:42.390] checking for union semun... no [14:42:42.421] checking for socklen_t... yes [14:42:44.691] checking for struct sockaddr.sa_len... no [14:42:46.630] checking for C/C++ restrict keyword... __restrict [14:42:46.643] checking for struct option... yes [14:42:46.683] checking whether assembler supports x86_64 popcntq... yes [14:42:46.690] checking size of off_t... 4 [14:42:46.958] 0 [14:42:46.958] checking for int timezone... yes [14:42:47.010] checking for backtrace_symbols... no [14:42:47.058] checking for copyfile... no [14:42:47.107] checking for copy_file_range... no [14:42:47.156] checking for elf_aux_info... no [14:42:47.205] checking for getauxval... no [14:42:47.252] checking for getifaddrs... no [14:42:47.300] checking for getpeerucred... no [14:42:47.352] checking for inet_pton... yes [14:42:47.404] checking for kqueue... no [14:42:47.456] checking for mbstowcs_l... no [14:42:47.507] checking for memset_s... no [14:42:47.559] checking for posix_fallocate... no [14:42:47.611] checking for ppoll... no [14:42:47.662] checking for pthread_is_threaded_np... no [14:42:47.714] checking for setproctitle... no [14:42:47.765] checking for setproctitle_fast... no [14:42:47.816] checking for strchrnul... no [14:42:47.866] checking for strsignal... no [14:42:47.913] checking for syncfs... no [14:42:47.960] checking for sync_file_range... no [14:42:48.006] checking for uselocale... no [14:42:48.054] checking for wcstombs_l... no [14:42:48.098] checking for __builtin_bswap16... yes [14:42:48.145] checking for __builtin_bswap32... yes [14:42:48.191] checking for __builtin_bswap64... yes [14:42:48.236] checking for __builtin_clz... yes [14:42:48.281] checking for __builtin_ctz... yes [14:42:48.326] checking for __builtin_popcount... yes [14:42:48.373] checking for __builtin_frame_address... yes [14:42:48.419] checking for _LARGEFILE_SOURCE value needed for large files... no [14:42:48.470] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [14:42:48.500] checking for posix_fadvise... no [14:42:48.551] checking whether posix_fadvise is declared... no [14:42:48.596] checking whether fdatasync is declared... no [14:42:48.646] checking whether strlcat is declared... no [14:42:48.713] checking whether strlcpy is declared... no [14:42:48.779] checking whether strnlen is declared... yes [14:42:48.815] checking whether strsep is declared... no [14:42:48.881] checking whether preadv is declared... no [14:42:48.921] checking whether pwritev is declared... no [14:42:48.961] checking whether F_FULLFSYNC is declared... no [14:42:49.005] checking for explicit_bzero... no [14:42:49.055] checking for getopt... yes [14:42:49.101] checking for getpeereid... no [14:42:49.151] checking for inet_aton... no [14:42:49.202] checking for mkdtemp... no [14:42:49.252] checking for strlcat... no [14:42:49.302] checking for strlcpy... no [14:42:49.352] checking for strnlen... yes [14:42:49.398] checking for strsep... no [14:42:49.445] checking for pthread_barrier_wait... yes [14:42:49.488] configure: On mingw32 we will use our strtof wrapper. [14:42:49.488] checking for getopt_long... yes [14:42:49.532] checking for syslog... no [14:42:49.580] checking for opterr... yes [14:42:49.627] checking for optreset... no [14:42:49.678] checking test program... cross-compiling [14:42:49.678] checking size of void *... 8 [14:42:50.054] checking size of size_t... 8 [14:42:50.448] checking size of long... 4 [14:42:50.767] checking size of long long... 8 [14:42:51.098] checking alignment of short... 2 [14:42:51.230] checking alignment of int... 4 [14:42:51.425] checking alignment of long... 4 [14:42:51.780] checking alignment of int64_t... 8 [14:42:52.148] checking alignment of double... 8 [14:42:52.476] checking for __int128... yes [14:42:52.526] checking for __int128 alignment bug... assuming ok [14:42:52.527] checking alignment of PG_INT128_TYPE... 16 [14:42:52.955] checking for builtin __sync char locking functions... yes [14:42:52.996] checking for builtin __sync int32 locking functions... yes [14:42:53.038] checking for builtin __sync int32 atomic operations... yes [14:42:53.079] checking for builtin __sync int64 atomic operations... yes [14:42:53.122] checking for builtin __atomic int32 atomic operations... yes [14:42:53.164] checking for builtin __atomic int64 atomic operations... yes [14:42:53.208] checking for __get_cpuid... yes [14:42:53.255] checking for __get_cpuid_count... yes [14:42:53.297] checking for __cpuid... no [14:42:53.694] checking for __cpuidex... no [14:42:54.128] checking for _xgetbv... yes [14:42:54.524] checking for _mm512_popcnt_epi64... yes [14:42:54.943] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [14:42:55.043] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [14:42:55.067] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [14:42:55.087] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [14:42:55.107] 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 [14:42:55.162] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [14:42:55.162] checking which random number source to use... Windows native [14:42:55.164] checking for xmllint... /usr/bin/xmllint [14:42:55.164] checking for xsltproc... /usr/bin/xsltproc [14:42:55.164] checking for fop... /usr/bin/fop [14:42:55.164] checking for dbtoepub... no [14:42:55.165] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [14:42:55.165] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [14:42:55.165] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [14:42:55.176] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [14:42:55.176] 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 [14:42:55.176] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [14:42:55.176] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [14:42:55.261] configure: creating ./config.status [14:42:55.344] config.status: creating GNUmakefile [14:42:55.356] config.status: creating src/Makefile.global [14:42:55.372] config.status: creating src/include/pg_config.h [14:42:55.385] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [14:42:55.400] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [14:42:55.407] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [14:42:55.415] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [14:42:55.422] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [14:42:55.429] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [14:42:55.432] config.status: executing check_win32_symlinks commands [14:42:55.466] [14:42:55.466] real 0m17.931s [14:42:55.466] user 0m12.002s [14:42:55.466] sys 0m5.602s [14:42:55.466] make -s -j${BUILD_JOBS} clean [14:42:55.973] time make -s -j${BUILD_JOBS} world-bin [14:44:57.485] xloginsert.c: In function ‘XLogRegisterBuffer’: [14:44:57.485] xloginsert.c:261:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [14:44:57.485] 261 | BufferDesc *bufHdr; [14:44:57.485] | ^~~~~~~~~~ [14:44:57.485] cc1: all warnings being treated as errors [14:44:57.486] make[4]: *** [: xloginsert.o] Error 1 [14:44:57.486] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [14:44:57.486] make[2]: *** [common.mk:37: access-recursive] Error 2 [14:44:57.486] make[2]: *** Waiting for unfinished jobs.... [14:45:29.022] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [14:45:29.022] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [14:45:29.022] [14:45:29.022] real 2m33.049s [14:45:29.022] user 8m23.269s [14:45:29.022] sys 1m33.791s [14:45:29.022] [14:45:29.022] Exit status: 2