[22:14:26.141] time ./configure \ [22:14:26.141] --host=x86_64-w64-mingw32 \ [22:14:26.141] --enable-cassert \ [22:14:26.141] --without-icu \ [22:14:26.141] CC="ccache x86_64-w64-mingw32-gcc" \ [22:14:26.141] CXX="ccache x86_64-w64-mingw32-g++" [22:14:26.226] checking build system type... x86_64-pc-linux-gnu [22:14:26.433] checking host system type... x86_64-w64-mingw32 [22:14:26.437] checking which template to use... win32 [22:14:26.437] checking whether NLS is wanted... no [22:14:26.437] checking for default port number... 5432 [22:14:26.443] checking for block size... 8kB [22:14:26.444] checking for segment size... 1GB [22:14:26.445] checking for WAL block size... 8kB [22:14:26.446] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:14:26.470] checking whether the C compiler works... yes [22:14:26.625] checking for C compiler default output file name... a.exe [22:14:26.626] checking for suffix of executables... .exe [22:14:26.657] checking whether we are cross compiling... yes [22:14:26.723] checking for suffix of object files... o [22:14:26.729] checking whether we are using the GNU C compiler... yes [22:14:26.734] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:14:26.739] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:14:26.748] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:14:26.824] checking whether we are using the GNU C++ compiler... yes [22:14:26.830] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:14:27.057] checking for gawk... no [22:14:27.057] checking for mawk... mawk [22:14:27.059] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:14:27.087] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:14:27.113] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:14:27.148] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:14:27.179] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:14:27.184] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:14:27.199] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:14:27.226] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:14:27.231] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:14:27.244] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:14:27.249] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:14:27.275] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:14:27.280] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:14:27.285] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:14:27.290] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:14:27.302] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:14:27.364] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:14:27.369] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:14:27.396] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:14:27.408] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:14:27.413] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:14:27.419] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:14:27.435] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:14:27.441] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:14:27.446] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:14:27.471] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:14:27.496] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:14:27.522] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:14:27.549] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:14:27.574] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:14:27.579] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:14:27.584] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:14:27.590] checking whether the C compiler still works... yes [22:14:27.642] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:14:27.695] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:14:27.695] checking pkg-config is at least version 0.9.0... yes [22:14:27.712] checking whether to build with ICU support... no [22:14:27.712] checking whether to build with Tcl... no [22:14:27.712] checking whether to build Perl modules... no [22:14:27.712] checking whether to build Python modules... no [22:14:27.713] checking whether to build with GSSAPI support... no [22:14:27.713] checking whether to build with PAM support... no [22:14:27.714] checking whether to build with BSD Authentication support... no [22:14:27.714] checking whether to build with LDAP support... no [22:14:27.714] checking whether to build with Bonjour support... no [22:14:27.714] checking whether to build with SELinux support... no [22:14:27.714] checking whether to build with systemd support... no [22:14:27.714] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:14:27.714] checking whether to build with XML support... no [22:14:27.715] checking whether to build with LZ4 support... no [22:14:27.715] checking whether to build with ZSTD support... no [22:14:27.715] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:14:27.716] checking whether it is possible to strip libraries... yes [22:14:27.723] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:14:27.724] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:14:27.724] checking for a BSD-compatible install... /usr/bin/install -c [22:14:27.730] checking for tar... /usr/bin/tar [22:14:27.731] checking whether ln -s works... yes [22:14:27.731] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:14:27.732] checking for bison... /usr/bin/bison [22:14:27.734] configure: using bison (GNU Bison) 3.7.5 [22:14:27.737] checking for flex... /usr/bin/flex [22:14:27.746] configure: using flex 2.6.4 [22:14:27.746] checking for perl... /usr/bin/perl [22:14:27.749] configure: using perl 5.32.1 [22:14:27.751] checking for zic... /usr/sbin/zic [22:14:27.751] checking for a sed that does not truncate output... /usr/bin/sed [22:14:27.754] checking for grep that handles long lines and -e... /usr/bin/grep [22:14:27.756] checking for egrep... /usr/bin/grep -E [22:14:27.757] checking for ANSI C header files... yes [22:14:27.798] checking for sys/types.h... yes [22:14:27.811] checking for sys/stat.h... yes [22:14:27.823] checking for stdlib.h... yes [22:14:27.853] checking for string.h... yes [22:14:27.864] checking for memory.h... yes [22:14:27.915] checking for strings.h... yes [22:14:27.927] checking for inttypes.h... yes [22:14:27.957] checking for stdint.h... yes [22:14:27.969] checking for unistd.h... yes [22:14:27.998] checking for main in -lm... yes [22:14:28.031] checking for library containing setproctitle... no [22:14:28.097] checking for library containing dlsym... no [22:14:28.162] checking for library containing socket... -lws2_32 [22:14:28.269] checking for library containing getopt_long... none required [22:14:28.310] checking for library containing shm_open... no [22:14:28.376] checking for library containing shm_unlink... no [22:14:28.441] checking for library containing clock_gettime... no [22:14:28.507] checking for library containing shmget... no [22:14:28.568] checking for library containing backtrace_symbols... no [22:14:28.631] checking for library containing pthread_barrier_wait... -lpthread [22:14:28.700] checking for inflate in -lz... yes [22:14:28.735] checking for stdbool.h that conforms to C99... yes [22:14:28.744] checking for _Bool... yes [22:14:28.796] checking atomic.h usability... no [22:14:28.840] checking atomic.h presence... no [22:14:28.854] checking for atomic.h... no [22:14:28.857] checking copyfile.h usability... no [22:14:28.900] checking copyfile.h presence... no [22:14:28.913] checking for copyfile.h... no [22:14:28.916] checking execinfo.h usability... no [22:14:28.959] checking execinfo.h presence... no [22:14:28.973] checking for execinfo.h... no [22:14:28.976] checking getopt.h usability... yes [22:14:28.981] checking getopt.h presence... yes [22:14:28.993] checking for getopt.h... yes [22:14:28.999] checking ifaddrs.h usability... no [22:14:29.044] checking ifaddrs.h presence... no [22:14:29.060] checking for ifaddrs.h... no [22:14:29.063] checking langinfo.h usability... no [22:14:29.112] checking langinfo.h presence... no [22:14:29.129] checking for langinfo.h... no [22:14:29.133] checking mbarrier.h usability... no [22:14:29.181] checking mbarrier.h presence... no [22:14:29.196] checking for mbarrier.h... no [22:14:29.198] checking sys/epoll.h usability... no [22:14:29.241] checking sys/epoll.h presence... no [22:14:29.255] checking for sys/epoll.h... no [22:14:29.257] checking sys/event.h usability... no [22:14:29.299] checking sys/event.h presence... no [22:14:29.312] checking for sys/event.h... no [22:14:29.315] checking sys/personality.h usability... no [22:14:29.358] checking sys/personality.h presence... no [22:14:29.372] checking for sys/personality.h... no [22:14:29.375] checking sys/prctl.h usability... no [22:14:29.418] checking sys/prctl.h presence... no [22:14:29.432] checking for sys/prctl.h... no [22:14:29.435] checking sys/procctl.h usability... no [22:14:29.477] checking sys/procctl.h presence... no [22:14:29.490] checking for sys/procctl.h... no [22:14:29.493] checking sys/signalfd.h usability... no [22:14:29.536] checking sys/signalfd.h presence... no [22:14:29.550] checking for sys/signalfd.h... no [22:14:29.553] checking sys/ucred.h usability... no [22:14:29.598] checking sys/ucred.h presence... no [22:14:29.613] checking for sys/ucred.h... no [22:14:29.615] checking termios.h usability... no [22:14:29.659] checking termios.h presence... no [22:14:29.672] checking for termios.h... no [22:14:29.675] checking ucred.h usability... no [22:14:29.718] checking ucred.h presence... no [22:14:29.733] checking for ucred.h... no [22:14:29.735] checking zlib.h usability... yes [22:14:29.742] checking zlib.h presence... yes [22:14:29.758] checking for zlib.h... yes [22:14:29.758] checking for lz4... /usr/bin/lz4 [22:14:29.758] checking for zstd... /usr/bin/zstd [22:14:29.758] checking for openssl... /usr/bin/openssl [22:14:29.762] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [22:14:29.762] checking crtdefs.h usability... yes [22:14:29.768] checking crtdefs.h presence... yes [22:14:29.779] checking for crtdefs.h... yes [22:14:29.780] checking whether byte ordering is bigendian... no [22:14:29.838] checking for inline... inline [22:14:29.862] checking for printf format archetype... gnu_printf [22:14:29.876] checking for _Static_assert... yes [22:14:29.910] checking for typeof... typeof [22:14:29.916] checking for __builtin_types_compatible_p... yes [22:14:29.923] checking for __builtin_constant_p... yes [22:14:29.948] checking for __builtin_unreachable... yes [22:14:29.980] checking for computed goto support... yes [22:14:30.008] checking for struct tm.tm_zone... no [22:14:30.065] checking for union semun... no [22:14:30.091] checking for socklen_t... yes [22:14:31.360] checking for struct sockaddr.sa_len... no [22:14:32.931] checking for locale_t... no [22:14:32.988] checking for C/C++ restrict keyword... __restrict [22:14:33.022] checking for struct option... yes [22:14:33.064] checking whether assembler supports x86_64 popcntq... yes [22:14:33.094] checking size of off_t... 4 [22:14:33.276] 0 [22:14:33.276] checking size of bool... 1 [22:14:33.312] checking for int timezone... yes [22:14:33.353] checking for wcstombs_l declaration... no [22:14:33.418] checking for backtrace_symbols... no [22:14:33.455] checking for copyfile... no [22:14:33.492] checking for copy_file_range... no [22:14:33.528] checking for getifaddrs... no [22:14:33.565] checking for getpeerucred... no [22:14:33.601] checking for inet_pton... yes [22:14:33.637] checking for kqueue... no [22:14:33.675] checking for mbstowcs_l... no [22:14:33.713] checking for memset_s... no [22:14:33.752] checking for posix_fallocate... no [22:14:33.792] checking for ppoll... no [22:14:33.832] checking for pthread_is_threaded_np... no [22:14:33.872] checking for setproctitle... no [22:14:33.911] checking for setproctitle_fast... no [22:14:33.950] checking for strchrnul... no [22:14:33.990] checking for strsignal... no [22:14:34.031] checking for syncfs... no [22:14:34.072] checking for sync_file_range... no [22:14:34.112] checking for uselocale... no [22:14:34.148] checking for wcstombs_l... no [22:14:34.184] checking for __builtin_bswap16... yes [22:14:34.226] checking for __builtin_bswap32... yes [22:14:34.261] checking for __builtin_bswap64... yes [22:14:34.297] checking for __builtin_clz... yes [22:14:34.334] checking for __builtin_ctz... yes [22:14:34.372] checking for __builtin_popcount... yes [22:14:34.409] checking for __builtin_frame_address... yes [22:14:34.448] checking for _LARGEFILE_SOURCE value needed for large files... no [22:14:34.495] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:14:34.521] checking for posix_fadvise... no [22:14:34.565] checking whether posix_fadvise is declared... no [22:14:34.601] checking whether fdatasync is declared... no [22:14:34.637] checking whether strlcat is declared... no [22:14:34.686] checking whether strlcpy is declared... no [22:14:34.740] checking whether strnlen is declared... yes [22:14:34.750] checking whether preadv is declared... no [22:14:34.778] checking whether pwritev is declared... no [22:14:34.807] checking whether F_FULLFSYNC is declared... no [22:14:34.839] checking for explicit_bzero... no [22:14:34.878] checking for getopt... yes [22:14:34.915] checking for getpeereid... no [22:14:34.953] checking for inet_aton... no [22:14:34.990] checking for mkdtemp... no [22:14:35.029] checking for strlcat... no [22:14:35.065] checking for strlcpy... no [22:14:35.104] checking for strnlen... yes [22:14:35.143] checking for pthread_barrier_wait... yes [22:14:35.178] configure: On mingw32 we will use our strtof wrapper. [22:14:35.178] checking for getopt_long... yes [22:14:35.212] checking for _configthreadlocale... yes [22:14:35.248] checking for syslog... no [22:14:35.284] checking for opterr... yes [22:14:35.325] checking for optreset... no [22:14:35.366] checking test program... cross-compiling [22:14:35.366] checking whether long int is 64 bits... no [22:14:35.388] checking whether long long int is 64 bits... yes [22:14:35.401] checking for __builtin_mul_overflow... yes [22:14:35.435] checking size of void *... 8 [22:14:35.671] checking size of size_t... 8 [22:14:36.020] checking size of long... 4 [22:14:36.213] checking alignment of short... 2 [22:14:36.413] checking alignment of int... 4 [22:14:36.672] checking alignment of long... 4 [22:14:36.867] checking alignment of long long int... 8 [22:14:37.134] checking alignment of double... 8 [22:14:37.403] checking for int8... no [22:14:37.439] checking for uint8... no [22:14:37.474] checking for int64... no [22:14:37.508] checking for uint64... no [22:14:37.540] checking for __int128... yes [22:14:37.576] checking for __int128 alignment bug... assuming ok [22:14:37.577] checking alignment of PG_INT128_TYPE... 16 [22:14:37.944] checking for builtin __sync char locking functions... yes [22:14:37.979] checking for builtin __sync int32 locking functions... yes [22:14:38.012] checking for builtin __sync int32 atomic operations... yes [22:14:38.044] checking for builtin __sync int64 atomic operations... yes [22:14:38.076] checking for builtin __atomic int32 atomic operations... yes [22:14:38.108] checking for builtin __atomic int64 atomic operations... yes [22:14:38.143] checking for __get_cpuid... yes [22:14:38.180] checking for __get_cpuid_count... yes [22:14:38.219] checking for __cpuid... no [22:14:38.468] checking for __cpuidex... no [22:14:38.704] checking for _xgetbv with CFLAGS=... no [22:14:38.903] checking for _xgetbv with CFLAGS=-mxsave... yes [22:14:39.131] checking for _mm512_popcnt_epi64 with CFLAGS=... no [22:14:39.340] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [22:14:39.533] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [22:14:39.566] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [22:14:39.635] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:14:39.652] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:14:39.666] 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 [22:14:39.709] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:14:39.709] checking which random number source to use... Windows native [22:14:39.710] checking for xmllint... /usr/bin/xmllint [22:14:39.711] checking for xsltproc... /usr/bin/xsltproc [22:14:39.711] checking for fop... /usr/bin/fop [22:14:39.711] checking for dbtoepub... no [22:14:39.711] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:14:39.711] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:14:39.719] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [22:14:39.719] 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 [22:14:39.719] configure: using CPPFLAGS= -I./src/include/port/win32 [22:14:39.719] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:14:39.791] configure: creating ./config.status [22:14:39.852] config.status: creating GNUmakefile [22:14:39.861] config.status: creating src/Makefile.global [22:14:39.872] config.status: creating src/include/pg_config.h [22:14:39.881] config.status: creating src/include/pg_config_ext.h [22:14:39.890] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:14:39.902] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:14:39.907] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:14:39.913] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:14:39.918] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:14:39.924] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:14:39.926] config.status: executing check_win32_symlinks commands [22:14:39.955] [22:14:39.955] real 0m13.814s [22:14:39.955] user 0m10.139s [22:14:39.955] sys 0m3.235s [22:14:39.955] make -s -j${BUILD_JOBS} clean [22:14:40.347] time make -s -j${BUILD_JOBS} world-bin [22:15:22.440] nodeBitmapHeapscan.c: In function ‘ExecEndBitmapHeapScan’: [22:15:22.440] nodeBitmapHeapscan.c:638:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [22:15:22.440] 638 | BitmapHeapScanInstrumentation *si = &node->sinstrument->sinstrument[ParallelWorkerNumber]; [22:15:22.440] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [22:15:22.440] cc1: all warnings being treated as errors [22:15:22.441] make[3]: *** [: nodeBitmapHeapscan.o] Error 1 [22:15:22.441] make[2]: *** [common.mk:37: executor-recursive] Error 2 [22:15:22.441] make[2]: *** Waiting for unfinished jobs.... [22:15:25.478] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:15:25.478] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:15:25.479] [22:15:25.479] real 0m45.132s [22:15:25.479] user 2m31.331s [22:15:25.479] sys 0m18.543s [22:15:25.479] [22:15:25.479] Exit status: 2