[21:53:55.750] time ./configure \ [21:53:55.750] --host=x86_64-w64-mingw32 \ [21:53:55.750] --enable-cassert \ [21:53:55.750] --without-icu \ [21:53:55.750] CC="ccache x86_64-w64-mingw32-gcc" \ [21:53:55.750] CXX="ccache x86_64-w64-mingw32-g++" [21:53:55.870] checking build system type... x86_64-pc-linux-gnu [21:53:56.043] checking host system type... x86_64-w64-mingw32 [21:53:56.048] checking which template to use... win32 [21:53:56.048] checking whether NLS is wanted... no [21:53:56.048] checking for default port number... 5432 [21:53:56.055] checking for block size... 8kB [21:53:56.057] checking for segment size... 1GB [21:53:56.059] checking for WAL block size... 8kB [21:53:56.060] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:53:56.095] checking whether the C compiler works... yes [21:53:56.225] checking for C compiler default output file name... a.exe [21:53:56.227] checking for suffix of executables... .exe [21:53:56.271] checking whether we are cross compiling... yes [21:53:56.347] checking for suffix of object files... o [21:53:56.356] checking whether we are using the GNU C compiler... yes [21:53:56.372] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:53:56.380] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:53:56.390] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C11... none needed [21:53:56.437] checking whether we are using the GNU C++ compiler... yes [21:53:56.444] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:53:56.484] checking for gawk... no [21:53:56.484] checking for mawk... mawk [21:53:56.486] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:53:56.493] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:53:56.501] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:53:56.547] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:53:56.712] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:53:56.747] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:53:56.824] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:53:56.831] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:53:56.838] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:53:56.845] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:53:56.853] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:53:56.860] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:53:56.867] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:53:56.875] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:53:56.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:53:56.889] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:53:56.896] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:53:56.933] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:53:56.940] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:53:56.947] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:53:56.954] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:53:56.961] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:53:56.969] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:53:56.994] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:53:57.001] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:53:57.009] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:53:57.048] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:53:57.086] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:53:57.093] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:53:57.100] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:53:57.135] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:53:57.142] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:53:57.150] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:53:57.167] checking whether the C compiler still works... yes [21:53:57.231] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:53:57.310] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:53:57.310] checking pkg-config is at least version 0.9.0... yes [21:53:57.327] checking whether to build with ICU support... no [21:53:57.327] checking whether to build with Tcl... no [21:53:57.327] checking whether to build Perl modules... no [21:53:57.327] checking whether to build Python modules... no [21:53:57.327] checking whether to build with GSSAPI support... no [21:53:57.329] checking whether to build with PAM support... no [21:53:57.329] checking whether to build with BSD Authentication support... no [21:53:57.329] checking whether to build with LDAP support... no [21:53:57.329] checking whether to build with Bonjour support... no [21:53:57.329] checking whether to build with SELinux support... no [21:53:57.329] checking whether to build with systemd support... no [21:53:57.329] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:53:57.329] checking whether to build with liburing support... no [21:53:57.329] checking whether to build with libcurl support... no [21:53:57.330] checking whether to build with libnuma support... no [21:53:57.330] checking whether to build with XML support... no [21:53:57.330] checking whether to build with LZ4 support... no [21:53:57.330] checking whether to build with ZSTD support... no [21:53:57.331] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:53:57.331] checking whether it is possible to strip libraries... yes [21:53:57.338] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:53:57.338] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:53:57.338] checking for a BSD-compatible install... /usr/bin/install -c [21:53:57.348] checking for tar... /usr/bin/tar [21:53:57.348] checking whether ln -s works... yes [21:53:57.348] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:53:57.350] checking for bison... /usr/bin/bison [21:53:57.353] configure: using bison (GNU Bison) 3.8.2 [21:53:57.356] checking for flex... /usr/bin/flex [21:53:57.358] configure: using flex 2.6.4 [21:53:57.358] checking for perl... /usr/bin/perl [21:53:57.361] configure: using perl 5.36.0 [21:53:57.363] checking for zic... /usr/sbin/zic [21:53:57.364] checking for a sed that does not truncate output... /usr/bin/sed [21:53:57.369] checking for grep that handles long lines and -e... /usr/bin/grep [21:53:57.371] checking for egrep... /usr/bin/grep -E [21:53:57.373] checking for ANSI C header files... yes [21:53:57.426] checking for sys/types.h... yes [21:53:57.443] checking for sys/stat.h... yes [21:53:57.460] checking for stdlib.h... yes [21:53:57.475] checking for string.h... yes [21:53:57.489] checking for memory.h... yes [21:53:57.505] checking for strings.h... yes [21:53:57.520] checking for inttypes.h... yes [21:53:57.537] checking for stdint.h... yes [21:53:57.552] checking for unistd.h... yes [21:53:57.568] checking for main in -lm... yes [21:53:57.620] checking for library containing setproctitle... no [21:53:57.714] checking for library containing dlsym... no [21:53:57.804] checking for library containing socket... -lws2_32 [21:53:57.936] checking for library containing getopt_long... none required [21:53:57.984] checking for library containing shm_open... no [21:53:58.074] checking for library containing shm_unlink... no [21:53:58.169] checking for library containing clock_gettime... no [21:53:58.264] checking for library containing shmget... no [21:53:58.355] checking for library containing backtrace_symbols... no [21:53:58.447] checking for library containing pthread_barrier_wait... -lpthread [21:53:58.540] checking for inflate in -lz... yes [21:53:58.590] checking atomic.h usability... no [21:53:58.648] checking atomic.h presence... no [21:53:58.667] checking for atomic.h... no [21:53:58.670] checking copyfile.h usability... no [21:53:58.725] checking copyfile.h presence... no [21:53:58.745] checking for copyfile.h... no [21:53:58.748] checking execinfo.h usability... no [21:53:58.808] checking execinfo.h presence... no [21:53:58.829] checking for execinfo.h... no [21:53:58.832] checking getopt.h usability... yes [21:53:58.841] checking getopt.h presence... yes [21:53:58.856] checking for getopt.h... yes [21:53:58.864] checking ifaddrs.h usability... no [21:53:58.920] checking ifaddrs.h presence... no [21:53:58.941] checking for ifaddrs.h... no [21:53:58.945] checking mbarrier.h usability... no [21:53:59.002] checking mbarrier.h presence... no [21:53:59.021] checking for mbarrier.h... no [21:53:59.025] checking sys/epoll.h usability... no [21:53:59.083] checking sys/epoll.h presence... no [21:53:59.103] checking for sys/epoll.h... no [21:53:59.107] checking sys/event.h usability... no [21:53:59.163] checking sys/event.h presence... no [21:53:59.182] checking for sys/event.h... no [21:53:59.186] checking sys/personality.h usability... no [21:53:59.241] checking sys/personality.h presence... no [21:53:59.260] checking for sys/personality.h... no [21:53:59.263] checking sys/prctl.h usability... no [21:53:59.317] checking sys/prctl.h presence... no [21:53:59.336] checking for sys/prctl.h... no [21:53:59.339] checking sys/procctl.h usability... no [21:53:59.394] checking sys/procctl.h presence... no [21:53:59.415] checking for sys/procctl.h... no [21:53:59.418] checking sys/signalfd.h usability... no [21:53:59.474] checking sys/signalfd.h presence... no [21:53:59.493] checking for sys/signalfd.h... no [21:53:59.497] checking sys/ucred.h usability... no [21:53:59.552] checking sys/ucred.h presence... no [21:53:59.571] checking for sys/ucred.h... no [21:53:59.574] checking termios.h usability... no [21:53:59.630] checking termios.h presence... no [21:53:59.650] checking for termios.h... no [21:53:59.654] checking ucred.h usability... no [21:53:59.711] checking ucred.h presence... no [21:53:59.731] checking for ucred.h... no [21:53:59.735] checking xlocale.h usability... no [21:53:59.792] checking xlocale.h presence... no [21:53:59.813] checking for xlocale.h... no [21:53:59.816] checking zlib.h usability... yes [21:53:59.825] checking zlib.h presence... yes [21:53:59.844] checking for zlib.h... yes [21:53:59.845] checking for lz4... /usr/bin/lz4 [21:53:59.845] checking for zstd... /usr/bin/zstd [21:53:59.845] checking for openssl... /usr/bin/openssl [21:53:59.849] configure: using openssl: OpenSSL 3.0.17 1 Jul 2025 (Library: OpenSSL 3.0.17 1 Jul 2025) [21:53:59.850] checking crtdefs.h usability... yes [21:53:59.858] checking crtdefs.h presence... yes [21:53:59.872] checking for crtdefs.h... yes [21:53:59.873] checking whether byte ordering is bigendian... no [21:53:59.947] checking for inline... inline [21:53:59.954] checking for printf format archetype... gnu_printf [21:53:59.962] checking for _Static_assert... yes [21:54:00.005] checking for typeof... typeof [21:54:00.013] checking for __builtin_types_compatible_p... yes [21:54:00.024] checking for __builtin_constant_p... yes [21:54:00.035] checking for __builtin_mul_overflow... yes [21:54:00.084] checking for __builtin_unreachable... yes [21:54:00.127] checking for computed goto support... yes [21:54:00.134] checking for struct tm.tm_zone... no [21:54:00.212] checking for union semun... no [21:54:00.245] checking for socklen_t... yes [21:54:01.415] checking for struct sockaddr.sa_len... no [21:54:03.447] checking for C/C++ restrict keyword... __restrict [21:54:03.461] checking for struct option... yes [21:54:03.505] checking whether assembler supports x86_64 popcntq... yes [21:54:03.512] checking size of off_t... 4 [21:54:03.740] 0 [21:54:03.741] checking for int timezone... yes [21:54:03.794] checking for backtrace_symbols... no [21:54:03.847] checking for copyfile... no [21:54:03.898] checking for copy_file_range... no [21:54:03.951] checking for elf_aux_info... no [21:54:04.007] checking for getauxval... no [21:54:04.067] checking for getifaddrs... no [21:54:04.123] checking for getpeerucred... no [21:54:04.178] checking for inet_pton... yes [21:54:04.232] checking for kqueue... no [21:54:04.286] checking for localeconv_l... no [21:54:04.340] checking for mbstowcs_l... no [21:54:04.393] checking for posix_fallocate... no [21:54:04.447] checking for ppoll... no [21:54:04.501] checking for pthread_is_threaded_np... no [21:54:04.559] checking for setproctitle... no [21:54:04.611] checking for setproctitle_fast... no [21:54:04.668] checking for strsignal... no [21:54:04.721] checking for syncfs... no [21:54:04.775] checking for sync_file_range... no [21:54:04.828] checking for uselocale... no [21:54:04.881] checking for wcstombs_l... no [21:54:04.931] checking for __builtin_bswap16... yes [21:54:04.982] checking for __builtin_bswap32... yes [21:54:05.031] checking for __builtin_bswap64... yes [21:54:05.080] checking for __builtin_clz... yes [21:54:05.131] checking for __builtin_ctz... yes [21:54:05.181] checking for __builtin_popcount... yes [21:54:05.232] checking for __builtin_frame_address... yes [21:54:05.281] checking for _LARGEFILE_SOURCE value needed for large files... no [21:54:05.335] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:54:05.369] checking for posix_fadvise... no [21:54:05.425] checking whether posix_fadvise is declared... no [21:54:05.474] checking whether fdatasync is declared... no [21:54:05.524] checking whether strlcat is declared... no [21:54:05.589] checking whether strlcpy is declared... no [21:54:05.654] checking whether strnlen is declared... yes [21:54:05.668] checking whether strsep is declared... no [21:54:05.732] checking whether timingsafe_bcmp is declared... no [21:54:05.801] checking whether preadv is declared... no [21:54:05.840] checking whether pwritev is declared... no [21:54:05.876] checking whether strchrnul is declared... no [21:54:05.919] checking whether memset_s is declared... no [21:54:05.965] checking whether F_FULLFSYNC is declared... no [21:54:06.007] checking for explicit_bzero... no [21:54:06.057] checking for getopt... yes [21:54:06.105] checking for getpeereid... no [21:54:06.157] checking for inet_aton... no [21:54:06.208] checking for mkdtemp... no [21:54:06.258] checking for strlcat... no [21:54:06.308] checking for strlcpy... no [21:54:06.358] checking for strnlen... yes [21:54:06.409] checking for strsep... no [21:54:06.459] checking for timingsafe_bcmp... no [21:54:06.511] checking for pthread_barrier_wait... yes [21:54:06.559] configure: On mingw32 we will use our strtof wrapper. [21:54:06.559] checking for getopt_long... yes [21:54:06.608] checking for syslog... no [21:54:06.659] checking for opterr... yes [21:54:06.710] checking for optreset... no [21:54:06.765] checking test program... cross-compiling [21:54:06.765] checking size of void *... 8 [21:54:07.045] checking size of size_t... 8 [21:54:07.348] checking size of long... 4 [21:54:07.558] checking size of long long... 8 [21:54:07.895] checking alignment of short... 2 [21:54:08.060] checking alignment of int... 4 [21:54:08.276] checking alignment of long... 4 [21:54:08.493] checking alignment of int64_t... 8 [21:54:08.812] checking alignment of double... 8 [21:54:09.151] checking for __int128... yes [21:54:09.203] checking for __int128 alignment bug... assuming ok [21:54:09.203] checking alignment of PG_INT128_TYPE... 16 [21:54:09.565] checking for builtin __sync char locking functions... yes [21:54:09.609] checking for builtin __sync int32 locking functions... yes [21:54:09.653] checking for builtin __sync int32 atomic operations... yes [21:54:09.702] checking for builtin __sync int64 atomic operations... yes [21:54:09.750] checking for builtin __atomic int32 atomic operations... yes [21:54:09.795] checking for builtin __atomic int64 atomic operations... yes [21:54:09.841] checking for __get_cpuid... yes [21:54:09.891] checking for __get_cpuid_count... yes [21:54:09.938] checking for _xgetbv... yes [21:54:10.349] checking for _mm512_popcnt_epi64... yes [21:54:10.768] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [21:54:10.874] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:54:10.898] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [21:54:10.918] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:54:10.938] 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 [21:54:10.994] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:54:10.995] checking for _mm512_clmulepi64_epi128... yes [21:54:11.407] checking for vectorized CRC-32C... AVX-512 with runtime check [21:54:11.408] checking which random number source to use... Windows native [21:54:11.409] checking for xmllint... /usr/bin/xmllint [21:54:11.410] checking for xsltproc... /usr/bin/xsltproc [21:54:11.410] checking for fop... /usr/bin/fop [21:54:11.410] checking for dbtoepub... no [21:54:11.411] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:54:11.411] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:54:11.411] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:54:11.422] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:54:11.422] 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 [21:54:11.422] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:54:11.422] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:54:11.517] configure: creating ./config.status [21:54:11.608] config.status: creating GNUmakefile [21:54:11.621] config.status: creating src/Makefile.global [21:54:11.637] config.status: creating src/include/pg_config.h [21:54:11.651] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:54:11.667] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:54:11.676] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:54:11.683] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:54:11.691] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:54:11.694] config.status: executing check_win32_symlinks commands [21:54:11.730] [21:54:11.730] real 0m15.980s [21:54:11.730] user 0m10.375s [21:54:11.730] sys 0m5.316s [21:54:11.730] make -s -j${BUILD_JOBS} clean [21:54:12.308] time make -s -j${BUILD_JOBS} world-bin [21:54:26.025] pqcomm.c: In function ‘ListenServerPort’: [21:54:26.025] pqcomm.c:557:52: error: ‘IPPROTO_MPTCP’ undeclared (first use in this function); did you mean ‘IPPROTO_TCP’? [21:54:26.025] 557 | ipprotocol = ListenMPTCP ? IPPROTO_MPTCP : 0; [21:54:26.025] | ^~~~~~~~~~~~~ [21:54:26.025] | IPPROTO_TCP [21:54:26.025] pqcomm.c:557:52: note: each undeclared identifier is reported only once for each function it appears in [21:54:26.026] make[3]: *** [: pqcomm.o] Error 1 [21:54:26.026] make[2]: *** [common.mk:37: libpq-recursive] Error 2 [21:54:26.026] make[2]: *** Waiting for unfinished jobs.... [21:54:28.838] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:54:28.838] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:54:28.838] [21:54:28.838] real 0m16.531s [21:54:28.838] user 0m43.793s [21:54:28.838] sys 0m11.684s [21:54:28.838] [21:54:28.838] Exit status: 2