[00:14:15.785] time ./configure \ [00:14:15.785] --host=x86_64-w64-mingw32 \ [00:14:15.785] --enable-cassert \ [00:14:15.785] --without-icu \ [00:14:15.785] CC="ccache x86_64-w64-mingw32-gcc" \ [00:14:15.785] CXX="ccache x86_64-w64-mingw32-g++" [00:14:15.906] checking build system type... x86_64-pc-linux-gnu [00:14:16.086] checking host system type... x86_64-w64-mingw32 [00:14:16.092] checking which template to use... win32 [00:14:16.092] checking whether NLS is wanted... no [00:14:16.092] checking for default port number... 5432 [00:14:16.099] checking for block size... 8kB [00:14:16.100] checking for segment size... 1GB [00:14:16.102] checking for WAL block size... 8kB [00:14:16.104] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:14:16.138] checking whether the C compiler works... yes [00:14:16.264] checking for C compiler default output file name... a.exe [00:14:16.265] checking for suffix of executables... .exe [00:14:16.306] checking whether we are cross compiling... yes [00:14:16.387] checking for suffix of object files... o [00:14:16.395] checking whether we are using the GNU C compiler... yes [00:14:16.402] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:14:16.409] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:14:16.419] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:14:16.479] checking whether we are using the GNU C++ compiler... yes [00:14:16.485] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:14:16.551] checking for gawk... no [00:14:16.551] checking for mawk... mawk [00:14:16.554] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:14:16.560] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:14:16.568] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:14:16.615] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:14:16.770] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:14:16.777] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:14:16.785] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:14:16.793] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:14:16.800] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:14:16.808] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:14:16.816] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:14:16.823] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:14:16.830] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:14:16.838] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:14:16.845] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:14:16.852] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:14:16.860] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:14:16.898] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:14:16.906] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:14:16.913] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:14:16.920] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:14:16.928] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:14:16.935] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:14:16.961] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:14:16.969] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:14:16.977] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:14:17.016] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:14:17.055] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:14:17.063] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:14:17.070] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:14:17.107] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:14:17.115] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:14:17.123] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:14:17.131] checking whether the C compiler still works... yes [00:14:17.198] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:14:17.277] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:14:17.277] checking pkg-config is at least version 0.9.0... yes [00:14:17.296] checking whether to build with ICU support... no [00:14:17.296] checking whether to build with Tcl... no [00:14:17.296] checking whether to build Perl modules... no [00:14:17.297] checking whether to build Python modules... no [00:14:17.297] checking whether to build with GSSAPI support... no [00:14:17.298] checking whether to build with PAM support... no [00:14:17.298] checking whether to build with BSD Authentication support... no [00:14:17.298] checking whether to build with LDAP support... no [00:14:17.298] checking whether to build with Bonjour support... no [00:14:17.298] checking whether to build with SELinux support... no [00:14:17.298] checking whether to build with systemd support... no [00:14:17.298] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:14:17.298] checking whether to build with liburing support... no [00:14:17.299] checking whether to build with libcurl support... no [00:14:17.299] checking whether to build with libnuma support... no [00:14:17.299] checking whether to build with XML support... no [00:14:17.300] checking whether to build with LZ4 support... no [00:14:17.300] checking whether to build with ZSTD support... no [00:14:17.300] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:14:17.300] checking whether it is possible to strip libraries... yes [00:14:17.307] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:14:17.308] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:14:17.308] checking for a BSD-compatible install... /usr/bin/install -c [00:14:17.317] checking for tar... /usr/bin/tar [00:14:17.317] checking whether ln -s works... yes [00:14:17.317] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:14:17.319] checking for bison... /usr/bin/bison [00:14:17.321] configure: using bison (GNU Bison) 3.8.2 [00:14:17.325] checking for flex... /usr/bin/flex [00:14:17.327] configure: using flex 2.6.4 [00:14:17.327] checking for perl... /usr/bin/perl [00:14:17.330] configure: using perl 5.36.0 [00:14:17.332] checking for zic... /usr/sbin/zic [00:14:17.332] checking for a sed that does not truncate output... /usr/bin/sed [00:14:17.338] checking for grep that handles long lines and -e... /usr/bin/grep [00:14:17.340] checking for egrep... /usr/bin/grep -E [00:14:17.342] checking for ANSI C header files... yes [00:14:17.393] checking for sys/types.h... yes [00:14:17.412] checking for sys/stat.h... yes [00:14:17.428] checking for stdlib.h... yes [00:14:17.444] checking for string.h... yes [00:14:17.460] checking for memory.h... yes [00:14:17.477] checking for strings.h... yes [00:14:17.493] checking for inttypes.h... yes [00:14:17.510] checking for stdint.h... yes [00:14:17.526] checking for unistd.h... yes [00:14:17.545] checking for main in -lm... yes [00:14:17.595] checking for library containing setproctitle... no [00:14:17.688] checking for library containing dlsym... no [00:14:17.779] checking for library containing socket... -lws2_32 [00:14:17.915] checking for library containing getopt_long... none required [00:14:17.962] checking for library containing shm_open... no [00:14:18.049] checking for library containing shm_unlink... no [00:14:18.139] checking for library containing clock_gettime... no [00:14:18.231] checking for library containing shmget... no [00:14:18.324] checking for library containing backtrace_symbols... no [00:14:18.414] checking for library containing pthread_barrier_wait... -lpthread [00:14:18.509] checking for inflate in -lz... yes [00:14:18.561] checking atomic.h usability... no [00:14:18.624] checking atomic.h presence... no [00:14:18.644] checking for atomic.h... no [00:14:18.648] checking copyfile.h usability... no [00:14:18.707] checking copyfile.h presence... no [00:14:18.728] checking for copyfile.h... no [00:14:18.731] checking execinfo.h usability... no [00:14:18.790] checking execinfo.h presence... no [00:14:18.811] checking for execinfo.h... no [00:14:18.815] checking getopt.h usability... yes [00:14:18.823] checking getopt.h presence... yes [00:14:18.840] checking for getopt.h... yes [00:14:18.847] checking ifaddrs.h usability... no [00:14:18.906] checking ifaddrs.h presence... no [00:14:18.926] checking for ifaddrs.h... no [00:14:18.930] checking mbarrier.h usability... no [00:14:18.989] checking mbarrier.h presence... no [00:14:19.010] checking for mbarrier.h... no [00:14:19.014] checking sys/epoll.h usability... no [00:14:19.072] checking sys/epoll.h presence... no [00:14:19.093] checking for sys/epoll.h... no [00:14:19.097] checking sys/event.h usability... no [00:14:19.152] checking sys/event.h presence... no [00:14:19.172] checking for sys/event.h... no [00:14:19.176] checking sys/personality.h usability... no [00:14:19.232] checking sys/personality.h presence... no [00:14:19.252] checking for sys/personality.h... no [00:14:19.256] checking sys/prctl.h usability... no [00:14:19.312] checking sys/prctl.h presence... no [00:14:19.332] checking for sys/prctl.h... no [00:14:19.336] checking sys/procctl.h usability... no [00:14:19.393] checking sys/procctl.h presence... no [00:14:19.413] checking for sys/procctl.h... no [00:14:19.417] checking sys/signalfd.h usability... no [00:14:19.474] checking sys/signalfd.h presence... no [00:14:19.494] checking for sys/signalfd.h... no [00:14:19.497] checking sys/ucred.h usability... no [00:14:19.556] checking sys/ucred.h presence... no [00:14:19.577] checking for sys/ucred.h... no [00:14:19.581] checking termios.h usability... no [00:14:19.639] checking termios.h presence... no [00:14:19.660] checking for termios.h... no [00:14:19.663] checking ucred.h usability... no [00:14:19.722] checking ucred.h presence... no [00:14:19.743] checking for ucred.h... no [00:14:19.747] checking xlocale.h usability... no [00:14:19.805] checking xlocale.h presence... no [00:14:19.827] checking for xlocale.h... no [00:14:19.830] checking zlib.h usability... yes [00:14:19.840] checking zlib.h presence... yes [00:14:19.860] checking for zlib.h... yes [00:14:19.860] checking for lz4... /usr/bin/lz4 [00:14:19.861] checking for zstd... /usr/bin/zstd [00:14:19.861] checking for openssl... /usr/bin/openssl [00:14:19.865] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [00:14:19.866] checking crtdefs.h usability... yes [00:14:19.875] checking crtdefs.h presence... yes [00:14:19.892] checking for crtdefs.h... yes [00:14:19.893] checking whether byte ordering is bigendian... no [00:14:19.974] checking for inline... inline [00:14:19.982] checking for printf format archetype... gnu_printf [00:14:19.991] checking for _Static_assert... yes [00:14:20.036] checking for typeof... typeof [00:14:20.044] checking for __builtin_types_compatible_p... yes [00:14:20.056] checking for __builtin_constant_p... yes [00:14:20.068] checking for __builtin_mul_overflow... yes [00:14:20.119] checking for __builtin_unreachable... yes [00:14:20.164] checking for computed goto support... yes [00:14:20.172] checking for struct tm.tm_zone... no [00:14:20.258] checking for union semun... no [00:14:20.294] checking for socklen_t... yes [00:14:21.552] checking for struct sockaddr.sa_len... no [00:14:23.722] checking for C/C++ restrict keyword... __restrict [00:14:23.736] checking for struct option... yes [00:14:23.783] checking whether assembler supports x86_64 popcntq... yes [00:14:23.791] checking size of off_t... 4 [00:14:24.006] 0 [00:14:24.006] checking for int timezone... yes [00:14:24.060] checking for backtrace_symbols... no [00:14:24.113] checking for copyfile... no [00:14:24.165] checking for copy_file_range... no [00:14:24.218] checking for elf_aux_info... no [00:14:24.268] checking for getauxval... no [00:14:24.318] checking for getifaddrs... no [00:14:24.368] checking for getpeerucred... no [00:14:24.421] checking for inet_pton... yes [00:14:24.472] checking for kqueue... no [00:14:24.524] checking for localeconv_l... no [00:14:24.578] checking for mbstowcs_l... no [00:14:24.631] checking for posix_fallocate... no [00:14:24.684] checking for ppoll... no [00:14:24.736] checking for pthread_is_threaded_np... no [00:14:24.788] checking for setproctitle... no [00:14:24.842] checking for setproctitle_fast... no [00:14:24.894] checking for strsignal... no [00:14:24.947] checking for syncfs... no [00:14:25.001] checking for sync_file_range... no [00:14:25.055] checking for uselocale... no [00:14:25.109] checking for wcstombs_l... no [00:14:25.161] checking for __builtin_bswap16... yes [00:14:25.215] checking for __builtin_bswap32... yes [00:14:25.266] checking for __builtin_bswap64... yes [00:14:25.315] checking for __builtin_clz... yes [00:14:25.366] checking for __builtin_ctz... yes [00:14:25.416] checking for __builtin_popcount... yes [00:14:25.465] checking for __builtin_frame_address... yes [00:14:25.515] checking for _LARGEFILE_SOURCE value needed for large files... no [00:14:25.568] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:14:25.601] checking for posix_fadvise... no [00:14:25.653] checking whether posix_fadvise is declared... no [00:14:25.701] checking whether fdatasync is declared... no [00:14:25.749] checking whether strlcat is declared... no [00:14:25.815] checking whether strlcpy is declared... no [00:14:25.881] checking whether strnlen is declared... yes [00:14:25.896] checking whether strsep is declared... no [00:14:25.962] checking whether timingsafe_bcmp is declared... no [00:14:26.029] checking whether preadv is declared... no [00:14:26.068] checking whether pwritev is declared... no [00:14:26.107] checking whether strchrnul is declared... no [00:14:26.153] checking whether memset_s is declared... no [00:14:26.199] checking whether F_FULLFSYNC is declared... no [00:14:26.243] checking for explicit_bzero... no [00:14:26.292] checking for getopt... yes [00:14:26.338] checking for getpeereid... no [00:14:26.386] checking for inet_aton... no [00:14:26.434] checking for mkdtemp... no [00:14:26.481] checking for strlcat... no [00:14:26.528] checking for strlcpy... no [00:14:26.577] checking for strnlen... yes [00:14:26.627] checking for strsep... no [00:14:26.677] checking for timingsafe_bcmp... no [00:14:26.726] checking for pthread_barrier_wait... yes [00:14:26.771] configure: On mingw32 we will use our strtof wrapper. [00:14:26.772] checking for getopt_long... yes [00:14:26.818] checking for syslog... no [00:14:26.868] checking for opterr... yes [00:14:26.917] checking for optreset... no [00:14:26.970] checking test program... cross-compiling [00:14:26.970] checking size of void *... 8 [00:14:27.258] checking size of size_t... 8 [00:14:27.538] checking size of long... 4 [00:14:27.757] checking size of long long... 8 [00:14:28.030] checking alignment of short... 2 [00:14:28.168] checking alignment of int... 4 [00:14:28.373] checking alignment of long... 4 [00:14:28.584] checking alignment of int64_t... 8 [00:14:28.853] checking alignment of double... 8 [00:14:29.128] checking for __int128... yes [00:14:29.179] checking for __int128 alignment bug... assuming ok [00:14:29.179] checking alignment of PG_INT128_TYPE... 16 [00:14:29.518] checking for builtin __sync char locking functions... yes [00:14:29.563] checking for builtin __sync int32 locking functions... yes [00:14:29.608] checking for builtin __sync int32 atomic operations... yes [00:14:29.652] checking for builtin __sync int64 atomic operations... yes [00:14:29.699] checking for builtin __atomic int32 atomic operations... yes [00:14:29.743] checking for builtin __atomic int64 atomic operations... yes [00:14:29.789] checking for __get_cpuid... yes [00:14:29.837] checking for __get_cpuid_count... yes [00:14:29.883] checking for __cpuid... no [00:14:30.287] checking for __cpuidex... no [00:14:30.710] checking for _xgetbv... yes [00:14:31.126] checking for _mm512_popcnt_epi64... yes [00:14:31.549] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [00:14:31.655] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:14:31.679] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [00:14:31.700] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:14:31.720] 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:14:31.779] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:14:31.779] checking for _mm512_clmulepi64_epi128... yes [00:14:32.196] checking for vectorized CRC-32C... AVX-512 with runtime check [00:14:32.196] checking which random number source to use... Windows native [00:14:32.198] checking for xmllint... /usr/bin/xmllint [00:14:32.199] checking for xsltproc... /usr/bin/xsltproc [00:14:32.199] checking for fop... /usr/bin/fop [00:14:32.199] checking for dbtoepub... no [00:14:32.200] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:14:32.200] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:14:32.200] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:14:32.211] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:14:32.211] 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:14:32.211] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:14:32.212] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:14:32.303] configure: creating ./config.status [00:14:32.386] config.status: creating GNUmakefile [00:14:32.399] config.status: creating src/Makefile.global [00:14:32.415] config.status: creating src/include/pg_config.h [00:14:32.427] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:14:32.443] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:14:32.450] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:14:32.458] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:14:32.466] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:14:32.474] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:14:32.478] config.status: executing check_win32_symlinks commands [00:14:32.514] [00:14:32.514] real 0m16.729s [00:14:32.514] user 0m11.101s [00:14:32.514] sys 0m5.345s [00:14:32.514] make -s -j${BUILD_JOBS} clean [00:14:33.043] time make -s -j${BUILD_JOBS} world-bin [00:14:37.937] typecmds.c: In function ‘AlterDomainDefault’: [00:14:37.937] typecmds.c:2631:9: error: implicit declaration of function ‘LockDatabaseObject’ [-Werror=implicit-function-declaration] [00:14:37.937] 2631 | LockDatabaseObject(TypeRelationId, domainoid, 0, AccessExclusiveLock); [00:14:37.937] | ^~~~~~~~~~~~~~~~~~ [00:14:37.937] cc1: all warnings being treated as errors [00:14:37.939] make[3]: *** [: typecmds.o] Error 1 [00:14:37.940] make[2]: *** [common.mk:37: commands-recursive] Error 2 [00:14:37.940] make[2]: *** Waiting for unfinished jobs.... [00:14:38.449] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:14:38.449] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:14:38.449] [00:14:38.449] real 0m5.407s [00:14:38.449] user 0m9.640s [00:14:38.449] sys 0m6.679s [00:14:38.450] [00:14:38.450] Exit status: 2