[08:24:46.973] time ./configure \ [08:24:46.973] --host=x86_64-w64-mingw32 \ [08:24:46.973] --enable-cassert \ [08:24:46.973] --without-icu \ [08:24:46.973] CC="ccache x86_64-w64-mingw32-gcc" \ [08:24:46.973] CXX="ccache x86_64-w64-mingw32-g++" [08:24:47.047] checking build system type... x86_64-pc-linux-gnu [08:24:47.229] checking host system type... x86_64-w64-mingw32 [08:24:47.233] checking which template to use... win32 [08:24:47.233] checking whether NLS is wanted... no [08:24:47.234] checking for default port number... 5432 [08:24:47.238] checking for block size... 8kB [08:24:47.239] checking for segment size... 1GB [08:24:47.240] checking for WAL block size... 8kB [08:24:47.241] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [08:24:47.262] checking whether the C compiler works... yes [08:24:47.391] checking for C compiler default output file name... a.exe [08:24:47.392] checking for suffix of executables... .exe [08:24:47.420] checking whether we are cross compiling... yes [08:24:47.479] checking for suffix of object files... o [08:24:47.484] checking whether we are using the GNU C compiler... yes [08:24:47.489] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [08:24:47.493] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [08:24:47.499] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [08:24:47.539] checking whether we are using the GNU C++ compiler... yes [08:24:47.682] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [08:24:47.724] checking for gawk... no [08:24:47.724] checking for mawk... mawk [08:24:47.726] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [08:24:47.730] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [08:24:47.734] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [08:24:47.762] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [08:24:47.790] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [08:24:47.794] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [08:24:47.798] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [08:24:47.801] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [08:24:47.855] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [08:24:47.865] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [08:24:47.869] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [08:24:47.888] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [08:24:47.892] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [08:24:47.895] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [08:24:47.898] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [08:24:47.902] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [08:24:47.906] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [08:24:47.909] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [08:24:47.931] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [08:24:47.935] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [08:24:47.939] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [08:24:47.942] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [08:24:47.955] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [08:24:47.959] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [08:24:47.963] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [08:24:47.984] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [08:24:48.006] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [08:24:48.010] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [08:24:48.031] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [08:24:48.052] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [08:24:48.074] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [08:24:48.078] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [08:24:48.083] checking whether the C compiler still works... yes [08:24:48.145] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [08:24:48.186] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [08:24:48.187] checking pkg-config is at least version 0.9.0... yes [08:24:48.199] checking whether to build with ICU support... no [08:24:48.200] checking whether to build with Tcl... no [08:24:48.200] checking whether to build Perl modules... no [08:24:48.200] checking whether to build Python modules... no [08:24:48.200] checking whether to build with GSSAPI support... no [08:24:48.200] checking whether to build with PAM support... no [08:24:48.201] checking whether to build with BSD Authentication support... no [08:24:48.201] checking whether to build with LDAP support... no [08:24:48.201] checking whether to build with Bonjour support... no [08:24:48.201] checking whether to build with SELinux support... no [08:24:48.201] checking whether to build with systemd support... no [08:24:48.201] configure: WARNING: *** Readline does not work on MinGW --- disabling [08:24:48.201] checking whether to build with XML support... no [08:24:48.201] checking whether to build with LZ4 support... no [08:24:48.201] checking whether to build with ZSTD support... no [08:24:48.202] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [08:24:48.202] checking whether it is possible to strip libraries... yes [08:24:48.208] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [08:24:48.209] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [08:24:48.209] checking for a BSD-compatible install... /usr/bin/install -c [08:24:48.214] checking for tar... /usr/bin/tar [08:24:48.214] checking whether ln -s works... yes [08:24:48.214] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [08:24:48.215] checking for bison... /usr/bin/bison [08:24:48.216] configure: using bison (GNU Bison) 3.7.5 [08:24:48.218] checking for flex... /usr/bin/flex [08:24:48.225] configure: using flex 2.6.4 [08:24:48.225] checking for perl... /usr/bin/perl [08:24:48.227] configure: using perl 5.32.1 [08:24:48.228] checking for zic... /usr/sbin/zic [08:24:48.228] checking for a sed that does not truncate output... /usr/bin/sed [08:24:48.231] checking for grep that handles long lines and -e... /usr/bin/grep [08:24:48.232] checking for egrep... /usr/bin/grep -E [08:24:48.233] checking for ANSI C header files... yes [08:24:48.261] checking for sys/types.h... yes [08:24:48.271] checking for sys/stat.h... yes [08:24:48.279] checking for stdlib.h... yes [08:24:48.286] checking for string.h... yes [08:24:48.293] checking for memory.h... yes [08:24:48.301] checking for strings.h... yes [08:24:48.309] checking for inttypes.h... yes [08:24:48.318] checking for stdint.h... yes [08:24:48.324] checking for unistd.h... yes [08:24:48.348] checking for main in -lm... yes [08:24:48.375] checking for library containing setproctitle... no [08:24:48.429] checking for library containing dlsym... no [08:24:48.484] checking for library containing socket... -lws2_32 [08:24:48.567] checking for library containing getopt_long... none required [08:24:48.601] checking for library containing shm_open... no [08:24:48.657] checking for library containing shm_unlink... no [08:24:48.713] checking for library containing clock_gettime... no [08:24:48.768] checking for library containing shmget... no [08:24:48.824] checking for library containing backtrace_symbols... no [08:24:48.878] checking for library containing pthread_barrier_wait... -lpthread [08:24:48.935] checking for inflate in -lz... yes [08:24:48.966] checking for stdbool.h that conforms to C99... yes [08:24:48.972] checking for _Bool... yes [08:24:49.057] checking atomic.h usability... no [08:24:49.094] checking atomic.h presence... no [08:24:49.104] checking for atomic.h... no [08:24:49.106] checking copyfile.h usability... no [08:24:49.143] checking copyfile.h presence... no [08:24:49.154] checking for copyfile.h... no [08:24:49.156] checking execinfo.h usability... no [08:24:49.193] checking execinfo.h presence... no [08:24:49.204] checking for execinfo.h... no [08:24:49.206] checking getopt.h usability... yes [08:24:49.224] checking getopt.h presence... yes [08:24:49.233] checking for getopt.h... yes [08:24:49.237] checking ifaddrs.h usability... no [08:24:49.271] checking ifaddrs.h presence... no [08:24:49.281] checking for ifaddrs.h... no [08:24:49.283] checking langinfo.h usability... no [08:24:49.320] checking langinfo.h presence... no [08:24:49.330] checking for langinfo.h... no [08:24:49.332] checking mbarrier.h usability... no [08:24:49.368] checking mbarrier.h presence... no [08:24:49.379] checking for mbarrier.h... no [08:24:49.381] checking sys/epoll.h usability... no [08:24:49.418] checking sys/epoll.h presence... no [08:24:49.429] checking for sys/epoll.h... no [08:24:49.431] checking sys/event.h usability... no [08:24:49.468] checking sys/event.h presence... no [08:24:49.479] checking for sys/event.h... no [08:24:49.481] checking sys/personality.h usability... no [08:24:49.517] checking sys/personality.h presence... no [08:24:49.528] checking for sys/personality.h... no [08:24:49.530] checking sys/prctl.h usability... no [08:24:49.566] checking sys/prctl.h presence... no [08:24:49.576] checking for sys/prctl.h... no [08:24:49.578] checking sys/procctl.h usability... no [08:24:49.614] checking sys/procctl.h presence... no [08:24:49.625] checking for sys/procctl.h... no [08:24:49.627] checking sys/signalfd.h usability... no [08:24:49.664] checking sys/signalfd.h presence... no [08:24:49.674] checking for sys/signalfd.h... no [08:24:49.676] checking sys/ucred.h usability... no [08:24:49.712] checking sys/ucred.h presence... no [08:24:49.727] checking for sys/ucred.h... no [08:24:49.729] checking termios.h usability... no [08:24:49.765] checking termios.h presence... no [08:24:49.776] checking for termios.h... no [08:24:49.778] checking ucred.h usability... no [08:24:49.816] checking ucred.h presence... no [08:24:49.827] checking for ucred.h... no [08:24:49.828] checking zlib.h usability... yes [08:24:49.834] checking zlib.h presence... yes [08:24:49.846] checking for zlib.h... yes [08:24:49.846] checking for lz4... /usr/bin/lz4 [08:24:49.846] checking for zstd... /usr/bin/zstd [08:24:49.847] checking for openssl... /usr/bin/openssl [08:24:49.849] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [08:24:49.850] checking crtdefs.h usability... yes [08:24:49.854] checking crtdefs.h presence... yes [08:24:49.863] checking for crtdefs.h... yes [08:24:49.864] checking whether byte ordering is bigendian... no [08:24:49.911] checking for inline... inline [08:24:49.920] checking for printf format archetype... gnu_printf [08:24:49.942] checking for _Static_assert... yes [08:24:49.969] checking for typeof... typeof [08:24:49.972] checking for __builtin_types_compatible_p... yes [08:24:49.978] checking for __builtin_constant_p... yes [08:24:49.985] checking for __builtin_unreachable... yes [08:24:50.012] checking for computed goto support... yes [08:24:50.034] checking for struct tm.tm_zone... no [08:24:50.080] checking for union semun... no [08:24:50.100] checking for socklen_t... yes [08:24:51.620] checking for struct sockaddr.sa_len... no [08:24:52.988] checking for locale_t... no [08:24:53.026] checking for C/C++ restrict keyword... __restrict [08:24:53.033] checking for struct option... yes [08:24:53.058] checking whether assembler supports x86_64 popcntq... yes [08:24:53.062] checking size of off_t... 4 [08:24:53.263] 0 [08:24:53.263] checking size of bool... 1 [08:24:53.290] checking for int timezone... yes [08:24:53.323] checking for wcstombs_l declaration... no [08:24:53.375] checking for backtrace_symbols... no [08:24:53.408] checking for copyfile... no [08:24:53.440] checking for copy_file_range... no [08:24:53.474] checking for getifaddrs... no [08:24:53.507] checking for getpeerucred... no [08:24:53.539] checking for inet_pton... yes [08:24:53.573] checking for kqueue... no [08:24:53.607] checking for mbstowcs_l... no [08:24:53.639] checking for memset_s... no [08:24:53.672] checking for posix_fallocate... no [08:24:53.704] checking for ppoll... no [08:24:53.736] checking for pthread_is_threaded_np... no [08:24:53.769] checking for setproctitle... no [08:24:53.801] checking for setproctitle_fast... no [08:24:53.833] checking for strchrnul... no [08:24:53.864] checking for strsignal... no [08:24:53.896] checking for syncfs... no [08:24:53.928] checking for sync_file_range... no [08:24:53.960] checking for uselocale... no [08:24:53.992] checking for wcstombs_l... no [08:24:54.022] checking for __builtin_bswap16... yes [08:24:54.053] checking for __builtin_bswap32... yes [08:24:54.084] checking for __builtin_bswap64... yes [08:24:54.115] checking for __builtin_clz... yes [08:24:54.145] checking for __builtin_ctz... yes [08:24:54.176] checking for __builtin_popcount... yes [08:24:54.207] checking for __builtin_frame_address... yes [08:24:54.238] checking for _LARGEFILE_SOURCE value needed for large files... no [08:24:54.278] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [08:24:54.296] checking for posix_fadvise... no [08:24:54.329] checking whether posix_fadvise is declared... no [08:24:54.356] checking whether fdatasync is declared... no [08:24:54.385] checking whether strlcat is declared... no [08:24:54.427] checking whether strlcpy is declared... no [08:24:54.470] checking whether strnlen is declared... yes [08:24:54.477] checking whether preadv is declared... no [08:24:54.499] checking whether pwritev is declared... no [08:24:54.520] checking whether F_FULLFSYNC is declared... no [08:24:54.545] checking for explicit_bzero... no [08:24:54.575] checking for getopt... yes [08:24:54.604] checking for getpeereid... no [08:24:54.634] checking for inet_aton... no [08:24:54.666] checking for mkdtemp... no [08:24:54.696] checking for strlcat... no [08:24:54.731] checking for strlcpy... no [08:24:54.762] checking for strnlen... yes [08:24:54.794] checking for pthread_barrier_wait... yes [08:24:54.824] configure: On mingw32 we will use our strtof wrapper. [08:24:54.824] checking for getopt_long... yes [08:24:54.854] checking for _configthreadlocale... yes [08:24:54.884] checking for syslog... no [08:24:54.914] checking for opterr... yes [08:24:54.946] checking for optreset... no [08:24:54.980] checking test program... cross-compiling [08:24:54.980] checking whether long int is 64 bits... no [08:24:54.998] checking whether long long int is 64 bits... yes [08:24:55.021] checking for __builtin_mul_overflow... yes [08:24:55.051] checking size of void *... 8 [08:24:55.267] checking size of size_t... 8 [08:24:55.489] checking size of long... 4 [08:24:55.637] checking alignment of short... 2 [08:24:55.729] checking alignment of int... 4 [08:24:55.862] checking alignment of long... 4 [08:24:56.033] checking alignment of long long int... 8 [08:24:56.245] checking alignment of double... 8 [08:24:56.432] checking for int8... no [08:24:56.457] checking for uint8... no [08:24:56.484] checking for int64... no [08:24:56.511] checking for uint64... no [08:24:56.538] checking for __int128... yes [08:24:56.571] checking for __int128 alignment bug... assuming ok [08:24:56.571] checking alignment of PG_INT128_TYPE... 16 [08:24:56.788] checking for builtin __sync char locking functions... yes [08:24:56.816] checking for builtin __sync int32 locking functions... yes [08:24:56.844] checking for builtin __sync int32 atomic operations... yes [08:24:56.871] checking for builtin __sync int64 atomic operations... yes [08:24:56.898] checking for builtin __atomic int32 atomic operations... yes [08:24:56.925] checking for builtin __atomic int64 atomic operations... yes [08:24:56.952] checking for __get_cpuid... yes [08:24:56.982] checking for __get_cpuid_count... yes [08:24:57.009] checking for __cpuid... no [08:24:57.227] checking for __cpuidex... no [08:24:57.451] checking for _xgetbv with CFLAGS=... no [08:24:57.642] checking for _xgetbv with CFLAGS=-mxsave... yes [08:24:57.849] checking for _mm512_popcnt_epi64 with CFLAGS=... no [08:24:58.034] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [08:24:58.206] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [08:24:58.235] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [08:24:58.291] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [08:24:58.303] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [08:24:58.313] 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 [08:24:58.349] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [08:24:58.349] checking which random number source to use... Windows native [08:24:58.350] checking for xmllint... /usr/bin/xmllint [08:24:58.350] checking for xsltproc... /usr/bin/xsltproc [08:24:58.351] checking for fop... /usr/bin/fop [08:24:58.351] checking for dbtoepub... no [08:24:58.351] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [08:24:58.351] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [08:24:58.357] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [08:24:58.357] 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 [08:24:58.357] configure: using CPPFLAGS= -I./src/include/port/win32 [08:24:58.357] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [08:24:58.405] configure: creating ./config.status [08:24:58.451] config.status: creating GNUmakefile [08:24:58.457] config.status: creating src/Makefile.global [08:24:58.466] config.status: creating src/include/pg_config.h [08:24:58.472] config.status: creating src/include/pg_config_ext.h [08:24:58.479] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [08:24:58.487] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [08:24:58.490] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [08:24:58.494] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [08:24:58.498] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [08:24:58.502] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [08:24:58.503] config.status: executing check_win32_symlinks commands [08:24:58.526] [08:24:58.526] real 0m11.553s [08:24:58.526] user 0m8.710s [08:24:58.526] sys 0m2.433s [08:24:58.526] make -s -j${BUILD_JOBS} clean [08:24:58.882] time make -s -j${BUILD_JOBS} world-bin [08:25:38.881] nodeBitmapHeapscan.c: In function ‘ExecEndBitmapHeapScan’: [08:25:38.881] nodeBitmapHeapscan.c:638:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [08:25:38.881] 638 | BitmapHeapScanInstrumentation *si = &node->sinstrument->sinstrument[ParallelWorkerNumber]; [08:25:38.881] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [08:25:38.881] cc1: all warnings being treated as errors [08:25:38.882] make[3]: *** [: nodeBitmapHeapscan.o] Error 1 [08:25:38.882] make[2]: *** [common.mk:37: executor-recursive] Error 2 [08:25:38.882] make[2]: *** Waiting for unfinished jobs.... [08:25:41.153] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [08:25:41.153] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:25:41.153] [08:25:41.153] real 0m42.271s [08:25:41.153] user 2m21.881s [08:25:41.153] sys 0m16.659s [08:25:41.154] [08:25:41.154] Exit status: 2