[21:32:12.140] time ./configure \ [21:32:12.140] --host=x86_64-w64-mingw32 \ [21:32:12.140] --enable-cassert \ [21:32:12.140] --without-icu \ [21:32:12.140] CC="ccache x86_64-w64-mingw32-gcc" \ [21:32:12.140] CXX="ccache x86_64-w64-mingw32-g++" [21:32:12.261] checking build system type... x86_64-pc-linux-gnu [21:32:12.439] checking host system type... x86_64-w64-mingw32 [21:32:12.444] checking which template to use... win32 [21:32:12.445] checking whether NLS is wanted... no [21:32:12.445] checking for default port number... 5432 [21:32:12.451] checking for block size... 8kB [21:32:12.452] checking for segment size... 1GB [21:32:12.455] checking for WAL block size... 8kB [21:32:12.456] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:32:12.491] checking whether the C compiler works... yes [21:32:12.625] checking for C compiler default output file name... a.exe [21:32:12.627] checking for suffix of executables... .exe [21:32:12.669] checking whether we are cross compiling... yes [21:32:12.746] checking for suffix of object files... o [21:32:12.754] checking whether we are using the GNU C compiler... yes [21:32:12.762] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:32:12.769] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:32:12.781] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:32:12.842] checking whether we are using the GNU C++ compiler... yes [21:32:12.849] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:32:12.921] checking for gawk... no [21:32:12.921] checking for mawk... mawk [21:32:12.923] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:32:12.931] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:32:12.938] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:32:12.985] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:32:13.148] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:32:13.155] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:32:13.162] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:32:13.169] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:32:13.177] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:32:13.184] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:32:13.191] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:32:13.198] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:32:13.205] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:32:13.213] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:32:13.220] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:32:13.228] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:32:13.235] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:32:13.274] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:32:13.281] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:32:13.289] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:32:13.296] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:32:13.303] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:32:13.310] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:32:13.334] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:32:13.341] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:32:13.348] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:32:13.386] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:32:13.425] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:32:13.433] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:32:13.440] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:32:13.476] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:32:13.483] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:32:13.491] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:32:13.499] checking whether the C compiler still works... yes [21:32:13.564] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:32:13.637] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:32:13.638] checking pkg-config is at least version 0.9.0... yes [21:32:13.654] checking whether to build with ICU support... no [21:32:13.654] checking whether to build with Tcl... no [21:32:13.654] checking whether to build Perl modules... no [21:32:13.654] checking whether to build Python modules... no [21:32:13.655] checking whether to build with GSSAPI support... no [21:32:13.656] checking whether to build with PAM support... no [21:32:13.656] checking whether to build with BSD Authentication support... no [21:32:13.656] checking whether to build with LDAP support... no [21:32:13.656] checking whether to build with Bonjour support... no [21:32:13.656] checking whether to build with SELinux support... no [21:32:13.656] checking whether to build with systemd support... no [21:32:13.657] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:32:13.657] checking whether to build with liburing support... no [21:32:13.657] checking whether to build with libcurl support... no [21:32:13.657] checking whether to build with libnuma support... no [21:32:13.657] checking whether to build with XML support... no [21:32:13.658] checking whether to build with LZ4 support... no [21:32:13.658] checking whether to build with ZSTD support... no [21:32:13.658] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:32:13.658] checking whether it is possible to strip libraries... yes [21:32:13.667] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:32:13.667] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:32:13.667] checking for a BSD-compatible install... /usr/bin/install -c [21:32:13.677] checking for tar... /usr/bin/tar [21:32:13.677] checking whether ln -s works... yes [21:32:13.677] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:32:13.679] checking for bison... /usr/bin/bison [21:32:13.682] configure: using bison (GNU Bison) 3.8.2 [21:32:13.685] checking for flex... /usr/bin/flex [21:32:13.687] configure: using flex 2.6.4 [21:32:13.687] checking for perl... /usr/bin/perl [21:32:13.690] configure: using perl 5.36.0 [21:32:13.692] checking for zic... /usr/sbin/zic [21:32:13.693] checking for a sed that does not truncate output... /usr/bin/sed [21:32:13.697] checking for grep that handles long lines and -e... /usr/bin/grep [21:32:13.700] checking for egrep... /usr/bin/grep -E [21:32:13.701] checking for ANSI C header files... yes [21:32:13.748] checking for sys/types.h... yes [21:32:13.764] checking for sys/stat.h... yes [21:32:13.779] checking for stdlib.h... yes [21:32:13.791] checking for string.h... yes [21:32:13.804] checking for memory.h... yes [21:32:13.819] checking for strings.h... yes [21:32:13.833] checking for inttypes.h... yes [21:32:13.848] checking for stdint.h... yes [21:32:13.863] checking for unistd.h... yes [21:32:13.878] checking for main in -lm... yes [21:32:13.925] checking for library containing setproctitle... no [21:32:14.016] checking for library containing dlsym... no [21:32:14.104] checking for library containing socket... -lws2_32 [21:32:14.232] checking for library containing getopt_long... none required [21:32:14.280] checking for library containing shm_open... no [21:32:14.368] checking for library containing shm_unlink... no [21:32:14.457] checking for library containing clock_gettime... no [21:32:14.547] checking for library containing shmget... no [21:32:14.640] checking for library containing backtrace_symbols... no [21:32:14.731] checking for library containing pthread_barrier_wait... -lpthread [21:32:14.820] checking for inflate in -lz... yes [21:32:14.868] checking atomic.h usability... no [21:32:14.927] checking atomic.h presence... no [21:32:14.946] checking for atomic.h... no [21:32:14.949] checking copyfile.h usability... no [21:32:15.006] checking copyfile.h presence... no [21:32:15.026] checking for copyfile.h... no [21:32:15.029] checking execinfo.h usability... no [21:32:15.084] checking execinfo.h presence... no [21:32:15.103] checking for execinfo.h... no [21:32:15.107] checking getopt.h usability... yes [21:32:15.115] checking getopt.h presence... yes [21:32:15.131] checking for getopt.h... yes [21:32:15.139] checking ifaddrs.h usability... no [21:32:15.197] checking ifaddrs.h presence... no [21:32:15.217] checking for ifaddrs.h... no [21:32:15.221] checking mbarrier.h usability... no [21:32:15.278] checking mbarrier.h presence... no [21:32:15.298] checking for mbarrier.h... no [21:32:15.301] checking sys/epoll.h usability... no [21:32:15.358] checking sys/epoll.h presence... no [21:32:15.378] checking for sys/epoll.h... no [21:32:15.382] checking sys/event.h usability... no [21:32:15.439] checking sys/event.h presence... no [21:32:15.459] checking for sys/event.h... no [21:32:15.463] checking sys/personality.h usability... no [21:32:15.519] checking sys/personality.h presence... no [21:32:15.539] checking for sys/personality.h... no [21:32:15.543] checking sys/prctl.h usability... no [21:32:15.598] checking sys/prctl.h presence... no [21:32:15.618] checking for sys/prctl.h... no [21:32:15.621] checking sys/procctl.h usability... no [21:32:15.675] checking sys/procctl.h presence... no [21:32:15.693] checking for sys/procctl.h... no [21:32:15.696] checking sys/signalfd.h usability... no [21:32:15.752] checking sys/signalfd.h presence... no [21:32:15.772] checking for sys/signalfd.h... no [21:32:15.775] checking sys/ucred.h usability... no [21:32:15.829] checking sys/ucred.h presence... no [21:32:15.847] checking for sys/ucred.h... no [21:32:15.851] checking termios.h usability... no [21:32:15.907] checking termios.h presence... no [21:32:15.927] checking for termios.h... no [21:32:15.930] checking ucred.h usability... no [21:32:15.987] checking ucred.h presence... no [21:32:16.007] checking for ucred.h... no [21:32:16.010] checking xlocale.h usability... no [21:32:16.064] checking xlocale.h presence... no [21:32:16.082] checking for xlocale.h... no [21:32:16.085] checking zlib.h usability... yes [21:32:16.095] checking zlib.h presence... yes [21:32:16.114] checking for zlib.h... yes [21:32:16.114] checking for lz4... /usr/bin/lz4 [21:32:16.114] checking for zstd... /usr/bin/zstd [21:32:16.115] checking for openssl... /usr/bin/openssl [21:32:16.119] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [21:32:16.119] checking crtdefs.h usability... yes [21:32:16.127] checking crtdefs.h presence... yes [21:32:16.143] checking for crtdefs.h... yes [21:32:16.144] checking whether byte ordering is bigendian... no [21:32:16.223] checking for inline... inline [21:32:16.230] checking for printf format archetype... gnu_printf [21:32:16.239] checking for _Static_assert... yes [21:32:16.283] checking for typeof... typeof [21:32:16.291] checking for __builtin_types_compatible_p... yes [21:32:16.301] checking for __builtin_constant_p... yes [21:32:16.312] checking for __builtin_mul_overflow... yes [21:32:16.359] checking for __builtin_unreachable... yes [21:32:16.402] checking for computed goto support... yes [21:32:16.410] checking for struct tm.tm_zone... no [21:32:16.492] checking for union semun... no [21:32:16.528] checking for socklen_t... yes [21:32:17.713] checking for struct sockaddr.sa_len... no [21:32:19.769] checking for C/C++ restrict keyword... __restrict [21:32:19.783] checking for struct option... yes [21:32:19.826] checking whether assembler supports x86_64 popcntq... yes [21:32:19.833] checking size of off_t... 4 [21:32:20.043] 0 [21:32:20.043] checking for int timezone... yes [21:32:20.098] checking for backtrace_symbols... no [21:32:20.149] checking for copyfile... no [21:32:20.200] checking for copy_file_range... no [21:32:20.252] checking for elf_aux_info... no [21:32:20.303] checking for getauxval... no [21:32:20.355] checking for getifaddrs... no [21:32:20.406] checking for getpeerucred... no [21:32:20.461] checking for inet_pton... yes [21:32:20.514] checking for kqueue... no [21:32:20.568] checking for localeconv_l... no [21:32:20.621] checking for mbstowcs_l... no [21:32:20.671] checking for posix_fallocate... no [21:32:20.722] checking for ppoll... no [21:32:20.771] checking for pthread_is_threaded_np... no [21:32:20.823] checking for setproctitle... no [21:32:20.877] checking for setproctitle_fast... no [21:32:20.930] checking for strsignal... no [21:32:20.981] checking for syncfs... no [21:32:21.033] checking for sync_file_range... no [21:32:21.084] checking for uselocale... no [21:32:21.136] checking for wcstombs_l... no [21:32:21.184] checking for __builtin_bswap16... yes [21:32:21.235] checking for __builtin_bswap32... yes [21:32:21.283] checking for __builtin_bswap64... yes [21:32:21.333] checking for __builtin_clz... yes [21:32:21.383] checking for __builtin_ctz... yes [21:32:21.433] checking for __builtin_popcount... yes [21:32:21.482] checking for __builtin_frame_address... yes [21:32:21.532] checking for _LARGEFILE_SOURCE value needed for large files... no [21:32:21.585] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:32:21.617] checking for posix_fadvise... no [21:32:21.667] checking whether posix_fadvise is declared... no [21:32:21.712] checking whether fdatasync is declared... no [21:32:21.762] checking whether strlcat is declared... no [21:32:21.827] checking whether strlcpy is declared... no [21:32:21.894] checking whether strnlen is declared... yes [21:32:21.907] checking whether strsep is declared... no [21:32:21.976] checking whether timingsafe_bcmp is declared... no [21:32:22.044] checking whether preadv is declared... no [21:32:22.082] checking whether pwritev is declared... no [21:32:22.120] checking whether strchrnul is declared... no [21:32:22.163] checking whether memset_s is declared... no [21:32:22.207] checking whether F_FULLFSYNC is declared... no [21:32:22.247] checking for explicit_bzero... no [21:32:22.296] checking for getopt... yes [21:32:22.342] checking for getpeereid... no [21:32:22.390] checking for inet_aton... no [21:32:22.440] checking for mkdtemp... no [21:32:22.489] checking for strlcat... no [21:32:22.539] checking for strlcpy... no [21:32:22.585] checking for strnlen... yes [21:32:22.635] checking for strsep... no [21:32:22.685] checking for timingsafe_bcmp... no [21:32:22.731] checking for pthread_barrier_wait... yes [21:32:22.774] configure: On mingw32 we will use our strtof wrapper. [21:32:22.774] checking for getopt_long... yes [21:32:22.819] checking for syslog... no [21:32:22.868] checking for opterr... yes [21:32:22.917] checking for optreset... no [21:32:22.969] checking test program... cross-compiling [21:32:22.969] checking size of void *... 8 [21:32:23.250] checking size of size_t... 8 [21:32:23.537] checking size of long... 4 [21:32:23.753] checking size of long long... 8 [21:32:24.031] checking alignment of short... 2 [21:32:24.175] checking alignment of int... 4 [21:32:24.387] checking alignment of long... 4 [21:32:24.603] checking alignment of int64_t... 8 [21:32:24.881] checking alignment of double... 8 [21:32:25.158] checking for __int128... yes [21:32:25.208] checking for __int128 alignment bug... assuming ok [21:32:25.208] checking alignment of PG_INT128_TYPE... 16 [21:32:25.549] checking for builtin __sync char locking functions... yes [21:32:25.595] checking for builtin __sync int32 locking functions... yes [21:32:25.641] checking for builtin __sync int32 atomic operations... yes [21:32:25.686] checking for builtin __sync int64 atomic operations... yes [21:32:25.732] checking for builtin __atomic int32 atomic operations... yes [21:32:25.776] checking for builtin __atomic int64 atomic operations... yes [21:32:25.819] checking for __get_cpuid... yes [21:32:25.866] checking for __get_cpuid_count... yes [21:32:25.911] checking for __cpuid... no [21:32:26.300] checking for __cpuidex... no [21:32:26.726] checking for _xgetbv... yes [21:32:27.126] checking for _mm512_popcnt_epi64... yes [21:32:27.543] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [21:32:27.645] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:32:27.667] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [21:32:27.687] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:32:27.707] 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 [21:32:27.762] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:32:27.762] checking for _mm512_clmulepi64_epi128... yes [21:32:28.171] checking for vectorized CRC-32C... AVX-512 with runtime check [21:32:28.172] checking which random number source to use... Windows native [21:32:28.173] checking for xmllint... /usr/bin/xmllint [21:32:28.174] checking for xsltproc... /usr/bin/xsltproc [21:32:28.174] checking for fop... /usr/bin/fop [21:32:28.174] checking for dbtoepub... no [21:32:28.174] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:32:28.175] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:32:28.175] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:32:28.186] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:32:28.186] 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 [21:32:28.186] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:32:28.186] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:32:28.279] configure: creating ./config.status [21:32:28.369] config.status: creating GNUmakefile [21:32:28.382] config.status: creating src/Makefile.global [21:32:28.398] config.status: creating src/include/pg_config.h [21:32:28.411] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:32:28.428] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:32:28.435] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:32:28.443] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:32:28.450] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:32:28.458] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:32:28.461] config.status: executing check_win32_symlinks commands [21:32:28.498] [21:32:28.498] real 0m16.358s [21:32:28.498] user 0m10.987s [21:32:28.498] sys 0m5.091s [21:32:28.498] make -s -j${BUILD_JOBS} clean [21:32:29.011] time make -s -j${BUILD_JOBS} world-bin [21:32:33.878] typecmds.c: In function ‘AlterDomainDefault’: [21:32:33.878] typecmds.c:2639:9: error: implicit declaration of function ‘LockDatabaseObject’ [-Werror=implicit-function-declaration] [21:32:33.878] 2639 | LockDatabaseObject(TypeRelationId, domainoid, 0, AccessExclusiveLock); [21:32:33.878] | ^~~~~~~~~~~~~~~~~~ [21:32:33.878] cc1: all warnings being treated as errors [21:32:33.879] make[3]: *** [: typecmds.o] Error 1 [21:32:33.879] make[2]: *** [common.mk:37: commands-recursive] Error 2 [21:32:33.879] make[2]: *** Waiting for unfinished jobs.... [21:32:34.327] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:32:34.327] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:32:34.328] [21:32:34.328] real 0m5.317s [21:32:34.328] user 0m9.545s [21:32:34.328] sys 0m6.572s [21:32:34.328] [21:32:34.328] Exit status: 2