[06:22:57.333] time ./configure \ [06:22:57.333] --host=x86_64-w64-mingw32 \ [06:22:57.333] --enable-cassert \ [06:22:57.333] --without-icu \ [06:22:57.333] CC="ccache x86_64-w64-mingw32-gcc" \ [06:22:57.333] CXX="ccache x86_64-w64-mingw32-g++" [06:22:57.446] checking build system type... x86_64-pc-linux-gnu [06:22:57.628] checking host system type... x86_64-w64-mingw32 [06:22:57.634] checking which template to use... win32 [06:22:57.634] checking whether NLS is wanted... no [06:22:57.634] checking for default port number... 5432 [06:22:57.641] checking for block size... 8kB [06:22:57.643] checking for segment size... 1GB [06:22:57.646] checking for WAL block size... 8kB [06:22:57.647] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:22:57.681] checking whether the C compiler works... yes [06:22:57.812] checking for C compiler default output file name... a.exe [06:22:57.813] checking for suffix of executables... .exe [06:22:57.854] checking whether we are cross compiling... yes [06:22:57.934] checking for suffix of object files... o [06:22:57.944] checking whether we are using the GNU C compiler... yes [06:22:57.951] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:22:57.958] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:22:57.968] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:22:58.030] checking whether we are using the GNU C++ compiler... yes [06:22:58.037] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:22:58.107] checking for gawk... no [06:22:58.107] checking for mawk... mawk [06:22:58.109] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:22:58.116] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:22:58.123] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:22:58.170] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:22:58.333] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:22:58.340] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:22:58.347] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:22:58.355] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:22:58.362] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:22:58.370] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:22:58.377] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:22:58.384] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:22:58.391] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:22:58.398] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:22:58.406] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:22:58.413] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:22:58.420] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [06:22:58.457] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:22:58.464] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:22:58.471] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:22:58.478] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:22:58.485] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:22:58.493] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:22:58.519] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:22:58.526] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:22:58.534] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:22:58.573] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:22:58.614] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:22:58.621] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:22:58.629] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:22:58.666] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:22:58.674] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:22:58.682] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:22:58.690] checking whether the C compiler still works... yes [06:22:58.754] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:22:58.834] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:22:58.834] checking pkg-config is at least version 0.9.0... yes [06:22:58.851] checking whether to build with ICU support... no [06:22:58.851] checking whether to build with Tcl... no [06:22:58.852] checking whether to build Perl modules... no [06:22:58.852] checking whether to build Python modules... no [06:22:58.852] checking whether to build with GSSAPI support... no [06:22:58.853] checking whether to build with PAM support... no [06:22:58.853] checking whether to build with BSD Authentication support... no [06:22:58.853] checking whether to build with LDAP support... no [06:22:58.853] checking whether to build with Bonjour support... no [06:22:58.853] checking whether to build with SELinux support... no [06:22:58.854] checking whether to build with systemd support... no [06:22:58.854] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:22:58.854] checking whether to build with liburing support... no [06:22:58.854] checking whether to build with libcurl support... no [06:22:58.854] checking whether to build with libnuma support... no [06:22:58.854] checking whether to build with XML support... no [06:22:58.855] checking whether to build with LZ4 support... no [06:22:58.855] checking whether to build with ZSTD support... no [06:22:58.855] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:22:58.855] checking whether it is possible to strip libraries... yes [06:22:58.863] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:22:58.863] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:22:58.863] checking for a BSD-compatible install... /usr/bin/install -c [06:22:58.873] checking for tar... /usr/bin/tar [06:22:58.874] checking whether ln -s works... yes [06:22:58.874] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:22:58.876] checking for bison... /usr/bin/bison [06:22:58.879] configure: using bison (GNU Bison) 3.8.2 [06:22:58.882] checking for flex... /usr/bin/flex [06:22:58.884] configure: using flex 2.6.4 [06:22:58.884] checking for perl... /usr/bin/perl [06:22:58.887] configure: using perl 5.36.0 [06:22:58.890] checking for zic... /usr/sbin/zic [06:22:58.890] checking for a sed that does not truncate output... /usr/bin/sed [06:22:58.896] checking for grep that handles long lines and -e... /usr/bin/grep [06:22:58.898] checking for egrep... /usr/bin/grep -E [06:22:58.900] checking for ANSI C header files... yes [06:22:58.951] checking for sys/types.h... yes [06:22:58.969] checking for sys/stat.h... yes [06:22:58.986] checking for stdlib.h... yes [06:22:59.002] checking for string.h... yes [06:22:59.018] checking for memory.h... yes [06:22:59.034] checking for strings.h... yes [06:22:59.051] checking for inttypes.h... yes [06:22:59.068] checking for stdint.h... yes [06:22:59.084] checking for unistd.h... yes [06:22:59.100] checking for main in -lm... yes [06:22:59.152] checking for library containing setproctitle... no [06:22:59.242] checking for library containing dlsym... no [06:22:59.334] checking for library containing socket... -lws2_32 [06:22:59.470] checking for library containing getopt_long... none required [06:22:59.518] checking for library containing shm_open... no [06:22:59.608] checking for library containing shm_unlink... no [06:22:59.704] checking for library containing clock_gettime... no [06:22:59.796] checking for library containing shmget... no [06:22:59.886] checking for library containing backtrace_symbols... no [06:22:59.977] checking for library containing pthread_barrier_wait... -lpthread [06:23:00.071] checking for inflate in -lz... yes [06:23:00.123] checking atomic.h usability... no [06:23:00.184] checking atomic.h presence... no [06:23:00.205] checking for atomic.h... no [06:23:00.208] checking copyfile.h usability... no [06:23:00.266] checking copyfile.h presence... no [06:23:00.287] checking for copyfile.h... no [06:23:00.291] checking execinfo.h usability... no [06:23:00.350] checking execinfo.h presence... no [06:23:00.371] checking for execinfo.h... no [06:23:00.374] checking getopt.h usability... yes [06:23:00.382] checking getopt.h presence... yes [06:23:00.398] checking for getopt.h... yes [06:23:00.406] checking ifaddrs.h usability... no [06:23:00.463] checking ifaddrs.h presence... no [06:23:00.483] checking for ifaddrs.h... no [06:23:00.487] checking mbarrier.h usability... no [06:23:00.545] checking mbarrier.h presence... no [06:23:00.566] checking for mbarrier.h... no [06:23:00.570] checking sys/epoll.h usability... no [06:23:00.628] checking sys/epoll.h presence... no [06:23:00.648] checking for sys/epoll.h... no [06:23:00.652] checking sys/event.h usability... no [06:23:00.710] checking sys/event.h presence... no [06:23:00.731] checking for sys/event.h... no [06:23:00.735] checking sys/personality.h usability... no [06:23:00.792] checking sys/personality.h presence... no [06:23:00.813] checking for sys/personality.h... no [06:23:00.816] checking sys/prctl.h usability... no [06:23:00.875] checking sys/prctl.h presence... no [06:23:00.895] checking for sys/prctl.h... no [06:23:00.898] checking sys/procctl.h usability... no [06:23:00.956] checking sys/procctl.h presence... no [06:23:00.977] checking for sys/procctl.h... no [06:23:00.981] checking sys/signalfd.h usability... no [06:23:01.040] checking sys/signalfd.h presence... no [06:23:01.061] checking for sys/signalfd.h... no [06:23:01.065] checking sys/ucred.h usability... no [06:23:01.123] checking sys/ucred.h presence... no [06:23:01.144] checking for sys/ucred.h... no [06:23:01.148] checking termios.h usability... no [06:23:01.206] checking termios.h presence... no [06:23:01.228] checking for termios.h... no [06:23:01.232] checking ucred.h usability... no [06:23:01.290] checking ucred.h presence... no [06:23:01.311] checking for ucred.h... no [06:23:01.314] checking xlocale.h usability... no [06:23:01.372] checking xlocale.h presence... no [06:23:01.392] checking for xlocale.h... no [06:23:01.395] checking zlib.h usability... yes [06:23:01.405] checking zlib.h presence... yes [06:23:01.425] checking for zlib.h... yes [06:23:01.425] checking for lz4... /usr/bin/lz4 [06:23:01.425] checking for zstd... /usr/bin/zstd [06:23:01.426] checking for openssl... /usr/bin/openssl [06:23:01.430] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [06:23:01.431] checking crtdefs.h usability... yes [06:23:01.439] checking crtdefs.h presence... yes [06:23:01.454] checking for crtdefs.h... yes [06:23:01.456] checking whether byte ordering is bigendian... no [06:23:01.535] checking for inline... inline [06:23:01.543] checking for printf format archetype... gnu_printf [06:23:01.552] checking for _Static_assert... yes [06:23:01.596] checking for typeof... typeof [06:23:01.604] checking for __builtin_types_compatible_p... yes [06:23:01.616] checking for __builtin_constant_p... yes [06:23:01.628] checking for __builtin_mul_overflow... yes [06:23:01.679] checking for __builtin_unreachable... yes [06:23:01.722] checking for computed goto support... yes [06:23:01.729] checking for struct tm.tm_zone... no [06:23:01.811] checking for union semun... no [06:23:01.847] checking for socklen_t... yes [06:23:03.080] checking for struct sockaddr.sa_len... no [06:23:05.208] checking for C/C++ restrict keyword... __restrict [06:23:05.221] checking for struct option... yes [06:23:05.262] checking whether assembler supports x86_64 popcntq... yes [06:23:05.269] checking size of off_t... 4 [06:23:05.475] 0 [06:23:05.475] checking for int timezone... yes [06:23:05.530] checking for backtrace_symbols... no [06:23:05.582] checking for copyfile... no [06:23:05.633] checking for copy_file_range... no [06:23:05.684] checking for elf_aux_info... no [06:23:05.736] checking for getauxval... no [06:23:05.789] checking for getifaddrs... no [06:23:05.840] checking for getpeerucred... no [06:23:05.890] checking for inet_pton... yes [06:23:05.939] checking for kqueue... no [06:23:05.988] checking for localeconv_l... no [06:23:06.038] checking for mbstowcs_l... no [06:23:06.086] checking for posix_fallocate... no [06:23:06.137] checking for ppoll... no [06:23:06.186] checking for pthread_is_threaded_np... no [06:23:06.235] checking for setproctitle... no [06:23:06.283] checking for setproctitle_fast... no [06:23:06.334] checking for strsignal... no [06:23:06.384] checking for syncfs... no [06:23:06.435] checking for sync_file_range... no [06:23:06.485] checking for uselocale... no [06:23:06.535] checking for wcstombs_l... no [06:23:06.582] checking for __builtin_bswap16... yes [06:23:06.631] checking for __builtin_bswap32... yes [06:23:06.677] checking for __builtin_bswap64... yes [06:23:06.724] checking for __builtin_clz... yes [06:23:06.772] checking for __builtin_ctz... yes [06:23:06.819] checking for __builtin_popcount... yes [06:23:06.867] checking for __builtin_frame_address... yes [06:23:06.913] checking for _LARGEFILE_SOURCE value needed for large files... no [06:23:06.965] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:23:06.995] checking for posix_fadvise... no [06:23:07.046] checking whether posix_fadvise is declared... no [06:23:07.091] checking whether fdatasync is declared... no [06:23:07.137] checking whether strlcat is declared... no [06:23:07.201] checking whether strlcpy is declared... no [06:23:07.266] checking whether strnlen is declared... yes [06:23:07.279] checking whether strsep is declared... no [06:23:07.343] checking whether timingsafe_bcmp is declared... no [06:23:07.407] checking whether preadv is declared... no [06:23:07.442] checking whether pwritev is declared... no [06:23:07.477] checking whether strchrnul is declared... no [06:23:07.518] checking whether memset_s is declared... no [06:23:07.559] checking whether F_FULLFSYNC is declared... no [06:23:07.599] checking for explicit_bzero... no [06:23:07.646] checking for getopt... yes [06:23:07.691] checking for getpeereid... no [06:23:07.738] checking for inet_aton... no [06:23:07.785] checking for mkdtemp... no [06:23:07.832] checking for strlcat... no [06:23:07.879] checking for strlcpy... no [06:23:07.928] checking for strnlen... yes [06:23:07.976] checking for strsep... no [06:23:08.026] checking for timingsafe_bcmp... no [06:23:08.078] checking for pthread_barrier_wait... yes [06:23:08.124] configure: On mingw32 we will use our strtof wrapper. [06:23:08.124] checking for getopt_long... yes [06:23:08.169] checking for syslog... no [06:23:08.215] checking for opterr... yes [06:23:08.263] checking for optreset... no [06:23:08.317] checking test program... cross-compiling [06:23:08.317] checking size of void *... 8 [06:23:08.606] checking size of size_t... 8 [06:23:08.890] checking size of long... 4 [06:23:09.104] checking size of long long... 8 [06:23:09.379] checking alignment of short... 2 [06:23:09.511] checking alignment of int... 4 [06:23:09.721] checking alignment of long... 4 [06:23:09.933] checking alignment of int64_t... 8 [06:23:10.199] checking alignment of double... 8 [06:23:10.480] checking for __int128... yes [06:23:10.532] checking for __int128 alignment bug... assuming ok [06:23:10.532] checking alignment of PG_INT128_TYPE... 16 [06:23:10.862] checking for builtin __sync char locking functions... yes [06:23:10.906] checking for builtin __sync int32 locking functions... yes [06:23:10.948] checking for builtin __sync int32 atomic operations... yes [06:23:10.990] checking for builtin __sync int64 atomic operations... yes [06:23:11.035] checking for builtin __atomic int32 atomic operations... yes [06:23:11.079] checking for builtin __atomic int64 atomic operations... yes [06:23:11.125] checking for __get_cpuid... yes [06:23:11.174] checking for __get_cpuid_count... yes [06:23:11.218] checking for __cpuid... no [06:23:11.628] checking for __cpuidex... no [06:23:12.052] checking for _xgetbv... yes [06:23:12.461] checking for _mm512_popcnt_epi64... yes [06:23:12.883] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [06:23:12.985] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:23:13.010] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [06:23:13.031] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:23:13.052] 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 [06:23:13.111] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:23:13.112] checking for _mm512_clmulepi64_epi128... yes [06:23:13.529] checking for vectorized CRC-32C... AVX-512 with runtime check [06:23:13.530] checking which random number source to use... Windows native [06:23:13.532] checking for xmllint... /usr/bin/xmllint [06:23:13.532] checking for xsltproc... /usr/bin/xsltproc [06:23:13.532] checking for fop... /usr/bin/fop [06:23:13.533] checking for dbtoepub... no [06:23:13.533] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:23:13.533] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:23:13.533] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [06:23:13.544] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [06:23:13.544] 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 [06:23:13.545] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [06:23:13.545] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:23:13.635] configure: creating ./config.status [06:23:13.724] config.status: creating GNUmakefile [06:23:13.736] config.status: creating src/Makefile.global [06:23:13.753] config.status: creating src/include/pg_config.h [06:23:13.766] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:23:13.782] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:23:13.790] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:23:13.797] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:23:13.805] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:23:13.813] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:23:13.816] config.status: executing check_win32_symlinks commands [06:23:13.853] [06:23:13.853] real 0m16.519s [06:23:13.853] user 0m11.113s [06:23:13.853] sys 0m5.110s [06:23:13.853] make -s -j${BUILD_JOBS} clean [06:23:14.377] time make -s -j${BUILD_JOBS} world-bin [06:23:19.233] typecmds.c: In function ‘AlterDomainDefault’: [06:23:19.233] typecmds.c:2631:9: error: implicit declaration of function ‘LockDatabaseObject’ [-Werror=implicit-function-declaration] [06:23:19.233] 2631 | LockDatabaseObject(TypeRelationId, domainoid, 0, AccessExclusiveLock); [06:23:19.233] | ^~~~~~~~~~~~~~~~~~ [06:23:19.233] cc1: all warnings being treated as errors [06:23:19.234] make[3]: *** [: typecmds.o] Error 1 [06:23:19.234] make[2]: *** [common.mk:37: commands-recursive] Error 2 [06:23:19.234] make[2]: *** Waiting for unfinished jobs.... [06:23:19.799] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:23:19.799] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:23:19.800] [06:23:19.800] real 0m5.423s [06:23:19.800] user 0m9.685s [06:23:19.800] sys 0m6.877s [06:23:19.800] [06:23:19.800] Exit status: 2