[03:02:47.088] time ./configure \ [03:02:47.088] --host=x86_64-w64-mingw32 \ [03:02:47.088] --enable-cassert \ [03:02:47.088] --without-icu \ [03:02:47.088] CC="ccache x86_64-w64-mingw32-gcc" \ [03:02:47.088] CXX="ccache x86_64-w64-mingw32-g++" [03:02:47.158] checking build system type... x86_64-pc-linux-gnu [03:02:47.345] checking host system type... x86_64-w64-mingw32 [03:02:47.349] checking which template to use... win32 [03:02:47.349] checking whether NLS is wanted... no [03:02:47.349] checking for default port number... 5432 [03:02:47.355] checking for block size... 8kB [03:02:47.355] checking for segment size... 1GB [03:02:47.357] checking for WAL block size... 8kB [03:02:47.358] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [03:02:47.382] checking whether the C compiler works... yes [03:02:47.519] checking for C compiler default output file name... a.exe [03:02:47.519] checking for suffix of executables... .exe [03:02:47.548] checking whether we are cross compiling... yes [03:02:47.610] checking for suffix of object files... o [03:02:47.615] checking whether we are using the GNU C compiler... yes [03:02:47.621] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [03:02:47.635] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [03:02:47.642] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [03:02:47.685] checking whether we are using the GNU C++ compiler... yes [03:02:47.881] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [03:02:47.933] checking for gawk... no [03:02:47.933] checking for mawk... mawk [03:02:47.935] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [03:02:47.957] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [03:02:47.980] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [03:02:48.011] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [03:02:48.039] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [03:02:48.062] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [03:02:48.066] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [03:02:48.085] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [03:02:48.106] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [03:02:48.127] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [03:02:48.131] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [03:02:48.135] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [03:02:48.138] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [03:02:48.142] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [03:02:48.146] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [03:02:48.150] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [03:02:48.153] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [03:02:48.157] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [03:02:48.161] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [03:02:48.164] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [03:02:48.186] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [03:02:48.190] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [03:02:48.204] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [03:02:48.209] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [03:02:48.214] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [03:02:48.237] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [03:02:48.260] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [03:02:48.264] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [03:02:48.267] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [03:02:48.288] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [03:02:48.299] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [03:02:48.303] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [03:02:48.307] checking whether the C compiler still works... yes [03:02:48.367] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [03:02:48.413] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [03:02:48.413] checking pkg-config is at least version 0.9.0... yes [03:02:48.427] checking whether to build with ICU support... no [03:02:48.427] checking whether to build with Tcl... no [03:02:48.427] checking whether to build Perl modules... no [03:02:48.427] checking whether to build Python modules... no [03:02:48.427] checking whether to build with GSSAPI support... no [03:02:48.428] checking whether to build with PAM support... no [03:02:48.428] checking whether to build with BSD Authentication support... no [03:02:48.428] checking whether to build with LDAP support... no [03:02:48.428] checking whether to build with Bonjour support... no [03:02:48.428] checking whether to build with SELinux support... no [03:02:48.428] checking whether to build with systemd support... no [03:02:48.428] configure: WARNING: *** Readline does not work on MinGW --- disabling [03:02:48.428] checking whether to build with XML support... no [03:02:48.429] checking whether to build with LZ4 support... no [03:02:48.429] checking whether to build with ZSTD support... no [03:02:48.429] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [03:02:48.429] checking whether it is possible to strip libraries... yes [03:02:48.436] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [03:02:48.437] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [03:02:48.437] checking for a BSD-compatible install... /usr/bin/install -c [03:02:48.442] checking for tar... /usr/bin/tar [03:02:48.442] checking whether ln -s works... yes [03:02:48.442] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [03:02:48.443] checking for bison... /usr/bin/bison [03:02:48.445] configure: using bison (GNU Bison) 3.7.5 [03:02:48.447] checking for flex... /usr/bin/flex [03:02:48.454] configure: using flex 2.6.4 [03:02:48.454] checking for perl... /usr/bin/perl [03:02:48.456] configure: using perl 5.32.1 [03:02:48.458] checking for zic... /usr/sbin/zic [03:02:48.458] checking for a sed that does not truncate output... /usr/bin/sed [03:02:48.461] checking for grep that handles long lines and -e... /usr/bin/grep [03:02:48.462] checking for egrep... /usr/bin/grep -E [03:02:48.463] checking for ANSI C header files... yes [03:02:48.523] checking for sys/types.h... yes [03:02:48.533] checking for sys/stat.h... yes [03:02:48.542] checking for stdlib.h... yes [03:02:48.585] checking for string.h... yes [03:02:48.595] checking for memory.h... yes [03:02:48.606] checking for strings.h... yes [03:02:48.616] checking for inttypes.h... yes [03:02:48.629] checking for stdint.h... yes [03:02:48.639] checking for unistd.h... yes [03:02:48.653] checking for main in -lm... yes [03:02:48.686] checking for library containing setproctitle... no [03:02:48.750] checking for library containing dlsym... no [03:02:48.814] checking for library containing socket... -lws2_32 [03:02:48.910] checking for library containing getopt_long... none required [03:02:48.945] checking for library containing shm_open... no [03:02:49.004] checking for library containing shm_unlink... no [03:02:49.061] checking for library containing clock_gettime... no [03:02:49.118] checking for library containing shmget... no [03:02:49.180] checking for library containing backtrace_symbols... no [03:02:49.241] checking for library containing pthread_barrier_wait... -lpthread [03:02:49.303] checking for inflate in -lz... yes [03:02:49.336] checking for stdbool.h that conforms to C99... yes [03:02:49.349] checking for _Bool... yes [03:02:49.393] checking atomic.h usability... no [03:02:49.431] checking atomic.h presence... no [03:02:49.443] checking for atomic.h... no [03:02:49.445] checking copyfile.h usability... no [03:02:49.484] checking copyfile.h presence... no [03:02:49.499] checking for copyfile.h... no [03:02:49.501] checking execinfo.h usability... no [03:02:49.544] checking execinfo.h presence... no [03:02:49.557] checking for execinfo.h... no [03:02:49.559] checking getopt.h usability... yes [03:02:49.564] checking getopt.h presence... yes [03:02:49.575] checking for getopt.h... yes [03:02:49.580] checking ifaddrs.h usability... no [03:02:49.623] checking ifaddrs.h presence... no [03:02:49.637] checking for ifaddrs.h... no [03:02:49.639] checking langinfo.h usability... no [03:02:49.679] checking langinfo.h presence... no [03:02:49.693] checking for langinfo.h... no [03:02:49.695] checking mbarrier.h usability... no [03:02:49.736] checking mbarrier.h presence... no [03:02:49.750] checking for mbarrier.h... no [03:02:49.752] checking sys/epoll.h usability... no [03:02:49.792] checking sys/epoll.h presence... no [03:02:49.803] checking for sys/epoll.h... no [03:02:49.805] checking sys/event.h usability... no [03:02:49.842] checking sys/event.h presence... no [03:02:49.855] checking for sys/event.h... no [03:02:49.857] checking sys/personality.h usability... no [03:02:49.895] checking sys/personality.h presence... no [03:02:49.907] checking for sys/personality.h... no [03:02:49.909] checking sys/prctl.h usability... no [03:02:49.948] checking sys/prctl.h presence... no [03:02:49.960] checking for sys/prctl.h... no [03:02:49.961] checking sys/procctl.h usability... no [03:02:49.998] checking sys/procctl.h presence... no [03:02:50.008] checking for sys/procctl.h... no [03:02:50.010] checking sys/signalfd.h usability... no [03:02:50.046] checking sys/signalfd.h presence... no [03:02:50.056] checking for sys/signalfd.h... no [03:02:50.058] checking sys/ucred.h usability... no [03:02:50.097] checking sys/ucred.h presence... no [03:02:50.109] checking for sys/ucred.h... no [03:02:50.111] checking termios.h usability... no [03:02:50.150] checking termios.h presence... no [03:02:50.161] checking for termios.h... no [03:02:50.162] checking ucred.h usability... no [03:02:50.199] checking ucred.h presence... no [03:02:50.209] checking for ucred.h... no [03:02:50.211] checking zlib.h usability... yes [03:02:50.217] checking zlib.h presence... yes [03:02:50.229] checking for zlib.h... yes [03:02:50.229] checking for lz4... /usr/bin/lz4 [03:02:50.229] checking for zstd... /usr/bin/zstd [03:02:50.230] checking for openssl... /usr/bin/openssl [03:02:50.233] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [03:02:50.233] checking crtdefs.h usability... yes [03:02:50.237] checking crtdefs.h presence... yes [03:02:50.246] checking for crtdefs.h... yes [03:02:50.247] checking whether byte ordering is bigendian... no [03:02:50.308] checking for inline... inline [03:02:50.312] checking for printf format archetype... gnu_printf [03:02:50.322] checking for _Static_assert... yes [03:02:50.349] checking for typeof... typeof [03:02:50.371] checking for __builtin_types_compatible_p... yes [03:02:50.377] checking for __builtin_constant_p... yes [03:02:50.384] checking for __builtin_unreachable... yes [03:02:50.411] checking for computed goto support... yes [03:02:50.421] checking for struct tm.tm_zone... no [03:02:50.468] checking for union semun... no [03:02:50.488] checking for socklen_t... yes [03:02:51.348] checking for struct sockaddr.sa_len... no [03:02:52.778] checking for locale_t... no [03:02:52.822] checking for C/C++ restrict keyword... __restrict [03:02:52.831] checking for struct option... yes [03:02:52.869] checking whether assembler supports x86_64 popcntq... yes [03:02:52.875] checking size of off_t... 4 [03:02:53.076] 0 [03:02:53.076] checking size of bool... 1 [03:02:53.103] checking for int timezone... yes [03:02:53.136] checking for wcstombs_l declaration... no [03:02:53.191] checking for backtrace_symbols... no [03:02:53.225] checking for copyfile... no [03:02:53.257] checking for copy_file_range... no [03:02:53.288] checking for getifaddrs... no [03:02:53.321] checking for getpeerucred... no [03:02:53.359] checking for inet_pton... yes [03:02:53.396] checking for kqueue... no [03:02:53.432] checking for mbstowcs_l... no [03:02:53.465] checking for memset_s... no [03:02:53.502] checking for posix_fallocate... no [03:02:53.541] checking for ppoll... no [03:02:53.576] checking for pthread_is_threaded_np... no [03:02:53.612] checking for setproctitle... no [03:02:53.645] checking for setproctitle_fast... no [03:02:53.678] checking for strchrnul... no [03:02:53.711] checking for strsignal... no [03:02:53.743] checking for syncfs... no [03:02:53.777] checking for sync_file_range... no [03:02:53.812] checking for uselocale... no [03:02:53.844] checking for wcstombs_l... no [03:02:53.876] checking for __builtin_bswap16... yes [03:02:53.911] checking for __builtin_bswap32... yes [03:02:53.943] checking for __builtin_bswap64... yes [03:02:53.975] checking for __builtin_clz... yes [03:02:54.007] checking for __builtin_ctz... yes [03:02:54.038] checking for __builtin_popcount... yes [03:02:54.070] checking for __builtin_frame_address... yes [03:02:54.101] checking for _LARGEFILE_SOURCE value needed for large files... no [03:02:54.141] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [03:02:54.160] checking for posix_fadvise... no [03:02:54.195] checking whether posix_fadvise is declared... no [03:02:54.227] checking whether fdatasync is declared... no [03:02:54.261] checking whether strlcat is declared... no [03:02:54.306] checking whether strlcpy is declared... no [03:02:54.352] checking whether strnlen is declared... yes [03:02:54.361] checking whether preadv is declared... no [03:02:54.384] checking whether pwritev is declared... no [03:02:54.412] checking whether F_FULLFSYNC is declared... no [03:02:54.444] checking for explicit_bzero... no [03:02:54.481] checking for getopt... yes [03:02:54.517] checking for getpeereid... no [03:02:54.553] checking for inet_aton... no [03:02:54.586] checking for mkdtemp... no [03:02:54.622] checking for strlcat... no [03:02:54.656] checking for strlcpy... no [03:02:54.690] checking for strnlen... yes [03:02:54.726] checking for pthread_barrier_wait... yes [03:02:54.758] configure: On mingw32 we will use our strtof wrapper. [03:02:54.758] checking for getopt_long... yes [03:02:54.791] checking for _configthreadlocale... yes [03:02:54.826] checking for syslog... no [03:02:54.860] checking for opterr... yes [03:02:54.898] checking for optreset... no [03:02:54.936] checking test program... cross-compiling [03:02:54.936] checking whether long int is 64 bits... no [03:02:54.960] checking whether long long int is 64 bits... yes [03:02:54.966] checking for __builtin_mul_overflow... yes [03:02:55.000] checking size of void *... 8 [03:02:55.271] checking size of size_t... 8 [03:02:55.553] checking size of long... 4 [03:02:55.709] checking alignment of short... 2 [03:02:55.810] checking alignment of int... 4 [03:02:56.051] checking alignment of long... 4 [03:02:56.203] checking alignment of long long int... 8 [03:02:56.403] checking alignment of double... 8 [03:02:56.645] checking for int8... no [03:02:56.676] checking for uint8... no [03:02:56.706] checking for int64... no [03:02:56.734] checking for uint64... no [03:02:56.762] checking for __int128... yes [03:02:56.796] checking for __int128 alignment bug... assuming ok [03:02:56.796] checking alignment of PG_INT128_TYPE... 16 [03:02:57.124] checking for builtin __sync char locking functions... yes [03:02:57.153] checking for builtin __sync int32 locking functions... yes [03:02:57.185] checking for builtin __sync int32 atomic operations... yes [03:02:57.216] checking for builtin __sync int64 atomic operations... yes [03:02:57.244] checking for builtin __atomic int32 atomic operations... yes [03:02:57.272] checking for builtin __atomic int64 atomic operations... yes [03:02:57.300] checking for __get_cpuid... yes [03:02:57.335] checking for __get_cpuid_count... yes [03:02:57.368] checking for __cpuid... no [03:02:57.604] checking for __cpuidex... no [03:02:57.841] checking for _xgetbv with CFLAGS=... no [03:02:58.053] checking for _xgetbv with CFLAGS=-mxsave... yes [03:02:58.266] checking for _mm512_popcnt_epi64 with CFLAGS=... no [03:02:58.468] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [03:02:58.662] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [03:02:58.695] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [03:02:58.761] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [03:02:58.777] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [03:02:58.789] 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 [03:02:58.828] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [03:02:58.828] checking which random number source to use... Windows native [03:02:58.830] checking for xmllint... /usr/bin/xmllint [03:02:58.830] checking for xsltproc... /usr/bin/xsltproc [03:02:58.830] checking for fop... /usr/bin/fop [03:02:58.830] checking for dbtoepub... no [03:02:58.831] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [03:02:58.831] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [03:02:58.838] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [03:02:58.838] 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 [03:02:58.838] configure: using CPPFLAGS= -I./src/include/port/win32 [03:02:58.839] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [03:02:58.900] configure: creating ./config.status [03:02:58.955] config.status: creating GNUmakefile [03:02:58.963] config.status: creating src/Makefile.global [03:02:58.973] config.status: creating src/include/pg_config.h [03:02:58.981] config.status: creating src/include/pg_config_ext.h [03:02:58.989] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [03:02:58.999] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [03:02:59.003] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [03:02:59.008] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [03:02:59.013] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [03:02:59.018] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [03:02:59.020] config.status: executing check_win32_symlinks commands [03:02:59.046] [03:02:59.046] real 0m11.958s [03:02:59.046] user 0m8.819s [03:02:59.046] sys 0m2.711s [03:02:59.046] make -s -j${BUILD_JOBS} clean [03:02:59.420] time make -s -j${BUILD_JOBS} world-bin [03:03:40.012] nodeBitmapHeapscan.c: In function ‘ExecEndBitmapHeapScan’: [03:03:40.012] nodeBitmapHeapscan.c:638:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [03:03:40.012] 638 | BitmapHeapScanInstrumentation *si = &node->sinstrument->sinstrument[ParallelWorkerNumber]; [03:03:40.012] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [03:03:40.012] cc1: all warnings being treated as errors [03:03:40.012] make[3]: *** [: nodeBitmapHeapscan.o] Error 1 [03:03:40.012] make[2]: *** [common.mk:37: executor-recursive] Error 2 [03:03:40.012] make[2]: *** Waiting for unfinished jobs.... [03:03:46.261] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [03:03:46.261] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [03:03:46.261] [03:03:46.261] real 0m46.841s [03:03:46.261] user 2m36.482s [03:03:46.261] sys 0m18.593s [03:03:46.261] [03:03:46.261] Exit status: 2