[11:23:56.812] time ./configure \ [11:23:56.812] --host=x86_64-w64-mingw32 \ [11:23:56.812] --enable-cassert \ [11:23:56.812] --without-icu \ [11:23:56.812] CC="ccache x86_64-w64-mingw32-gcc" \ [11:23:56.812] CXX="ccache x86_64-w64-mingw32-g++" [11:23:56.881] checking build system type... x86_64-pc-linux-gnu [11:23:57.058] checking host system type... x86_64-w64-mingw32 [11:23:57.061] checking which template to use... win32 [11:23:57.062] checking whether NLS is wanted... no [11:23:57.062] checking for default port number... 5432 [11:23:57.066] checking for block size... 8kB [11:23:57.066] checking for segment size... 1GB [11:23:57.068] checking for WAL block size... 8kB [11:23:57.069] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [11:23:57.088] checking whether the C compiler works... yes [11:23:57.230] checking for C compiler default output file name... a.exe [11:23:57.230] checking for suffix of executables... .exe [11:23:57.260] checking whether we are cross compiling... yes [11:23:57.318] checking for suffix of object files... o [11:23:57.323] checking whether we are using the GNU C compiler... yes [11:23:57.344] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [11:23:57.348] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [11:23:57.354] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [11:23:57.412] checking whether we are using the GNU C++ compiler... yes [11:23:57.554] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [11:23:57.593] checking for gawk... no [11:23:57.593] checking for mawk... mawk [11:23:57.595] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [11:23:57.615] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [11:23:57.619] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [11:23:57.648] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [11:23:57.676] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [11:23:57.700] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [11:23:57.710] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [11:23:57.714] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [11:23:57.717] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [11:23:57.739] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [11:23:57.749] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [11:23:57.770] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [11:23:57.840] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [11:23:57.863] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [11:23:57.883] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [11:23:57.905] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [11:23:57.917] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [11:23:57.921] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [11:23:57.926] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [11:23:57.949] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [11:23:57.953] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [11:23:57.958] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [11:23:57.973] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [11:23:57.983] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [11:23:57.987] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [11:23:58.009] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [11:23:58.031] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [11:23:58.035] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [11:23:58.056] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [11:23:58.078] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [11:23:58.090] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [11:23:58.094] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [11:23:58.099] checking whether the C compiler still works... yes [11:23:58.164] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [11:23:58.206] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [11:23:58.207] checking pkg-config is at least version 0.9.0... yes [11:23:58.220] checking whether to build with ICU support... no [11:23:58.220] checking whether to build with Tcl... no [11:23:58.220] checking whether to build Perl modules... no [11:23:58.220] checking whether to build Python modules... no [11:23:58.220] checking whether to build with GSSAPI support... no [11:23:58.221] checking whether to build with PAM support... no [11:23:58.221] checking whether to build with BSD Authentication support... no [11:23:58.221] checking whether to build with LDAP support... no [11:23:58.221] checking whether to build with Bonjour support... no [11:23:58.221] checking whether to build with SELinux support... no [11:23:58.222] checking whether to build with systemd support... no [11:23:58.222] configure: WARNING: *** Readline does not work on MinGW --- disabling [11:23:58.222] checking whether to build with XML support... no [11:23:58.222] checking whether to build with LZ4 support... no [11:23:58.222] checking whether to build with ZSTD support... no [11:23:58.222] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [11:23:58.223] checking whether it is possible to strip libraries... yes [11:23:58.230] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [11:23:58.230] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [11:23:58.230] checking for a BSD-compatible install... /usr/bin/install -c [11:23:58.235] checking for tar... /usr/bin/tar [11:23:58.236] checking whether ln -s works... yes [11:23:58.236] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [11:23:58.237] checking for bison... /usr/bin/bison [11:23:58.238] configure: using bison (GNU Bison) 3.7.5 [11:23:58.240] checking for flex... /usr/bin/flex [11:23:58.248] configure: using flex 2.6.4 [11:23:58.248] checking for perl... /usr/bin/perl [11:23:58.249] configure: using perl 5.32.1 [11:23:58.251] checking for zic... /usr/sbin/zic [11:23:58.251] checking for a sed that does not truncate output... /usr/bin/sed [11:23:58.254] checking for grep that handles long lines and -e... /usr/bin/grep [11:23:58.255] checking for egrep... /usr/bin/grep -E [11:23:58.256] checking for ANSI C header files... yes [11:23:58.288] checking for sys/types.h... yes [11:23:58.303] checking for sys/stat.h... yes [11:23:58.353] checking for stdlib.h... yes [11:23:58.362] checking for string.h... yes [11:23:58.370] checking for memory.h... yes [11:23:58.413] checking for strings.h... yes [11:23:58.422] checking for inttypes.h... yes [11:23:58.433] checking for stdint.h... yes [11:23:58.459] checking for unistd.h... yes [11:23:58.508] checking for main in -lm... yes [11:23:58.537] checking for library containing setproctitle... no [11:23:58.591] checking for library containing dlsym... no [11:23:58.647] checking for library containing socket... -lws2_32 [11:23:58.737] checking for library containing getopt_long... none required [11:23:58.770] checking for library containing shm_open... no [11:23:58.825] checking for library containing shm_unlink... no [11:23:58.880] checking for library containing clock_gettime... no [11:23:58.941] checking for library containing shmget... no [11:23:59.001] checking for library containing backtrace_symbols... no [11:23:59.061] checking for library containing pthread_barrier_wait... -lpthread [11:23:59.123] checking for inflate in -lz... yes [11:23:59.155] checking for stdbool.h that conforms to C99... yes [11:23:59.168] checking for _Bool... yes [11:23:59.215] checking atomic.h usability... no [11:23:59.254] checking atomic.h presence... no [11:23:59.266] checking for atomic.h... no [11:23:59.268] checking copyfile.h usability... no [11:23:59.304] checking copyfile.h presence... no [11:23:59.315] checking for copyfile.h... no [11:23:59.317] checking execinfo.h usability... no [11:23:59.354] checking execinfo.h presence... no [11:23:59.364] checking for execinfo.h... no [11:23:59.366] checking getopt.h usability... yes [11:23:59.404] checking getopt.h presence... yes [11:23:59.414] checking for getopt.h... yes [11:23:59.418] checking ifaddrs.h usability... no [11:23:59.455] checking ifaddrs.h presence... no [11:23:59.466] checking for ifaddrs.h... no [11:23:59.468] checking langinfo.h usability... no [11:23:59.506] checking langinfo.h presence... no [11:23:59.518] checking for langinfo.h... no [11:23:59.520] checking mbarrier.h usability... no [11:23:59.560] checking mbarrier.h presence... no [11:23:59.572] checking for mbarrier.h... no [11:23:59.574] checking sys/epoll.h usability... no [11:23:59.615] checking sys/epoll.h presence... no [11:23:59.628] checking for sys/epoll.h... no [11:23:59.631] checking sys/event.h usability... no [11:23:59.673] checking sys/event.h presence... no [11:23:59.687] checking for sys/event.h... no [11:23:59.689] checking sys/personality.h usability... no [11:23:59.731] checking sys/personality.h presence... no [11:23:59.743] checking for sys/personality.h... no [11:23:59.745] checking sys/prctl.h usability... no [11:23:59.783] checking sys/prctl.h presence... no [11:23:59.794] checking for sys/prctl.h... no [11:23:59.796] checking sys/procctl.h usability... no [11:23:59.833] checking sys/procctl.h presence... no [11:23:59.846] checking for sys/procctl.h... no [11:23:59.848] checking sys/signalfd.h usability... no [11:23:59.889] checking sys/signalfd.h presence... no [11:23:59.901] checking for sys/signalfd.h... no [11:23:59.903] checking sys/ucred.h usability... no [11:23:59.943] checking sys/ucred.h presence... no [11:23:59.954] checking for sys/ucred.h... no [11:23:59.956] checking termios.h usability... no [11:23:59.993] checking termios.h presence... no [11:24:00.004] checking for termios.h... no [11:24:00.006] checking ucred.h usability... no [11:24:00.043] checking ucred.h presence... no [11:24:00.053] checking for ucred.h... no [11:24:00.055] checking zlib.h usability... yes [11:24:00.097] checking zlib.h presence... yes [11:24:00.108] checking for zlib.h... yes [11:24:00.108] checking for lz4... /usr/bin/lz4 [11:24:00.109] checking for zstd... /usr/bin/zstd [11:24:00.109] checking for openssl... /usr/bin/openssl [11:24:00.112] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [11:24:00.112] checking crtdefs.h usability... yes [11:24:00.149] checking crtdefs.h presence... yes [11:24:00.158] checking for crtdefs.h... yes [11:24:00.159] checking whether byte ordering is bigendian... no [11:24:00.202] checking for inline... inline [11:24:00.219] checking for printf format archetype... gnu_printf [11:24:00.224] checking for _Static_assert... yes [11:24:00.253] checking for typeof... typeof [11:24:00.258] checking for __builtin_types_compatible_p... yes [11:24:00.286] checking for __builtin_constant_p... yes [11:24:00.294] checking for __builtin_unreachable... yes [11:24:00.324] checking for computed goto support... yes [11:24:00.335] checking for struct tm.tm_zone... no [11:24:00.382] checking for union semun... no [11:24:00.402] checking for socklen_t... yes [11:24:01.233] checking for struct sockaddr.sa_len... no [11:24:02.667] checking for locale_t... no [11:24:02.710] checking for C/C++ restrict keyword... __restrict [11:24:02.718] checking for struct option... yes [11:24:02.746] checking whether assembler supports x86_64 popcntq... yes [11:24:02.751] checking size of off_t... 4 [11:24:02.951] 0 [11:24:02.951] checking size of bool... 1 [11:24:02.998] checking for int timezone... yes [11:24:03.033] checking for wcstombs_l declaration... no [11:24:03.087] checking for backtrace_symbols... no [11:24:03.124] checking for copyfile... no [11:24:03.162] checking for copy_file_range... no [11:24:03.196] checking for getifaddrs... no [11:24:03.228] checking for getpeerucred... no [11:24:03.261] checking for inet_pton... yes [11:24:03.294] checking for kqueue... no [11:24:03.329] checking for mbstowcs_l... no [11:24:03.363] checking for memset_s... no [11:24:03.398] checking for posix_fallocate... no [11:24:03.432] checking for ppoll... no [11:24:03.465] checking for pthread_is_threaded_np... no [11:24:03.497] checking for setproctitle... no [11:24:03.529] checking for setproctitle_fast... no [11:24:03.562] checking for strchrnul... no [11:24:03.598] checking for strsignal... no [11:24:03.632] checking for syncfs... no [11:24:03.667] checking for sync_file_range... no [11:24:03.700] checking for uselocale... no [11:24:03.733] checking for wcstombs_l... no [11:24:03.769] checking for __builtin_bswap16... yes [11:24:03.804] checking for __builtin_bswap32... yes [11:24:03.838] checking for __builtin_bswap64... yes [11:24:03.873] checking for __builtin_clz... yes [11:24:03.905] checking for __builtin_ctz... yes [11:24:03.936] checking for __builtin_popcount... yes [11:24:03.967] checking for __builtin_frame_address... yes [11:24:03.997] checking for _LARGEFILE_SOURCE value needed for large files... no [11:24:04.038] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [11:24:04.057] checking for posix_fadvise... no [11:24:04.094] checking whether posix_fadvise is declared... no [11:24:04.123] checking whether fdatasync is declared... no [11:24:04.151] checking whether strlcat is declared... no [11:24:04.193] checking whether strlcpy is declared... no [11:24:04.236] checking whether strnlen is declared... yes [11:24:04.259] checking whether preadv is declared... no [11:24:04.285] checking whether pwritev is declared... no [11:24:04.309] checking whether F_FULLFSYNC is declared... no [11:24:04.335] checking for explicit_bzero... no [11:24:04.368] checking for getopt... yes [11:24:04.399] checking for getpeereid... no [11:24:04.430] checking for inet_aton... no [11:24:04.463] checking for mkdtemp... no [11:24:04.499] checking for strlcat... no [11:24:04.539] checking for strlcpy... no [11:24:04.572] checking for strnlen... yes [11:24:04.606] checking for pthread_barrier_wait... yes [11:24:04.636] configure: On mingw32 we will use our strtof wrapper. [11:24:04.636] checking for getopt_long... yes [11:24:04.666] checking for _configthreadlocale... yes [11:24:04.696] checking for syslog... no [11:24:04.726] checking for opterr... yes [11:24:04.758] checking for optreset... no [11:24:04.794] checking test program... cross-compiling [11:24:04.794] checking whether long int is 64 bits... no [11:24:04.814] checking whether long long int is 64 bits... yes [11:24:04.825] checking for __builtin_mul_overflow... yes [11:24:04.854] checking size of void *... 8 [11:24:05.107] checking size of size_t... 8 [11:24:05.345] checking size of long... 4 [11:24:05.491] checking alignment of short... 2 [11:24:05.580] checking alignment of int... 4 [11:24:05.757] checking alignment of long... 4 [11:24:05.899] checking alignment of long long int... 8 [11:24:06.071] checking alignment of double... 8 [11:24:06.350] checking for int8... no [11:24:06.376] checking for uint8... no [11:24:06.402] checking for int64... no [11:24:06.427] checking for uint64... no [11:24:06.454] checking for __int128... yes [11:24:06.485] checking for __int128 alignment bug... assuming ok [11:24:06.485] checking alignment of PG_INT128_TYPE... 16 [11:24:06.774] checking for builtin __sync char locking functions... yes [11:24:06.805] checking for builtin __sync int32 locking functions... yes [11:24:06.835] checking for builtin __sync int32 atomic operations... yes [11:24:06.863] checking for builtin __sync int64 atomic operations... yes [11:24:06.891] checking for builtin __atomic int32 atomic operations... yes [11:24:06.920] checking for builtin __atomic int64 atomic operations... yes [11:24:06.950] checking for __get_cpuid... yes [11:24:06.987] checking for __get_cpuid_count... yes [11:24:07.016] checking for __cpuid... no [11:24:07.243] checking for __cpuidex... no [11:24:07.475] checking for _xgetbv with CFLAGS=... no [11:24:07.675] checking for _xgetbv with CFLAGS=-mxsave... yes [11:24:07.887] checking for _mm512_popcnt_epi64 with CFLAGS=... no [11:24:08.085] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [11:24:08.268] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [11:24:08.299] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [11:24:08.358] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [11:24:08.370] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [11:24:08.380] 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:24:08.415] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [11:24:08.416] checking which random number source to use... Windows native [11:24:08.417] checking for xmllint... /usr/bin/xmllint [11:24:08.417] checking for xsltproc... /usr/bin/xsltproc [11:24:08.417] checking for fop... /usr/bin/fop [11:24:08.417] checking for dbtoepub... no [11:24:08.418] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [11:24:08.418] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [11:24:08.424] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [11:24:08.424] 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:24:08.424] configure: using CPPFLAGS= -I./src/include/port/win32 [11:24:08.424] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [11:24:08.476] configure: creating ./config.status [11:24:08.522] config.status: creating GNUmakefile [11:24:08.530] config.status: creating src/Makefile.global [11:24:08.538] config.status: creating src/include/pg_config.h [11:24:08.547] config.status: creating src/include/pg_config_ext.h [11:24:08.554] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [11:24:08.562] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [11:24:08.566] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [11:24:08.570] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [11:24:08.574] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [11:24:08.579] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [11:24:08.581] config.status: executing check_win32_symlinks commands [11:24:08.604] [11:24:08.604] real 0m11.792s [11:24:08.604] user 0m8.824s [11:24:08.604] sys 0m2.524s [11:24:08.604] make -s -j${BUILD_JOBS} clean [11:24:08.965] time make -s -j${BUILD_JOBS} world-bin [11:24:51.157] nodeBitmapHeapscan.c: In function ‘ExecEndBitmapHeapScan’: [11:24:51.157] nodeBitmapHeapscan.c:638:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [11:24:51.157] 638 | BitmapHeapScanInstrumentation *si = &node->sinstrument->sinstrument[ParallelWorkerNumber]; [11:24:51.157] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [11:24:51.157] cc1: all warnings being treated as errors [11:24:51.157] make[3]: *** [: nodeBitmapHeapscan.o] Error 1 [11:24:51.157] make[2]: *** [common.mk:37: executor-recursive] Error 2 [11:24:51.157] make[2]: *** Waiting for unfinished jobs.... [11:24:53.027] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [11:24:53.027] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [11:24:53.027] [11:24:53.027] real 0m44.062s [11:24:53.027] user 2m28.524s [11:24:53.027] sys 0m17.805s [11:24:53.027] [11:24:53.027] Exit status: 2