[17:41:32.772] time ./configure \ [17:41:32.772] --host=x86_64-w64-mingw32 \ [17:41:32.772] --enable-cassert \ [17:41:32.772] --without-icu \ [17:41:32.772] CC="ccache x86_64-w64-mingw32-gcc" \ [17:41:32.772] CXX="ccache x86_64-w64-mingw32-g++" [17:41:32.904] checking build system type... x86_64-pc-linux-gnu [17:41:33.122] checking host system type... x86_64-w64-mingw32 [17:41:33.128] checking which template to use... win32 [17:41:33.129] checking whether NLS is wanted... no [17:41:33.129] checking for default port number... 5432 [17:41:33.136] checking for block size... 8kB [17:41:33.138] checking for segment size... 1GB [17:41:33.141] checking for WAL block size... 8kB [17:41:33.142] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:41:33.179] checking whether the C compiler works... yes [17:41:33.335] checking for C compiler default output file name... a.exe [17:41:33.336] checking for suffix of executables... .exe [17:41:33.381] checking whether we are cross compiling... yes [17:41:33.460] checking for suffix of object files... o [17:41:33.468] checking whether we are using the GNU C compiler... yes [17:41:33.476] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:41:33.484] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:41:33.570] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:41:33.633] checking whether we are using the GNU C++ compiler... yes [17:41:33.640] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:41:33.716] checking for gawk... no [17:41:33.716] checking for mawk... mawk [17:41:33.719] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:41:33.726] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:41:33.734] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:41:33.780] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:41:33.971] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:41:33.979] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:41:33.986] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:41:33.994] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:41:34.002] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:41:34.009] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:41:34.016] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:41:34.049] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:41:34.084] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:41:34.092] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:41:34.109] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:41:34.143] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:41:34.150] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:41:34.190] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:41:34.198] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:41:34.205] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:41:34.222] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:41:34.229] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:41:34.246] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:41:34.270] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:41:34.287] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:41:34.294] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:41:34.333] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:41:34.374] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:41:34.382] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:41:34.418] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:41:34.455] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:41:34.472] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:41:34.480] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:41:34.488] checking whether the C compiler still works... yes [17:41:34.540] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:41:34.621] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:41:34.622] checking pkg-config is at least version 0.9.0... yes [17:41:34.639] checking whether to build with ICU support... no [17:41:34.639] checking whether to build with Tcl... no [17:41:34.639] checking whether to build Perl modules... no [17:41:34.639] checking whether to build Python modules... no [17:41:34.639] checking whether to build with GSSAPI support... no [17:41:34.641] checking whether to build with PAM support... no [17:41:34.641] checking whether to build with BSD Authentication support... no [17:41:34.641] checking whether to build with LDAP support... no [17:41:34.641] checking whether to build with Bonjour support... no [17:41:34.641] checking whether to build with SELinux support... no [17:41:34.641] checking whether to build with systemd support... no [17:41:34.641] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:41:34.641] checking whether to build with XML support... no [17:41:34.642] checking whether to build with LZ4 support... no [17:41:34.642] checking whether to build with ZSTD support... no [17:41:34.642] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:41:34.642] checking whether it is possible to strip libraries... yes [17:41:34.650] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:41:34.650] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:41:34.651] checking for a BSD-compatible install... /usr/bin/install -c [17:41:34.661] checking for tar... /usr/bin/tar [17:41:34.661] checking whether ln -s works... yes [17:41:34.661] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:41:34.663] checking for bison... /usr/bin/bison [17:41:34.666] configure: using bison (GNU Bison) 3.8.2 [17:41:34.669] checking for flex... /usr/bin/flex [17:41:34.683] configure: using flex 2.6.4 [17:41:34.683] checking for perl... /usr/bin/perl [17:41:34.686] configure: using perl 5.36.0 [17:41:34.688] checking for zic... /usr/sbin/zic [17:41:34.689] checking for a sed that does not truncate output... /usr/bin/sed [17:41:34.695] checking for grep that handles long lines and -e... /usr/bin/grep [17:41:34.697] checking for egrep... /usr/bin/grep -E [17:41:34.699] checking for ANSI C header files... yes [17:41:34.770] checking for sys/types.h... yes [17:41:34.789] checking for sys/stat.h... yes [17:41:34.856] checking for stdlib.h... yes [17:41:34.895] checking for string.h... yes [17:41:34.911] checking for memory.h... yes [17:41:34.950] checking for strings.h... yes [17:41:34.967] checking for inttypes.h... yes [17:41:34.986] checking for stdint.h... yes [17:41:35.002] checking for unistd.h... yes [17:41:35.019] checking for main in -lm... yes [17:41:35.072] checking for library containing setproctitle... no [17:41:35.168] checking for library containing dlsym... no [17:41:35.265] checking for library containing socket... -lws2_32 [17:41:35.406] checking for library containing getopt_long... none required [17:41:35.464] checking for library containing shm_open... no [17:41:35.558] checking for library containing shm_unlink... no [17:41:35.654] checking for library containing clock_gettime... no [17:41:35.754] checking for library containing shmget... no [17:41:35.849] checking for library containing backtrace_symbols... no [17:41:35.945] checking for library containing pthread_barrier_wait... -lpthread [17:41:36.042] checking for inflate in -lz... yes [17:41:36.094] checking for stdbool.h that conforms to C99... yes [17:41:36.144] checking for _Bool... yes [17:41:36.220] checking atomic.h usability... no [17:41:36.281] checking atomic.h presence... no [17:41:36.302] checking for atomic.h... no [17:41:36.306] checking copyfile.h usability... no [17:41:36.363] checking copyfile.h presence... no [17:41:36.383] checking for copyfile.h... no [17:41:36.387] checking execinfo.h usability... no [17:41:36.445] checking execinfo.h presence... no [17:41:36.465] checking for execinfo.h... no [17:41:36.469] checking getopt.h usability... yes [17:41:36.477] checking getopt.h presence... yes [17:41:36.493] checking for getopt.h... yes [17:41:36.502] checking ifaddrs.h usability... no [17:41:36.565] checking ifaddrs.h presence... no [17:41:36.586] checking for ifaddrs.h... no [17:41:36.590] checking mbarrier.h usability... no [17:41:36.654] checking mbarrier.h presence... no [17:41:36.676] checking for mbarrier.h... no [17:41:36.680] checking sys/epoll.h usability... no [17:41:36.741] checking sys/epoll.h presence... no [17:41:36.764] checking for sys/epoll.h... no [17:41:36.767] checking sys/event.h usability... no [17:41:36.830] checking sys/event.h presence... no [17:41:36.852] checking for sys/event.h... no [17:41:36.856] checking sys/personality.h usability... no [17:41:36.917] checking sys/personality.h presence... no [17:41:36.939] checking for sys/personality.h... no [17:41:36.942] checking sys/prctl.h usability... no [17:41:37.003] checking sys/prctl.h presence... no [17:41:37.025] checking for sys/prctl.h... no [17:41:37.029] checking sys/procctl.h usability... no [17:41:37.091] checking sys/procctl.h presence... no [17:41:37.112] checking for sys/procctl.h... no [17:41:37.116] checking sys/signalfd.h usability... no [17:41:37.173] checking sys/signalfd.h presence... no [17:41:37.194] checking for sys/signalfd.h... no [17:41:37.197] checking sys/ucred.h usability... no [17:41:37.256] checking sys/ucred.h presence... no [17:41:37.278] checking for sys/ucred.h... no [17:41:37.281] checking termios.h usability... no [17:41:37.340] checking termios.h presence... no [17:41:37.360] checking for termios.h... no [17:41:37.364] checking ucred.h usability... no [17:41:37.424] checking ucred.h presence... no [17:41:37.445] checking for ucred.h... no [17:41:37.449] checking zlib.h usability... yes [17:41:37.459] checking zlib.h presence... yes [17:41:37.480] checking for zlib.h... yes [17:41:37.480] checking for lz4... /usr/bin/lz4 [17:41:37.481] checking for zstd... /usr/bin/zstd [17:41:37.481] checking for openssl... /usr/bin/openssl [17:41:37.486] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [17:41:37.487] checking crtdefs.h usability... yes [17:41:37.518] checking crtdefs.h presence... yes [17:41:37.535] checking for crtdefs.h... yes [17:41:37.537] checking whether byte ordering is bigendian... no [17:41:37.619] checking for inline... inline [17:41:37.628] checking for printf format archetype... gnu_printf [17:41:37.637] checking for _Static_assert... yes [17:41:37.683] checking for typeof... typeof [17:41:37.723] checking for __builtin_types_compatible_p... yes [17:41:37.736] checking for __builtin_constant_p... yes [17:41:37.749] checking for __builtin_unreachable... yes [17:41:37.793] checking for computed goto support... yes [17:41:37.831] checking for struct tm.tm_zone... no [17:41:37.915] checking for union semun... no [17:41:37.951] checking for socklen_t... yes [17:41:40.153] checking for struct sockaddr.sa_len... no [17:41:42.251] checking for locale_t... no [17:41:42.326] checking for C/C++ restrict keyword... __restrict [17:41:42.350] checking for struct option... yes [17:41:42.399] checking whether assembler supports x86_64 popcntq... yes [17:41:42.417] checking size of off_t... 4 [17:41:42.678] 0 [17:41:42.679] checking size of bool... 1 [17:41:42.736] checking for int timezone... yes [17:41:42.784] checking for wcstombs_l declaration... no [17:41:42.879] checking for backtrace_symbols... no [17:41:42.934] checking for copyfile... no [17:41:42.985] checking for copy_file_range... no [17:41:43.037] checking for getifaddrs... no [17:41:43.087] checking for getpeerucred... no [17:41:43.140] checking for inet_pton... yes [17:41:43.192] checking for kqueue... no [17:41:43.245] checking for mbstowcs_l... no [17:41:43.298] checking for memset_s... no [17:41:43.351] checking for posix_fallocate... no [17:41:43.404] checking for ppoll... no [17:41:43.457] checking for pthread_is_threaded_np... no [17:41:43.511] checking for setproctitle... no [17:41:43.564] checking for setproctitle_fast... no [17:41:43.620] checking for strchrnul... no [17:41:43.676] checking for strsignal... no [17:41:43.732] checking for syncfs... no [17:41:43.789] checking for sync_file_range... no [17:41:43.842] checking for uselocale... no [17:41:43.897] checking for wcstombs_l... no [17:41:43.945] checking for __builtin_bswap16... yes [17:41:43.996] checking for __builtin_bswap32... yes [17:41:44.046] checking for __builtin_bswap64... yes [17:41:44.099] checking for __builtin_clz... yes [17:41:44.148] checking for __builtin_ctz... yes [17:41:44.197] checking for __builtin_popcount... yes [17:41:44.245] checking for __builtin_frame_address... yes [17:41:44.292] checking for _LARGEFILE_SOURCE value needed for large files... no [17:41:44.344] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:41:44.376] checking for posix_fadvise... no [17:41:44.432] checking whether posix_fadvise is declared... no [17:41:44.481] checking whether fdatasync is declared... no [17:41:44.530] checking whether strlcat is declared... no [17:41:44.596] checking whether strlcpy is declared... no [17:41:44.668] checking whether strnlen is declared... yes [17:41:44.741] checking whether strsep is declared... no [17:41:44.813] checking whether preadv is declared... no [17:41:44.854] checking whether pwritev is declared... no [17:41:44.897] checking whether F_FULLFSYNC is declared... no [17:41:44.944] checking for explicit_bzero... no [17:41:44.996] checking for getopt... yes [17:41:45.042] checking for getpeereid... no [17:41:45.091] checking for inet_aton... no [17:41:45.140] checking for mkdtemp... no [17:41:45.191] checking for strlcat... no [17:41:45.241] checking for strlcpy... no [17:41:45.289] checking for strnlen... yes [17:41:45.338] checking for strsep... no [17:41:45.387] checking for pthread_barrier_wait... yes [17:41:45.435] configure: On mingw32 we will use our strtof wrapper. [17:41:45.435] checking for getopt_long... yes [17:41:45.480] checking for _configthreadlocale... yes [17:41:45.526] checking for syslog... no [17:41:45.574] checking for opterr... yes [17:41:45.623] checking for optreset... no [17:41:45.678] checking test program... cross-compiling [17:41:45.678] checking whether long int is 64 bits... no [17:41:45.711] checking whether long long int is 64 bits... yes [17:41:45.722] checking for __builtin_mul_overflow... yes [17:41:45.766] checking size of void *... 8 [17:41:46.069] checking size of size_t... 8 [17:41:46.450] checking size of long... 4 [17:41:46.670] checking alignment of short... 2 [17:41:46.897] checking alignment of int... 4 [17:41:47.152] checking alignment of long... 4 [17:41:47.428] checking alignment of long long int... 8 [17:41:47.737] checking alignment of double... 8 [17:41:48.085] checking for int8... no [17:41:48.130] checking for uint8... no [17:41:48.177] checking for int64... no [17:41:48.223] checking for uint64... no [17:41:48.269] checking for __int128... yes [17:41:48.319] checking for __int128 alignment bug... assuming ok [17:41:48.320] checking alignment of PG_INT128_TYPE... 16 [17:41:48.732] checking for builtin __sync char locking functions... yes [17:41:48.776] checking for builtin __sync int32 locking functions... yes [17:41:48.823] checking for builtin __sync int32 atomic operations... yes [17:41:48.868] checking for builtin __sync int64 atomic operations... yes [17:41:48.912] checking for builtin __atomic int32 atomic operations... yes [17:41:48.955] checking for builtin __atomic int64 atomic operations... yes [17:41:48.999] checking for __get_cpuid... yes [17:41:49.047] checking for __get_cpuid_count... yes [17:41:49.094] checking for __cpuid... no [17:41:49.498] checking for __cpuidex... no [17:41:49.937] checking for _xgetbv with CFLAGS=... no [17:41:50.319] checking for _xgetbv with CFLAGS=-mxsave... yes [17:41:50.726] checking for _mm512_popcnt_epi64 with CFLAGS=... no [17:41:51.106] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [17:41:51.454] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:41:51.502] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:41:51.595] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:41:51.619] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:41:51.638] 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 [17:41:51.695] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:41:51.695] checking which random number source to use... Windows native [17:41:51.698] checking for xmllint... /usr/bin/xmllint [17:41:51.698] checking for xsltproc... /usr/bin/xsltproc [17:41:51.698] checking for fop... /usr/bin/fop [17:41:51.698] checking for dbtoepub... no [17:41:51.699] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:41:51.699] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:41:51.699] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:41:51.710] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:41:51.710] 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 [17:41:51.710] configure: using CPPFLAGS= -I./src/include/port/win32 [17:41:51.710] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:41:51.807] configure: creating ./config.status [17:41:51.902] config.status: creating GNUmakefile [17:41:51.916] config.status: creating src/Makefile.global [17:41:51.933] config.status: creating src/include/pg_config.h [17:41:51.948] config.status: creating src/include/pg_config_ext.h [17:41:51.961] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:41:51.978] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:41:51.987] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:41:51.995] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:41:52.004] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:41:52.012] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:41:52.017] config.status: executing check_win32_symlinks commands [17:41:52.055] [17:41:52.055] real 0m19.283s [17:41:52.055] user 0m12.845s [17:41:52.055] sys 0m6.016s [17:41:52.055] make -s -j${BUILD_JOBS} clean [17:41:52.586] time make -s -j${BUILD_JOBS} world-bin [17:43:36.916] md.c: In function ‘DropRelationFiles’: [17:43:36.916] md.c:1457:22: error: implicit declaration of function ‘pgstat_drop_entry’; did you mean ‘pgstat_have_entry’? [-Werror=implicit-function-declaration] [17:43:36.916] 1457 | if (!pgstat_drop_entry(PGSTAT_KIND_RELFILENODE, delrels[i].dbOid, delrels[i].spcOid, delrels[i].relNumber)) [17:43:36.916] | ^~~~~~~~~~~~~~~~~ [17:43:36.916] | pgstat_have_entry [17:43:36.916] md.c:1471:17: error: implicit declaration of function ‘pgstat_request_entry_refs_gc’ [-Werror=implicit-function-declaration] [17:43:36.916] 1471 | pgstat_request_entry_refs_gc(); [17:43:36.916] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [17:43:36.916] cc1: all warnings being treated as errors [17:43:36.917] make[4]: *** [: md.o] Error 1 [17:43:36.917] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [17:43:36.917] make[3]: *** Waiting for unfinished jobs.... [17:43:37.030] make[2]: *** [common.mk:37: storage-recursive] Error 2 [17:43:37.030] make[2]: *** Waiting for unfinished jobs.... [17:44:14.609] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:44:14.609] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:44:14.610] [17:44:14.610] real 2m22.023s [17:44:14.610] user 7m49.012s [17:44:14.610] sys 1m25.445s [17:44:14.610] [17:44:14.610] Exit status: 2