[15:42:40.687] time ./configure \ [15:42:40.687] --host=x86_64-w64-mingw32 \ [15:42:40.687] --enable-cassert \ [15:42:40.687] --without-icu \ [15:42:40.687] CC="ccache x86_64-w64-mingw32-gcc" \ [15:42:40.687] CXX="ccache x86_64-w64-mingw32-g++" [15:42:40.817] checking build system type... x86_64-pc-linux-gnu [15:42:41.000] checking host system type... x86_64-w64-mingw32 [15:42:41.006] checking which template to use... win32 [15:42:41.006] checking whether NLS is wanted... no [15:42:41.006] checking for default port number... 5432 [15:42:41.014] checking for block size... 8kB [15:42:41.015] checking for segment size... 1GB [15:42:41.018] checking for WAL block size... 8kB [15:42:41.019] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [15:42:41.056] checking whether the C compiler works... yes [15:42:41.191] checking for C compiler default output file name... a.exe [15:42:41.193] checking for suffix of executables... .exe [15:42:41.236] checking whether we are cross compiling... yes [15:42:41.318] checking for suffix of object files... o [15:42:41.327] checking whether we are using the GNU C compiler... yes [15:42:41.334] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [15:42:41.341] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [15:42:41.351] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [15:42:41.410] checking whether we are using the GNU C++ compiler... yes [15:42:41.417] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [15:42:41.489] checking for gawk... no [15:42:41.489] checking for mawk... mawk [15:42:41.492] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [15:42:41.499] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [15:42:41.506] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [15:42:41.551] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [15:42:41.716] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [15:42:41.724] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [15:42:41.731] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [15:42:41.739] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [15:42:41.747] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [15:42:41.755] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [15:42:41.763] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [15:42:41.770] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [15:42:41.778] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [15:42:41.786] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [15:42:41.793] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [15:42:41.801] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [15:42:41.808] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [15:42:41.847] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [15:42:41.855] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [15:42:41.863] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [15:42:41.870] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [15:42:41.878] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [15:42:41.885] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [15:42:41.911] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [15:42:41.919] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [15:42:41.927] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [15:42:41.967] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [15:42:42.007] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [15:42:42.015] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [15:42:42.023] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [15:42:42.060] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [15:42:42.068] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [15:42:42.076] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [15:42:42.085] checking whether the C compiler still works... yes [15:42:42.156] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [15:42:42.234] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [15:42:42.234] checking pkg-config is at least version 0.9.0... yes [15:42:42.251] checking whether to build with ICU support... no [15:42:42.251] checking whether to build with Tcl... no [15:42:42.251] checking whether to build Perl modules... no [15:42:42.251] checking whether to build Python modules... no [15:42:42.252] checking whether to build with GSSAPI support... no [15:42:42.253] checking whether to build with PAM support... no [15:42:42.253] checking whether to build with BSD Authentication support... no [15:42:42.253] checking whether to build with LDAP support... no [15:42:42.253] checking whether to build with Bonjour support... no [15:42:42.253] checking whether to build with SELinux support... no [15:42:42.253] checking whether to build with systemd support... no [15:42:42.253] configure: WARNING: *** Readline does not work on MinGW --- disabling [15:42:42.253] checking whether to build with liburing support... no [15:42:42.254] checking whether to build with libcurl support... no [15:42:42.254] checking whether to build with libnuma support... no [15:42:42.255] checking whether to build with XML support... no [15:42:42.255] checking whether to build with LZ4 support... no [15:42:42.255] checking whether to build with ZSTD support... no [15:42:42.255] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [15:42:42.256] checking whether it is possible to strip libraries... yes [15:42:42.264] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [15:42:42.264] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [15:42:42.264] checking for a BSD-compatible install... /usr/bin/install -c [15:42:42.275] checking for tar... /usr/bin/tar [15:42:42.276] checking whether ln -s works... yes [15:42:42.276] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [15:42:42.278] checking for bison... /usr/bin/bison [15:42:42.281] configure: using bison (GNU Bison) 3.8.2 [15:42:42.284] checking for flex... /usr/bin/flex [15:42:42.287] configure: using flex 2.6.4 [15:42:42.287] checking for perl... /usr/bin/perl [15:42:42.290] configure: using perl 5.36.0 [15:42:42.293] checking for zic... /usr/sbin/zic [15:42:42.293] checking for a sed that does not truncate output... /usr/bin/sed [15:42:42.299] checking for grep that handles long lines and -e... /usr/bin/grep [15:42:42.301] checking for egrep... /usr/bin/grep -E [15:42:42.303] checking for ANSI C header files... yes [15:42:42.357] checking for sys/types.h... yes [15:42:42.376] checking for sys/stat.h... yes [15:42:42.396] checking for stdlib.h... yes [15:42:42.411] checking for string.h... yes [15:42:42.426] checking for memory.h... yes [15:42:42.442] checking for strings.h... yes [15:42:42.459] checking for inttypes.h... yes [15:42:42.478] checking for stdint.h... yes [15:42:42.493] checking for unistd.h... yes [15:42:42.509] checking for main in -lm... yes [15:42:42.556] checking for library containing setproctitle... no [15:42:42.643] checking for library containing dlsym... no [15:42:42.736] checking for library containing socket... -lws2_32 [15:42:42.878] checking for library containing getopt_long... none required [15:42:42.928] checking for library containing shm_open... no [15:42:43.021] checking for library containing shm_unlink... no [15:42:43.115] checking for library containing clock_gettime... no [15:42:43.212] checking for library containing shmget... no [15:42:43.309] checking for library containing backtrace_symbols... no [15:42:43.405] checking for library containing pthread_barrier_wait... -lpthread [15:42:43.500] checking for inflate in -lz... yes [15:42:43.548] checking atomic.h usability... no [15:42:43.604] checking atomic.h presence... no [15:42:43.622] checking for atomic.h... no [15:42:43.626] checking copyfile.h usability... no [15:42:43.684] checking copyfile.h presence... no [15:42:43.704] checking for copyfile.h... no [15:42:43.708] checking execinfo.h usability... no [15:42:43.769] checking execinfo.h presence... no [15:42:43.789] checking for execinfo.h... no [15:42:43.792] checking getopt.h usability... yes [15:42:43.800] checking getopt.h presence... yes [15:42:43.817] checking for getopt.h... yes [15:42:43.825] checking ifaddrs.h usability... no [15:42:43.884] checking ifaddrs.h presence... no [15:42:43.905] checking for ifaddrs.h... no [15:42:43.908] checking mbarrier.h usability... no [15:42:43.967] checking mbarrier.h presence... no [15:42:43.988] checking for mbarrier.h... no [15:42:43.992] checking sys/epoll.h usability... no [15:42:44.052] checking sys/epoll.h presence... no [15:42:44.074] checking for sys/epoll.h... no [15:42:44.078] checking sys/event.h usability... no [15:42:44.140] checking sys/event.h presence... no [15:42:44.161] checking for sys/event.h... no [15:42:44.165] checking sys/personality.h usability... no [15:42:44.226] checking sys/personality.h presence... no [15:42:44.247] checking for sys/personality.h... no [15:42:44.251] checking sys/prctl.h usability... no [15:42:44.310] checking sys/prctl.h presence... no [15:42:44.332] checking for sys/prctl.h... no [15:42:44.336] checking sys/procctl.h usability... no [15:42:44.397] checking sys/procctl.h presence... no [15:42:44.418] checking for sys/procctl.h... no [15:42:44.422] checking sys/signalfd.h usability... no [15:42:44.484] checking sys/signalfd.h presence... no [15:42:44.505] checking for sys/signalfd.h... no [15:42:44.509] checking sys/ucred.h usability... no [15:42:44.568] checking sys/ucred.h presence... no [15:42:44.588] checking for sys/ucred.h... no [15:42:44.591] checking termios.h usability... no [15:42:44.644] checking termios.h presence... no [15:42:44.664] checking for termios.h... no [15:42:44.667] checking ucred.h usability... no [15:42:44.725] checking ucred.h presence... no [15:42:44.745] checking for ucred.h... no [15:42:44.749] checking xlocale.h usability... no [15:42:44.809] checking xlocale.h presence... no [15:42:44.830] checking for xlocale.h... no [15:42:44.833] checking zlib.h usability... yes [15:42:44.845] checking zlib.h presence... yes [15:42:44.866] checking for zlib.h... yes [15:42:44.866] checking for lz4... /usr/bin/lz4 [15:42:44.866] checking for zstd... /usr/bin/zstd [15:42:44.866] checking for openssl... /usr/bin/openssl [15:42:44.871] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [15:42:44.871] checking crtdefs.h usability... yes [15:42:44.880] checking crtdefs.h presence... yes [15:42:44.897] checking for crtdefs.h... yes [15:42:44.898] checking whether byte ordering is bigendian... no [15:42:44.982] checking for inline... inline [15:42:44.991] checking for printf format archetype... gnu_printf [15:42:45.000] checking for _Static_assert... yes [15:42:45.046] checking for typeof... typeof [15:42:45.055] checking for __builtin_types_compatible_p... yes [15:42:45.067] checking for __builtin_constant_p... yes [15:42:45.081] checking for __builtin_mul_overflow... yes [15:42:45.134] checking for __builtin_unreachable... yes [15:42:45.180] checking for computed goto support... yes [15:42:45.188] checking for struct tm.tm_zone... no [15:42:45.274] checking for union semun... no [15:42:45.311] checking for socklen_t... yes [15:42:46.500] checking for struct sockaddr.sa_len... no [15:42:48.585] checking for C/C++ restrict keyword... __restrict [15:42:48.597] checking for struct option... yes [15:42:48.637] checking whether assembler supports x86_64 popcntq... yes [15:42:48.644] checking size of off_t... 4 [15:42:48.862] 0 [15:42:48.862] checking for int timezone... yes [15:42:48.919] checking for backtrace_symbols... no [15:42:48.976] checking for copyfile... no [15:42:49.032] checking for copy_file_range... no [15:42:49.088] checking for elf_aux_info... no [15:42:49.144] checking for getauxval... no [15:42:49.199] checking for getifaddrs... no [15:42:49.255] checking for getpeerucred... no [15:42:49.310] checking for inet_pton... yes [15:42:49.366] checking for kqueue... no [15:42:49.423] checking for localeconv_l... no [15:42:49.474] checking for mbstowcs_l... no [15:42:49.525] checking for posix_fallocate... no [15:42:49.575] checking for ppoll... no [15:42:49.622] checking for pthread_is_threaded_np... no [15:42:49.674] checking for setproctitle... no [15:42:49.729] checking for setproctitle_fast... no [15:42:49.783] checking for strsignal... no [15:42:49.840] checking for syncfs... no [15:42:49.895] checking for sync_file_range... no [15:42:49.950] checking for uselocale... no [15:42:50.006] checking for wcstombs_l... no [15:42:50.058] checking for __builtin_bswap16... yes [15:42:50.111] checking for __builtin_bswap32... yes [15:42:50.165] checking for __builtin_bswap64... yes [15:42:50.217] checking for __builtin_clz... yes [15:42:50.271] checking for __builtin_ctz... yes [15:42:50.324] checking for __builtin_popcount... yes [15:42:50.377] checking for __builtin_frame_address... yes [15:42:50.429] checking for _LARGEFILE_SOURCE value needed for large files... no [15:42:50.481] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [15:42:50.511] checking for posix_fadvise... no [15:42:50.560] checking whether posix_fadvise is declared... no [15:42:50.604] checking whether fdatasync is declared... no [15:42:50.648] checking whether strlcat is declared... no [15:42:50.714] checking whether strlcpy is declared... no [15:42:50.785] checking whether strnlen is declared... yes [15:42:50.799] checking whether strsep is declared... no [15:42:50.868] checking whether timingsafe_bcmp is declared... no [15:42:50.939] checking whether preadv is declared... no [15:42:50.979] checking whether pwritev is declared... no [15:42:51.020] checking whether strchrnul is declared... no [15:42:51.067] checking whether memset_s is declared... no [15:42:51.114] checking whether F_FULLFSYNC is declared... no [15:42:51.157] checking for explicit_bzero... no [15:42:51.207] checking for getopt... yes [15:42:51.255] checking for getpeereid... no [15:42:51.307] checking for inet_aton... no [15:42:51.360] checking for mkdtemp... no [15:42:51.412] checking for strlcat... no [15:42:51.460] checking for strlcpy... no [15:42:51.506] checking for strnlen... yes [15:42:51.552] checking for strsep... no [15:42:51.597] checking for timingsafe_bcmp... no [15:42:51.643] checking for pthread_barrier_wait... yes [15:42:51.687] configure: On mingw32 we will use our strtof wrapper. [15:42:51.687] checking for getopt_long... yes [15:42:51.734] checking for syslog... no [15:42:51.785] checking for opterr... yes [15:42:51.837] checking for optreset... no [15:42:51.892] checking test program... cross-compiling [15:42:51.892] checking size of void *... 8 [15:42:52.170] checking size of size_t... 8 [15:42:52.448] checking size of long... 4 [15:42:52.641] checking size of long long... 8 [15:42:52.924] checking alignment of short... 2 [15:42:53.074] checking alignment of int... 4 [15:42:53.293] checking alignment of long... 4 [15:42:53.507] checking alignment of int64_t... 8 [15:42:53.778] checking alignment of double... 8 [15:42:54.069] checking for __int128... yes [15:42:54.125] checking for __int128 alignment bug... assuming ok [15:42:54.125] checking alignment of PG_INT128_TYPE... 16 [15:42:54.474] checking for builtin __sync char locking functions... yes [15:42:54.515] checking for builtin __sync int32 locking functions... yes [15:42:54.556] checking for builtin __sync int32 atomic operations... yes [15:42:54.596] checking for builtin __sync int64 atomic operations... yes [15:42:54.637] checking for builtin __atomic int32 atomic operations... yes [15:42:54.681] checking for builtin __atomic int64 atomic operations... yes [15:42:54.729] checking for __get_cpuid... yes [15:42:54.780] checking for __get_cpuid_count... yes [15:42:54.827] checking for __cpuid... no [15:42:55.227] checking for __cpuidex... no [15:42:55.658] checking for _xgetbv... yes [15:42:56.060] checking for _mm512_popcnt_epi64... yes [15:42:56.468] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [15:42:56.564] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [15:42:56.586] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [15:42:56.604] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [15:42:56.622] 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 [15:42:56.674] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [15:42:56.674] checking for _mm512_clmulepi64_epi128... yes [15:42:57.081] checking for vectorized CRC-32C... AVX-512 with runtime check [15:42:57.081] checking which random number source to use... Windows native [15:42:57.084] checking for xmllint... /usr/bin/xmllint [15:42:57.084] checking for xsltproc... /usr/bin/xsltproc [15:42:57.085] checking for fop... /usr/bin/fop [15:42:57.085] checking for dbtoepub... no [15:42:57.085] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [15:42:57.085] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [15:42:57.086] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [15:42:57.097] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [15:42:57.097] 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 [15:42:57.097] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [15:42:57.098] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [15:42:57.196] configure: creating ./config.status [15:42:57.291] config.status: creating GNUmakefile [15:42:57.306] config.status: creating src/Makefile.global [15:42:57.324] config.status: creating src/include/pg_config.h [15:42:57.339] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [15:42:57.356] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [15:42:57.365] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [15:42:57.373] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [15:42:57.382] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [15:42:57.390] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [15:42:57.394] config.status: executing check_win32_symlinks commands [15:42:57.433] [15:42:57.433] real 0m16.746s [15:42:57.433] user 0m11.128s [15:42:57.433] sys 0m5.368s [15:42:57.433] make -s -j${BUILD_JOBS} clean [15:42:57.960] time make -s -j${BUILD_JOBS} world-bin [15:43:02.806] typecmds.c: In function ‘AlterDomainDefault’: [15:43:02.806] typecmds.c:2631:9: error: implicit declaration of function ‘LockDatabaseObject’ [-Werror=implicit-function-declaration] [15:43:02.806] 2631 | LockDatabaseObject(TypeRelationId, domainoid, 0, AccessExclusiveLock); [15:43:02.806] | ^~~~~~~~~~~~~~~~~~ [15:43:02.806] cc1: all warnings being treated as errors [15:43:02.806] make[3]: *** [: typecmds.o] Error 1 [15:43:02.806] make[3]: *** Waiting for unfinished jobs.... [15:43:02.810] make[2]: *** [common.mk:37: commands-recursive] Error 2 [15:43:02.810] make[2]: *** Waiting for unfinished jobs.... [15:43:03.290] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [15:43:03.290] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [15:43:03.290] [15:43:03.290] real 0m5.331s [15:43:03.290] user 0m9.644s [15:43:03.290] sys 0m6.585s [15:43:03.290] [15:43:03.290] Exit status: 2