[08:42:20.343] time ./configure \ [08:42:20.343] --host=x86_64-w64-mingw32 \ [08:42:20.343] --enable-cassert \ [08:42:20.343] --without-icu \ [08:42:20.343] CC="ccache x86_64-w64-mingw32-gcc" \ [08:42:20.343] CXX="ccache x86_64-w64-mingw32-g++" [08:42:20.465] checking build system type... x86_64-pc-linux-gnu [08:42:20.655] checking host system type... x86_64-w64-mingw32 [08:42:20.660] checking which template to use... win32 [08:42:20.661] checking whether NLS is wanted... no [08:42:20.661] checking for default port number... 5432 [08:42:20.667] checking for block size... 8kB [08:42:20.668] checking for segment size... 1GB [08:42:20.670] checking for WAL block size... 8kB [08:42:20.671] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [08:42:20.702] checking whether the C compiler works... yes [08:42:20.829] checking for C compiler default output file name... a.exe [08:42:20.830] checking for suffix of executables... .exe [08:42:20.872] checking whether we are cross compiling... yes [08:42:20.946] checking for suffix of object files... o [08:42:20.955] checking whether we are using the GNU C compiler... yes [08:42:20.962] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [08:42:20.970] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [08:42:20.983] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [08:42:21.070] checking whether we are using the GNU C++ compiler... yes [08:42:21.078] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [08:42:21.155] checking for gawk... no [08:42:21.155] checking for mawk... mawk [08:42:21.157] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [08:42:21.165] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [08:42:21.172] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [08:42:21.221] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [08:42:21.378] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [08:42:21.386] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [08:42:21.393] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [08:42:21.401] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [08:42:21.408] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [08:42:21.415] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [08:42:21.423] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [08:42:21.430] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [08:42:21.438] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [08:42:21.445] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [08:42:21.453] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [08:42:21.460] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [08:42:21.467] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [08:42:21.505] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [08:42:21.513] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [08:42:21.520] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [08:42:21.528] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [08:42:21.535] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [08:42:21.542] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [08:42:21.568] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [08:42:21.575] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [08:42:21.583] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [08:42:21.622] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [08:42:21.662] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [08:42:21.670] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [08:42:21.677] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [08:42:21.713] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [08:42:21.721] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [08:42:21.729] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [08:42:21.738] checking whether the C compiler still works... yes [08:42:21.804] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [08:42:21.880] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [08:42:21.881] checking pkg-config is at least version 0.9.0... yes [08:42:21.897] checking whether to build with ICU support... no [08:42:21.897] checking whether to build with Tcl... no [08:42:21.897] checking whether to build Perl modules... no [08:42:21.897] checking whether to build Python modules... no [08:42:21.897] checking whether to build with GSSAPI support... no [08:42:21.899] checking whether to build with PAM support... no [08:42:21.899] checking whether to build with BSD Authentication support... no [08:42:21.899] checking whether to build with LDAP support... no [08:42:21.899] checking whether to build with Bonjour support... no [08:42:21.899] checking whether to build with SELinux support... no [08:42:21.899] checking whether to build with systemd support... no [08:42:21.899] configure: WARNING: *** Readline does not work on MinGW --- disabling [08:42:21.899] checking whether to build with liburing support... no [08:42:21.900] checking whether to build with libcurl support... no [08:42:21.900] checking whether to build with libnuma support... no [08:42:21.900] checking whether to build with XML support... no [08:42:21.900] checking whether to build with LZ4 support... no [08:42:21.900] checking whether to build with ZSTD support... no [08:42:21.901] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [08:42:21.901] checking whether it is possible to strip libraries... yes [08:42:21.908] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [08:42:21.908] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [08:42:21.908] checking for a BSD-compatible install... /usr/bin/install -c [08:42:21.917] checking for tar... /usr/bin/tar [08:42:21.917] checking whether ln -s works... yes [08:42:21.917] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [08:42:21.919] checking for bison... /usr/bin/bison [08:42:21.921] configure: using bison (GNU Bison) 3.8.2 [08:42:21.924] checking for flex... /usr/bin/flex [08:42:21.926] configure: using flex 2.6.4 [08:42:21.926] checking for perl... /usr/bin/perl [08:42:21.928] configure: using perl 5.36.0 [08:42:21.930] checking for zic... /usr/sbin/zic [08:42:21.930] checking for a sed that does not truncate output... /usr/bin/sed [08:42:21.935] checking for grep that handles long lines and -e... /usr/bin/grep [08:42:21.937] checking for egrep... /usr/bin/grep -E [08:42:21.939] checking for ANSI C header files... yes [08:42:21.983] checking for sys/types.h... yes [08:42:22.001] checking for sys/stat.h... yes [08:42:22.017] checking for stdlib.h... yes [08:42:22.031] checking for string.h... yes [08:42:22.046] checking for memory.h... yes [08:42:22.062] checking for strings.h... yes [08:42:22.077] checking for inttypes.h... yes [08:42:22.094] checking for stdint.h... yes [08:42:22.109] checking for unistd.h... yes [08:42:22.124] checking for main in -lm... yes [08:42:22.172] checking for library containing setproctitle... no [08:42:22.264] checking for library containing dlsym... no [08:42:22.352] checking for library containing socket... -lws2_32 [08:42:22.481] checking for library containing getopt_long... none required [08:42:22.528] checking for library containing shm_open... no [08:42:22.617] checking for library containing shm_unlink... no [08:42:22.704] checking for library containing clock_gettime... no [08:42:22.792] checking for library containing shmget... no [08:42:22.880] checking for library containing backtrace_symbols... no [08:42:22.968] checking for library containing pthread_barrier_wait... -lpthread [08:42:23.057] checking for inflate in -lz... yes [08:42:23.103] checking atomic.h usability... no [08:42:23.160] checking atomic.h presence... no [08:42:23.177] checking for atomic.h... no [08:42:23.180] checking copyfile.h usability... no [08:42:23.234] checking copyfile.h presence... no [08:42:23.253] checking for copyfile.h... no [08:42:23.256] checking execinfo.h usability... no [08:42:23.310] checking execinfo.h presence... no [08:42:23.330] checking for execinfo.h... no [08:42:23.333] checking getopt.h usability... yes [08:42:23.341] checking getopt.h presence... yes [08:42:23.357] checking for getopt.h... yes [08:42:23.365] checking ifaddrs.h usability... no [08:42:23.421] checking ifaddrs.h presence... no [08:42:23.442] checking for ifaddrs.h... no [08:42:23.445] checking mbarrier.h usability... no [08:42:23.503] checking mbarrier.h presence... no [08:42:23.522] checking for mbarrier.h... no [08:42:23.525] checking sys/epoll.h usability... no [08:42:23.582] checking sys/epoll.h presence... no [08:42:23.601] checking for sys/epoll.h... no [08:42:23.605] checking sys/event.h usability... no [08:42:23.664] checking sys/event.h presence... no [08:42:23.685] checking for sys/event.h... no [08:42:23.689] checking sys/personality.h usability... no [08:42:23.746] checking sys/personality.h presence... no [08:42:23.766] checking for sys/personality.h... no [08:42:23.769] checking sys/prctl.h usability... no [08:42:23.825] checking sys/prctl.h presence... no [08:42:23.843] checking for sys/prctl.h... no [08:42:23.847] checking sys/procctl.h usability... no [08:42:23.904] checking sys/procctl.h presence... no [08:42:23.925] checking for sys/procctl.h... no [08:42:23.928] checking sys/signalfd.h usability... no [08:42:23.983] checking sys/signalfd.h presence... no [08:42:24.004] checking for sys/signalfd.h... no [08:42:24.007] checking sys/ucred.h usability... no [08:42:24.064] checking sys/ucred.h presence... no [08:42:24.084] checking for sys/ucred.h... no [08:42:24.087] checking termios.h usability... no [08:42:24.142] checking termios.h presence... no [08:42:24.163] checking for termios.h... no [08:42:24.166] checking ucred.h usability... no [08:42:24.223] checking ucred.h presence... no [08:42:24.243] checking for ucred.h... no [08:42:24.246] checking xlocale.h usability... no [08:42:24.303] checking xlocale.h presence... no [08:42:24.323] checking for xlocale.h... no [08:42:24.326] checking zlib.h usability... yes [08:42:24.335] checking zlib.h presence... yes [08:42:24.355] checking for zlib.h... yes [08:42:24.356] checking for lz4... /usr/bin/lz4 [08:42:24.356] checking for zstd... /usr/bin/zstd [08:42:24.356] checking for openssl... /usr/bin/openssl [08:42:24.361] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [08:42:24.362] checking crtdefs.h usability... yes [08:42:24.369] checking crtdefs.h presence... yes [08:42:24.385] checking for crtdefs.h... yes [08:42:24.387] checking whether byte ordering is bigendian... no [08:42:24.465] checking for inline... inline [08:42:24.473] checking for printf format archetype... gnu_printf [08:42:24.482] checking for _Static_assert... yes [08:42:24.525] checking for typeof... typeof [08:42:24.533] checking for __builtin_types_compatible_p... yes [08:42:24.544] checking for __builtin_constant_p... yes [08:42:24.556] checking for __builtin_mul_overflow... yes [08:42:24.604] checking for __builtin_unreachable... yes [08:42:24.646] checking for computed goto support... yes [08:42:24.653] checking for struct tm.tm_zone... no [08:42:24.732] checking for union semun... no [08:42:24.768] checking for socklen_t... yes [08:42:26.109] checking for struct sockaddr.sa_len... no [08:42:28.311] checking for C/C++ restrict keyword... __restrict [08:42:28.325] checking for struct option... yes [08:42:28.370] checking whether assembler supports x86_64 popcntq... yes [08:42:28.377] checking size of off_t... 4 [08:42:28.592] 0 [08:42:28.593] checking for int timezone... yes [08:42:28.647] checking for backtrace_symbols... no [08:42:28.701] checking for copyfile... no [08:42:28.755] checking for copy_file_range... no [08:42:28.807] checking for elf_aux_info... no [08:42:28.856] checking for getauxval... no [08:42:28.907] checking for getifaddrs... no [08:42:28.960] checking for getpeerucred... no [08:42:29.013] checking for inet_pton... yes [08:42:29.067] checking for kqueue... no [08:42:29.121] checking for localeconv_l... no [08:42:29.175] checking for mbstowcs_l... no [08:42:29.228] checking for posix_fallocate... no [08:42:29.280] checking for ppoll... no [08:42:29.332] checking for pthread_is_threaded_np... no [08:42:29.383] checking for setproctitle... no [08:42:29.435] checking for setproctitle_fast... no [08:42:29.486] checking for strsignal... no [08:42:29.536] checking for syncfs... no [08:42:29.585] checking for sync_file_range... no [08:42:29.635] checking for uselocale... no [08:42:29.687] checking for wcstombs_l... no [08:42:29.739] checking for __builtin_bswap16... yes [08:42:29.790] checking for __builtin_bswap32... yes [08:42:29.839] checking for __builtin_bswap64... yes [08:42:29.886] checking for __builtin_clz... yes [08:42:29.934] checking for __builtin_ctz... yes [08:42:29.981] checking for __builtin_popcount... yes [08:42:30.028] checking for __builtin_frame_address... yes [08:42:30.075] checking for _LARGEFILE_SOURCE value needed for large files... no [08:42:30.127] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [08:42:30.158] checking for posix_fadvise... no [08:42:30.209] checking whether posix_fadvise is declared... no [08:42:30.254] checking whether fdatasync is declared... no [08:42:30.302] checking whether strlcat is declared... no [08:42:30.368] checking whether strlcpy is declared... no [08:42:30.434] checking whether strnlen is declared... yes [08:42:30.448] checking whether strsep is declared... no [08:42:30.514] checking whether timingsafe_bcmp is declared... no [08:42:30.582] checking whether preadv is declared... no [08:42:30.621] checking whether pwritev is declared... no [08:42:30.661] checking whether strchrnul is declared... no [08:42:30.708] checking whether memset_s is declared... no [08:42:30.755] checking whether F_FULLFSYNC is declared... no [08:42:30.799] checking for explicit_bzero... no [08:42:30.850] checking for getopt... yes [08:42:30.896] checking for getpeereid... no [08:42:30.946] checking for inet_aton... no [08:42:30.997] checking for mkdtemp... no [08:42:31.046] checking for strlcat... no [08:42:31.095] checking for strlcpy... no [08:42:31.144] checking for strnlen... yes [08:42:31.193] checking for strsep... no [08:42:31.243] checking for timingsafe_bcmp... no [08:42:31.293] checking for pthread_barrier_wait... yes [08:42:31.339] configure: On mingw32 we will use our strtof wrapper. [08:42:31.339] checking for getopt_long... yes [08:42:31.386] checking for syslog... no [08:42:31.438] checking for opterr... yes [08:42:31.488] checking for optreset... no [08:42:31.542] checking test program... cross-compiling [08:42:31.542] checking size of void *... 8 [08:42:31.816] checking size of size_t... 8 [08:42:32.094] checking size of long... 4 [08:42:32.306] checking size of long long... 8 [08:42:32.586] checking alignment of short... 2 [08:42:32.734] checking alignment of int... 4 [08:42:32.946] checking alignment of long... 4 [08:42:33.148] checking alignment of int64_t... 8 [08:42:33.419] checking alignment of double... 8 [08:42:33.685] checking for __int128... yes [08:42:33.735] checking for __int128 alignment bug... assuming ok [08:42:33.735] checking alignment of PG_INT128_TYPE... 16 [08:42:34.060] checking for builtin __sync char locking functions... yes [08:42:34.103] checking for builtin __sync int32 locking functions... yes [08:42:34.144] checking for builtin __sync int32 atomic operations... yes [08:42:34.187] checking for builtin __sync int64 atomic operations... yes [08:42:34.231] checking for builtin __atomic int32 atomic operations... yes [08:42:34.276] checking for builtin __atomic int64 atomic operations... yes [08:42:34.322] checking for __get_cpuid... yes [08:42:34.370] checking for __get_cpuid_count... yes [08:42:34.416] checking for __cpuid... no [08:42:34.825] checking for __cpuidex... no [08:42:35.257] checking for _xgetbv... yes [08:42:35.667] checking for _mm512_popcnt_epi64... yes [08:42:36.088] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [08:42:36.187] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [08:42:36.210] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [08:42:36.229] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [08:42:36.248] 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 [08:42:36.304] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [08:42:36.305] checking for _mm512_clmulepi64_epi128... yes [08:42:36.718] checking for vectorized CRC-32C... AVX-512 with runtime check [08:42:36.718] checking which random number source to use... Windows native [08:42:36.720] checking for xmllint... /usr/bin/xmllint [08:42:36.720] checking for xsltproc... /usr/bin/xsltproc [08:42:36.720] checking for fop... /usr/bin/fop [08:42:36.721] checking for dbtoepub... no [08:42:36.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [08:42:36.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [08:42:36.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [08:42:36.733] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [08:42:36.733] 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 [08:42:36.733] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [08:42:36.733] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [08:42:36.827] configure: creating ./config.status [08:42:36.917] config.status: creating GNUmakefile [08:42:36.930] config.status: creating src/Makefile.global [08:42:36.946] config.status: creating src/include/pg_config.h [08:42:36.960] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [08:42:36.976] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [08:42:36.984] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [08:42:36.992] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [08:42:36.999] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [08:42:37.007] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [08:42:37.011] config.status: executing check_win32_symlinks commands [08:42:37.047] [08:42:37.047] real 0m16.703s [08:42:37.047] user 0m11.047s [08:42:37.047] sys 0m5.268s [08:42:37.047] make -s -j${BUILD_JOBS} clean [08:42:37.573] time make -s -j${BUILD_JOBS} world-bin [08:43:12.723] typecmds.c: In function ‘AlterDomainDefault’: [08:43:12.723] typecmds.c:2631:9: error: implicit declaration of function ‘LockDatabaseObject’ [-Werror=implicit-function-declaration] [08:43:12.723] 2631 | LockDatabaseObject(TypeRelationId, domainoid, 0, AccessExclusiveLock); [08:43:12.723] | ^~~~~~~~~~~~~~~~~~ [08:43:12.723] cc1: all warnings being treated as errors [08:43:12.724] make[3]: *** [: typecmds.o] Error 1 [08:43:12.724] make[2]: *** [common.mk:37: commands-recursive] Error 2 [08:43:12.724] make[2]: *** Waiting for unfinished jobs.... [08:43:29.598] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [08:43:29.598] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:43:29.598] [08:43:29.598] real 0m52.025s [08:43:29.598] user 2m41.893s [08:43:29.598] sys 0m33.419s [08:43:29.599] [08:43:29.599] Exit status: 2