[09:03:56.836] time ./configure \ [09:03:56.836] --host=x86_64-w64-mingw32 \ [09:03:56.836] --enable-cassert \ [09:03:56.836] --without-icu \ [09:03:56.836] CC="ccache x86_64-w64-mingw32-gcc" \ [09:03:56.836] CXX="ccache x86_64-w64-mingw32-g++" [09:03:56.949] checking build system type... x86_64-pc-linux-gnu [09:03:57.135] checking host system type... x86_64-w64-mingw32 [09:03:57.140] checking which template to use... win32 [09:03:57.140] checking whether NLS is wanted... no [09:03:57.140] checking for default port number... 5432 [09:03:57.146] checking for block size... 8kB [09:03:57.147] checking for segment size... 1GB [09:03:57.150] checking for WAL block size... 8kB [09:03:57.151] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:03:57.183] checking whether the C compiler works... yes [09:03:57.317] checking for C compiler default output file name... a.exe [09:03:57.319] checking for suffix of executables... .exe [09:03:57.359] checking whether we are cross compiling... yes [09:03:57.428] checking for suffix of object files... o [09:03:57.435] checking whether we are using the GNU C compiler... yes [09:03:57.442] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:03:57.448] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:03:57.460] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:03:57.522] checking whether we are using the GNU C++ compiler... yes [09:03:57.528] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:03:57.595] checking for gawk... no [09:03:57.595] checking for mawk... mawk [09:03:57.597] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:03:57.603] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:03:57.609] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:03:57.651] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:03:57.815] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:03:57.822] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:03:57.828] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:03:57.835] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:03:57.841] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:03:57.847] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:03:57.854] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:03:57.860] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:03:57.867] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:03:57.873] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:03:57.880] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:03:57.887] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:03:57.894] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:03:57.929] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:03:57.936] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:03:57.943] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:03:57.950] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:03:57.956] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:03:57.963] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:03:57.986] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:03:57.993] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:03:58.000] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:03:58.035] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:03:58.071] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:03:58.078] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:03:58.084] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:03:58.118] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:03:58.125] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:03:58.131] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:03:58.138] checking whether the C compiler still works... yes [09:03:58.202] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:03:58.276] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:03:58.276] checking pkg-config is at least version 0.9.0... yes [09:03:58.293] checking whether to build with ICU support... no [09:03:58.293] checking whether to build with Tcl... no [09:03:58.293] checking whether to build Perl modules... no [09:03:58.293] checking whether to build Python modules... no [09:03:58.293] checking whether to build with GSSAPI support... no [09:03:58.295] checking whether to build with PAM support... no [09:03:58.295] checking whether to build with BSD Authentication support... no [09:03:58.295] checking whether to build with LDAP support... no [09:03:58.295] checking whether to build with Bonjour support... no [09:03:58.295] checking whether to build with SELinux support... no [09:03:58.295] checking whether to build with systemd support... no [09:03:58.295] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:03:58.295] checking whether to build with liburing support... no [09:03:58.295] checking whether to build with libcurl support... no [09:03:58.296] checking whether to build with libnuma support... no [09:03:58.296] checking whether to build with XML support... no [09:03:58.296] checking whether to build with LZ4 support... no [09:03:58.296] checking whether to build with ZSTD support... no [09:03:58.297] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:03:58.297] checking whether it is possible to strip libraries... yes [09:03:58.304] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:03:58.304] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:03:58.304] checking for a BSD-compatible install... /usr/bin/install -c [09:03:58.314] checking for tar... /usr/bin/tar [09:03:58.314] checking whether ln -s works... yes [09:03:58.315] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:03:58.317] checking for bison... /usr/bin/bison [09:03:58.319] configure: using bison (GNU Bison) 3.8.2 [09:03:58.322] checking for flex... /usr/bin/flex [09:03:58.324] configure: using flex 2.6.4 [09:03:58.324] checking for perl... /usr/bin/perl [09:03:58.327] configure: using perl 5.36.0 [09:03:58.329] checking for zic... /usr/sbin/zic [09:03:58.330] checking for a sed that does not truncate output... /usr/bin/sed [09:03:58.335] checking for grep that handles long lines and -e... /usr/bin/grep [09:03:58.337] checking for egrep... /usr/bin/grep -E [09:03:58.339] checking for ANSI C header files... yes [09:03:58.387] checking for sys/types.h... yes [09:03:58.404] checking for sys/stat.h... yes [09:03:58.419] checking for stdlib.h... yes [09:03:58.434] checking for string.h... yes [09:03:58.449] checking for memory.h... yes [09:03:58.464] checking for strings.h... yes [09:03:58.479] checking for inttypes.h... yes [09:03:58.496] checking for stdint.h... yes [09:03:58.511] checking for unistd.h... yes [09:03:58.526] checking for main in -lm... yes [09:03:58.574] checking for library containing setproctitle... no [09:03:58.664] checking for library containing dlsym... no [09:03:58.752] checking for library containing socket... -lws2_32 [09:03:58.878] checking for library containing getopt_long... none required [09:03:58.922] checking for library containing shm_open... no [09:03:59.007] checking for library containing shm_unlink... no [09:03:59.093] checking for library containing clock_gettime... no [09:03:59.182] checking for library containing shmget... no [09:03:59.271] checking for library containing backtrace_symbols... no [09:03:59.354] checking for library containing pthread_barrier_wait... -lpthread [09:03:59.443] checking for inflate in -lz... yes [09:03:59.493] checking atomic.h usability... no [09:03:59.554] checking atomic.h presence... no [09:03:59.574] checking for atomic.h... no [09:03:59.577] checking copyfile.h usability... no [09:03:59.631] checking copyfile.h presence... no [09:03:59.651] checking for copyfile.h... no [09:03:59.655] checking execinfo.h usability... no [09:03:59.705] checking execinfo.h presence... no [09:03:59.723] checking for execinfo.h... no [09:03:59.727] checking getopt.h usability... yes [09:03:59.735] checking getopt.h presence... yes [09:03:59.750] checking for getopt.h... yes [09:03:59.758] checking ifaddrs.h usability... no [09:03:59.813] checking ifaddrs.h presence... no [09:03:59.831] checking for ifaddrs.h... no [09:03:59.835] checking mbarrier.h usability... no [09:03:59.886] checking mbarrier.h presence... no [09:03:59.904] checking for mbarrier.h... no [09:03:59.907] checking sys/epoll.h usability... no [09:03:59.957] checking sys/epoll.h presence... no [09:03:59.976] checking for sys/epoll.h... no [09:03:59.980] checking sys/event.h usability... no [09:04:00.034] checking sys/event.h presence... no [09:04:00.052] checking for sys/event.h... no [09:04:00.055] checking sys/personality.h usability... no [09:04:00.109] checking sys/personality.h presence... no [09:04:00.128] checking for sys/personality.h... no [09:04:00.131] checking sys/prctl.h usability... no [09:04:00.185] checking sys/prctl.h presence... no [09:04:00.203] checking for sys/prctl.h... no [09:04:00.206] checking sys/procctl.h usability... no [09:04:00.260] checking sys/procctl.h presence... no [09:04:00.280] checking for sys/procctl.h... no [09:04:00.283] checking sys/signalfd.h usability... no [09:04:00.338] checking sys/signalfd.h presence... no [09:04:00.357] checking for sys/signalfd.h... no [09:04:00.360] checking sys/ucred.h usability... no [09:04:00.413] checking sys/ucred.h presence... no [09:04:00.431] checking for sys/ucred.h... no [09:04:00.434] checking termios.h usability... no [09:04:00.489] checking termios.h presence... no [09:04:00.507] checking for termios.h... no [09:04:00.510] checking ucred.h usability... no [09:04:00.563] checking ucred.h presence... no [09:04:00.582] checking for ucred.h... no [09:04:00.585] checking xlocale.h usability... no [09:04:00.637] checking xlocale.h presence... no [09:04:00.654] checking for xlocale.h... no [09:04:00.657] checking zlib.h usability... yes [09:04:00.666] checking zlib.h presence... yes [09:04:00.684] checking for zlib.h... yes [09:04:00.685] checking for lz4... /usr/bin/lz4 [09:04:00.685] checking for zstd... /usr/bin/zstd [09:04:00.685] checking for openssl... /usr/bin/openssl [09:04:00.689] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [09:04:00.689] checking crtdefs.h usability... yes [09:04:00.697] checking crtdefs.h presence... yes [09:04:00.711] checking for crtdefs.h... yes [09:04:00.712] checking whether byte ordering is bigendian... no [09:04:00.780] checking for inline... inline [09:04:00.786] checking for printf format archetype... gnu_printf [09:04:00.794] checking for _Static_assert... yes [09:04:00.834] checking for typeof... typeof [09:04:00.842] checking for __builtin_types_compatible_p... yes [09:04:00.852] checking for __builtin_constant_p... yes [09:04:00.863] checking for __builtin_mul_overflow... yes [09:04:00.907] checking for __builtin_unreachable... yes [09:04:00.947] checking for computed goto support... yes [09:04:00.954] checking for struct tm.tm_zone... no [09:04:01.028] checking for union semun... no [09:04:01.059] checking for socklen_t... yes [09:04:02.238] checking for struct sockaddr.sa_len... no [09:04:04.306] checking for C/C++ restrict keyword... __restrict [09:04:04.319] checking for struct option... yes [09:04:04.356] checking whether assembler supports x86_64 popcntq... yes [09:04:04.362] checking size of off_t... 4 [09:04:04.548] 0 [09:04:04.548] checking for int timezone... yes [09:04:04.598] checking for backtrace_symbols... no [09:04:04.643] checking for copyfile... no [09:04:04.692] checking for copy_file_range... no [09:04:04.741] checking for elf_aux_info... no [09:04:04.787] checking for getauxval... no [09:04:04.831] checking for getifaddrs... no [09:04:04.877] checking for getpeerucred... no [09:04:04.927] checking for inet_pton... yes [09:04:04.976] checking for kqueue... no [09:04:05.028] checking for localeconv_l... no [09:04:05.074] checking for mbstowcs_l... no [09:04:05.119] checking for posix_fallocate... no [09:04:05.165] checking for ppoll... no [09:04:05.209] checking for pthread_is_threaded_np... no [09:04:05.257] checking for setproctitle... no [09:04:05.306] checking for setproctitle_fast... no [09:04:05.356] checking for strsignal... no [09:04:05.408] checking for syncfs... no [09:04:05.456] checking for sync_file_range... no [09:04:05.505] checking for uselocale... no [09:04:05.555] checking for wcstombs_l... no [09:04:05.602] checking for __builtin_bswap16... yes [09:04:05.650] checking for __builtin_bswap32... yes [09:04:05.699] checking for __builtin_bswap64... yes [09:04:05.747] checking for __builtin_clz... yes [09:04:05.796] checking for __builtin_ctz... yes [09:04:05.845] checking for __builtin_popcount... yes [09:04:05.893] checking for __builtin_frame_address... yes [09:04:05.940] checking for _LARGEFILE_SOURCE value needed for large files... no [09:04:05.993] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:04:06.026] checking for posix_fadvise... no [09:04:06.078] checking whether posix_fadvise is declared... no [09:04:06.125] checking whether fdatasync is declared... no [09:04:06.173] checking whether strlcat is declared... no [09:04:06.237] checking whether strlcpy is declared... no [09:04:06.295] checking whether strnlen is declared... yes [09:04:06.308] checking whether strsep is declared... no [09:04:06.370] checking whether timingsafe_bcmp is declared... no [09:04:06.430] checking whether preadv is declared... no [09:04:06.467] checking whether pwritev is declared... no [09:04:06.500] checking whether strchrnul is declared... no [09:04:06.538] checking whether memset_s is declared... no [09:04:06.576] checking whether F_FULLFSYNC is declared... no [09:04:06.616] checking for explicit_bzero... no [09:04:06.660] checking for getopt... yes [09:04:06.702] checking for getpeereid... no [09:04:06.745] checking for inet_aton... no [09:04:06.789] checking for mkdtemp... no [09:04:06.832] checking for strlcat... no [09:04:06.875] checking for strlcpy... no [09:04:06.922] checking for strnlen... yes [09:04:06.968] checking for strsep... no [09:04:07.011] checking for timingsafe_bcmp... no [09:04:07.059] checking for pthread_barrier_wait... yes [09:04:07.101] configure: On mingw32 we will use our strtof wrapper. [09:04:07.102] checking for getopt_long... yes [09:04:07.142] checking for syslog... no [09:04:07.188] checking for opterr... yes [09:04:07.232] checking for optreset... no [09:04:07.284] checking test program... cross-compiling [09:04:07.284] checking size of void *... 8 [09:04:07.549] checking size of size_t... 8 [09:04:07.811] checking size of long... 4 [09:04:08.010] checking size of long long... 8 [09:04:08.281] checking alignment of short... 2 [09:04:08.421] checking alignment of int... 4 [09:04:08.632] checking alignment of long... 4 [09:04:08.829] checking alignment of int64_t... 8 [09:04:09.093] checking alignment of double... 8 [09:04:09.357] checking for __int128... yes [09:04:09.405] checking for __int128 alignment bug... assuming ok [09:04:09.405] checking alignment of PG_INT128_TYPE... 16 [09:04:09.739] checking for builtin __sync char locking functions... yes [09:04:09.782] checking for builtin __sync int32 locking functions... yes [09:04:09.826] checking for builtin __sync int32 atomic operations... yes [09:04:09.867] checking for builtin __sync int64 atomic operations... yes [09:04:09.908] checking for builtin __atomic int32 atomic operations... yes [09:04:09.949] checking for builtin __atomic int64 atomic operations... yes [09:04:09.991] checking for __get_cpuid... yes [09:04:10.036] checking for __get_cpuid_count... yes [09:04:10.076] checking for __cpuid... no [09:04:10.466] checking for __cpuidex... no [09:04:10.888] checking for _xgetbv... yes [09:04:11.279] checking for _mm512_popcnt_epi64... yes [09:04:11.672] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [09:04:11.773] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:04:11.796] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [09:04:11.814] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:04:11.832] 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 [09:04:11.886] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:04:11.886] checking for _mm512_clmulepi64_epi128... yes [09:04:12.279] checking for vectorized CRC-32C... AVX-512 with runtime check [09:04:12.279] checking which random number source to use... Windows native [09:04:12.281] checking for xmllint... /usr/bin/xmllint [09:04:12.281] checking for xsltproc... /usr/bin/xsltproc [09:04:12.282] checking for fop... /usr/bin/fop [09:04:12.282] checking for dbtoepub... no [09:04:12.282] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:04:12.282] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:04:12.282] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:04:12.293] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:04:12.293] 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 [09:04:12.293] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:04:12.293] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:04:12.380] configure: creating ./config.status [09:04:12.462] config.status: creating GNUmakefile [09:04:12.474] config.status: creating src/Makefile.global [09:04:12.488] config.status: creating src/include/pg_config.h [09:04:12.501] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:04:12.516] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:04:12.523] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:04:12.530] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:04:12.537] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:04:12.545] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:04:12.548] config.status: executing check_win32_symlinks commands [09:04:12.582] [09:04:12.582] real 0m15.745s [09:04:12.582] user 0m10.403s [09:04:12.582] sys 0m5.031s [09:04:12.582] make -s -j${BUILD_JOBS} clean [09:04:13.082] time make -s -j${BUILD_JOBS} world-bin [09:05:07.531] typecmds.c: In function ‘AlterDomainDefault’: [09:05:07.531] typecmds.c:2631:9: error: implicit declaration of function ‘LockDatabaseObject’ [-Werror=implicit-function-declaration] [09:05:07.531] 2631 | LockDatabaseObject(TypeRelationId, domainoid, 0, AccessExclusiveLock); [09:05:07.531] | ^~~~~~~~~~~~~~~~~~ [09:05:07.531] cc1: all warnings being treated as errors [09:05:07.532] make[3]: *** [: typecmds.o] Error 1 [09:05:07.532] make[2]: *** [common.mk:37: commands-recursive] Error 2 [09:05:07.532] make[2]: *** Waiting for unfinished jobs.... [09:05:32.147] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:05:32.147] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:05:32.147] [09:05:32.147] real 1m19.065s [09:05:32.147] user 4m8.390s [09:05:32.147] sys 0m49.576s [09:05:32.147] [09:05:32.147] Exit status: 2