[00:15:36.266] time ./configure \ [00:15:36.266] --host=x86_64-w64-mingw32 \ [00:15:36.266] --enable-cassert \ [00:15:36.266] --without-icu \ [00:15:36.266] CC="ccache x86_64-w64-mingw32-gcc" \ [00:15:36.266] CXX="ccache x86_64-w64-mingw32-g++" [00:15:36.398] checking build system type... x86_64-pc-linux-gnu [00:15:36.618] checking host system type... x86_64-w64-mingw32 [00:15:36.625] checking which template to use... win32 [00:15:36.625] checking whether NLS is wanted... no [00:15:36.625] checking for default port number... 5432 [00:15:36.633] checking for block size... 8kB [00:15:36.635] checking for segment size... 1GB [00:15:36.638] checking for WAL block size... 8kB [00:15:36.640] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:15:36.679] checking whether the C compiler works... yes [00:15:36.839] checking for C compiler default output file name... a.exe [00:15:36.841] checking for suffix of executables... .exe [00:15:36.887] checking whether we are cross compiling... yes [00:15:36.973] checking for suffix of object files... o [00:15:36.996] checking whether we are using the GNU C compiler... yes [00:15:37.016] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:15:37.024] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:15:37.120] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:15:37.282] checking whether we are using the GNU C++ compiler... yes [00:15:37.469] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:15:37.620] checking for gawk... no [00:15:37.621] checking for mawk... mawk [00:15:37.623] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:15:37.642] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:15:37.682] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:15:37.734] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:15:37.784] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:15:37.792] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:15:37.812] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:15:37.854] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:15:37.876] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:15:37.917] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:15:37.939] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:15:37.960] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:15:37.980] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:15:37.989] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:15:38.029] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:15:38.051] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:15:38.091] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:15:38.133] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:15:38.154] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:15:38.196] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:15:38.204] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:15:38.212] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:15:38.254] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:15:38.286] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:15:38.307] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:15:38.315] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:15:38.360] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:15:38.404] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:15:38.445] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:15:38.454] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:15:38.495] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:15:38.505] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:15:38.527] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:15:38.569] checking whether the C compiler still works... yes [00:15:38.661] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:15:38.754] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:15:38.754] checking pkg-config is at least version 0.9.0... yes [00:15:38.773] checking whether to build with ICU support... no [00:15:38.773] checking whether to build with Tcl... no [00:15:38.773] checking whether to build Perl modules... no [00:15:38.773] checking whether to build Python modules... no [00:15:38.773] checking whether to build with GSSAPI support... no [00:15:38.775] checking whether to build with PAM support... no [00:15:38.775] checking whether to build with BSD Authentication support... no [00:15:38.775] checking whether to build with LDAP support... no [00:15:38.775] checking whether to build with Bonjour support... no [00:15:38.775] checking whether to build with SELinux support... no [00:15:38.775] checking whether to build with systemd support... no [00:15:38.776] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:15:38.776] checking whether to build with XML support... no [00:15:38.776] checking whether to build with LZ4 support... no [00:15:38.776] checking whether to build with ZSTD support... no [00:15:38.777] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:15:38.777] checking whether it is possible to strip libraries... yes [00:15:38.785] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:15:38.786] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:15:38.786] checking for a BSD-compatible install... /usr/bin/install -c [00:15:38.798] checking for tar... /usr/bin/tar [00:15:38.798] checking whether ln -s works... yes [00:15:38.798] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:15:38.801] checking for bison... /usr/bin/bison [00:15:38.804] configure: using bison (GNU Bison) 3.8.2 [00:15:38.807] checking for flex... /usr/bin/flex [00:15:38.822] configure: using flex 2.6.4 [00:15:38.822] checking for perl... /usr/bin/perl [00:15:38.825] configure: using perl 5.36.0 [00:15:38.828] checking for zic... /usr/sbin/zic [00:15:38.828] checking for a sed that does not truncate output... /usr/bin/sed [00:15:38.834] checking for grep that handles long lines and -e... /usr/bin/grep [00:15:38.837] checking for egrep... /usr/bin/grep -E [00:15:38.839] checking for ANSI C header files... yes [00:15:38.949] checking for sys/types.h... yes [00:15:39.019] checking for sys/stat.h... yes [00:15:39.092] checking for stdlib.h... yes [00:15:39.165] checking for string.h... yes [00:15:39.183] checking for memory.h... yes [00:15:39.257] checking for strings.h... yes [00:15:39.329] checking for inttypes.h... yes [00:15:39.404] checking for stdint.h... yes [00:15:39.474] checking for unistd.h... yes [00:15:39.517] checking for main in -lm... yes [00:15:39.572] checking for library containing setproctitle... no [00:15:39.680] checking for library containing dlsym... no [00:15:39.783] checking for library containing socket... -lws2_32 [00:15:39.936] checking for library containing getopt_long... none required [00:15:39.993] checking for library containing shm_open... no [00:15:40.098] checking for library containing shm_unlink... no [00:15:40.206] checking for library containing clock_gettime... no [00:15:40.315] checking for library containing shmget... no [00:15:40.419] checking for library containing backtrace_symbols... no [00:15:40.525] checking for library containing pthread_barrier_wait... -lpthread [00:15:40.630] checking for inflate in -lz... yes [00:15:40.683] checking for stdbool.h that conforms to C99... yes [00:15:40.737] checking for _Bool... yes [00:15:40.883] checking atomic.h usability... no [00:15:40.947] checking atomic.h presence... no [00:15:40.970] checking for atomic.h... no [00:15:40.974] checking copyfile.h usability... no [00:15:41.040] checking copyfile.h presence... no [00:15:41.064] checking for copyfile.h... no [00:15:41.068] checking execinfo.h usability... no [00:15:41.134] checking execinfo.h presence... no [00:15:41.157] checking for execinfo.h... no [00:15:41.161] checking getopt.h usability... yes [00:15:41.226] checking getopt.h presence... yes [00:15:41.245] checking for getopt.h... yes [00:15:41.253] checking ifaddrs.h usability... no [00:15:41.318] checking ifaddrs.h presence... no [00:15:41.341] checking for ifaddrs.h... no [00:15:41.345] checking mbarrier.h usability... no [00:15:41.409] checking mbarrier.h presence... no [00:15:41.432] checking for mbarrier.h... no [00:15:41.436] checking sys/epoll.h usability... no [00:15:41.501] checking sys/epoll.h presence... no [00:15:41.526] checking for sys/epoll.h... no [00:15:41.531] checking sys/event.h usability... no [00:15:41.599] checking sys/event.h presence... no [00:15:41.623] checking for sys/event.h... no [00:15:41.627] checking sys/personality.h usability... no [00:15:41.694] checking sys/personality.h presence... no [00:15:41.718] checking for sys/personality.h... no [00:15:41.723] checking sys/prctl.h usability... no [00:15:41.789] checking sys/prctl.h presence... no [00:15:41.812] checking for sys/prctl.h... no [00:15:41.816] checking sys/procctl.h usability... no [00:15:41.883] checking sys/procctl.h presence... no [00:15:41.907] checking for sys/procctl.h... no [00:15:41.912] checking sys/signalfd.h usability... no [00:15:41.976] checking sys/signalfd.h presence... no [00:15:41.998] checking for sys/signalfd.h... no [00:15:42.003] checking sys/ucred.h usability... no [00:15:42.069] checking sys/ucred.h presence... no [00:15:42.092] checking for sys/ucred.h... no [00:15:42.097] checking termios.h usability... no [00:15:42.162] checking termios.h presence... no [00:15:42.186] checking for termios.h... no [00:15:42.191] checking ucred.h usability... no [00:15:42.259] checking ucred.h presence... no [00:15:42.281] checking for ucred.h... no [00:15:42.285] checking zlib.h usability... yes [00:15:42.297] checking zlib.h presence... yes [00:15:42.320] checking for zlib.h... yes [00:15:42.321] checking for lz4... /usr/bin/lz4 [00:15:42.321] checking for zstd... /usr/bin/zstd [00:15:42.321] checking for openssl... /usr/bin/openssl [00:15:42.327] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [00:15:42.327] checking crtdefs.h usability... yes [00:15:42.391] checking crtdefs.h presence... yes [00:15:42.411] checking for crtdefs.h... yes [00:15:42.412] checking whether byte ordering is bigendian... no [00:15:42.539] checking for inline... inline [00:15:42.573] checking for printf format archetype... gnu_printf [00:15:42.583] checking for _Static_assert... yes [00:15:42.632] checking for typeof... typeof [00:15:42.640] checking for __builtin_types_compatible_p... yes [00:15:42.663] checking for __builtin_constant_p... yes [00:15:42.688] checking for __builtin_unreachable... yes [00:15:42.738] checking for computed goto support... yes [00:15:42.758] checking for struct tm.tm_zone... no [00:15:42.853] checking for union semun... no [00:15:42.897] checking for socklen_t... yes [00:15:45.542] checking for struct sockaddr.sa_len... no [00:15:47.788] checking for locale_t... no [00:15:47.864] checking for C/C++ restrict keyword... __restrict [00:15:47.880] checking for struct option... yes [00:15:47.928] checking whether assembler supports x86_64 popcntq... yes [00:15:47.936] checking size of off_t... 4 [00:15:48.394] 0 [00:15:48.395] checking size of bool... 1 [00:15:48.475] checking for int timezone... yes [00:15:48.525] checking for wcstombs_l declaration... no [00:15:48.622] checking for backtrace_symbols... no [00:15:48.680] checking for copyfile... no [00:15:48.737] checking for copy_file_range... no [00:15:48.793] checking for getifaddrs... no [00:15:48.851] checking for getpeerucred... no [00:15:48.909] checking for inet_pton... yes [00:15:48.967] checking for kqueue... no [00:15:49.023] checking for mbstowcs_l... no [00:15:49.081] checking for memset_s... no [00:15:49.136] checking for posix_fallocate... no [00:15:49.189] checking for ppoll... no [00:15:49.245] checking for pthread_is_threaded_np... no [00:15:49.302] checking for setproctitle... no [00:15:49.359] checking for setproctitle_fast... no [00:15:49.416] checking for strchrnul... no [00:15:49.473] checking for strsignal... no [00:15:49.529] checking for syncfs... no [00:15:49.586] checking for sync_file_range... no [00:15:49.642] checking for uselocale... no [00:15:49.697] checking for wcstombs_l... no [00:15:49.750] checking for __builtin_bswap16... yes [00:15:49.803] checking for __builtin_bswap32... yes [00:15:49.858] checking for __builtin_bswap64... yes [00:15:49.911] checking for __builtin_clz... yes [00:15:49.966] checking for __builtin_ctz... yes [00:15:50.020] checking for __builtin_popcount... yes [00:15:50.072] checking for __builtin_frame_address... yes [00:15:50.127] checking for _LARGEFILE_SOURCE value needed for large files... no [00:15:50.185] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:15:50.223] checking for posix_fadvise... no [00:15:50.282] checking whether posix_fadvise is declared... no [00:15:50.335] checking whether fdatasync is declared... no [00:15:50.390] checking whether strlcat is declared... no [00:15:50.464] checking whether strlcpy is declared... no [00:15:50.536] checking whether strnlen is declared... yes [00:15:50.612] checking whether strsep is declared... no [00:15:50.682] checking whether preadv is declared... no [00:15:50.726] checking whether pwritev is declared... no [00:15:50.769] checking whether F_FULLFSYNC is declared... no [00:15:50.817] checking for explicit_bzero... no [00:15:50.870] checking for getopt... yes [00:15:50.919] checking for getpeereid... no [00:15:50.973] checking for inet_aton... no [00:15:51.027] checking for mkdtemp... no [00:15:51.082] checking for strlcat... no [00:15:51.136] checking for strlcpy... no [00:15:51.190] checking for strnlen... yes [00:15:51.243] checking for strsep... no [00:15:51.294] checking for pthread_barrier_wait... yes [00:15:51.343] configure: On mingw32 we will use our strtof wrapper. [00:15:51.343] checking for getopt_long... yes [00:15:51.391] checking for _configthreadlocale... yes [00:15:51.439] checking for syslog... no [00:15:51.492] checking for opterr... yes [00:15:51.543] checking for optreset... no [00:15:51.598] checking test program... cross-compiling [00:15:51.598] checking whether long int is 64 bits... no [00:15:51.633] checking whether long long int is 64 bits... yes [00:15:51.674] checking for __builtin_mul_overflow... yes [00:15:51.722] checking size of void *... 8 [00:15:52.264] checking size of size_t... 8 [00:15:52.743] checking size of long... 4 [00:15:53.079] checking alignment of short... 2 [00:15:53.314] checking alignment of int... 4 [00:15:53.679] checking alignment of long... 4 [00:15:54.069] checking alignment of long long int... 8 [00:15:54.602] checking alignment of double... 8 [00:15:55.135] checking for int8... no [00:15:55.188] checking for uint8... no [00:15:55.243] checking for int64... no [00:15:55.298] checking for uint64... no [00:15:55.349] checking for __int128... yes [00:15:55.407] checking for __int128 alignment bug... assuming ok [00:15:55.407] checking alignment of PG_INT128_TYPE... 16 [00:15:56.019] checking for builtin __sync char locking functions... yes [00:15:56.072] checking for builtin __sync int32 locking functions... yes [00:15:56.123] checking for builtin __sync int32 atomic operations... yes [00:15:56.174] checking for builtin __sync int64 atomic operations... yes [00:15:56.227] checking for builtin __atomic int32 atomic operations... yes [00:15:56.279] checking for builtin __atomic int64 atomic operations... yes [00:15:56.332] checking for __get_cpuid... yes [00:15:56.387] checking for __get_cpuid_count... yes [00:15:56.441] checking for __cpuid... no [00:15:56.867] checking for __cpuidex... no [00:15:57.307] checking for _xgetbv with CFLAGS=... no [00:15:57.712] checking for _xgetbv with CFLAGS=-mxsave... yes [00:15:58.131] checking for _mm512_popcnt_epi64 with CFLAGS=... no [00:15:58.521] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [00:15:58.873] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [00:15:58.924] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [00:15:59.023] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:15:59.051] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:15:59.073] 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 [00:15:59.133] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:15:59.133] checking which random number source to use... Windows native [00:15:59.136] checking for xmllint... /usr/bin/xmllint [00:15:59.136] checking for xsltproc... /usr/bin/xsltproc [00:15:59.136] checking for fop... /usr/bin/fop [00:15:59.136] checking for dbtoepub... no [00:15:59.137] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:15:59.137] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:15:59.137] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:15:59.150] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:15:59.150] 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 [00:15:59.150] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:15:59.150] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:15:59.251] configure: creating ./config.status [00:15:59.348] config.status: creating GNUmakefile [00:15:59.362] config.status: creating src/Makefile.global [00:15:59.380] config.status: creating src/include/pg_config.h [00:15:59.396] config.status: creating src/include/pg_config_ext.h [00:15:59.410] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:15:59.429] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:15:59.438] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:15:59.448] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:15:59.456] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:15:59.465] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:15:59.469] config.status: executing check_win32_symlinks commands [00:15:59.509] [00:15:59.509] real 0m23.243s [00:15:59.509] user 0m15.339s [00:15:59.509] sys 0m7.444s [00:15:59.509] make -s -j${BUILD_JOBS} clean [00:16:00.058] time make -s -j${BUILD_JOBS} world-bin [00:18:40.733] md.c: In function ‘DropRelationFiles’: [00:18:40.733] md.c:1457:22: error: implicit declaration of function ‘pgstat_drop_entry’; did you mean ‘pgstat_have_entry’? [-Werror=implicit-function-declaration] [00:18:40.733] 1457 | if (!pgstat_drop_entry(PGSTAT_KIND_RELFILENODE, delrels[i].dbOid, delrels[i].spcOid, delrels[i].relNumber)) [00:18:40.733] | ^~~~~~~~~~~~~~~~~ [00:18:40.733] | pgstat_have_entry [00:18:40.733] md.c:1471:17: error: implicit declaration of function ‘pgstat_request_entry_refs_gc’ [-Werror=implicit-function-declaration] [00:18:40.733] 1471 | pgstat_request_entry_refs_gc(); [00:18:40.733] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [00:18:40.733] cc1: all warnings being treated as errors [00:18:40.734] make[4]: *** [: md.o] Error 1 [00:18:40.734] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [00:18:40.734] make[2]: *** [common.mk:37: storage-recursive] Error 2 [00:18:40.734] make[2]: *** Waiting for unfinished jobs.... [00:19:18.950] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:19:18.950] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:19:18.950] [00:19:18.950] real 3m18.892s [00:19:18.950] user 10m54.364s [00:19:18.950] sys 2m3.134s [00:19:18.951] [00:19:18.951] Exit status: 2