[22:03:15.447] time ./configure \ [22:03:15.447] --host=x86_64-w64-mingw32 \ [22:03:15.447] --enable-cassert \ [22:03:15.447] --without-icu \ [22:03:15.447] CC="ccache x86_64-w64-mingw32-gcc" \ [22:03:15.447] CXX="ccache x86_64-w64-mingw32-g++" [22:03:15.563] checking build system type... x86_64-pc-linux-gnu [22:03:15.743] checking host system type... x86_64-w64-mingw32 [22:03:15.748] checking which template to use... win32 [22:03:15.748] checking whether NLS is wanted... no [22:03:15.748] checking for default port number... 5432 [22:03:15.755] checking for block size... 8kB [22:03:15.756] checking for segment size... 1GB [22:03:15.758] checking for WAL block size... 8kB [22:03:15.760] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:03:15.794] checking whether the C compiler works... yes [22:03:15.925] checking for C compiler default output file name... a.exe [22:03:15.926] checking for suffix of executables... .exe [22:03:15.965] checking whether we are cross compiling... yes [22:03:16.042] checking for suffix of object files... o [22:03:16.060] checking whether we are using the GNU C compiler... yes [22:03:16.093] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:03:16.109] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:03:16.119] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:03:16.200] checking whether we are using the GNU C++ compiler... yes [22:03:16.328] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:03:16.395] checking for gawk... no [22:03:16.395] checking for mawk... mawk [22:03:16.397] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:03:16.412] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:03:16.418] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:03:16.461] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:03:16.504] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:03:16.511] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:03:16.517] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:03:16.523] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:03:16.587] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:03:16.594] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:03:16.628] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:03:16.635] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:03:16.642] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:03:16.649] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:03:16.665] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:03:16.672] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:03:16.687] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:03:16.724] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:03:16.740] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:03:16.757] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:03:16.789] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:03:16.821] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:03:16.828] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:03:16.851] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:03:16.857] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:03:16.888] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:03:16.924] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:03:16.961] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:03:16.967] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:03:16.996] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:03:17.029] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:03:17.044] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:03:17.059] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:03:17.067] checking whether the C compiler still works... yes [22:03:17.129] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:03:17.198] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:03:17.198] checking pkg-config is at least version 0.9.0... yes [22:03:17.214] checking whether to build with ICU support... no [22:03:17.214] checking whether to build with Tcl... no [22:03:17.214] checking whether to build Perl modules... no [22:03:17.214] checking whether to build Python modules... no [22:03:17.214] checking whether to build with GSSAPI support... no [22:03:17.215] checking whether to build with PAM support... no [22:03:17.215] checking whether to build with BSD Authentication support... no [22:03:17.215] checking whether to build with LDAP support... no [22:03:17.215] checking whether to build with Bonjour support... no [22:03:17.216] checking whether to build with SELinux support... no [22:03:17.216] checking whether to build with systemd support... no [22:03:17.216] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:03:17.216] checking whether to build with liburing support... no [22:03:17.216] checking whether to build with libcurl support... no [22:03:17.216] checking whether to build with libnuma support... no [22:03:17.217] checking whether to build with XML support... no [22:03:17.217] checking whether to build with LZ4 support... no [22:03:17.217] checking whether to build with ZSTD support... no [22:03:17.217] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:03:17.218] checking whether it is possible to strip libraries... yes [22:03:17.224] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:03:17.225] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:03:17.225] checking for a BSD-compatible install... /usr/bin/install -c [22:03:17.234] checking for tar... /usr/bin/tar [22:03:17.234] checking whether ln -s works... yes [22:03:17.234] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:03:17.236] checking for bison... /usr/bin/bison [22:03:17.239] configure: using bison (GNU Bison) 3.8.2 [22:03:17.242] checking for flex... /usr/bin/flex [22:03:17.244] configure: using flex 2.6.4 [22:03:17.244] checking for perl... /usr/bin/perl [22:03:17.247] configure: using perl 5.36.0 [22:03:17.249] checking for zic... /usr/sbin/zic [22:03:17.249] checking for a sed that does not truncate output... /usr/bin/sed [22:03:17.254] checking for grep that handles long lines and -e... /usr/bin/grep [22:03:17.257] checking for egrep... /usr/bin/grep -E [22:03:17.258] checking for ANSI C header files... yes [22:03:17.340] checking for sys/types.h... yes [22:03:17.357] checking for sys/stat.h... yes [22:03:17.414] checking for stdlib.h... yes [22:03:17.428] checking for string.h... yes [22:03:17.441] checking for memory.h... yes [22:03:17.497] checking for strings.h... yes [22:03:17.556] checking for inttypes.h... yes [22:03:17.591] checking for stdint.h... yes [22:03:17.648] checking for unistd.h... yes [22:03:17.708] checking for main in -lm... yes [22:03:17.752] checking for library containing setproctitle... no [22:03:17.839] checking for library containing dlsym... no [22:03:17.926] checking for library containing socket... -lws2_32 [22:03:18.054] checking for library containing getopt_long... none required [22:03:18.100] checking for library containing shm_open... no [22:03:18.190] checking for library containing shm_unlink... no [22:03:18.276] checking for library containing clock_gettime... no [22:03:18.365] checking for library containing shmget... no [22:03:18.453] checking for library containing backtrace_symbols... no [22:03:18.539] checking for library containing pthread_barrier_wait... -lpthread [22:03:18.626] checking for inflate in -lz... yes [22:03:18.676] checking atomic.h usability... no [22:03:18.730] checking atomic.h presence... no [22:03:18.748] checking for atomic.h... no [22:03:18.752] checking copyfile.h usability... no [22:03:18.806] checking copyfile.h presence... no [22:03:18.824] checking for copyfile.h... no [22:03:18.828] checking execinfo.h usability... no [22:03:18.882] checking execinfo.h presence... no [22:03:18.901] checking for execinfo.h... no [22:03:18.904] checking getopt.h usability... yes [22:03:18.911] checking getopt.h presence... yes [22:03:18.926] checking for getopt.h... yes [22:03:18.933] checking ifaddrs.h usability... no [22:03:18.986] checking ifaddrs.h presence... no [22:03:19.004] checking for ifaddrs.h... no [22:03:19.007] checking mbarrier.h usability... no [22:03:19.059] checking mbarrier.h presence... no [22:03:19.077] checking for mbarrier.h... no [22:03:19.080] checking sys/epoll.h usability... no [22:03:19.134] checking sys/epoll.h presence... no [22:03:19.153] checking for sys/epoll.h... no [22:03:19.156] checking sys/event.h usability... no [22:03:19.212] checking sys/event.h presence... no [22:03:19.230] checking for sys/event.h... no [22:03:19.233] checking sys/personality.h usability... no [22:03:19.285] checking sys/personality.h presence... no [22:03:19.303] checking for sys/personality.h... no [22:03:19.306] checking sys/prctl.h usability... no [22:03:19.358] checking sys/prctl.h presence... no [22:03:19.377] checking for sys/prctl.h... no [22:03:19.380] checking sys/procctl.h usability... no [22:03:19.432] checking sys/procctl.h presence... no [22:03:19.449] checking for sys/procctl.h... no [22:03:19.453] checking sys/signalfd.h usability... no [22:03:19.506] checking sys/signalfd.h presence... no [22:03:19.526] checking for sys/signalfd.h... no [22:03:19.529] checking sys/ucred.h usability... no [22:03:19.584] checking sys/ucred.h presence... no [22:03:19.604] checking for sys/ucred.h... no [22:03:19.607] checking termios.h usability... no [22:03:19.660] checking termios.h presence... no [22:03:19.680] checking for termios.h... no [22:03:19.684] checking ucred.h usability... no [22:03:19.739] checking ucred.h presence... no [22:03:19.758] checking for ucred.h... no [22:03:19.761] checking xlocale.h usability... no [22:03:19.816] checking xlocale.h presence... no [22:03:19.835] checking for xlocale.h... no [22:03:19.838] checking zlib.h usability... yes [22:03:19.898] checking zlib.h presence... yes [22:03:19.917] checking for zlib.h... yes [22:03:19.917] checking for lz4... /usr/bin/lz4 [22:03:19.917] checking for zstd... /usr/bin/zstd [22:03:19.918] checking for openssl... /usr/bin/openssl [22:03:19.922] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [22:03:19.922] checking crtdefs.h usability... yes [22:03:19.930] checking crtdefs.h presence... yes [22:03:19.944] checking for crtdefs.h... yes [22:03:19.945] checking whether byte ordering is bigendian... no [22:03:20.048] checking for inline... inline [22:03:20.076] checking for printf format archetype... gnu_printf [22:03:20.085] checking for _Static_assert... yes [22:03:20.126] checking for typeof... typeof [22:03:20.134] checking for __builtin_types_compatible_p... yes [22:03:20.154] checking for __builtin_constant_p... yes [22:03:20.186] checking for __builtin_mul_overflow... yes [22:03:20.235] checking for __builtin_unreachable... yes [22:03:20.277] checking for computed goto support... yes [22:03:20.312] checking for struct tm.tm_zone... no [22:03:20.390] checking for union semun... no [22:03:20.423] checking for socklen_t... yes [22:03:21.902] checking for struct sockaddr.sa_len... no [22:03:23.851] checking for C/C++ restrict keyword... __restrict [22:03:23.891] checking for struct option... yes [22:03:23.963] checking whether assembler supports x86_64 popcntq... yes [22:03:23.979] checking size of off_t... 4 [22:03:24.267] 0 [22:03:24.267] checking for int timezone... yes [22:03:24.317] checking for backtrace_symbols... no [22:03:24.366] checking for copyfile... no [22:03:24.414] checking for copy_file_range... no [22:03:24.462] checking for elf_aux_info... no [22:03:24.513] checking for getauxval... no [22:03:24.564] checking for getifaddrs... no [22:03:24.614] checking for getpeerucred... no [22:03:24.664] checking for inet_pton... yes [22:03:24.714] checking for kqueue... no [22:03:24.765] checking for localeconv_l... no [22:03:24.817] checking for mbstowcs_l... no [22:03:24.866] checking for posix_fallocate... no [22:03:24.916] checking for ppoll... no [22:03:24.966] checking for pthread_is_threaded_np... no [22:03:25.018] checking for setproctitle... no [22:03:25.068] checking for setproctitle_fast... no [22:03:25.117] checking for strsignal... no [22:03:25.169] checking for syncfs... no [22:03:25.219] checking for sync_file_range... no [22:03:25.268] checking for uselocale... no [22:03:25.316] checking for wcstombs_l... no [22:03:25.362] checking for __builtin_bswap16... yes [22:03:25.412] checking for __builtin_bswap32... yes [22:03:25.460] checking for __builtin_bswap64... yes [22:03:25.509] checking for __builtin_clz... yes [22:03:25.558] checking for __builtin_ctz... yes [22:03:25.606] checking for __builtin_popcount... yes [22:03:25.654] checking for __builtin_frame_address... yes [22:03:25.700] checking for _LARGEFILE_SOURCE value needed for large files... no [22:03:25.750] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:03:25.781] checking for posix_fadvise... no [22:03:25.834] checking whether posix_fadvise is declared... no [22:03:25.881] checking whether fdatasync is declared... no [22:03:25.926] checking whether strlcat is declared... no [22:03:25.992] checking whether strlcpy is declared... no [22:03:26.056] checking whether strnlen is declared... yes [22:03:26.090] checking whether strsep is declared... no [22:03:26.153] checking whether timingsafe_bcmp is declared... no [22:03:26.214] checking whether preadv is declared... no [22:03:26.249] checking whether pwritev is declared... no [22:03:26.284] checking whether strchrnul is declared... no [22:03:26.326] checking whether memset_s is declared... no [22:03:26.369] checking whether F_FULLFSYNC is declared... no [22:03:26.408] checking for explicit_bzero... no [22:03:26.453] checking for getopt... yes [22:03:26.497] checking for getpeereid... no [22:03:26.543] checking for inet_aton... no [22:03:26.591] checking for mkdtemp... no [22:03:26.637] checking for strlcat... no [22:03:26.685] checking for strlcpy... no [22:03:26.732] checking for strnlen... yes [22:03:26.780] checking for strsep... no [22:03:26.828] checking for timingsafe_bcmp... no [22:03:26.875] checking for pthread_barrier_wait... yes [22:03:26.918] configure: On mingw32 we will use our strtof wrapper. [22:03:26.918] checking for getopt_long... yes [22:03:26.962] checking for syslog... no [22:03:27.009] checking for opterr... yes [22:03:27.056] checking for optreset... no [22:03:27.107] checking test program... cross-compiling [22:03:27.107] checking size of void *... 8 [22:03:27.432] checking size of size_t... 8 [22:03:27.802] checking size of long... 4 [22:03:28.056] checking size of long long... 8 [22:03:28.504] checking alignment of short... 2 [22:03:28.660] checking alignment of int... 4 [22:03:28.886] checking alignment of long... 4 [22:03:29.210] checking alignment of int64_t... 8 [22:03:29.522] checking alignment of double... 8 [22:03:29.917] checking for __int128... yes [22:03:29.967] checking for __int128 alignment bug... assuming ok [22:03:29.967] checking alignment of PG_INT128_TYPE... 16 [22:03:30.415] checking for builtin __sync char locking functions... yes [22:03:30.457] checking for builtin __sync int32 locking functions... yes [22:03:30.499] checking for builtin __sync int32 atomic operations... yes [22:03:30.541] checking for builtin __sync int64 atomic operations... yes [22:03:30.585] checking for builtin __atomic int32 atomic operations... yes [22:03:30.626] checking for builtin __atomic int64 atomic operations... yes [22:03:30.669] checking for __get_cpuid... yes [22:03:30.714] checking for __get_cpuid_count... yes [22:03:30.756] checking for __cpuid... no [22:03:31.152] checking for __cpuidex... no [22:03:31.567] checking for _xgetbv... yes [22:03:31.966] checking for _mm512_popcnt_epi64... yes [22:03:32.372] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [22:03:32.473] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:03:32.496] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [22:03:32.515] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:03:32.533] 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 [22:03:32.587] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:03:32.588] checking for _mm512_clmulepi64_epi128... yes [22:03:33.002] checking for vectorized CRC-32C... AVX-512 with runtime check [22:03:33.003] checking which random number source to use... Windows native [22:03:33.004] checking for xmllint... /usr/bin/xmllint [22:03:33.005] checking for xsltproc... /usr/bin/xsltproc [22:03:33.005] checking for fop... /usr/bin/fop [22:03:33.005] checking for dbtoepub... no [22:03:33.005] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:03:33.005] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:03:33.006] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:03:33.016] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:03:33.017] 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 [22:03:33.017] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:03:33.017] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:03:33.104] configure: creating ./config.status [22:03:33.190] config.status: creating GNUmakefile [22:03:33.203] config.status: creating src/Makefile.global [22:03:33.219] config.status: creating src/include/pg_config.h [22:03:33.232] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:03:33.248] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:03:33.255] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:03:33.262] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:03:33.270] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:03:33.277] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:03:33.281] config.status: executing check_win32_symlinks commands [22:03:33.316] [22:03:33.316] real 0m17.869s [22:03:33.316] user 0m11.912s [22:03:33.316] sys 0m5.644s [22:03:33.316] make -s -j${BUILD_JOBS} clean [22:03:33.815] time make -s -j${BUILD_JOBS} world-bin [22:05:00.211] In file included from pg_shmem.c:18: [22:05:00.211] ../../../src/include/storage/pg_shmem.h:66:9: error: unknown type name ‘pg_atomic_uint32’ [22:05:00.211] 66 | pg_atomic_uint32 NSharedBuffers; [22:05:00.211] | ^~~~~~~~~~~~~~~~ [22:05:00.211] ../../../src/include/storage/pg_shmem.h:69:9: error: unknown type name ‘pg_atomic_uint64’ [22:05:00.211] 69 | pg_atomic_uint64 Generation; [22:05:00.211] | ^~~~~~~~~~~~~~~~ [22:05:00.212] make[3]: *** [: pg_shmem.o] Error 1 [22:05:00.212] make[2]: *** [common.mk:37: port-recursive] Error 2 [22:05:00.212] make[2]: *** Waiting for unfinished jobs.... [22:05:18.945] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:05:18.945] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:05:18.945] [22:05:18.945] real 1m45.130s [22:05:18.945] user 5m41.276s [22:05:18.945] sys 1m3.217s [22:05:18.945] [22:05:18.945] Exit status: 2