[21:39:22.698] time ./configure \ [21:39:22.698] --host=x86_64-w64-mingw32 \ [21:39:22.698] --enable-cassert \ [21:39:22.698] --without-icu \ [21:39:22.698] CC="ccache x86_64-w64-mingw32-gcc" \ [21:39:22.698] CXX="ccache x86_64-w64-mingw32-g++" [21:39:22.775] checking build system type... x86_64-pc-linux-gnu [21:39:22.958] checking host system type... x86_64-w64-mingw32 [21:39:22.962] checking which template to use... win32 [21:39:22.962] checking whether NLS is wanted... no [21:39:22.962] checking for default port number... 5432 [21:39:22.966] checking for block size... 8kB [21:39:22.967] checking for segment size... 1GB [21:39:22.969] checking for WAL block size... 8kB [21:39:22.969] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:39:22.990] checking whether the C compiler works... yes [21:39:23.120] checking for C compiler default output file name... a.exe [21:39:23.120] checking for suffix of executables... .exe [21:39:23.152] checking whether we are cross compiling... yes [21:39:23.217] checking for suffix of object files... o [21:39:23.243] checking whether we are using the GNU C compiler... yes [21:39:23.247] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:39:23.251] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:39:23.258] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:39:23.304] checking whether we are using the GNU C++ compiler... yes [21:39:23.491] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:39:23.551] checking for gawk... no [21:39:23.551] checking for mawk... mawk [21:39:23.554] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:39:23.558] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:39:23.562] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:39:23.595] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:39:23.624] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:39:23.635] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:39:23.639] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:39:23.648] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:39:23.652] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:39:23.673] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:39:23.676] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:39:23.681] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:39:23.686] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:39:23.690] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:39:23.694] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:39:23.698] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:39:23.720] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:39:23.730] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:39:23.734] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:39:23.738] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:39:23.742] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:39:23.764] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:39:23.777] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:39:23.781] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:39:23.784] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:39:23.806] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:39:23.828] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:39:23.832] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:39:23.842] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:39:23.863] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:39:23.883] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:39:23.905] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:39:23.910] checking whether the C compiler still works... yes [21:39:23.958] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:39:24.000] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:39:24.000] checking pkg-config is at least version 0.9.0... yes [21:39:24.013] checking whether to build with ICU support... no [21:39:24.013] checking whether to build with Tcl... no [21:39:24.013] checking whether to build Perl modules... no [21:39:24.013] checking whether to build Python modules... no [21:39:24.013] checking whether to build with GSSAPI support... no [21:39:24.014] checking whether to build with PAM support... no [21:39:24.014] checking whether to build with BSD Authentication support... no [21:39:24.014] checking whether to build with LDAP support... no [21:39:24.014] checking whether to build with Bonjour support... no [21:39:24.014] checking whether to build with SELinux support... no [21:39:24.014] checking whether to build with systemd support... no [21:39:24.014] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:39:24.014] checking whether to build with XML support... no [21:39:24.015] checking whether to build with LZ4 support... no [21:39:24.015] checking whether to build with ZSTD support... no [21:39:24.015] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:39:24.015] checking whether it is possible to strip libraries... yes [21:39:24.025] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:39:24.025] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:39:24.026] checking for a BSD-compatible install... /usr/bin/install -c [21:39:24.031] checking for tar... /usr/bin/tar [21:39:24.031] checking whether ln -s works... yes [21:39:24.031] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:39:24.032] checking for bison... /usr/bin/bison [21:39:24.034] configure: using bison (GNU Bison) 3.7.5 [21:39:24.035] checking for flex... /usr/bin/flex [21:39:24.043] configure: using flex 2.6.4 [21:39:24.043] checking for perl... /usr/bin/perl [21:39:24.045] configure: using perl 5.32.1 [21:39:24.046] checking for zic... /usr/sbin/zic [21:39:24.046] checking for a sed that does not truncate output... /usr/bin/sed [21:39:24.049] checking for grep that handles long lines and -e... /usr/bin/grep [21:39:24.050] checking for egrep... /usr/bin/grep -E [21:39:24.051] checking for ANSI C header files... yes [21:39:24.087] checking for sys/types.h... yes [21:39:24.098] checking for sys/stat.h... yes [21:39:24.108] checking for stdlib.h... yes [21:39:24.118] checking for string.h... yes [21:39:24.127] checking for memory.h... yes [21:39:24.139] checking for strings.h... yes [21:39:24.188] checking for inttypes.h... yes [21:39:24.200] checking for stdint.h... yes [21:39:24.245] checking for unistd.h... yes [21:39:24.259] checking for main in -lm... yes [21:39:24.293] checking for library containing setproctitle... no [21:39:24.361] checking for library containing dlsym... no [21:39:24.425] checking for library containing socket... -lws2_32 [21:39:24.522] checking for library containing getopt_long... none required [21:39:24.560] checking for library containing shm_open... no [21:39:24.629] checking for library containing shm_unlink... no [21:39:24.692] checking for library containing clock_gettime... no [21:39:24.753] checking for library containing shmget... no [21:39:24.813] checking for library containing backtrace_symbols... no [21:39:24.874] checking for library containing pthread_barrier_wait... -lpthread [21:39:24.933] checking for inflate in -lz... yes [21:39:24.969] checking for stdbool.h that conforms to C99... yes [21:39:24.976] checking for _Bool... yes [21:39:25.027] checking atomic.h usability... no [21:39:25.069] checking atomic.h presence... no [21:39:25.082] checking for atomic.h... no [21:39:25.085] checking copyfile.h usability... no [21:39:25.126] checking copyfile.h presence... no [21:39:25.138] checking for copyfile.h... no [21:39:25.140] checking execinfo.h usability... no [21:39:25.179] checking execinfo.h presence... no [21:39:25.190] checking for execinfo.h... no [21:39:25.193] checking getopt.h usability... yes [21:39:25.213] checking getopt.h presence... yes [21:39:25.223] checking for getopt.h... yes [21:39:25.228] checking ifaddrs.h usability... no [21:39:25.268] checking ifaddrs.h presence... no [21:39:25.280] checking for ifaddrs.h... no [21:39:25.281] checking langinfo.h usability... no [21:39:25.319] checking langinfo.h presence... no [21:39:25.330] checking for langinfo.h... no [21:39:25.332] checking mbarrier.h usability... no [21:39:25.369] checking mbarrier.h presence... no [21:39:25.379] checking for mbarrier.h... no [21:39:25.381] checking sys/epoll.h usability... no [21:39:25.420] checking sys/epoll.h presence... no [21:39:25.433] checking for sys/epoll.h... no [21:39:25.435] checking sys/event.h usability... no [21:39:25.475] checking sys/event.h presence... no [21:39:25.488] checking for sys/event.h... no [21:39:25.490] checking sys/personality.h usability... no [21:39:25.531] checking sys/personality.h presence... no [21:39:25.542] checking for sys/personality.h... no [21:39:25.544] checking sys/prctl.h usability... no [21:39:25.583] checking sys/prctl.h presence... no [21:39:25.595] checking for sys/prctl.h... no [21:39:25.598] checking sys/procctl.h usability... no [21:39:25.637] checking sys/procctl.h presence... no [21:39:25.648] checking for sys/procctl.h... no [21:39:25.650] checking sys/signalfd.h usability... no [21:39:25.690] checking sys/signalfd.h presence... no [21:39:25.702] checking for sys/signalfd.h... no [21:39:25.704] checking sys/ucred.h usability... no [21:39:25.742] checking sys/ucred.h presence... no [21:39:25.754] checking for sys/ucred.h... no [21:39:25.755] checking termios.h usability... no [21:39:25.792] checking termios.h presence... no [21:39:25.802] checking for termios.h... no [21:39:25.803] checking ucred.h usability... no [21:39:25.840] checking ucred.h presence... no [21:39:25.852] checking for ucred.h... no [21:39:25.854] checking zlib.h usability... yes [21:39:25.902] checking zlib.h presence... yes [21:39:25.917] checking for zlib.h... yes [21:39:25.917] checking for lz4... /usr/bin/lz4 [21:39:25.917] checking for zstd... /usr/bin/zstd [21:39:25.918] checking for openssl... /usr/bin/openssl [21:39:25.921] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [21:39:25.921] checking crtdefs.h usability... yes [21:39:25.927] checking crtdefs.h presence... yes [21:39:25.937] checking for crtdefs.h... yes [21:39:25.938] checking whether byte ordering is bigendian... no [21:39:26.014] checking for inline... inline [21:39:26.019] checking for printf format archetype... gnu_printf [21:39:26.031] checking for _Static_assert... yes [21:39:26.061] checking for typeof... typeof [21:39:26.065] checking for __builtin_types_compatible_p... yes [21:39:26.078] checking for __builtin_constant_p... yes [21:39:26.084] checking for __builtin_unreachable... yes [21:39:26.114] checking for computed goto support... yes [21:39:26.141] checking for struct tm.tm_zone... no [21:39:26.196] checking for union semun... no [21:39:26.218] checking for socklen_t... yes [21:39:27.325] checking for struct sockaddr.sa_len... no [21:39:28.818] checking for locale_t... no [21:39:28.863] checking for C/C++ restrict keyword... __restrict [21:39:28.870] checking for struct option... yes [21:39:28.895] checking whether assembler supports x86_64 popcntq... yes [21:39:28.901] checking size of off_t... 4 [21:39:29.084] 0 [21:39:29.084] checking size of bool... 1 [21:39:29.112] checking for int timezone... yes [21:39:29.146] checking for wcstombs_l declaration... no [21:39:29.206] checking for backtrace_symbols... no [21:39:29.243] checking for copyfile... no [21:39:29.279] checking for copy_file_range... no [21:39:29.316] checking for getifaddrs... no [21:39:29.352] checking for getpeerucred... no [21:39:29.387] checking for inet_pton... yes [21:39:29.423] checking for kqueue... no [21:39:29.461] checking for mbstowcs_l... no [21:39:29.498] checking for memset_s... no [21:39:29.534] checking for posix_fallocate... no [21:39:29.572] checking for ppoll... no [21:39:29.610] checking for pthread_is_threaded_np... no [21:39:29.647] checking for setproctitle... no [21:39:29.685] checking for setproctitle_fast... no [21:39:29.722] checking for strchrnul... no [21:39:29.759] checking for strsignal... no [21:39:29.794] checking for syncfs... no [21:39:29.829] checking for sync_file_range... no [21:39:29.866] checking for uselocale... no [21:39:29.902] checking for wcstombs_l... no [21:39:29.935] checking for __builtin_bswap16... yes [21:39:29.972] checking for __builtin_bswap32... yes [21:39:30.007] checking for __builtin_bswap64... yes [21:39:30.039] checking for __builtin_clz... yes [21:39:30.074] checking for __builtin_ctz... yes [21:39:30.110] checking for __builtin_popcount... yes [21:39:30.145] checking for __builtin_frame_address... yes [21:39:30.179] checking for _LARGEFILE_SOURCE value needed for large files... no [21:39:30.221] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:39:30.242] checking for posix_fadvise... no [21:39:30.279] checking whether posix_fadvise is declared... no [21:39:30.310] checking whether fdatasync is declared... no [21:39:30.342] checking whether strlcat is declared... no [21:39:30.386] checking whether strlcpy is declared... no [21:39:30.429] checking whether strnlen is declared... yes [21:39:30.454] checking whether preadv is declared... no [21:39:30.479] checking whether pwritev is declared... no [21:39:30.503] checking whether F_FULLFSYNC is declared... no [21:39:30.527] checking for explicit_bzero... no [21:39:30.558] checking for getopt... yes [21:39:30.590] checking for getpeereid... no [21:39:30.623] checking for inet_aton... no [21:39:30.655] checking for mkdtemp... no [21:39:30.685] checking for strlcat... no [21:39:30.720] checking for strlcpy... no [21:39:30.753] checking for strnlen... yes [21:39:30.790] checking for pthread_barrier_wait... yes [21:39:30.822] configure: On mingw32 we will use our strtof wrapper. [21:39:30.822] checking for getopt_long... yes [21:39:30.853] checking for _configthreadlocale... yes [21:39:30.885] checking for syslog... no [21:39:30.916] checking for opterr... yes [21:39:30.953] checking for optreset... no [21:39:30.991] checking test program... cross-compiling [21:39:30.991] checking whether long int is 64 bits... no [21:39:31.012] checking whether long long int is 64 bits... yes [21:39:31.024] checking for __builtin_mul_overflow... yes [21:39:31.054] checking size of void *... 8 [21:39:31.277] checking size of size_t... 8 [21:39:31.530] checking size of long... 4 [21:39:31.692] checking alignment of short... 2 [21:39:31.846] checking alignment of int... 4 [21:39:32.074] checking alignment of long... 4 [21:39:32.260] checking alignment of long long int... 8 [21:39:32.531] checking alignment of double... 8 [21:39:32.777] checking for int8... no [21:39:32.805] checking for uint8... no [21:39:32.835] checking for int64... no [21:39:32.864] checking for uint64... no [21:39:32.897] checking for __int128... yes [21:39:32.931] checking for __int128 alignment bug... assuming ok [21:39:32.931] checking alignment of PG_INT128_TYPE... 16 [21:39:33.225] checking for builtin __sync char locking functions... yes [21:39:33.255] checking for builtin __sync int32 locking functions... yes [21:39:33.288] checking for builtin __sync int32 atomic operations... yes [21:39:33.323] checking for builtin __sync int64 atomic operations... yes [21:39:33.354] checking for builtin __atomic int32 atomic operations... yes [21:39:33.387] checking for builtin __atomic int64 atomic operations... yes [21:39:33.419] checking for __get_cpuid... yes [21:39:33.455] checking for __get_cpuid_count... yes [21:39:33.486] checking for __cpuid... no [21:39:33.718] checking for __cpuidex... no [21:39:33.952] checking for _xgetbv with CFLAGS=... no [21:39:34.154] checking for _xgetbv with CFLAGS=-mxsave... yes [21:39:34.367] checking for _mm512_popcnt_epi64 with CFLAGS=... no [21:39:34.564] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [21:39:34.749] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [21:39:34.782] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [21:39:34.845] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:39:34.859] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:39:34.872] 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 [21:39:34.912] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:39:34.913] checking which random number source to use... Windows native [21:39:34.914] checking for xmllint... /usr/bin/xmllint [21:39:34.914] checking for xsltproc... /usr/bin/xsltproc [21:39:34.915] checking for fop... /usr/bin/fop [21:39:34.915] checking for dbtoepub... no [21:39:34.915] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:39:34.915] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:39:34.923] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [21:39:34.923] 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 [21:39:34.923] configure: using CPPFLAGS= -I./src/include/port/win32 [21:39:34.923] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:39:34.991] configure: creating ./config.status [21:39:35.054] config.status: creating GNUmakefile [21:39:35.063] config.status: creating src/Makefile.global [21:39:35.074] config.status: creating src/include/pg_config.h [21:39:35.083] config.status: creating src/include/pg_config_ext.h [21:39:35.091] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:39:35.102] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:39:35.107] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:39:35.113] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:39:35.118] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:39:35.123] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:39:35.126] config.status: executing check_win32_symlinks commands [21:39:35.153] [21:39:35.153] real 0m12.455s [21:39:35.153] user 0m9.228s [21:39:35.153] sys 0m2.821s [21:39:35.153] make -s -j${BUILD_JOBS} clean [21:39:35.533] time make -s -j${BUILD_JOBS} world-bin [21:40:16.349] nodeBitmapHeapscan.c: In function ‘ExecEndBitmapHeapScan’: [21:40:16.349] nodeBitmapHeapscan.c:638:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [21:40:16.349] 638 | BitmapHeapScanInstrumentation *si = &node->sinstrument->sinstrument[ParallelWorkerNumber]; [21:40:16.349] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [21:40:16.349] cc1: all warnings being treated as errors [21:40:16.350] make[3]: *** [: nodeBitmapHeapscan.o] Error 1 [21:40:16.350] make[2]: *** [common.mk:37: executor-recursive] Error 2 [21:40:16.350] make[2]: *** Waiting for unfinished jobs.... [21:40:18.306] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:40:18.306] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:40:18.306] [21:40:18.306] real 0m42.773s [21:40:18.306] user 2m23.903s [21:40:18.306] sys 0m17.601s [21:40:18.307] [21:40:18.307] Exit status: 2