[01:37:24.617] time ./configure \ [01:37:24.617] --host=x86_64-w64-mingw32 \ [01:37:24.617] --enable-cassert \ [01:37:24.617] --without-icu \ [01:37:24.617] CC="ccache x86_64-w64-mingw32-gcc" \ [01:37:24.617] CXX="ccache x86_64-w64-mingw32-g++" [01:37:24.724] checking build system type... x86_64-pc-linux-gnu [01:37:24.979] checking host system type... x86_64-w64-mingw32 [01:37:24.983] checking which template to use... win32 [01:37:24.984] checking whether NLS is wanted... no [01:37:24.984] checking for default port number... 5432 [01:37:24.990] checking for block size... 8kB [01:37:24.991] checking for segment size... 1GB [01:37:24.994] checking for WAL block size... 8kB [01:37:24.995] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [01:37:25.027] checking whether the C compiler works... yes [01:37:25.159] checking for C compiler default output file name... a.exe [01:37:25.160] checking for suffix of executables... .exe [01:37:25.200] checking whether we are cross compiling... yes [01:37:25.275] checking for suffix of object files... o [01:37:25.282] checking whether we are using the GNU C compiler... yes [01:37:25.288] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [01:37:25.295] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [01:37:25.305] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [01:37:25.363] checking whether we are using the GNU C++ compiler... yes [01:37:25.370] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [01:37:25.438] checking for gawk... no [01:37:25.438] checking for mawk... mawk [01:37:25.441] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [01:37:25.447] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [01:37:25.454] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [01:37:25.500] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [01:37:25.670] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [01:37:25.677] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [01:37:25.684] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [01:37:25.691] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [01:37:25.698] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [01:37:25.704] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [01:37:25.711] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [01:37:25.717] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [01:37:25.724] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [01:37:25.730] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [01:37:25.736] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [01:37:25.743] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [01:37:25.749] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [01:37:25.786] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [01:37:25.794] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [01:37:25.801] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [01:37:25.808] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [01:37:25.815] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [01:37:25.822] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [01:37:25.845] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [01:37:25.852] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [01:37:25.858] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [01:37:25.895] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [01:37:25.933] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [01:37:25.940] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [01:37:25.947] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [01:37:25.981] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [01:37:25.987] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [01:37:25.994] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [01:37:26.001] checking whether the C compiler still works... yes [01:37:26.062] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [01:37:26.134] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [01:37:26.135] checking pkg-config is at least version 0.9.0... yes [01:37:26.150] checking whether to build with ICU support... no [01:37:26.151] checking whether to build with Tcl... no [01:37:26.151] checking whether to build Perl modules... no [01:37:26.151] checking whether to build Python modules... no [01:37:26.151] checking whether to build with GSSAPI support... no [01:37:26.152] checking whether to build with PAM support... no [01:37:26.152] checking whether to build with BSD Authentication support... no [01:37:26.152] checking whether to build with LDAP support... no [01:37:26.153] checking whether to build with Bonjour support... no [01:37:26.153] checking whether to build with SELinux support... no [01:37:26.153] checking whether to build with systemd support... no [01:37:26.153] configure: WARNING: *** Readline does not work on MinGW --- disabling [01:37:26.153] checking whether to build with liburing support... no [01:37:26.153] checking whether to build with libcurl support... no [01:37:26.153] checking whether to build with libnuma support... no [01:37:26.154] checking whether to build with XML support... no [01:37:26.154] checking whether to build with LZ4 support... no [01:37:26.154] checking whether to build with ZSTD support... no [01:37:26.154] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [01:37:26.154] checking whether it is possible to strip libraries... yes [01:37:26.161] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [01:37:26.161] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [01:37:26.162] checking for a BSD-compatible install... /usr/bin/install -c [01:37:26.171] checking for tar... /usr/bin/tar [01:37:26.171] checking whether ln -s works... yes [01:37:26.171] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [01:37:26.173] checking for bison... /usr/bin/bison [01:37:26.176] configure: using bison (GNU Bison) 3.8.2 [01:37:26.179] checking for flex... /usr/bin/flex [01:37:26.181] configure: using flex 2.6.4 [01:37:26.181] checking for perl... /usr/bin/perl [01:37:26.184] configure: using perl 5.36.0 [01:37:26.186] checking for zic... /usr/sbin/zic [01:37:26.186] checking for a sed that does not truncate output... /usr/bin/sed [01:37:26.191] checking for grep that handles long lines and -e... /usr/bin/grep [01:37:26.193] checking for egrep... /usr/bin/grep -E [01:37:26.195] checking for ANSI C header files... yes [01:37:26.240] checking for sys/types.h... yes [01:37:26.257] checking for sys/stat.h... yes [01:37:26.273] checking for stdlib.h... yes [01:37:26.288] checking for string.h... yes [01:37:26.302] checking for memory.h... yes [01:37:26.317] checking for strings.h... yes [01:37:26.333] checking for inttypes.h... yes [01:37:26.349] checking for stdint.h... yes [01:37:26.363] checking for unistd.h... yes [01:37:26.378] checking for main in -lm... yes [01:37:26.425] checking for library containing setproctitle... no [01:37:26.512] checking for library containing dlsym... no [01:37:26.596] checking for library containing socket... -lws2_32 [01:37:26.723] checking for library containing getopt_long... none required [01:37:26.768] checking for library containing shm_open... no [01:37:26.853] checking for library containing shm_unlink... no [01:37:26.943] checking for library containing clock_gettime... no [01:37:27.032] checking for library containing shmget... no [01:37:27.117] checking for library containing backtrace_symbols... no [01:37:27.202] checking for library containing pthread_barrier_wait... -lpthread [01:37:27.292] checking for inflate in -lz... yes [01:37:27.339] checking atomic.h usability... no [01:37:27.396] checking atomic.h presence... no [01:37:27.415] checking for atomic.h... no [01:37:27.418] checking copyfile.h usability... no [01:37:27.472] checking copyfile.h presence... no [01:37:27.489] checking for copyfile.h... no [01:37:27.492] checking execinfo.h usability... no [01:37:27.547] checking execinfo.h presence... no [01:37:27.568] checking for execinfo.h... no [01:37:27.572] checking getopt.h usability... yes [01:37:27.580] checking getopt.h presence... yes [01:37:27.597] checking for getopt.h... yes [01:37:27.604] checking ifaddrs.h usability... no [01:37:27.661] checking ifaddrs.h presence... no [01:37:27.681] checking for ifaddrs.h... no [01:37:27.685] checking mbarrier.h usability... no [01:37:27.742] checking mbarrier.h presence... no [01:37:27.761] checking for mbarrier.h... no [01:37:27.765] checking sys/epoll.h usability... no [01:37:27.819] checking sys/epoll.h presence... no [01:37:27.838] checking for sys/epoll.h... no [01:37:27.842] checking sys/event.h usability... no [01:37:27.897] checking sys/event.h presence... no [01:37:27.918] checking for sys/event.h... no [01:37:27.921] checking sys/personality.h usability... no [01:37:27.981] checking sys/personality.h presence... no [01:37:28.002] checking for sys/personality.h... no [01:37:28.005] checking sys/prctl.h usability... no [01:37:28.063] checking sys/prctl.h presence... no [01:37:28.083] checking for sys/prctl.h... no [01:37:28.086] checking sys/procctl.h usability... no [01:37:28.139] checking sys/procctl.h presence... no [01:37:28.157] checking for sys/procctl.h... no [01:37:28.160] checking sys/signalfd.h usability... no [01:37:28.214] checking sys/signalfd.h presence... no [01:37:28.232] checking for sys/signalfd.h... no [01:37:28.235] checking sys/ucred.h usability... no [01:37:28.286] checking sys/ucred.h presence... no [01:37:28.305] checking for sys/ucred.h... no [01:37:28.308] checking termios.h usability... no [01:37:28.364] checking termios.h presence... no [01:37:28.384] checking for termios.h... no [01:37:28.387] checking ucred.h usability... no [01:37:28.443] checking ucred.h presence... no [01:37:28.462] checking for ucred.h... no [01:37:28.465] checking xlocale.h usability... no [01:37:28.521] checking xlocale.h presence... no [01:37:28.540] checking for xlocale.h... no [01:37:28.543] checking zlib.h usability... yes [01:37:28.553] checking zlib.h presence... yes [01:37:28.572] checking for zlib.h... yes [01:37:28.572] checking for lz4... /usr/bin/lz4 [01:37:28.572] checking for zstd... /usr/bin/zstd [01:37:28.573] checking for openssl... /usr/bin/openssl [01:37:28.577] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [01:37:28.578] checking crtdefs.h usability... yes [01:37:28.585] checking crtdefs.h presence... yes [01:37:28.602] checking for crtdefs.h... yes [01:37:28.603] checking whether byte ordering is bigendian... no [01:37:28.679] checking for inline... inline [01:37:28.686] checking for printf format archetype... gnu_printf [01:37:28.693] checking for _Static_assert... yes [01:37:28.734] checking for typeof... typeof [01:37:28.741] checking for __builtin_types_compatible_p... yes [01:37:28.751] checking for __builtin_constant_p... yes [01:37:28.762] checking for __builtin_mul_overflow... yes [01:37:28.810] checking for __builtin_unreachable... yes [01:37:28.853] checking for computed goto support... yes [01:37:28.861] checking for struct tm.tm_zone... no [01:37:28.937] checking for union semun... no [01:37:28.971] checking for socklen_t... yes [01:37:30.179] checking for struct sockaddr.sa_len... no [01:37:32.248] checking for C/C++ restrict keyword... __restrict [01:37:32.261] checking for struct option... yes [01:37:32.301] checking whether assembler supports x86_64 popcntq... yes [01:37:32.308] checking size of off_t... 4 [01:37:32.512] 0 [01:37:32.512] checking for int timezone... yes [01:37:32.564] checking for backtrace_symbols... no [01:37:32.614] checking for copyfile... no [01:37:32.664] checking for copy_file_range... no [01:37:32.713] checking for elf_aux_info... no [01:37:32.762] checking for getauxval... no [01:37:32.810] checking for getifaddrs... no [01:37:32.859] checking for getpeerucred... no [01:37:32.908] checking for inet_pton... yes [01:37:32.958] checking for kqueue... no [01:37:33.006] checking for localeconv_l... no [01:37:33.055] checking for mbstowcs_l... no [01:37:33.104] checking for posix_fallocate... no [01:37:33.153] checking for ppoll... no [01:37:33.203] checking for pthread_is_threaded_np... no [01:37:33.252] checking for setproctitle... no [01:37:33.303] checking for setproctitle_fast... no [01:37:33.353] checking for strsignal... no [01:37:33.402] checking for syncfs... no [01:37:33.451] checking for sync_file_range... no [01:37:33.500] checking for uselocale... no [01:37:33.550] checking for wcstombs_l... no [01:37:33.596] checking for __builtin_bswap16... yes [01:37:33.643] checking for __builtin_bswap32... yes [01:37:33.690] checking for __builtin_bswap64... yes [01:37:33.736] checking for __builtin_clz... yes [01:37:33.785] checking for __builtin_ctz... yes [01:37:33.836] checking for __builtin_popcount... yes [01:37:33.883] checking for __builtin_frame_address... yes [01:37:33.931] checking for _LARGEFILE_SOURCE value needed for large files... no [01:37:33.985] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [01:37:34.015] checking for posix_fadvise... no [01:37:34.067] checking whether posix_fadvise is declared... no [01:37:34.114] checking whether fdatasync is declared... no [01:37:34.161] checking whether strlcat is declared... no [01:37:34.225] checking whether strlcpy is declared... no [01:37:34.291] checking whether strnlen is declared... yes [01:37:34.305] checking whether strsep is declared... no [01:37:34.369] checking whether timingsafe_bcmp is declared... no [01:37:34.436] checking whether preadv is declared... no [01:37:34.471] checking whether pwritev is declared... no [01:37:34.507] checking whether strchrnul is declared... no [01:37:34.551] checking whether memset_s is declared... no [01:37:34.594] checking whether F_FULLFSYNC is declared... no [01:37:34.636] checking for explicit_bzero... no [01:37:34.685] checking for getopt... yes [01:37:34.730] checking for getpeereid... no [01:37:34.778] checking for inet_aton... no [01:37:34.826] checking for mkdtemp... no [01:37:34.874] checking for strlcat... no [01:37:34.921] checking for strlcpy... no [01:37:34.968] checking for strnlen... yes [01:37:35.014] checking for strsep... no [01:37:35.062] checking for timingsafe_bcmp... no [01:37:35.110] checking for pthread_barrier_wait... yes [01:37:35.154] configure: On mingw32 we will use our strtof wrapper. [01:37:35.154] checking for getopt_long... yes [01:37:35.198] checking for syslog... no [01:37:35.244] checking for opterr... yes [01:37:35.293] checking for optreset... no [01:37:35.344] checking test program... cross-compiling [01:37:35.344] checking size of void *... 8 [01:37:35.612] checking size of size_t... 8 [01:37:35.873] checking size of long... 4 [01:37:36.069] checking size of long long... 8 [01:37:36.329] checking alignment of short... 2 [01:37:36.463] checking alignment of int... 4 [01:37:36.664] checking alignment of long... 4 [01:37:36.866] checking alignment of int64_t... 8 [01:37:37.134] checking alignment of double... 8 [01:37:37.404] checking for __int128... yes [01:37:37.457] checking for __int128 alignment bug... assuming ok [01:37:37.457] checking alignment of PG_INT128_TYPE... 16 [01:37:37.791] checking for builtin __sync char locking functions... yes [01:37:37.834] checking for builtin __sync int32 locking functions... yes [01:37:37.875] checking for builtin __sync int32 atomic operations... yes [01:37:37.916] checking for builtin __sync int64 atomic operations... yes [01:37:37.960] checking for builtin __atomic int32 atomic operations... yes [01:37:38.001] checking for builtin __atomic int64 atomic operations... yes [01:37:38.043] checking for __get_cpuid... yes [01:37:38.087] checking for __get_cpuid_count... yes [01:37:38.130] checking for __cpuid... no [01:37:38.521] checking for __cpuidex... no [01:37:38.943] checking for _xgetbv... yes [01:37:39.353] checking for _mm512_popcnt_epi64... yes [01:37:39.773] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [01:37:39.877] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [01:37:39.900] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [01:37:39.920] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [01:37:39.940] 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 [01:37:39.995] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [01:37:39.996] checking for _mm512_clmulepi64_epi128... yes [01:37:40.401] checking for vectorized CRC-32C... AVX-512 with runtime check [01:37:40.401] checking which random number source to use... Windows native [01:37:40.403] checking for xmllint... /usr/bin/xmllint [01:37:40.403] checking for xsltproc... /usr/bin/xsltproc [01:37:40.403] checking for fop... /usr/bin/fop [01:37:40.404] checking for dbtoepub... no [01:37:40.404] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [01:37:40.404] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [01:37:40.404] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [01:37:40.414] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [01:37:40.414] 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 [01:37:40.415] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [01:37:40.415] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [01:37:40.496] configure: creating ./config.status [01:37:40.574] config.status: creating GNUmakefile [01:37:40.586] config.status: creating src/Makefile.global [01:37:40.601] config.status: creating src/include/pg_config.h [01:37:40.614] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [01:37:40.629] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [01:37:40.636] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [01:37:40.643] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [01:37:40.651] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [01:37:40.658] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [01:37:40.661] config.status: executing check_win32_symlinks commands [01:37:40.694] [01:37:40.694] real 0m16.078s [01:37:40.694] user 0m10.742s [01:37:40.694] sys 0m4.943s [01:37:40.694] make -s -j${BUILD_JOBS} clean [01:37:41.200] time make -s -j${BUILD_JOBS} world-bin [01:38:20.516] typecmds.c: In function ‘AlterDomainDefault’: [01:38:20.516] typecmds.c:2631:9: error: implicit declaration of function ‘LockDatabaseObject’ [-Werror=implicit-function-declaration] [01:38:20.516] 2631 | LockDatabaseObject(TypeRelationId, domainoid, 0, AccessExclusiveLock); [01:38:20.516] | ^~~~~~~~~~~~~~~~~~ [01:38:20.516] cc1: all warnings being treated as errors [01:38:20.516] make[3]: *** [: typecmds.o] Error 1 [01:38:20.517] make[2]: *** [common.mk:37: commands-recursive] Error 2 [01:38:20.517] make[2]: *** Waiting for unfinished jobs.... [01:38:32.938] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [01:38:32.938] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [01:38:32.938] [01:38:32.938] real 0m51.739s [01:38:32.938] user 2m39.498s [01:38:32.938] sys 0m30.977s [01:38:32.938] [01:38:32.938] Exit status: 2