[22:25:38.238] time ./configure \ [22:25:38.238] --host=x86_64-w64-mingw32 \ [22:25:38.238] --enable-cassert \ [22:25:38.238] --without-icu \ [22:25:38.238] CC="ccache x86_64-w64-mingw32-gcc" \ [22:25:38.238] CXX="ccache x86_64-w64-mingw32-g++" [22:25:38.353] checking build system type... x86_64-pc-linux-gnu [22:25:38.528] checking host system type... x86_64-w64-mingw32 [22:25:38.533] checking which template to use... win32 [22:25:38.533] checking whether NLS is wanted... no [22:25:38.533] checking for default port number... 5432 [22:25:38.540] checking for block size... 8kB [22:25:38.541] checking for segment size... 1GB [22:25:38.543] checking for WAL block size... 8kB [22:25:38.544] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:25:38.576] checking whether the C compiler works... yes [22:25:38.706] checking for C compiler default output file name... a.exe [22:25:38.707] checking for suffix of executables... .exe [22:25:38.747] checking whether we are cross compiling... yes [22:25:38.823] checking for suffix of object files... o [22:25:38.854] checking whether we are using the GNU C compiler... yes [22:25:38.885] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:25:38.892] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:25:38.902] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:25:38.957] checking whether we are using the GNU C++ compiler... yes [22:25:38.963] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:25:39.028] checking for gawk... no [22:25:39.028] checking for mawk... mawk [22:25:39.031] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:25:39.046] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:25:39.052] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:25:39.096] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:25:39.254] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:25:39.261] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:25:39.335] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:25:39.342] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:25:39.349] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:25:39.356] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:25:39.362] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:25:39.392] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:25:39.398] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:25:39.427] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:25:39.433] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:25:39.462] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:25:39.492] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:25:39.527] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:25:39.558] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:25:39.564] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:25:39.579] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:25:39.610] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:25:39.617] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:25:39.639] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:25:39.668] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:25:39.697] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:25:39.733] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:25:39.770] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:25:39.785] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:25:39.814] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:25:39.848] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:25:39.863] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:25:39.870] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:25:39.886] checking whether the C compiler still works... yes [22:25:39.977] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:25:40.044] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:25:40.045] checking pkg-config is at least version 0.9.0... yes [22:25:40.060] checking whether to build with ICU support... no [22:25:40.061] checking whether to build with Tcl... no [22:25:40.061] checking whether to build Perl modules... no [22:25:40.061] checking whether to build Python modules... no [22:25:40.061] checking whether to build with GSSAPI support... no [22:25:40.062] checking whether to build with PAM support... no [22:25:40.062] checking whether to build with BSD Authentication support... no [22:25:40.062] checking whether to build with LDAP support... no [22:25:40.062] checking whether to build with Bonjour support... no [22:25:40.062] checking whether to build with SELinux support... no [22:25:40.062] checking whether to build with systemd support... no [22:25:40.062] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:25:40.062] checking whether to build with liburing support... no [22:25:40.063] checking whether to build with libcurl support... no [22:25:40.063] checking whether to build with libnuma support... no [22:25:40.063] checking whether to build with XML support... no [22:25:40.063] checking whether to build with LZ4 support... no [22:25:40.064] checking whether to build with ZSTD support... no [22:25:40.064] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:25:40.064] checking whether it is possible to strip libraries... yes [22:25:40.074] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:25:40.074] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:25:40.075] checking for a BSD-compatible install... /usr/bin/install -c [22:25:40.083] checking for tar... /usr/bin/tar [22:25:40.084] checking whether ln -s works... yes [22:25:40.084] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:25:40.086] checking for bison... /usr/bin/bison [22:25:40.088] configure: using bison (GNU Bison) 3.8.2 [22:25:40.091] checking for flex... /usr/bin/flex [22:25:40.093] configure: using flex 2.6.4 [22:25:40.093] checking for perl... /usr/bin/perl [22:25:40.096] configure: using perl 5.36.0 [22:25:40.098] checking for zic... /usr/sbin/zic [22:25:40.098] checking for a sed that does not truncate output... /usr/bin/sed [22:25:40.103] checking for grep that handles long lines and -e... /usr/bin/grep [22:25:40.105] checking for egrep... /usr/bin/grep -E [22:25:40.107] checking for ANSI C header files... yes [22:25:40.166] checking for sys/types.h... yes [22:25:40.182] checking for sys/stat.h... yes [22:25:40.197] checking for stdlib.h... yes [22:25:40.211] checking for string.h... yes [22:25:40.225] checking for memory.h... yes [22:25:40.240] checking for strings.h... yes [22:25:40.254] checking for inttypes.h... yes [22:25:40.269] checking for stdint.h... yes [22:25:40.328] checking for unistd.h... yes [22:25:40.363] checking for main in -lm... yes [22:25:40.407] checking for library containing setproctitle... no [22:25:40.494] checking for library containing dlsym... no [22:25:40.577] checking for library containing socket... -lws2_32 [22:25:40.699] checking for library containing getopt_long... none required [22:25:40.742] checking for library containing shm_open... no [22:25:40.826] checking for library containing shm_unlink... no [22:25:40.910] checking for library containing clock_gettime... no [22:25:40.993] checking for library containing shmget... no [22:25:41.077] checking for library containing backtrace_symbols... no [22:25:41.162] checking for library containing pthread_barrier_wait... -lpthread [22:25:41.246] checking for inflate in -lz... yes [22:25:41.293] checking atomic.h usability... no [22:25:41.345] checking atomic.h presence... no [22:25:41.363] checking for atomic.h... no [22:25:41.366] checking copyfile.h usability... no [22:25:41.417] checking copyfile.h presence... no [22:25:41.436] checking for copyfile.h... no [22:25:41.439] checking execinfo.h usability... no [22:25:41.492] checking execinfo.h presence... no [22:25:41.511] checking for execinfo.h... no [22:25:41.514] checking getopt.h usability... yes [22:25:41.541] checking getopt.h presence... yes [22:25:41.555] checking for getopt.h... yes [22:25:41.562] checking ifaddrs.h usability... no [22:25:41.614] checking ifaddrs.h presence... no [22:25:41.632] checking for ifaddrs.h... no [22:25:41.635] checking mbarrier.h usability... no [22:25:41.687] checking mbarrier.h presence... no [22:25:41.704] checking for mbarrier.h... no [22:25:41.708] checking sys/epoll.h usability... no [22:25:41.758] checking sys/epoll.h presence... no [22:25:41.776] checking for sys/epoll.h... no [22:25:41.779] checking sys/event.h usability... no [22:25:41.832] checking sys/event.h presence... no [22:25:41.849] checking for sys/event.h... no [22:25:41.853] checking sys/personality.h usability... no [22:25:41.905] checking sys/personality.h presence... no [22:25:41.924] checking for sys/personality.h... no [22:25:41.927] checking sys/prctl.h usability... no [22:25:41.981] checking sys/prctl.h presence... no [22:25:42.000] checking for sys/prctl.h... no [22:25:42.003] checking sys/procctl.h usability... no [22:25:42.057] checking sys/procctl.h presence... no [22:25:42.075] checking for sys/procctl.h... no [22:25:42.078] checking sys/signalfd.h usability... no [22:25:42.131] checking sys/signalfd.h presence... no [22:25:42.149] checking for sys/signalfd.h... no [22:25:42.152] checking sys/ucred.h usability... no [22:25:42.206] checking sys/ucred.h presence... no [22:25:42.224] checking for sys/ucred.h... no [22:25:42.227] checking termios.h usability... no [22:25:42.279] checking termios.h presence... no [22:25:42.297] checking for termios.h... no [22:25:42.300] checking ucred.h usability... no [22:25:42.352] checking ucred.h presence... no [22:25:42.370] checking for ucred.h... no [22:25:42.373] checking xlocale.h usability... no [22:25:42.426] checking xlocale.h presence... no [22:25:42.443] checking for xlocale.h... no [22:25:42.446] checking zlib.h usability... yes [22:25:42.505] checking zlib.h presence... yes [22:25:42.524] checking for zlib.h... yes [22:25:42.524] checking for lz4... /usr/bin/lz4 [22:25:42.524] checking for zstd... /usr/bin/zstd [22:25:42.525] checking for openssl... /usr/bin/openssl [22:25:42.529] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [22:25:42.529] checking crtdefs.h usability... yes [22:25:42.582] checking crtdefs.h presence... yes [22:25:42.596] checking for crtdefs.h... yes [22:25:42.598] checking whether byte ordering is bigendian... no [22:25:42.676] checking for inline... inline [22:25:42.683] checking for printf format archetype... gnu_printf [22:25:42.691] checking for _Static_assert... yes [22:25:42.729] checking for typeof... typeof [22:25:42.737] checking for __builtin_types_compatible_p... yes [22:25:42.748] checking for __builtin_constant_p... yes [22:25:42.777] checking for __builtin_mul_overflow... yes [22:25:42.822] checking for __builtin_unreachable... yes [22:25:42.860] checking for computed goto support... yes [22:25:42.867] checking for struct tm.tm_zone... no [22:25:42.939] checking for union semun... no [22:25:42.971] checking for socklen_t... yes [22:25:44.067] checking for struct sockaddr.sa_len... no [22:25:45.970] checking for C/C++ restrict keyword... __restrict [22:25:45.984] checking for struct option... yes [22:25:46.054] checking whether assembler supports x86_64 popcntq... yes [22:25:46.061] checking size of off_t... 4 [22:25:46.327] 0 [22:25:46.327] checking for int timezone... yes [22:25:46.375] checking for backtrace_symbols... no [22:25:46.422] checking for copyfile... no [22:25:46.471] checking for copy_file_range... no [22:25:46.519] checking for elf_aux_info... no [22:25:46.567] checking for getauxval... no [22:25:46.615] checking for getifaddrs... no [22:25:46.664] checking for getpeerucred... no [22:25:46.712] checking for inet_pton... yes [22:25:46.760] checking for kqueue... no [22:25:46.806] checking for localeconv_l... no [22:25:46.856] checking for mbstowcs_l... no [22:25:46.904] checking for posix_fallocate... no [22:25:46.951] checking for ppoll... no [22:25:46.998] checking for pthread_is_threaded_np... no [22:25:47.047] checking for setproctitle... no [22:25:47.095] checking for setproctitle_fast... no [22:25:47.142] checking for strsignal... no [22:25:47.191] checking for syncfs... no [22:25:47.239] checking for sync_file_range... no [22:25:47.288] checking for uselocale... no [22:25:47.336] checking for wcstombs_l... no [22:25:47.382] checking for __builtin_bswap16... yes [22:25:47.428] checking for __builtin_bswap32... yes [22:25:47.473] checking for __builtin_bswap64... yes [22:25:47.518] checking for __builtin_clz... yes [22:25:47.564] checking for __builtin_ctz... yes [22:25:47.611] checking for __builtin_popcount... yes [22:25:47.657] checking for __builtin_frame_address... yes [22:25:47.702] checking for _LARGEFILE_SOURCE value needed for large files... no [22:25:47.753] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:25:47.782] checking for posix_fadvise... no [22:25:47.832] checking whether posix_fadvise is declared... no [22:25:47.875] checking whether fdatasync is declared... no [22:25:47.918] checking whether strlcat is declared... no [22:25:47.978] checking whether strlcpy is declared... no [22:25:48.039] checking whether strnlen is declared... yes [22:25:48.071] checking whether strsep is declared... no [22:25:48.130] checking whether timingsafe_bcmp is declared... no [22:25:48.193] checking whether preadv is declared... no [22:25:48.228] checking whether pwritev is declared... no [22:25:48.261] checking whether strchrnul is declared... no [22:25:48.303] checking whether memset_s is declared... no [22:25:48.345] checking whether F_FULLFSYNC is declared... no [22:25:48.383] checking for explicit_bzero... no [22:25:48.430] checking for getopt... yes [22:25:48.472] checking for getpeereid... no [22:25:48.516] checking for inet_aton... no [22:25:48.560] checking for mkdtemp... no [22:25:48.605] checking for strlcat... no [22:25:48.649] checking for strlcpy... no [22:25:48.693] checking for strnlen... yes [22:25:48.737] checking for strsep... no [22:25:48.783] checking for timingsafe_bcmp... no [22:25:48.829] checking for pthread_barrier_wait... yes [22:25:48.870] configure: On mingw32 we will use our strtof wrapper. [22:25:48.870] checking for getopt_long... yes [22:25:48.913] checking for syslog... no [22:25:48.957] checking for opterr... yes [22:25:49.001] checking for optreset... no [22:25:49.051] checking test program... cross-compiling [22:25:49.051] checking size of void *... 8 [22:25:49.340] checking size of size_t... 8 [22:25:49.765] checking size of long... 4 [22:25:50.012] checking size of long long... 8 [22:25:50.312] checking alignment of short... 2 [22:25:50.461] checking alignment of int... 4 [22:25:50.820] checking alignment of long... 4 [22:25:51.113] checking alignment of int64_t... 8 [22:25:51.423] checking alignment of double... 8 [22:25:51.855] checking for __int128... yes [22:25:51.903] checking for __int128 alignment bug... assuming ok [22:25:51.903] checking alignment of PG_INT128_TYPE... 16 [22:25:52.321] checking for builtin __sync char locking functions... yes [22:25:52.361] checking for builtin __sync int32 locking functions... yes [22:25:52.402] checking for builtin __sync int32 atomic operations... yes [22:25:52.442] checking for builtin __sync int64 atomic operations... yes [22:25:52.485] checking for builtin __atomic int32 atomic operations... yes [22:25:52.526] checking for builtin __atomic int64 atomic operations... yes [22:25:52.568] checking for __get_cpuid... yes [22:25:52.612] checking for __get_cpuid_count... yes [22:25:52.653] checking for __cpuid... no [22:25:53.043] checking for __cpuidex... no [22:25:53.460] checking for _xgetbv... yes [22:25:53.854] checking for _mm512_popcnt_epi64... yes [22:25:54.262] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [22:25:54.361] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:25:54.383] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [22:25:54.401] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:25:54.419] 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:25:54.472] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:25:54.472] checking for _mm512_clmulepi64_epi128... yes [22:25:54.868] checking for vectorized CRC-32C... AVX-512 with runtime check [22:25:54.868] checking which random number source to use... Windows native [22:25:54.870] checking for xmllint... /usr/bin/xmllint [22:25:54.870] checking for xsltproc... /usr/bin/xsltproc [22:25:54.870] checking for fop... /usr/bin/fop [22:25:54.871] checking for dbtoepub... no [22:25:54.871] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:25:54.871] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:25:54.871] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:25:54.882] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:25:54.882] 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:25:54.882] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:25:54.882] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:25:54.968] configure: creating ./config.status [22:25:55.054] config.status: creating GNUmakefile [22:25:55.066] config.status: creating src/Makefile.global [22:25:55.082] config.status: creating src/include/pg_config.h [22:25:55.094] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:25:55.109] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:25:55.116] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:25:55.123] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:25:55.131] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:25:55.138] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:25:55.141] config.status: executing check_win32_symlinks commands [22:25:55.174] [22:25:55.174] real 0m16.935s [22:25:55.174] user 0m11.276s [22:25:55.174] sys 0m5.300s [22:25:55.174] make -s -j${BUILD_JOBS} clean [22:25:55.697] time make -s -j${BUILD_JOBS} world-bin [22:27:17.536] In file included from pg_shmem.c:18: [22:27:17.536] ../../../src/include/storage/pg_shmem.h:66:9: error: unknown type name ‘pg_atomic_uint32’ [22:27:17.536] 66 | pg_atomic_uint32 NSharedBuffers; [22:27:17.536] | ^~~~~~~~~~~~~~~~ [22:27:17.536] ../../../src/include/storage/pg_shmem.h:69:9: error: unknown type name ‘pg_atomic_uint64’ [22:27:17.536] 69 | pg_atomic_uint64 Generation; [22:27:17.536] | ^~~~~~~~~~~~~~~~ [22:27:17.537] make[3]: *** [: pg_shmem.o] Error 1 [22:27:17.537] make[2]: *** [common.mk:37: port-recursive] Error 2 [22:27:17.537] make[2]: *** Waiting for unfinished jobs.... [22:27:37.748] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:27:37.748] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:27:37.748] [22:27:37.748] real 1m42.051s [22:27:37.748] user 5m30.458s [22:27:37.748] sys 1m1.091s [22:27:37.748] [22:27:37.748] Exit status: 2