[07:59:39.712] time ./configure \ [07:59:39.712] --host=x86_64-w64-mingw32 \ [07:59:39.712] --enable-cassert \ [07:59:39.712] --without-icu \ [07:59:39.712] CC="ccache x86_64-w64-mingw32-gcc" \ [07:59:39.712] CXX="ccache x86_64-w64-mingw32-g++" [07:59:39.849] checking build system type... x86_64-pc-linux-gnu [07:59:40.080] checking host system type... x86_64-w64-mingw32 [07:59:40.086] checking which template to use... win32 [07:59:40.086] checking whether NLS is wanted... no [07:59:40.086] checking for default port number... 5432 [07:59:40.094] checking for block size... 8kB [07:59:40.095] checking for segment size... 1GB [07:59:40.098] checking for WAL block size... 8kB [07:59:40.099] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:59:40.138] checking whether the C compiler works... yes [07:59:40.301] checking for C compiler default output file name... a.exe [07:59:40.302] checking for suffix of executables... .exe [07:59:40.350] checking whether we are cross compiling... yes [07:59:40.435] checking for suffix of object files... o [07:59:40.445] checking whether we are using the GNU C compiler... yes [07:59:40.453] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:59:40.461] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:59:40.472] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:59:40.537] checking whether we are using the GNU C++ compiler... yes [07:59:40.544] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:59:40.613] checking for gawk... no [07:59:40.613] checking for mawk... mawk [07:59:40.615] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:59:40.622] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:59:40.629] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:59:40.678] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:59:40.868] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:59:40.875] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:59:40.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:59:40.890] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:59:40.897] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:59:40.904] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:59:40.911] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:59:40.918] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:59:40.925] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:59:40.932] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:59:40.939] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:59:40.946] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:59:40.953] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:59:40.994] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:59:41.001] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:59:41.008] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:59:41.015] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:59:41.022] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:59:41.029] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:59:41.053] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:59:41.060] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:59:41.068] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:59:41.106] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:59:41.149] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:59:41.156] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:59:41.163] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:59:41.201] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:59:41.208] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:59:41.216] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:59:41.225] checking whether the C compiler still works... yes [07:59:41.297] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:59:41.373] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:59:41.373] checking pkg-config is at least version 0.9.0... yes [07:59:41.391] checking whether to build with ICU support... no [07:59:41.391] checking whether to build with Tcl... no [07:59:41.391] checking whether to build Perl modules... no [07:59:41.391] checking whether to build Python modules... no [07:59:41.392] checking whether to build with GSSAPI support... no [07:59:41.393] checking whether to build with PAM support... no [07:59:41.393] checking whether to build with BSD Authentication support... no [07:59:41.393] checking whether to build with LDAP support... no [07:59:41.393] checking whether to build with Bonjour support... no [07:59:41.393] checking whether to build with SELinux support... no [07:59:41.393] checking whether to build with systemd support... no [07:59:41.393] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:59:41.394] checking whether to build with liburing support... no [07:59:41.394] checking whether to build with libcurl support... no [07:59:41.394] checking whether to build with libnuma support... no [07:59:41.395] checking whether to build with XML support... no [07:59:41.395] checking whether to build with LZ4 support... no [07:59:41.395] checking whether to build with ZSTD support... no [07:59:41.395] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:59:41.396] checking whether it is possible to strip libraries... yes [07:59:41.405] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:59:41.405] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:59:41.405] checking for a BSD-compatible install... /usr/bin/install -c [07:59:41.416] checking for tar... /usr/bin/tar [07:59:41.416] checking whether ln -s works... yes [07:59:41.416] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:59:41.419] checking for bison... /usr/bin/bison [07:59:41.421] configure: using bison (GNU Bison) 3.8.2 [07:59:41.424] checking for flex... /usr/bin/flex [07:59:41.427] configure: using flex 2.6.4 [07:59:41.427] checking for perl... /usr/bin/perl [07:59:41.430] configure: using perl 5.36.0 [07:59:41.432] checking for zic... /usr/sbin/zic [07:59:41.432] checking for a sed that does not truncate output... /usr/bin/sed [07:59:41.438] checking for grep that handles long lines and -e... /usr/bin/grep [07:59:41.440] checking for egrep... /usr/bin/grep -E [07:59:41.442] checking for ANSI C header files... yes [07:59:41.493] checking for sys/types.h... yes [07:59:41.509] checking for sys/stat.h... yes [07:59:41.526] checking for stdlib.h... yes [07:59:41.541] checking for string.h... yes [07:59:41.554] checking for memory.h... yes [07:59:41.568] checking for strings.h... yes [07:59:41.581] checking for inttypes.h... yes [07:59:41.596] checking for stdint.h... yes [07:59:41.609] checking for unistd.h... yes [07:59:41.624] checking for main in -lm... yes [07:59:41.673] checking for library containing setproctitle... no [07:59:41.767] checking for library containing dlsym... no [07:59:41.866] checking for library containing socket... -lws2_32 [07:59:42.010] checking for library containing getopt_long... none required [07:59:42.062] checking for library containing shm_open... no [07:59:42.158] checking for library containing shm_unlink... no [07:59:42.254] checking for library containing clock_gettime... no [07:59:42.350] checking for library containing shmget... no [07:59:42.447] checking for library containing backtrace_symbols... no [07:59:42.537] checking for library containing pthread_barrier_wait... -lpthread [07:59:42.620] checking for inflate in -lz... yes [07:59:42.669] checking atomic.h usability... no [07:59:42.732] checking atomic.h presence... no [07:59:42.751] checking for atomic.h... no [07:59:42.754] checking copyfile.h usability... no [07:59:42.813] checking copyfile.h presence... no [07:59:42.834] checking for copyfile.h... no [07:59:42.837] checking execinfo.h usability... no [07:59:42.894] checking execinfo.h presence... no [07:59:42.915] checking for execinfo.h... no [07:59:42.919] checking getopt.h usability... yes [07:59:42.927] checking getopt.h presence... yes [07:59:42.944] checking for getopt.h... yes [07:59:42.952] checking ifaddrs.h usability... no [07:59:43.012] checking ifaddrs.h presence... no [07:59:43.033] checking for ifaddrs.h... no [07:59:43.037] checking mbarrier.h usability... no [07:59:43.099] checking mbarrier.h presence... no [07:59:43.119] checking for mbarrier.h... no [07:59:43.123] checking sys/epoll.h usability... no [07:59:43.182] checking sys/epoll.h presence... no [07:59:43.203] checking for sys/epoll.h... no [07:59:43.207] checking sys/event.h usability... no [07:59:43.272] checking sys/event.h presence... no [07:59:43.293] checking for sys/event.h... no [07:59:43.297] checking sys/personality.h usability... no [07:59:43.358] checking sys/personality.h presence... no [07:59:43.379] checking for sys/personality.h... no [07:59:43.382] checking sys/prctl.h usability... no [07:59:43.442] checking sys/prctl.h presence... no [07:59:43.463] checking for sys/prctl.h... no [07:59:43.467] checking sys/procctl.h usability... no [07:59:43.522] checking sys/procctl.h presence... no [07:59:43.539] checking for sys/procctl.h... no [07:59:43.542] checking sys/signalfd.h usability... no [07:59:43.594] checking sys/signalfd.h presence... no [07:59:43.611] checking for sys/signalfd.h... no [07:59:43.613] checking sys/ucred.h usability... no [07:59:43.666] checking sys/ucred.h presence... no [07:59:43.685] checking for sys/ucred.h... no [07:59:43.688] checking termios.h usability... no [07:59:43.745] checking termios.h presence... no [07:59:43.764] checking for termios.h... no [07:59:43.768] checking ucred.h usability... no [07:59:43.825] checking ucred.h presence... no [07:59:43.845] checking for ucred.h... no [07:59:43.849] checking xlocale.h usability... no [07:59:43.911] checking xlocale.h presence... no [07:59:43.934] checking for xlocale.h... no [07:59:43.937] checking zlib.h usability... yes [07:59:43.948] checking zlib.h presence... yes [07:59:43.970] checking for zlib.h... yes [07:59:43.970] checking for lz4... /usr/bin/lz4 [07:59:43.970] checking for zstd... /usr/bin/zstd [07:59:43.971] checking for openssl... /usr/bin/openssl [07:59:43.975] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [07:59:43.976] checking crtdefs.h usability... yes [07:59:43.984] checking crtdefs.h presence... yes [07:59:44.001] checking for crtdefs.h... yes [07:59:44.003] checking whether byte ordering is bigendian... no [07:59:44.084] checking for inline... inline [07:59:44.093] checking for printf format archetype... gnu_printf [07:59:44.102] checking for _Static_assert... yes [07:59:44.148] checking for typeof... typeof [07:59:44.156] checking for __builtin_types_compatible_p... yes [07:59:44.168] checking for __builtin_constant_p... yes [07:59:44.180] checking for __builtin_mul_overflow... yes [07:59:44.233] checking for __builtin_unreachable... yes [07:59:44.277] checking for computed goto support... yes [07:59:44.284] checking for struct tm.tm_zone... no [07:59:44.372] checking for union semun... no [07:59:44.410] checking for socklen_t... yes [07:59:45.638] checking for struct sockaddr.sa_len... no [07:59:47.847] checking for C/C++ restrict keyword... __restrict [07:59:47.861] checking for struct option... yes [07:59:47.907] checking whether assembler supports x86_64 popcntq... yes [07:59:47.915] checking size of off_t... 4 [07:59:48.122] 0 [07:59:48.122] checking for int timezone... yes [07:59:48.178] checking for backtrace_symbols... no [07:59:48.234] checking for copyfile... no [07:59:48.288] checking for copy_file_range... no [07:59:48.344] checking for elf_aux_info... no [07:59:48.399] checking for getauxval... no [07:59:48.456] checking for getifaddrs... no [07:59:48.510] checking for getpeerucred... no [07:59:48.560] checking for inet_pton... yes [07:59:48.610] checking for kqueue... no [07:59:48.664] checking for localeconv_l... no [07:59:48.718] checking for mbstowcs_l... no [07:59:48.770] checking for posix_fallocate... no [07:59:48.824] checking for ppoll... no [07:59:48.879] checking for pthread_is_threaded_np... no [07:59:48.936] checking for setproctitle... no [07:59:48.993] checking for setproctitle_fast... no [07:59:49.049] checking for strsignal... no [07:59:49.106] checking for syncfs... no [07:59:49.165] checking for sync_file_range... no [07:59:49.224] checking for uselocale... no [07:59:49.283] checking for wcstombs_l... no [07:59:49.337] checking for __builtin_bswap16... yes [07:59:49.394] checking for __builtin_bswap32... yes [07:59:49.448] checking for __builtin_bswap64... yes [07:59:49.503] checking for __builtin_clz... yes [07:59:49.555] checking for __builtin_ctz... yes [07:59:49.604] checking for __builtin_popcount... yes [07:59:49.651] checking for __builtin_frame_address... yes [07:59:49.702] checking for _LARGEFILE_SOURCE value needed for large files... no [07:59:49.760] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:59:49.793] checking for posix_fadvise... no [07:59:49.848] checking whether posix_fadvise is declared... no [07:59:49.898] checking whether fdatasync is declared... no [07:59:49.949] checking whether strlcat is declared... no [07:59:50.023] checking whether strlcpy is declared... no [07:59:50.094] checking whether strnlen is declared... yes [07:59:50.108] checking whether strsep is declared... no [07:59:50.178] checking whether timingsafe_bcmp is declared... no [07:59:50.249] checking whether preadv is declared... no [07:59:50.291] checking whether pwritev is declared... no [07:59:50.336] checking whether strchrnul is declared... no [07:59:50.386] checking whether memset_s is declared... no [07:59:50.435] checking whether F_FULLFSYNC is declared... no [07:59:50.476] checking for explicit_bzero... no [07:59:50.524] checking for getopt... yes [07:59:50.568] checking for getpeereid... no [07:59:50.614] checking for inet_aton... no [07:59:50.662] checking for mkdtemp... no [07:59:50.716] checking for strlcat... no [07:59:50.769] checking for strlcpy... no [07:59:50.821] checking for strnlen... yes [07:59:50.874] checking for strsep... no [07:59:50.928] checking for timingsafe_bcmp... no [07:59:50.981] checking for pthread_barrier_wait... yes [07:59:51.029] configure: On mingw32 we will use our strtof wrapper. [07:59:51.029] checking for getopt_long... yes [07:59:51.079] checking for syslog... no [07:59:51.134] checking for opterr... yes [07:59:51.186] checking for optreset... no [07:59:51.241] checking test program... cross-compiling [07:59:51.241] checking size of void *... 8 [07:59:51.523] checking size of size_t... 8 [07:59:51.805] checking size of long... 4 [07:59:52.027] checking size of long long... 8 [07:59:52.320] checking alignment of short... 2 [07:59:52.476] checking alignment of int... 4 [07:59:52.688] checking alignment of long... 4 [07:59:52.920] checking alignment of int64_t... 8 [07:59:53.224] checking alignment of double... 8 [07:59:53.519] checking for __int128... yes [07:59:53.572] checking for __int128 alignment bug... assuming ok [07:59:53.572] checking alignment of PG_INT128_TYPE... 16 [07:59:53.937] checking for builtin __sync char locking functions... yes [07:59:53.986] checking for builtin __sync int32 locking functions... yes [07:59:54.036] checking for builtin __sync int32 atomic operations... yes [07:59:54.085] checking for builtin __sync int64 atomic operations... yes [07:59:54.132] checking for builtin __atomic int32 atomic operations... yes [07:59:54.183] checking for builtin __atomic int64 atomic operations... yes [07:59:54.231] checking for __get_cpuid... yes [07:59:54.282] checking for __get_cpuid_count... yes [07:59:54.332] checking for __cpuid... no [07:59:54.745] checking for __cpuidex... no [07:59:55.191] checking for _xgetbv... yes [07:59:55.594] checking for _mm512_popcnt_epi64... yes [07:59:56.024] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [07:59:56.133] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:59:56.159] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [07:59:56.180] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:59:56.201] 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 [07:59:56.265] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:59:56.265] checking for _mm512_clmulepi64_epi128... yes [07:59:56.697] checking for vectorized CRC-32C... AVX-512 with runtime check [07:59:56.698] checking which random number source to use... Windows native [07:59:56.700] checking for xmllint... /usr/bin/xmllint [07:59:56.700] checking for xsltproc... /usr/bin/xsltproc [07:59:56.700] checking for fop... /usr/bin/fop [07:59:56.701] checking for dbtoepub... no [07:59:56.701] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:59:56.701] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:59:56.701] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:59:56.714] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:59:56.714] 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 [07:59:56.714] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:59:56.714] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:59:56.820] configure: creating ./config.status [07:59:56.916] config.status: creating GNUmakefile [07:59:56.930] config.status: creating src/Makefile.global [07:59:56.947] config.status: creating src/include/pg_config.h [07:59:56.961] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:59:56.978] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:59:56.986] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:59:56.994] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:59:57.002] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:59:57.009] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:59:57.013] config.status: executing check_win32_symlinks commands [07:59:57.053] [07:59:57.053] real 0m17.341s [07:59:57.053] user 0m11.534s [07:59:57.053] sys 0m5.360s [07:59:57.053] make -s -j${BUILD_JOBS} clean [07:59:57.584] time make -s -j${BUILD_JOBS} world-bin [08:00:02.626] typecmds.c: In function ‘AlterDomainDefault’: [08:00:02.626] typecmds.c:2639:9: error: implicit declaration of function ‘LockDatabaseObject’ [-Werror=implicit-function-declaration] [08:00:02.626] 2639 | LockDatabaseObject(TypeRelationId, domainoid, 0, AccessExclusiveLock); [08:00:02.626] | ^~~~~~~~~~~~~~~~~~ [08:00:02.626] cc1: all warnings being treated as errors [08:00:02.627] make[3]: *** [: typecmds.o] Error 1 [08:00:02.627] make[2]: *** [common.mk:37: commands-recursive] Error 2 [08:00:02.627] make[2]: *** Waiting for unfinished jobs.... [08:00:03.109] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [08:00:03.109] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:00:03.110] [08:00:03.110] real 0m5.526s [08:00:03.110] user 0m9.741s [08:00:03.110] sys 0m6.943s [08:00:03.110] [08:00:03.110] Exit status: 2