[06:40:47.181] time ./configure \ [06:40:47.181] --host=x86_64-w64-mingw32 \ [06:40:47.181] --enable-cassert \ [06:40:47.181] --without-icu \ [06:40:47.181] CC="ccache x86_64-w64-mingw32-gcc" \ [06:40:47.181] CXX="ccache x86_64-w64-mingw32-g++" [06:40:47.312] checking build system type... x86_64-pc-linux-gnu [06:40:47.512] checking host system type... x86_64-w64-mingw32 [06:40:47.518] checking which template to use... win32 [06:40:47.518] checking whether NLS is wanted... no [06:40:47.518] checking for default port number... 5432 [06:40:47.526] checking for block size... 8kB [06:40:47.527] checking for segment size... 1GB [06:40:47.530] checking for WAL block size... 8kB [06:40:47.531] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:40:47.567] checking whether the C compiler works... yes [06:40:47.720] checking for C compiler default output file name... a.exe [06:40:47.721] checking for suffix of executables... .exe [06:40:47.768] checking whether we are cross compiling... yes [06:40:47.859] checking for suffix of object files... o [06:40:47.877] checking whether we are using the GNU C compiler... yes [06:40:47.913] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:40:47.950] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:40:48.037] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:40:48.129] checking whether we are using the GNU C++ compiler... yes [06:40:48.285] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:40:48.429] checking for gawk... no [06:40:48.429] checking for mawk... mawk [06:40:48.432] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:40:48.466] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:40:48.483] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:40:48.531] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:40:48.579] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:40:48.596] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:40:48.604] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:40:48.612] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:40:48.632] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:40:48.667] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:40:48.702] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:40:48.736] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:40:48.772] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:40:48.807] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:40:48.843] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:40:48.879] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:40:48.916] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [06:40:48.960] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:40:48.996] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:40:49.031] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:40:49.048] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:40:49.084] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:40:49.102] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:40:49.126] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:40:49.163] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:40:49.197] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:40:49.238] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:40:49.283] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:40:49.319] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:40:49.355] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:40:49.394] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:40:49.431] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:40:49.468] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:40:49.505] checking whether the C compiler still works... yes [06:40:49.589] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:40:49.665] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:40:49.666] checking pkg-config is at least version 0.9.0... yes [06:40:49.683] checking whether to build with ICU support... no [06:40:49.683] checking whether to build with Tcl... no [06:40:49.683] checking whether to build Perl modules... no [06:40:49.683] checking whether to build Python modules... no [06:40:49.683] checking whether to build with GSSAPI support... no [06:40:49.684] checking whether to build with PAM support... no [06:40:49.685] checking whether to build with BSD Authentication support... no [06:40:49.685] checking whether to build with LDAP support... no [06:40:49.685] checking whether to build with Bonjour support... no [06:40:49.685] checking whether to build with SELinux support... no [06:40:49.685] checking whether to build with systemd support... no [06:40:49.685] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:40:49.685] checking whether to build with liburing support... no [06:40:49.686] checking whether to build with libcurl support... no [06:40:49.686] checking whether to build with libnuma support... no [06:40:49.686] checking whether to build with XML support... no [06:40:49.687] checking whether to build with LZ4 support... no [06:40:49.687] checking whether to build with ZSTD support... no [06:40:49.687] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:40:49.687] checking whether it is possible to strip libraries... yes [06:40:49.695] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:40:49.696] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:40:49.696] checking for a BSD-compatible install... /usr/bin/install -c [06:40:49.706] checking for tar... /usr/bin/tar [06:40:49.707] checking whether ln -s works... yes [06:40:49.707] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:40:49.709] checking for bison... /usr/bin/bison [06:40:49.712] configure: using bison (GNU Bison) 3.8.2 [06:40:49.715] checking for flex... /usr/bin/flex [06:40:49.717] configure: using flex 2.6.4 [06:40:49.717] checking for perl... /usr/bin/perl [06:40:49.721] configure: using perl 5.36.0 [06:40:49.723] checking for zic... /usr/sbin/zic [06:40:49.723] checking for a sed that does not truncate output... /usr/bin/sed [06:40:49.729] checking for grep that handles long lines and -e... /usr/bin/grep [06:40:49.731] checking for egrep... /usr/bin/grep -E [06:40:49.733] checking for ANSI C header files... yes [06:40:49.831] checking for sys/types.h... yes [06:40:49.848] checking for sys/stat.h... yes [06:40:49.915] checking for stdlib.h... yes [06:40:49.931] checking for string.h... yes [06:40:49.992] checking for memory.h... yes [06:40:50.053] checking for strings.h... yes [06:40:50.117] checking for inttypes.h... yes [06:40:50.183] checking for stdint.h... yes [06:40:50.250] checking for unistd.h... yes [06:40:50.320] checking for main in -lm... yes [06:40:50.371] checking for library containing setproctitle... no [06:40:50.466] checking for library containing dlsym... no [06:40:50.566] checking for library containing socket... -lws2_32 [06:40:50.708] checking for library containing getopt_long... none required [06:40:50.760] checking for library containing shm_open... no [06:40:50.854] checking for library containing shm_unlink... no [06:40:50.948] checking for library containing clock_gettime... no [06:40:51.048] checking for library containing shmget... no [06:40:51.144] checking for library containing backtrace_symbols... no [06:40:51.236] checking for library containing pthread_barrier_wait... -lpthread [06:40:51.333] checking for inflate in -lz... yes [06:40:51.385] checking atomic.h usability... no [06:40:51.443] checking atomic.h presence... no [06:40:51.464] checking for atomic.h... no [06:40:51.468] checking copyfile.h usability... no [06:40:51.530] checking copyfile.h presence... no [06:40:51.550] checking for copyfile.h... no [06:40:51.554] checking execinfo.h usability... no [06:40:51.613] checking execinfo.h presence... no [06:40:51.633] checking for execinfo.h... no [06:40:51.636] checking getopt.h usability... yes [06:40:51.643] checking getopt.h presence... yes [06:40:51.661] checking for getopt.h... yes [06:40:51.668] checking ifaddrs.h usability... no [06:40:51.724] checking ifaddrs.h presence... no [06:40:51.744] checking for ifaddrs.h... no [06:40:51.748] checking mbarrier.h usability... no [06:40:51.806] checking mbarrier.h presence... no [06:40:51.825] checking for mbarrier.h... no [06:40:51.829] checking sys/epoll.h usability... no [06:40:51.891] checking sys/epoll.h presence... no [06:40:51.911] checking for sys/epoll.h... no [06:40:51.914] checking sys/event.h usability... no [06:40:51.973] checking sys/event.h presence... no [06:40:51.993] checking for sys/event.h... no [06:40:51.997] checking sys/personality.h usability... no [06:40:52.056] checking sys/personality.h presence... no [06:40:52.075] checking for sys/personality.h... no [06:40:52.079] checking sys/prctl.h usability... no [06:40:52.139] checking sys/prctl.h presence... no [06:40:52.160] checking for sys/prctl.h... no [06:40:52.164] checking sys/procctl.h usability... no [06:40:52.222] checking sys/procctl.h presence... no [06:40:52.242] checking for sys/procctl.h... no [06:40:52.246] checking sys/signalfd.h usability... no [06:40:52.302] checking sys/signalfd.h presence... no [06:40:52.322] checking for sys/signalfd.h... no [06:40:52.325] checking sys/ucred.h usability... no [06:40:52.381] checking sys/ucred.h presence... no [06:40:52.401] checking for sys/ucred.h... no [06:40:52.404] checking termios.h usability... no [06:40:52.462] checking termios.h presence... no [06:40:52.481] checking for termios.h... no [06:40:52.484] checking ucred.h usability... no [06:40:52.540] checking ucred.h presence... no [06:40:52.560] checking for ucred.h... no [06:40:52.563] checking xlocale.h usability... no [06:40:52.619] checking xlocale.h presence... no [06:40:52.639] checking for xlocale.h... no [06:40:52.642] checking zlib.h usability... yes [06:40:52.680] checking zlib.h presence... yes [06:40:52.702] checking for zlib.h... yes [06:40:52.703] checking for lz4... /usr/bin/lz4 [06:40:52.703] checking for zstd... /usr/bin/zstd [06:40:52.704] checking for openssl... /usr/bin/openssl [06:40:52.709] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [06:40:52.710] checking crtdefs.h usability... yes [06:40:52.775] checking crtdefs.h presence... yes [06:40:52.793] checking for crtdefs.h... yes [06:40:52.794] checking whether byte ordering is bigendian... no [06:40:52.908] checking for inline... inline [06:40:52.939] checking for printf format archetype... gnu_printf [06:40:52.977] checking for _Static_assert... yes [06:40:53.020] checking for typeof... typeof [06:40:53.029] checking for __builtin_types_compatible_p... yes [06:40:53.041] checking for __builtin_constant_p... yes [06:40:53.076] checking for __builtin_mul_overflow... yes [06:40:53.127] checking for __builtin_unreachable... yes [06:40:53.176] checking for computed goto support... yes [06:40:53.215] checking for struct tm.tm_zone... no [06:40:53.302] checking for union semun... no [06:40:53.339] checking for socklen_t... yes [06:40:54.918] checking for struct sockaddr.sa_len... no [06:40:56.955] checking for C/C++ restrict keyword... __restrict [06:40:56.981] checking for struct option... yes [06:40:57.060] checking whether assembler supports x86_64 popcntq... yes [06:40:57.097] checking size of off_t... 4 [06:40:57.450] 0 [06:40:57.451] checking for int timezone... yes [06:40:57.507] checking for backtrace_symbols... no [06:40:57.562] checking for copyfile... no [06:40:57.619] checking for copy_file_range... no [06:40:57.675] checking for elf_aux_info... no [06:40:57.728] checking for getauxval... no [06:40:57.783] checking for getifaddrs... no [06:40:57.838] checking for getpeerucred... no [06:40:57.892] checking for inet_pton... yes [06:40:57.947] checking for kqueue... no [06:40:58.003] checking for localeconv_l... no [06:40:58.056] checking for mbstowcs_l... no [06:40:58.112] checking for posix_fallocate... no [06:40:58.172] checking for ppoll... no [06:40:58.230] checking for pthread_is_threaded_np... no [06:40:58.286] checking for setproctitle... no [06:40:58.345] checking for setproctitle_fast... no [06:40:58.401] checking for strsignal... no [06:40:58.457] checking for syncfs... no [06:40:58.514] checking for sync_file_range... no [06:40:58.571] checking for uselocale... no [06:40:58.628] checking for wcstombs_l... no [06:40:58.683] checking for __builtin_bswap16... yes [06:40:58.736] checking for __builtin_bswap32... yes [06:40:58.789] checking for __builtin_bswap64... yes [06:40:58.840] checking for __builtin_clz... yes [06:40:58.894] checking for __builtin_ctz... yes [06:40:58.946] checking for __builtin_popcount... yes [06:40:59.000] checking for __builtin_frame_address... yes [06:40:59.053] checking for _LARGEFILE_SOURCE value needed for large files... no [06:40:59.108] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:40:59.143] checking for posix_fadvise... no [06:40:59.200] checking whether posix_fadvise is declared... no [06:40:59.252] checking whether fdatasync is declared... no [06:40:59.305] checking whether strlcat is declared... no [06:40:59.376] checking whether strlcpy is declared... no [06:40:59.447] checking whether strnlen is declared... yes [06:40:59.520] checking whether strsep is declared... no [06:40:59.593] checking whether timingsafe_bcmp is declared... no [06:40:59.663] checking whether preadv is declared... no [06:40:59.703] checking whether pwritev is declared... no [06:40:59.742] checking whether strchrnul is declared... no [06:40:59.786] checking whether memset_s is declared... no [06:40:59.830] checking whether F_FULLFSYNC is declared... no [06:40:59.871] checking for explicit_bzero... no [06:40:59.922] checking for getopt... yes [06:40:59.970] checking for getpeereid... no [06:41:00.020] checking for inet_aton... no [06:41:00.071] checking for mkdtemp... no [06:41:00.121] checking for strlcat... no [06:41:00.173] checking for strlcpy... no [06:41:00.227] checking for strnlen... yes [06:41:00.281] checking for strsep... no [06:41:00.333] checking for timingsafe_bcmp... no [06:41:00.383] checking for pthread_barrier_wait... yes [06:41:00.430] configure: On mingw32 we will use our strtof wrapper. [06:41:00.430] checking for getopt_long... yes [06:41:00.479] checking for syslog... no [06:41:00.529] checking for opterr... yes [06:41:00.580] checking for optreset... no [06:41:00.638] checking test program... cross-compiling [06:41:00.638] checking size of void *... 8 [06:41:01.175] checking size of size_t... 8 [06:41:01.726] checking size of long... 4 [06:41:02.085] checking size of long long... 8 [06:41:02.609] checking alignment of short... 2 [06:41:02.891] checking alignment of int... 4 [06:41:03.311] checking alignment of long... 4 [06:41:03.761] checking alignment of int64_t... 8 [06:41:04.280] checking alignment of double... 8 [06:41:04.768] checking for __int128... yes [06:41:04.823] checking for __int128 alignment bug... assuming ok [06:41:04.823] checking alignment of PG_INT128_TYPE... 16 [06:41:05.448] checking for builtin __sync char locking functions... yes [06:41:05.493] checking for builtin __sync int32 locking functions... yes [06:41:05.537] checking for builtin __sync int32 atomic operations... yes [06:41:05.584] checking for builtin __sync int64 atomic operations... yes [06:41:05.634] checking for builtin __atomic int32 atomic operations... yes [06:41:05.680] checking for builtin __atomic int64 atomic operations... yes [06:41:05.730] checking for __get_cpuid... yes [06:41:05.782] checking for __get_cpuid_count... yes [06:41:05.831] checking for __cpuid... no [06:41:06.245] checking for __cpuidex... no [06:41:06.678] checking for _xgetbv... yes [06:41:07.094] checking for _mm512_popcnt_epi64... yes [06:41:07.524] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [06:41:07.631] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:41:07.654] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [06:41:07.673] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:41:07.694] 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:41:07.755] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:41:07.755] checking for _mm512_clmulepi64_epi128... yes [06:41:08.177] checking for vectorized CRC-32C... AVX-512 with runtime check [06:41:08.177] checking which random number source to use... Windows native [06:41:08.179] checking for xmllint... /usr/bin/xmllint [06:41:08.180] checking for xsltproc... /usr/bin/xsltproc [06:41:08.180] checking for fop... /usr/bin/fop [06:41:08.180] checking for dbtoepub... no [06:41:08.181] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:41:08.181] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:41:08.181] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [06:41:08.193] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [06:41:08.193] 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:41:08.193] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [06:41:08.193] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:41:08.289] configure: creating ./config.status [06:41:08.378] config.status: creating GNUmakefile [06:41:08.391] config.status: creating src/Makefile.global [06:41:08.407] config.status: creating src/include/pg_config.h [06:41:08.420] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:41:08.437] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:41:08.445] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:41:08.452] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:41:08.459] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:41:08.467] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:41:08.470] config.status: executing check_win32_symlinks commands [06:41:08.508] [06:41:08.508] real 0m21.327s [06:41:08.508] user 0m14.193s [06:41:08.508] sys 0m6.732s [06:41:08.508] make -s -j${BUILD_JOBS} clean [06:41:09.033] time make -s -j${BUILD_JOBS} world-bin [06:43:04.048] In file included from pg_shmem.c:18: [06:43:04.048] ../../../src/include/storage/pg_shmem.h:66:9: error: unknown type name ‘pg_atomic_uint32’ [06:43:04.048] 66 | pg_atomic_uint32 NSharedBuffers; [06:43:04.048] | ^~~~~~~~~~~~~~~~ [06:43:04.048] ../../../src/include/storage/pg_shmem.h:69:9: error: unknown type name ‘pg_atomic_uint64’ [06:43:04.048] 69 | pg_atomic_uint64 Generation; [06:43:04.048] | ^~~~~~~~~~~~~~~~ [06:43:04.048] make[3]: *** [: pg_shmem.o] Error 1 [06:43:04.048] make[3]: *** Waiting for unfinished jobs.... [06:43:04.713] make[2]: *** [common.mk:37: port-recursive] Error 2 [06:43:04.713] make[2]: *** Waiting for unfinished jobs.... [06:43:14.618] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:43:14.618] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:43:14.619] [06:43:14.619] real 2m5.585s [06:43:14.619] user 6m48.404s [06:43:14.619] sys 1m15.320s [06:43:14.619] [06:43:14.619] Exit status: 2