[06:19:49.646] time ./configure \ [06:19:49.646] --host=x86_64-w64-mingw32 \ [06:19:49.646] --enable-cassert \ [06:19:49.646] --without-icu \ [06:19:49.646] CC="ccache x86_64-w64-mingw32-gcc" \ [06:19:49.646] CXX="ccache x86_64-w64-mingw32-g++" [06:19:49.756] checking build system type... x86_64-pc-linux-gnu [06:19:49.973] checking host system type... x86_64-w64-mingw32 [06:19:49.979] checking which template to use... win32 [06:19:49.979] checking whether NLS is wanted... no [06:19:49.979] checking for default port number... 5432 [06:19:49.985] checking for block size... 8kB [06:19:49.987] checking for segment size... 1GB [06:19:49.989] checking for WAL block size... 8kB [06:19:49.990] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:19:50.023] checking whether the C compiler works... yes [06:19:50.175] checking for C compiler default output file name... a.exe [06:19:50.176] checking for suffix of executables... .exe [06:19:50.217] checking whether we are cross compiling... yes [06:19:50.299] checking for suffix of object files... o [06:19:50.307] checking whether we are using the GNU C compiler... yes [06:19:50.314] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:19:50.321] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:19:50.346] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:19:50.407] checking whether we are using the GNU C++ compiler... yes [06:19:50.414] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:19:50.700] checking for gawk... no [06:19:50.700] checking for mawk... mawk [06:19:50.703] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:19:50.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:19:50.754] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:19:50.801] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:19:50.846] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:19:50.863] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:19:50.871] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:19:50.904] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:19:50.911] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:19:50.928] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:19:50.945] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:19:50.953] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:19:50.960] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:19:50.978] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:19:50.985] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:19:50.993] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:19:51.000] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [06:19:51.038] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:19:51.045] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:19:51.080] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:19:51.088] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:19:51.095] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:19:51.103] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:19:51.128] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:19:51.136] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:19:51.143] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:19:51.181] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:19:51.219] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:19:51.226] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:19:51.233] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:19:51.268] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:19:51.276] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:19:51.283] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:19:51.291] checking whether the C compiler still works... yes [06:19:51.361] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:19:51.437] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:19:51.437] checking pkg-config is at least version 0.9.0... yes [06:19:51.455] checking whether to build with ICU support... no [06:19:51.455] checking whether to build with Tcl... no [06:19:51.455] checking whether to build Perl modules... no [06:19:51.455] checking whether to build Python modules... no [06:19:51.455] checking whether to build with GSSAPI support... no [06:19:51.457] checking whether to build with PAM support... no [06:19:51.457] checking whether to build with BSD Authentication support... no [06:19:51.457] checking whether to build with LDAP support... no [06:19:51.457] checking whether to build with Bonjour support... no [06:19:51.457] checking whether to build with SELinux support... no [06:19:51.457] checking whether to build with systemd support... no [06:19:51.457] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:19:51.457] checking whether to build with XML support... no [06:19:51.458] checking whether to build with LZ4 support... no [06:19:51.458] checking whether to build with ZSTD support... no [06:19:51.458] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:19:51.458] checking whether it is possible to strip libraries... yes [06:19:51.470] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:19:51.470] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:19:51.471] checking for a BSD-compatible install... /usr/bin/install -c [06:19:51.480] checking for tar... /usr/bin/tar [06:19:51.481] checking whether ln -s works... yes [06:19:51.481] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:19:51.483] checking for bison... /usr/bin/bison [06:19:51.485] configure: using bison (GNU Bison) 3.8.2 [06:19:51.488] checking for flex... /usr/bin/flex [06:19:51.501] configure: using flex 2.6.4 [06:19:51.501] checking for perl... /usr/bin/perl [06:19:51.504] configure: using perl 5.36.0 [06:19:51.506] checking for zic... /usr/sbin/zic [06:19:51.506] checking for a sed that does not truncate output... /usr/bin/sed [06:19:51.511] checking for grep that handles long lines and -e... /usr/bin/grep [06:19:51.513] checking for egrep... /usr/bin/grep -E [06:19:51.515] checking for ANSI C header files... yes [06:19:51.581] checking for sys/types.h... yes [06:19:51.600] checking for sys/stat.h... yes [06:19:51.616] checking for stdlib.h... yes [06:19:51.679] checking for string.h... yes [06:19:51.692] checking for memory.h... yes [06:19:51.707] checking for strings.h... yes [06:19:51.721] checking for inttypes.h... yes [06:19:51.741] checking for stdint.h... yes [06:19:51.802] checking for unistd.h... yes [06:19:51.817] checking for main in -lm... yes [06:19:51.867] checking for library containing setproctitle... no [06:19:51.961] checking for library containing dlsym... no [06:19:52.050] checking for library containing socket... -lws2_32 [06:19:52.186] checking for library containing getopt_long... none required [06:19:52.236] checking for library containing shm_open... no [06:19:52.326] checking for library containing shm_unlink... no [06:19:52.417] checking for library containing clock_gettime... no [06:19:52.507] checking for library containing shmget... no [06:19:52.596] checking for library containing backtrace_symbols... no [06:19:52.685] checking for library containing pthread_barrier_wait... -lpthread [06:19:52.778] checking for inflate in -lz... yes [06:19:52.827] checking for stdbool.h that conforms to C99... yes [06:19:52.878] checking for _Bool... yes [06:19:53.005] checking atomic.h usability... no [06:19:53.062] checking atomic.h presence... no [06:19:53.082] checking for atomic.h... no [06:19:53.085] checking copyfile.h usability... no [06:19:53.144] checking copyfile.h presence... no [06:19:53.164] checking for copyfile.h... no [06:19:53.168] checking execinfo.h usability... no [06:19:53.228] checking execinfo.h presence... no [06:19:53.248] checking for execinfo.h... no [06:19:53.252] checking getopt.h usability... yes [06:19:53.260] checking getopt.h presence... yes [06:19:53.276] checking for getopt.h... yes [06:19:53.284] checking ifaddrs.h usability... no [06:19:53.341] checking ifaddrs.h presence... no [06:19:53.361] checking for ifaddrs.h... no [06:19:53.364] checking mbarrier.h usability... no [06:19:53.421] checking mbarrier.h presence... no [06:19:53.440] checking for mbarrier.h... no [06:19:53.443] checking sys/epoll.h usability... no [06:19:53.500] checking sys/epoll.h presence... no [06:19:53.519] checking for sys/epoll.h... no [06:19:53.522] checking sys/event.h usability... no [06:19:53.579] checking sys/event.h presence... no [06:19:53.599] checking for sys/event.h... no [06:19:53.602] checking sys/personality.h usability... no [06:19:53.661] checking sys/personality.h presence... no [06:19:53.682] checking for sys/personality.h... no [06:19:53.685] checking sys/prctl.h usability... no [06:19:53.741] checking sys/prctl.h presence... no [06:19:53.761] checking for sys/prctl.h... no [06:19:53.764] checking sys/procctl.h usability... no [06:19:53.822] checking sys/procctl.h presence... no [06:19:53.843] checking for sys/procctl.h... no [06:19:53.846] checking sys/signalfd.h usability... no [06:19:53.907] checking sys/signalfd.h presence... no [06:19:53.927] checking for sys/signalfd.h... no [06:19:53.931] checking sys/ucred.h usability... no [06:19:53.989] checking sys/ucred.h presence... no [06:19:54.009] checking for sys/ucred.h... no [06:19:54.013] checking termios.h usability... no [06:19:54.070] checking termios.h presence... no [06:19:54.091] checking for termios.h... no [06:19:54.094] checking ucred.h usability... no [06:19:54.151] checking ucred.h presence... no [06:19:54.172] checking for ucred.h... no [06:19:54.176] checking xlocale.h usability... no [06:19:54.235] checking xlocale.h presence... no [06:19:54.255] checking for xlocale.h... no [06:19:54.258] checking zlib.h usability... yes [06:19:54.293] checking zlib.h presence... yes [06:19:54.312] checking for zlib.h... yes [06:19:54.312] checking for lz4... /usr/bin/lz4 [06:19:54.312] checking for zstd... /usr/bin/zstd [06:19:54.313] checking for openssl... /usr/bin/openssl [06:19:54.317] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [06:19:54.318] checking crtdefs.h usability... yes [06:19:54.346] checking crtdefs.h presence... yes [06:19:54.362] checking for crtdefs.h... yes [06:19:54.363] checking whether byte ordering is bigendian... no [06:19:54.438] checking for inline... inline [06:19:54.445] checking for printf format archetype... gnu_printf [06:19:54.453] checking for _Static_assert... yes [06:19:54.494] checking for typeof... typeof [06:19:54.501] checking for __builtin_types_compatible_p... yes [06:19:54.521] checking for __builtin_constant_p... yes [06:19:54.532] checking for __builtin_unreachable... yes [06:19:54.572] checking for computed goto support... yes [06:19:54.589] checking for struct tm.tm_zone... no [06:19:54.667] checking for union semun... no [06:19:54.703] checking for socklen_t... yes [06:19:55.954] checking for struct sockaddr.sa_len... no [06:19:58.067] checking for C/C++ restrict keyword... __restrict [06:19:58.081] checking for struct option... yes [06:19:58.126] checking whether assembler supports x86_64 popcntq... yes [06:19:58.144] checking size of off_t... 4 [06:19:58.419] 0 [06:19:58.419] checking size of bool... 1 [06:19:58.467] checking for int timezone... yes [06:19:58.520] checking for backtrace_symbols... no [06:19:58.572] checking for copyfile... no [06:19:58.625] checking for copy_file_range... no [06:19:58.677] checking for elf_aux_info... no [06:19:58.730] checking for getauxval... no [06:19:58.783] checking for getifaddrs... no [06:19:58.834] checking for getpeerucred... no [06:19:58.887] checking for inet_pton... yes [06:19:58.942] checking for kqueue... no [06:19:58.996] checking for mbstowcs_l... no [06:19:59.050] checking for memset_s... no [06:19:59.104] checking for posix_fallocate... no [06:19:59.158] checking for ppoll... no [06:19:59.211] checking for pthread_is_threaded_np... no [06:19:59.263] checking for setproctitle... no [06:19:59.316] checking for setproctitle_fast... no [06:19:59.368] checking for strchrnul... no [06:19:59.421] checking for strsignal... no [06:19:59.472] checking for syncfs... no [06:19:59.523] checking for sync_file_range... no [06:19:59.574] checking for uselocale... no [06:19:59.625] checking for wcstombs_l... no [06:19:59.674] checking for __builtin_bswap16... yes [06:19:59.726] checking for __builtin_bswap32... yes [06:19:59.772] checking for __builtin_bswap64... yes [06:19:59.820] checking for __builtin_clz... yes [06:19:59.868] checking for __builtin_ctz... yes [06:19:59.917] checking for __builtin_popcount... yes [06:19:59.967] checking for __builtin_frame_address... yes [06:20:00.014] checking for _LARGEFILE_SOURCE value needed for large files... no [06:20:00.066] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:20:00.097] checking for posix_fadvise... no [06:20:00.148] checking whether posix_fadvise is declared... no [06:20:00.192] checking whether fdatasync is declared... no [06:20:00.239] checking whether strlcat is declared... no [06:20:00.303] checking whether strlcpy is declared... no [06:20:00.365] checking whether strnlen is declared... yes [06:20:00.378] checking whether strsep is declared... no [06:20:00.442] checking whether preadv is declared... no [06:20:00.480] checking whether pwritev is declared... no [06:20:00.520] checking whether F_FULLFSYNC is declared... no [06:20:00.559] checking for explicit_bzero... no [06:20:00.607] checking for getopt... yes [06:20:00.650] checking for getpeereid... no [06:20:00.699] checking for inet_aton... no [06:20:00.749] checking for mkdtemp... no [06:20:00.797] checking for strlcat... no [06:20:00.846] checking for strlcpy... no [06:20:00.896] checking for strnlen... yes [06:20:00.945] checking for strsep... no [06:20:00.995] checking for pthread_barrier_wait... yes [06:20:01.041] configure: On mingw32 we will use our strtof wrapper. [06:20:01.041] checking for getopt_long... yes [06:20:01.087] checking for _configthreadlocale... yes [06:20:01.135] checking for syslog... no [06:20:01.184] checking for opterr... yes [06:20:01.236] checking for optreset... no [06:20:01.288] checking test program... cross-compiling [06:20:01.288] checking whether long int is 64 bits... no [06:20:01.319] checking whether long long int is 64 bits... yes [06:20:01.357] checking for __builtin_mul_overflow... yes [06:20:01.401] checking size of void *... 8 [06:20:01.728] checking size of size_t... 8 [06:20:02.017] checking size of long... 4 [06:20:02.247] checking alignment of short... 2 [06:20:02.465] checking alignment of int... 4 [06:20:02.776] checking alignment of long... 4 [06:20:03.036] checking alignment of long long int... 8 [06:20:03.359] checking alignment of double... 8 [06:20:03.716] checking for __int128... yes [06:20:03.768] checking for __int128 alignment bug... assuming ok [06:20:03.768] checking alignment of PG_INT128_TYPE... 16 [06:20:04.147] checking for builtin __sync char locking functions... yes [06:20:04.192] checking for builtin __sync int32 locking functions... yes [06:20:04.239] checking for builtin __sync int32 atomic operations... yes [06:20:04.283] checking for builtin __sync int64 atomic operations... yes [06:20:04.328] checking for builtin __atomic int32 atomic operations... yes [06:20:04.372] checking for builtin __atomic int64 atomic operations... yes [06:20:04.418] checking for __get_cpuid... yes [06:20:04.469] checking for __get_cpuid_count... yes [06:20:04.516] checking for __cpuid... no [06:20:04.928] checking for __cpuidex... no [06:20:05.367] checking for _xgetbv... yes [06:20:05.783] checking for _mm512_popcnt_epi64... yes [06:20:06.216] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [06:20:06.266] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [06:20:06.365] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:20:06.389] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:20:06.409] 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:20:06.465] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:20:06.465] checking which random number source to use... Windows native [06:20:06.467] checking for xmllint... /usr/bin/xmllint [06:20:06.468] checking for xsltproc... /usr/bin/xsltproc [06:20:06.468] checking for fop... /usr/bin/fop [06:20:06.468] checking for dbtoepub... no [06:20:06.468] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:20:06.468] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:20:06.469] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [06:20:06.479] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [06:20:06.479] 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:20:06.479] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [06:20:06.479] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:20:06.560] configure: creating ./config.status [06:20:06.646] config.status: creating GNUmakefile [06:20:06.659] config.status: creating src/Makefile.global [06:20:06.674] config.status: creating src/include/pg_config.h [06:20:06.686] config.status: creating src/include/pg_config_ext.h [06:20:06.697] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:20:06.712] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:20:06.719] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:20:06.726] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:20:06.733] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:20:06.741] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:20:06.744] config.status: executing check_win32_symlinks commands [06:20:06.781] [06:20:06.781] real 0m17.135s [06:20:06.781] user 0m11.337s [06:20:06.781] sys 0m5.326s [06:20:06.781] make -s -j${BUILD_JOBS} clean [06:20:07.291] time make -s -j${BUILD_JOBS} world-bin [06:22:47.532] mcxt.c:118:34: error: initialization of ‘void * (*)(struct MemoryContextData *, Size, int)’ {aka ‘void * (*)(struct MemoryContextData *, long long unsigned int, int)’} from incompatible pointer type ‘void * (*)(struct MemoryContextData *, Size)’ {aka ‘void * (*)(struct MemoryContextData *, long long unsigned int)’} [-Werror=incompatible-pointer-types] [06:22:47.532] 118 | [MCTX_MALLOC_ID].alloc = MallocContextAlloc, [06:22:47.532] | ^~~~~~~~~~~~~~~~~~ [06:22:47.532] mcxt.c:118:34: note: (near initialization for ‘mcxt_methods[8].alloc’) [06:22:47.532] mcxt.c:120:36: error: initialization of ‘void * (*)(void *, Size, int)’ {aka ‘void * (*)(void *, long long unsigned int, int)’} from incompatible pointer type ‘void * (*)(void *, Size)’ {aka ‘void * (*)(void *, long long unsigned int)’} [-Werror=incompatible-pointer-types] [06:22:47.532] 120 | [MCTX_MALLOC_ID].realloc = MallocContextRealloc, [06:22:47.532] | ^~~~~~~~~~~~~~~~~~~~ [06:22:47.532] mcxt.c:120:36: note: (near initialization for ‘mcxt_methods[8].realloc’) [06:22:47.532] cc1: all warnings being treated as errors [06:22:47.533] make[4]: *** [: mcxt.o] Error 1 [06:22:47.533] make[3]: *** [../../../src/backend/common.mk:37: mmgr-recursive] Error 2 [06:22:47.533] make[3]: *** Waiting for unfinished jobs.... [06:22:49.230] make[2]: *** [common.mk:37: utils-recursive] Error 2 [06:22:49.231] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:22:49.231] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:22:49.231] [06:22:49.231] real 2m41.940s [06:22:49.231] user 8m43.876s [06:22:49.231] sys 1m43.081s [06:22:49.232] [06:22:49.232] Exit status: 2