[12:41:09.185] time ./configure \ [12:41:09.185] --host=x86_64-w64-mingw32 \ [12:41:09.185] --enable-cassert \ [12:41:09.185] --without-icu \ [12:41:09.185] CC="ccache x86_64-w64-mingw32-gcc" \ [12:41:09.185] CXX="ccache x86_64-w64-mingw32-g++" [12:41:09.244] checking build system type... x86_64-pc-linux-gnu [12:41:09.406] checking host system type... x86_64-w64-mingw32 [12:41:09.410] checking which template to use... win32 [12:41:09.410] checking whether NLS is wanted... no [12:41:09.410] checking for default port number... 5432 [12:41:09.414] checking for block size... 8kB [12:41:09.414] checking for segment size... 1GB [12:41:09.416] checking for WAL block size... 8kB [12:41:09.416] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [12:41:09.435] checking whether the C compiler works... yes [12:41:09.564] checking for C compiler default output file name... a.exe [12:41:09.564] checking for suffix of executables... .exe [12:41:09.590] checking whether we are cross compiling... yes [12:41:09.640] checking for suffix of object files... o [12:41:09.644] checking whether we are using the GNU C compiler... yes [12:41:09.653] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [12:41:09.673] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [12:41:09.723] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [12:41:09.814] checking whether we are using the GNU C++ compiler... yes [12:41:09.817] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [12:41:09.853] checking for gawk... no [12:41:09.853] checking for mawk... mawk [12:41:09.855] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [12:41:09.859] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [12:41:09.879] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [12:41:09.908] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [12:41:10.041] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [12:41:10.060] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [12:41:10.077] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [12:41:10.096] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [12:41:10.099] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [12:41:10.118] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [12:41:10.167] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [12:41:10.187] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [12:41:10.191] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [12:41:10.200] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [12:41:10.203] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [12:41:10.207] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [12:41:10.216] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [12:41:10.220] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [12:41:10.240] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [12:41:10.260] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [12:41:10.264] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [12:41:10.272] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [12:41:10.284] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [12:41:10.288] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [12:41:10.306] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [12:41:10.326] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [12:41:10.347] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [12:41:10.366] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [12:41:10.386] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [12:41:10.406] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [12:41:10.409] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [12:41:10.413] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [12:41:10.434] checking whether the C compiler still works... yes [12:41:10.464] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [12:41:10.502] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [12:41:10.502] checking pkg-config is at least version 0.9.0... yes [12:41:10.517] checking whether to build with ICU support... no [12:41:10.517] checking whether to build with Tcl... no [12:41:10.517] checking whether to build Perl modules... no [12:41:10.517] checking whether to build Python modules... no [12:41:10.517] checking whether to build with GSSAPI support... no [12:41:10.518] checking whether to build with PAM support... no [12:41:10.518] checking whether to build with BSD Authentication support... no [12:41:10.518] checking whether to build with LDAP support... no [12:41:10.518] checking whether to build with Bonjour support... no [12:41:10.518] checking whether to build with SELinux support... no [12:41:10.518] checking whether to build with systemd support... no [12:41:10.518] configure: WARNING: *** Readline does not work on MinGW --- disabling [12:41:10.518] checking whether to build with XML support... no [12:41:10.519] checking whether to build with LZ4 support... no [12:41:10.519] checking whether to build with ZSTD support... no [12:41:10.519] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [12:41:10.519] checking whether it is possible to strip libraries... yes [12:41:10.528] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [12:41:10.528] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [12:41:10.529] checking for a BSD-compatible install... /usr/bin/install -c [12:41:10.533] checking for tar... /usr/bin/tar [12:41:10.533] checking whether ln -s works... yes [12:41:10.534] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [12:41:10.535] checking for bison... /usr/bin/bison [12:41:10.536] configure: using bison (GNU Bison) 3.7.5 [12:41:10.538] checking for flex... /usr/bin/flex [12:41:10.545] configure: using flex 2.6.4 [12:41:10.545] checking for perl... /usr/bin/perl [12:41:10.547] configure: using perl 5.32.1 [12:41:10.548] checking for zic... /usr/sbin/zic [12:41:10.548] checking for a sed that does not truncate output... /usr/bin/sed [12:41:10.551] checking for grep that handles long lines and -e... /usr/bin/grep [12:41:10.552] checking for egrep... /usr/bin/grep -E [12:41:10.553] checking for ANSI C header files... yes [12:41:10.606] checking for sys/types.h... yes [12:41:10.615] checking for sys/stat.h... yes [12:41:10.624] checking for stdlib.h... yes [12:41:10.661] checking for string.h... yes [12:41:10.696] checking for memory.h... yes [12:41:10.733] checking for strings.h... yes [12:41:10.753] checking for inttypes.h... yes [12:41:10.774] checking for stdint.h... yes [12:41:10.781] checking for unistd.h... yes [12:41:10.821] checking for main in -lm... yes [12:41:10.847] checking for library containing setproctitle... no [12:41:10.898] checking for library containing dlsym... no [12:41:10.950] checking for library containing socket... -lws2_32 [12:41:11.024] checking for library containing getopt_long... none required [12:41:11.053] checking for library containing shm_open... no [12:41:11.103] checking for library containing shm_unlink... no [12:41:11.154] checking for library containing clock_gettime... no [12:41:11.204] checking for library containing shmget... no [12:41:11.254] checking for library containing backtrace_symbols... no [12:41:11.303] checking for library containing pthread_barrier_wait... -lpthread [12:41:11.357] checking for inflate in -lz... yes [12:41:11.384] checking for stdbool.h that conforms to C99... yes [12:41:11.389] checking for _Bool... yes [12:41:11.468] checking atomic.h usability... no [12:41:11.501] checking atomic.h presence... no [12:41:11.510] checking for atomic.h... no [12:41:11.512] checking copyfile.h usability... no [12:41:11.546] checking copyfile.h presence... no [12:41:11.555] checking for copyfile.h... no [12:41:11.557] checking execinfo.h usability... no [12:41:11.590] checking execinfo.h presence... no [12:41:11.599] checking for execinfo.h... no [12:41:11.601] checking getopt.h usability... yes [12:41:11.617] checking getopt.h presence... yes [12:41:11.624] checking for getopt.h... yes [12:41:11.628] checking ifaddrs.h usability... no [12:41:11.661] checking ifaddrs.h presence... no [12:41:11.670] checking for ifaddrs.h... no [12:41:11.672] checking langinfo.h usability... no [12:41:11.704] checking langinfo.h presence... no [12:41:11.714] checking for langinfo.h... no [12:41:11.715] checking mbarrier.h usability... no [12:41:11.749] checking mbarrier.h presence... no [12:41:11.758] checking for mbarrier.h... no [12:41:11.760] checking sys/epoll.h usability... no [12:41:11.792] checking sys/epoll.h presence... no [12:41:11.802] checking for sys/epoll.h... no [12:41:11.804] checking sys/event.h usability... no [12:41:11.843] checking sys/event.h presence... no [12:41:11.857] checking for sys/event.h... no [12:41:11.859] checking sys/personality.h usability... no [12:41:11.894] checking sys/personality.h presence... no [12:41:11.904] checking for sys/personality.h... no [12:41:11.906] checking sys/prctl.h usability... no [12:41:11.940] checking sys/prctl.h presence... no [12:41:11.950] checking for sys/prctl.h... no [12:41:11.952] checking sys/procctl.h usability... no [12:41:11.987] checking sys/procctl.h presence... no [12:41:11.997] checking for sys/procctl.h... no [12:41:11.999] checking sys/signalfd.h usability... no [12:41:12.033] checking sys/signalfd.h presence... no [12:41:12.043] checking for sys/signalfd.h... no [12:41:12.045] checking sys/ucred.h usability... no [12:41:12.079] checking sys/ucred.h presence... no [12:41:12.089] checking for sys/ucred.h... no [12:41:12.091] checking termios.h usability... no [12:41:12.126] checking termios.h presence... no [12:41:12.136] checking for termios.h... no [12:41:12.137] checking ucred.h usability... no [12:41:12.173] checking ucred.h presence... no [12:41:12.183] checking for ucred.h... no [12:41:12.184] checking zlib.h usability... yes [12:41:12.190] checking zlib.h presence... yes [12:41:12.201] checking for zlib.h... yes [12:41:12.201] checking for lz4... /usr/bin/lz4 [12:41:12.201] checking for zstd... /usr/bin/zstd [12:41:12.201] checking for openssl... /usr/bin/openssl [12:41:12.204] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [12:41:12.205] checking crtdefs.h usability... yes [12:41:12.240] checking crtdefs.h presence... yes [12:41:12.249] checking for crtdefs.h... yes [12:41:12.249] checking whether byte ordering is bigendian... no [12:41:12.308] checking for inline... inline [12:41:12.323] checking for printf format archetype... gnu_printf [12:41:12.343] checking for _Static_assert... yes [12:41:12.368] checking for typeof... typeof [12:41:12.377] checking for __builtin_types_compatible_p... yes [12:41:12.382] checking for __builtin_constant_p... yes [12:41:12.387] checking for __builtin_unreachable... yes [12:41:12.412] checking for computed goto support... yes [12:41:12.433] checking for struct tm.tm_zone... no [12:41:12.476] checking for union semun... no [12:41:12.494] checking for socklen_t... yes [12:41:13.929] checking for struct sockaddr.sa_len... no [12:41:15.283] checking for locale_t... no [12:41:15.322] checking for C/C++ restrict keyword... __restrict [12:41:15.334] checking for struct option... yes [12:41:15.379] checking whether assembler supports x86_64 popcntq... yes [12:41:15.383] checking size of off_t... 4 [12:41:15.528] 0 [12:41:15.528] checking size of bool... 1 [12:41:15.559] checking for int timezone... yes [12:41:15.591] checking for wcstombs_l declaration... no [12:41:15.644] checking for backtrace_symbols... no [12:41:15.676] checking for copyfile... no [12:41:15.708] checking for copy_file_range... no [12:41:15.740] checking for getifaddrs... no [12:41:15.772] checking for getpeerucred... no [12:41:15.804] checking for inet_pton... yes [12:41:15.836] checking for kqueue... no [12:41:15.867] checking for mbstowcs_l... no [12:41:15.898] checking for memset_s... no [12:41:15.929] checking for posix_fallocate... no [12:41:15.961] checking for ppoll... no [12:41:15.994] checking for pthread_is_threaded_np... no [12:41:16.027] checking for setproctitle... no [12:41:16.057] checking for setproctitle_fast... no [12:41:16.089] checking for strchrnul... no [12:41:16.121] checking for strsignal... no [12:41:16.153] checking for syncfs... no [12:41:16.185] checking for sync_file_range... no [12:41:16.216] checking for uselocale... no [12:41:16.247] checking for wcstombs_l... no [12:41:16.275] checking for __builtin_bswap16... yes [12:41:16.304] checking for __builtin_bswap32... yes [12:41:16.332] checking for __builtin_bswap64... yes [12:41:16.360] checking for __builtin_clz... yes [12:41:16.387] checking for __builtin_ctz... yes [12:41:16.417] checking for __builtin_popcount... yes [12:41:16.448] checking for __builtin_frame_address... yes [12:41:16.478] checking for _LARGEFILE_SOURCE value needed for large files... no [12:41:16.517] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [12:41:16.534] checking for posix_fadvise... no [12:41:16.565] checking whether posix_fadvise is declared... no [12:41:16.592] checking whether fdatasync is declared... no [12:41:16.618] checking whether strlcat is declared... no [12:41:16.657] checking whether strlcpy is declared... no [12:41:16.694] checking whether strnlen is declared... yes [12:41:16.701] checking whether preadv is declared... no [12:41:16.720] checking whether pwritev is declared... no [12:41:16.739] checking whether F_FULLFSYNC is declared... no [12:41:16.762] checking for explicit_bzero... no [12:41:16.790] checking for getopt... yes [12:41:16.817] checking for getpeereid... no [12:41:16.846] checking for inet_aton... no [12:41:16.875] checking for mkdtemp... no [12:41:16.904] checking for strlcat... no [12:41:16.933] checking for strlcpy... no [12:41:16.969] checking for strnlen... yes [12:41:17.000] checking for pthread_barrier_wait... yes [12:41:17.028] configure: On mingw32 we will use our strtof wrapper. [12:41:17.028] checking for getopt_long... yes [12:41:17.056] checking for _configthreadlocale... yes [12:41:17.083] checking for syslog... no [12:41:17.111] checking for opterr... yes [12:41:17.142] checking for optreset... no [12:41:17.173] checking test program... cross-compiling [12:41:17.173] checking whether long int is 64 bits... no [12:41:17.190] checking whether long long int is 64 bits... yes [12:41:17.194] checking for __builtin_mul_overflow... yes [12:41:17.220] checking size of void *... 8 [12:41:17.471] checking size of size_t... 8 [12:41:17.693] checking size of long... 4 [12:41:17.875] checking alignment of short... 2 [12:41:18.030] checking alignment of int... 4 [12:41:18.203] checking alignment of long... 4 [12:41:18.337] checking alignment of long long int... 8 [12:41:18.577] checking alignment of double... 8 [12:41:18.879] checking for int8... no [12:41:18.905] checking for uint8... no [12:41:18.930] checking for int64... no [12:41:18.955] checking for uint64... no [12:41:18.980] checking for __int128... yes [12:41:19.009] checking for __int128 alignment bug... assuming ok [12:41:19.009] checking alignment of PG_INT128_TYPE... 16 [12:41:19.402] checking for builtin __sync char locking functions... yes [12:41:19.430] checking for builtin __sync int32 locking functions... yes [12:41:19.457] checking for builtin __sync int32 atomic operations... yes [12:41:19.484] checking for builtin __sync int64 atomic operations... yes [12:41:19.511] checking for builtin __atomic int32 atomic operations... yes [12:41:19.538] checking for builtin __atomic int64 atomic operations... yes [12:41:19.565] checking for __get_cpuid... yes [12:41:19.593] checking for __cpuid... no [12:41:19.819] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [12:41:19.849] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [12:41:19.909] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [12:41:19.923] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [12:41:19.934] 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:41:19.971] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [12:41:19.971] checking which random number source to use... Windows native [12:41:19.973] checking for xmllint... /usr/bin/xmllint [12:41:19.974] checking for xsltproc... /usr/bin/xsltproc [12:41:19.974] checking for fop... /usr/bin/fop [12:41:19.974] checking for dbtoepub... no [12:41:19.975] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [12:41:19.975] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [12:41:19.982] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [12:41:19.982] 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:41:19.982] configure: using CPPFLAGS= -I./src/include/port/win32 [12:41:19.982] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [12:41:20.040] configure: creating ./config.status [12:41:20.090] config.status: creating GNUmakefile [12:41:20.097] config.status: creating src/Makefile.global [12:41:20.107] config.status: creating src/include/pg_config.h [12:41:20.114] config.status: creating src/include/pg_config_ext.h [12:41:20.121] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [12:41:20.130] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [12:41:20.134] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [12:41:20.138] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [12:41:20.142] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [12:41:20.146] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [12:41:20.148] config.status: executing check_win32_symlinks commands [12:41:20.173] [12:41:20.173] real 0m10.988s [12:41:20.173] user 0m8.335s [12:41:20.173] sys 0m2.252s [12:41:20.173] make -s -j${BUILD_JOBS} clean [12:41:20.529] time make -s -j${BUILD_JOBS} world-bin [12:42:39.709] clog.c: In function ‘TransactionIdSetStatusBit’: [12:42:39.709] clog.c:667:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [12:42:39.709] 667 | Page page = XactCtl->shared->page_buffer[slotno]; [12:42:39.709] | ^~~~ [12:42:39.709] cc1: all warnings being treated as errors [12:42:39.709] make[4]: *** [: clog.o] Error 1 [12:42:39.709] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [12:42:39.709] make[2]: *** [common.mk:37: access-recursive] Error 2 [12:42:39.709] make[2]: *** Waiting for unfinished jobs.... [12:42:46.037] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [12:42:46.037] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [12:42:46.037] [12:42:46.037] real 1m25.508s [12:42:46.037] user 4m53.543s [12:42:46.037] sys 0m34.804s [12:42:46.037] [12:42:46.037] Exit status: 2