[20:26:01.304] time ./configure \ [20:26:01.304] --host=x86_64-w64-mingw32 \ [20:26:01.304] --enable-cassert \ [20:26:01.304] --without-icu \ [20:26:01.304] CC="ccache x86_64-w64-mingw32-gcc" \ [20:26:01.304] CXX="ccache x86_64-w64-mingw32-g++" [20:26:01.375] checking build system type... x86_64-pc-linux-gnu [20:26:01.539] checking host system type... x86_64-w64-mingw32 [20:26:01.543] checking which template to use... win32 [20:26:01.543] checking whether NLS is wanted... no [20:26:01.543] checking for default port number... 5432 [20:26:01.548] checking for block size... 8kB [20:26:01.549] checking for segment size... 1GB [20:26:01.550] checking for WAL block size... 8kB [20:26:01.551] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [20:26:01.574] checking whether the C compiler works... yes [20:26:01.711] checking for C compiler default output file name... a.exe [20:26:01.712] checking for suffix of executables... .exe [20:26:01.740] checking whether we are cross compiling... yes [20:26:01.802] checking for suffix of object files... o [20:26:01.807] checking whether we are using the GNU C compiler... yes [20:26:01.817] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [20:26:01.821] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [20:26:01.829] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [20:26:01.875] checking whether we are using the GNU C++ compiler... yes [20:26:02.019] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [20:26:02.062] checking for gawk... no [20:26:02.062] checking for mawk... mawk [20:26:02.064] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [20:26:02.069] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [20:26:02.073] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [20:26:02.105] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [20:26:02.136] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [20:26:02.140] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [20:26:02.144] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [20:26:02.148] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [20:26:02.152] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [20:26:02.162] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [20:26:02.221] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [20:26:02.245] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [20:26:02.249] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [20:26:02.273] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [20:26:02.296] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [20:26:02.300] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [20:26:02.304] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [20:26:02.327] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [20:26:02.333] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [20:26:02.359] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [20:26:02.364] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [20:26:02.369] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [20:26:02.386] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [20:26:02.391] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [20:26:02.417] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [20:26:02.442] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [20:26:02.466] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [20:26:02.471] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [20:26:02.494] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [20:26:02.517] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [20:26:02.522] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [20:26:02.526] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [20:26:02.530] checking whether the C compiler still works... yes [20:26:02.580] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [20:26:02.632] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [20:26:02.632] checking pkg-config is at least version 0.9.0... yes [20:26:02.645] checking whether to build with ICU support... no [20:26:02.646] checking whether to build with Tcl... no [20:26:02.646] checking whether to build Perl modules... no [20:26:02.646] checking whether to build Python modules... no [20:26:02.646] checking whether to build with GSSAPI support... no [20:26:02.647] checking whether to build with PAM support... no [20:26:02.647] checking whether to build with BSD Authentication support... no [20:26:02.647] checking whether to build with LDAP support... no [20:26:02.647] checking whether to build with Bonjour support... no [20:26:02.647] checking whether to build with SELinux support... no [20:26:02.647] checking whether to build with systemd support... no [20:26:02.647] configure: WARNING: *** Readline does not work on MinGW --- disabling [20:26:02.647] checking whether to build with XML support... no [20:26:02.648] checking whether to build with LZ4 support... no [20:26:02.648] checking whether to build with ZSTD support... no [20:26:02.648] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [20:26:02.648] checking whether it is possible to strip libraries... yes [20:26:02.655] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [20:26:02.656] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [20:26:02.656] checking for a BSD-compatible install... /usr/bin/install -c [20:26:02.661] checking for tar... /usr/bin/tar [20:26:02.661] checking whether ln -s works... yes [20:26:02.661] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [20:26:02.663] checking for bison... /usr/bin/bison [20:26:02.664] configure: using bison (GNU Bison) 3.7.5 [20:26:02.666] checking for flex... /usr/bin/flex [20:26:02.674] configure: using flex 2.6.4 [20:26:02.674] checking for perl... /usr/bin/perl [20:26:02.676] configure: using perl 5.32.1 [20:26:02.678] checking for zic... /usr/sbin/zic [20:26:02.678] checking for a sed that does not truncate output... /usr/bin/sed [20:26:02.681] checking for grep that handles long lines and -e... /usr/bin/grep [20:26:02.682] checking for egrep... /usr/bin/grep -E [20:26:02.683] checking for ANSI C header files... yes [20:26:02.715] checking for sys/types.h... yes [20:26:02.726] checking for sys/stat.h... yes [20:26:02.775] checking for stdlib.h... yes [20:26:02.793] checking for string.h... yes [20:26:02.835] checking for memory.h... yes [20:26:02.883] checking for strings.h... yes [20:26:02.906] checking for inttypes.h... yes [20:26:02.952] checking for stdint.h... yes [20:26:02.962] checking for unistd.h... yes [20:26:03.010] checking for main in -lm... yes [20:26:03.044] checking for library containing setproctitle... no [20:26:03.103] checking for library containing dlsym... no [20:26:03.164] checking for library containing socket... -lws2_32 [20:26:03.255] checking for library containing getopt_long... none required [20:26:03.290] checking for library containing shm_open... no [20:26:03.348] checking for library containing shm_unlink... no [20:26:03.405] checking for library containing clock_gettime... no [20:26:03.462] checking for library containing shmget... no [20:26:03.519] checking for library containing backtrace_symbols... no [20:26:03.575] checking for library containing pthread_barrier_wait... -lpthread [20:26:03.641] checking for inflate in -lz... yes [20:26:03.673] checking for stdbool.h that conforms to C99... yes [20:26:03.680] checking for _Bool... yes [20:26:03.731] checking atomic.h usability... no [20:26:03.773] checking atomic.h presence... no [20:26:03.788] checking for atomic.h... no [20:26:03.790] checking copyfile.h usability... no [20:26:03.836] checking copyfile.h presence... no [20:26:03.848] checking for copyfile.h... no [20:26:03.850] checking execinfo.h usability... no [20:26:03.890] checking execinfo.h presence... no [20:26:03.902] checking for execinfo.h... no [20:26:03.904] checking getopt.h usability... yes [20:26:03.944] checking getopt.h presence... yes [20:26:03.954] checking for getopt.h... yes [20:26:03.959] checking ifaddrs.h usability... no [20:26:03.997] checking ifaddrs.h presence... no [20:26:04.010] checking for ifaddrs.h... no [20:26:04.012] checking langinfo.h usability... no [20:26:04.051] checking langinfo.h presence... no [20:26:04.063] checking for langinfo.h... no [20:26:04.064] checking mbarrier.h usability... no [20:26:04.104] checking mbarrier.h presence... no [20:26:04.115] checking for mbarrier.h... no [20:26:04.117] checking sys/epoll.h usability... no [20:26:04.156] checking sys/epoll.h presence... no [20:26:04.166] checking for sys/epoll.h... no [20:26:04.168] checking sys/event.h usability... no [20:26:04.205] checking sys/event.h presence... no [20:26:04.215] checking for sys/event.h... no [20:26:04.217] checking sys/personality.h usability... no [20:26:04.253] checking sys/personality.h presence... no [20:26:04.263] checking for sys/personality.h... no [20:26:04.265] checking sys/prctl.h usability... no [20:26:04.307] checking sys/prctl.h presence... no [20:26:04.319] checking for sys/prctl.h... no [20:26:04.321] checking sys/procctl.h usability... no [20:26:04.357] checking sys/procctl.h presence... no [20:26:04.368] checking for sys/procctl.h... no [20:26:04.370] checking sys/signalfd.h usability... no [20:26:04.406] checking sys/signalfd.h presence... no [20:26:04.418] checking for sys/signalfd.h... no [20:26:04.420] checking sys/ucred.h usability... no [20:26:04.463] checking sys/ucred.h presence... no [20:26:04.475] checking for sys/ucred.h... no [20:26:04.477] checking termios.h usability... no [20:26:04.520] checking termios.h presence... no [20:26:04.533] checking for termios.h... no [20:26:04.535] checking ucred.h usability... no [20:26:04.578] checking ucred.h presence... no [20:26:04.592] checking for ucred.h... no [20:26:04.594] checking zlib.h usability... yes [20:26:04.600] checking zlib.h presence... yes [20:26:04.615] checking for zlib.h... yes [20:26:04.615] checking for lz4... /usr/bin/lz4 [20:26:04.615] checking for zstd... /usr/bin/zstd [20:26:04.616] checking for openssl... /usr/bin/openssl [20:26:04.619] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [20:26:04.619] checking crtdefs.h usability... yes [20:26:04.663] checking crtdefs.h presence... yes [20:26:04.674] checking for crtdefs.h... yes [20:26:04.675] checking whether byte ordering is bigendian... no [20:26:04.720] checking for inline... inline [20:26:04.724] checking for printf format archetype... gnu_printf [20:26:04.729] checking for _Static_assert... yes [20:26:04.758] checking for typeof... typeof [20:26:04.762] checking for __builtin_types_compatible_p... yes [20:26:04.787] checking for __builtin_constant_p... yes [20:26:04.794] checking for __builtin_unreachable... yes [20:26:04.824] checking for computed goto support... yes [20:26:04.836] checking for struct tm.tm_zone... no [20:26:04.885] checking for union semun... no [20:26:04.906] checking for socklen_t... yes [20:26:05.779] checking for struct sockaddr.sa_len... no [20:26:07.240] checking for locale_t... no [20:26:07.286] checking for C/C++ restrict keyword... __restrict [20:26:07.316] checking for struct option... yes [20:26:07.346] checking whether assembler supports x86_64 popcntq... yes [20:26:07.351] checking size of off_t... 4 [20:26:07.501] 0 [20:26:07.501] checking size of bool... 1 [20:26:07.550] checking for int timezone... yes [20:26:07.586] checking for wcstombs_l declaration... no [20:26:07.645] checking for backtrace_symbols... no [20:26:07.680] checking for copyfile... no [20:26:07.715] checking for copy_file_range... no [20:26:07.750] checking for getifaddrs... no [20:26:07.785] checking for getpeerucred... no [20:26:07.819] checking for inet_pton... yes [20:26:07.856] checking for kqueue... no [20:26:07.891] checking for mbstowcs_l... no [20:26:07.926] checking for memset_s... no [20:26:07.963] checking for posix_fallocate... no [20:26:07.999] checking for ppoll... no [20:26:08.035] checking for pthread_is_threaded_np... no [20:26:08.069] checking for setproctitle... no [20:26:08.106] checking for setproctitle_fast... no [20:26:08.143] checking for strchrnul... no [20:26:08.183] checking for strsignal... no [20:26:08.222] checking for syncfs... no [20:26:08.260] checking for sync_file_range... no [20:26:08.294] checking for uselocale... no [20:26:08.329] checking for wcstombs_l... no [20:26:08.363] checking for __builtin_bswap16... yes [20:26:08.398] checking for __builtin_bswap32... yes [20:26:08.432] checking for __builtin_bswap64... yes [20:26:08.465] checking for __builtin_clz... yes [20:26:08.498] checking for __builtin_ctz... yes [20:26:08.531] checking for __builtin_popcount... yes [20:26:08.564] checking for __builtin_frame_address... yes [20:26:08.595] checking for _LARGEFILE_SOURCE value needed for large files... no [20:26:08.641] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [20:26:08.662] checking for posix_fadvise... no [20:26:08.699] checking whether posix_fadvise is declared... no [20:26:08.732] checking whether fdatasync is declared... no [20:26:08.763] checking whether strlcat is declared... no [20:26:08.808] checking whether strlcpy is declared... no [20:26:08.852] checking whether strnlen is declared... yes [20:26:08.904] checking whether preadv is declared... no [20:26:08.931] checking whether pwritev is declared... no [20:26:08.957] checking whether F_FULLFSYNC is declared... no [20:26:08.988] checking for explicit_bzero... no [20:26:09.025] checking for getopt... yes [20:26:09.059] checking for getpeereid... no [20:26:09.095] checking for inet_aton... no [20:26:09.132] checking for mkdtemp... no [20:26:09.167] checking for strlcat... no [20:26:09.203] checking for strlcpy... no [20:26:09.238] checking for strnlen... yes [20:26:09.274] checking for pthread_barrier_wait... yes [20:26:09.308] configure: On mingw32 we will use our strtof wrapper. [20:26:09.308] checking for getopt_long... yes [20:26:09.342] checking for _configthreadlocale... yes [20:26:09.376] checking for syslog... no [20:26:09.412] checking for opterr... yes [20:26:09.450] checking for optreset... no [20:26:09.494] checking test program... cross-compiling [20:26:09.494] checking whether long int is 64 bits... no [20:26:09.519] checking whether long long int is 64 bits... yes [20:26:09.525] checking for __builtin_mul_overflow... yes [20:26:09.559] checking size of void *... 8 [20:26:09.835] checking size of size_t... 8 [20:26:10.090] checking size of long... 4 [20:26:10.243] checking alignment of short... 2 [20:26:10.390] checking alignment of int... 4 [20:26:10.577] checking alignment of long... 4 [20:26:10.717] checking alignment of long long int... 8 [20:26:10.957] checking alignment of double... 8 [20:26:11.194] checking for int8... no [20:26:11.223] checking for uint8... no [20:26:11.252] checking for int64... no [20:26:11.284] checking for uint64... no [20:26:11.316] checking for __int128... yes [20:26:11.351] checking for __int128 alignment bug... assuming ok [20:26:11.351] checking alignment of PG_INT128_TYPE... 16 [20:26:11.634] checking for builtin __sync char locking functions... yes [20:26:11.665] checking for builtin __sync int32 locking functions... yes [20:26:11.694] checking for builtin __sync int32 atomic operations... yes [20:26:11.723] checking for builtin __sync int64 atomic operations... yes [20:26:11.752] checking for builtin __atomic int32 atomic operations... yes [20:26:11.780] checking for builtin __atomic int64 atomic operations... yes [20:26:11.812] checking for __get_cpuid... yes [20:26:11.846] checking for __get_cpuid_count... yes [20:26:11.878] checking for __cpuid... no [20:26:12.116] checking for __cpuidex... no [20:26:12.354] checking for _xgetbv with CFLAGS=... no [20:26:12.548] checking for _xgetbv with CFLAGS=-mxsave... yes [20:26:12.757] checking for _mm512_popcnt_epi64 with CFLAGS=... no [20:26:12.959] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [20:26:13.149] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [20:26:13.182] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [20:26:13.245] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:26:13.259] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:26:13.271] 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 [20:26:13.309] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:26:13.309] checking which random number source to use... Windows native [20:26:13.311] checking for xmllint... /usr/bin/xmllint [20:26:13.311] checking for xsltproc... /usr/bin/xsltproc [20:26:13.311] checking for fop... /usr/bin/fop [20:26:13.311] checking for dbtoepub... no [20:26:13.312] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:26:13.312] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:26:13.321] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [20:26:13.321] 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 [20:26:13.321] configure: using CPPFLAGS= -I./src/include/port/win32 [20:26:13.321] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:26:13.380] configure: creating ./config.status [20:26:13.435] config.status: creating GNUmakefile [20:26:13.442] config.status: creating src/Makefile.global [20:26:13.452] config.status: creating src/include/pg_config.h [20:26:13.460] config.status: creating src/include/pg_config_ext.h [20:26:13.468] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:26:13.479] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [20:26:13.484] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:26:13.489] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:26:13.494] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:26:13.499] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:26:13.500] config.status: executing check_win32_symlinks commands [20:26:13.525] [20:26:13.525] real 0m12.221s [20:26:13.525] user 0m9.241s [20:26:13.525] sys 0m2.604s [20:26:13.525] make -s -j${BUILD_JOBS} clean [20:26:13.894] time make -s -j${BUILD_JOBS} world-bin [20:26:53.097] nodeBitmapHeapscan.c: In function ‘ExecEndBitmapHeapScan’: [20:26:53.097] nodeBitmapHeapscan.c:638:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [20:26:53.097] 638 | BitmapHeapScanInstrumentation *si = &node->sinstrument->sinstrument[ParallelWorkerNumber]; [20:26:53.097] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [20:26:53.097] cc1: all warnings being treated as errors [20:26:53.098] make[3]: *** [: nodeBitmapHeapscan.o] Error 1 [20:26:53.098] make[2]: *** [common.mk:37: executor-recursive] Error 2 [20:26:53.098] make[2]: *** Waiting for unfinished jobs.... [20:26:55.032] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:26:55.032] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:26:55.033] [20:26:55.033] real 0m41.139s [20:26:55.033] user 2m17.355s [20:26:55.033] sys 0m17.646s [20:26:55.033] [20:26:55.033] Exit status: 2