[11:02:48.984] time ./configure \ [11:02:48.984] --host=x86_64-w64-mingw32 \ [11:02:48.984] --enable-cassert \ [11:02:48.984] --without-icu \ [11:02:48.984] CC="ccache x86_64-w64-mingw32-gcc" \ [11:02:48.984] CXX="ccache x86_64-w64-mingw32-g++" [11:02:49.094] checking build system type... x86_64-pc-linux-gnu [11:02:49.258] checking host system type... x86_64-w64-mingw32 [11:02:49.264] checking which template to use... win32 [11:02:49.264] checking whether NLS is wanted... no [11:02:49.264] checking for default port number... 5432 [11:02:49.270] checking for block size... 8kB [11:02:49.272] checking for segment size... 1GB [11:02:49.274] checking for WAL block size... 8kB [11:02:49.275] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [11:02:49.309] checking whether the C compiler works... yes [11:02:49.443] checking for C compiler default output file name... a.exe [11:02:49.444] checking for suffix of executables... .exe [11:02:49.486] checking whether we are cross compiling... yes [11:02:49.567] checking for suffix of object files... o [11:02:49.583] checking whether we are using the GNU C compiler... yes [11:02:49.598] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [11:02:49.613] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [11:02:49.622] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [11:02:49.674] checking whether we are using the GNU C++ compiler... yes [11:02:49.811] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [11:02:49.880] checking for gawk... no [11:02:49.880] checking for mawk... mawk [11:02:49.883] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [11:02:49.899] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [11:02:49.906] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [11:02:49.950] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [11:02:49.995] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [11:02:50.002] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [11:02:50.064] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [11:02:50.070] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [11:02:50.086] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [11:02:50.096] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [11:02:50.102] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [11:02:50.121] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [11:02:50.129] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [11:02:50.147] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [11:02:50.165] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [11:02:50.173] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [11:02:50.180] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [11:02:50.219] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [11:02:50.237] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [11:02:50.245] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [11:02:50.252] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [11:02:50.286] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [11:02:50.293] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [11:02:50.318] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [11:02:50.325] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [11:02:50.358] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [11:02:50.396] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [11:02:50.434] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [11:02:50.441] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [11:02:50.473] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [11:02:50.508] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [11:02:50.515] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [11:02:50.531] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [11:02:50.548] checking whether the C compiler still works... yes [11:02:50.608] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [11:02:50.673] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [11:02:50.674] checking pkg-config is at least version 0.9.0... yes [11:02:50.689] checking whether to build with ICU support... no [11:02:50.689] checking whether to build with Tcl... no [11:02:50.689] checking whether to build Perl modules... no [11:02:50.689] checking whether to build Python modules... no [11:02:50.689] checking whether to build with GSSAPI support... no [11:02:50.691] checking whether to build with PAM support... no [11:02:50.691] checking whether to build with BSD Authentication support... no [11:02:50.691] checking whether to build with LDAP support... no [11:02:50.691] checking whether to build with Bonjour support... no [11:02:50.691] checking whether to build with SELinux support... no [11:02:50.691] checking whether to build with systemd support... no [11:02:50.691] configure: WARNING: *** Readline does not work on MinGW --- disabling [11:02:50.691] checking whether to build with liburing support... no [11:02:50.691] checking whether to build with libcurl support... no [11:02:50.692] checking whether to build with libnuma support... no [11:02:50.692] checking whether to build with XML support... no [11:02:50.692] checking whether to build with LZ4 support... no [11:02:50.692] checking whether to build with ZSTD support... no [11:02:50.692] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [11:02:50.693] checking whether it is possible to strip libraries... yes [11:02:50.701] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [11:02:50.702] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [11:02:50.702] checking for a BSD-compatible install... /usr/bin/install -c [11:02:50.710] checking for tar... /usr/bin/tar [11:02:50.710] checking whether ln -s works... yes [11:02:50.710] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [11:02:50.712] checking for bison... /usr/bin/bison [11:02:50.714] configure: using bison (GNU Bison) 3.8.2 [11:02:50.717] checking for flex... /usr/bin/flex [11:02:50.719] configure: using flex 2.6.4 [11:02:50.719] checking for perl... /usr/bin/perl [11:02:50.722] configure: using perl 5.36.0 [11:02:50.724] checking for zic... /usr/sbin/zic [11:02:50.724] checking for a sed that does not truncate output... /usr/bin/sed [11:02:50.729] checking for grep that handles long lines and -e... /usr/bin/grep [11:02:50.731] checking for egrep... /usr/bin/grep -E [11:02:50.733] checking for ANSI C header files... yes [11:02:50.820] checking for sys/types.h... yes [11:02:50.835] checking for sys/stat.h... yes [11:02:50.895] checking for stdlib.h... yes [11:02:50.908] checking for string.h... yes [11:02:50.964] checking for memory.h... yes [11:02:51.020] checking for strings.h... yes [11:02:51.034] checking for inttypes.h... yes [11:02:51.068] checking for stdint.h... yes [11:02:51.125] checking for unistd.h... yes [11:02:51.185] checking for main in -lm... yes [11:02:51.231] checking for library containing setproctitle... no [11:02:51.319] checking for library containing dlsym... no [11:02:51.407] checking for library containing socket... -lws2_32 [11:02:51.535] checking for library containing getopt_long... none required [11:02:51.579] checking for library containing shm_open... no [11:02:51.661] checking for library containing shm_unlink... no [11:02:51.743] checking for library containing clock_gettime... no [11:02:51.830] checking for library containing shmget... no [11:02:51.918] checking for library containing backtrace_symbols... no [11:02:52.004] checking for library containing pthread_barrier_wait... -lpthread [11:02:52.093] checking for inflate in -lz... yes [11:02:52.142] checking atomic.h usability... no [11:02:52.198] checking atomic.h presence... no [11:02:52.217] checking for atomic.h... no [11:02:52.220] checking copyfile.h usability... no [11:02:52.274] checking copyfile.h presence... no [11:02:52.292] checking for copyfile.h... no [11:02:52.295] checking execinfo.h usability... no [11:02:52.350] checking execinfo.h presence... no [11:02:52.368] checking for execinfo.h... no [11:02:52.371] checking getopt.h usability... yes [11:02:52.378] checking getopt.h presence... yes [11:02:52.393] checking for getopt.h... yes [11:02:52.400] checking ifaddrs.h usability... no [11:02:52.454] checking ifaddrs.h presence... no [11:02:52.472] checking for ifaddrs.h... no [11:02:52.475] checking mbarrier.h usability... no [11:02:52.529] checking mbarrier.h presence... no [11:02:52.548] checking for mbarrier.h... no [11:02:52.551] checking sys/epoll.h usability... no [11:02:52.607] checking sys/epoll.h presence... no [11:02:52.628] checking for sys/epoll.h... no [11:02:52.631] checking sys/event.h usability... no [11:02:52.689] checking sys/event.h presence... no [11:02:52.709] checking for sys/event.h... no [11:02:52.712] checking sys/personality.h usability... no [11:02:52.769] checking sys/personality.h presence... no [11:02:52.787] checking for sys/personality.h... no [11:02:52.791] checking sys/prctl.h usability... no [11:02:52.848] checking sys/prctl.h presence... no [11:02:52.867] checking for sys/prctl.h... no [11:02:52.871] checking sys/procctl.h usability... no [11:02:52.927] checking sys/procctl.h presence... no [11:02:52.946] checking for sys/procctl.h... no [11:02:52.950] checking sys/signalfd.h usability... no [11:02:53.008] checking sys/signalfd.h presence... no [11:02:53.028] checking for sys/signalfd.h... no [11:02:53.031] checking sys/ucred.h usability... no [11:02:53.086] checking sys/ucred.h presence... no [11:02:53.106] checking for sys/ucred.h... no [11:02:53.109] checking termios.h usability... no [11:02:53.165] checking termios.h presence... no [11:02:53.183] checking for termios.h... no [11:02:53.187] checking ucred.h usability... no [11:02:53.242] checking ucred.h presence... no [11:02:53.261] checking for ucred.h... no [11:02:53.264] checking xlocale.h usability... no [11:02:53.321] checking xlocale.h presence... no [11:02:53.340] checking for xlocale.h... no [11:02:53.343] checking zlib.h usability... yes [11:02:53.405] checking zlib.h presence... yes [11:02:53.424] checking for zlib.h... yes [11:02:53.425] checking for lz4... /usr/bin/lz4 [11:02:53.425] checking for zstd... /usr/bin/zstd [11:02:53.425] checking for openssl... /usr/bin/openssl [11:02:53.430] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [11:02:53.430] checking crtdefs.h usability... yes [11:02:53.438] checking crtdefs.h presence... yes [11:02:53.454] checking for crtdefs.h... yes [11:02:53.455] checking whether byte ordering is bigendian... no [11:02:53.530] checking for inline... inline [11:02:53.558] checking for printf format archetype... gnu_printf [11:02:53.594] checking for _Static_assert... yes [11:02:53.634] checking for typeof... typeof [11:02:53.641] checking for __builtin_types_compatible_p... yes [11:02:53.661] checking for __builtin_constant_p... yes [11:02:53.692] checking for __builtin_mul_overflow... yes [11:02:53.741] checking for __builtin_unreachable... yes [11:02:53.783] checking for computed goto support... yes [11:02:53.790] checking for struct tm.tm_zone... no [11:02:53.868] checking for union semun... no [11:02:53.902] checking for socklen_t... yes [11:02:55.352] checking for struct sockaddr.sa_len... no [11:02:57.340] checking for C/C++ restrict keyword... __restrict [11:02:57.353] checking for struct option... yes [11:02:57.396] checking whether assembler supports x86_64 popcntq... yes [11:02:57.413] checking size of off_t... 4 [11:02:57.735] 0 [11:02:57.735] checking for int timezone... yes [11:02:57.786] checking for backtrace_symbols... no [11:02:57.835] checking for copyfile... no [11:02:57.885] checking for copy_file_range... no [11:02:57.935] checking for elf_aux_info... no [11:02:57.984] checking for getauxval... no [11:02:58.031] checking for getifaddrs... no [11:02:58.080] checking for getpeerucred... no [11:02:58.128] checking for inet_pton... yes [11:02:58.178] checking for kqueue... no [11:02:58.229] checking for localeconv_l... no [11:02:58.279] checking for mbstowcs_l... no [11:02:58.330] checking for posix_fallocate... no [11:02:58.383] checking for ppoll... no [11:02:58.433] checking for pthread_is_threaded_np... no [11:02:58.483] checking for setproctitle... no [11:02:58.533] checking for setproctitle_fast... no [11:02:58.582] checking for strsignal... no [11:02:58.631] checking for syncfs... no [11:02:58.682] checking for sync_file_range... no [11:02:58.731] checking for uselocale... no [11:02:58.780] checking for wcstombs_l... no [11:02:58.827] checking for __builtin_bswap16... yes [11:02:58.876] checking for __builtin_bswap32... yes [11:02:58.925] checking for __builtin_bswap64... yes [11:02:58.972] checking for __builtin_clz... yes [11:02:59.019] checking for __builtin_ctz... yes [11:02:59.065] checking for __builtin_popcount... yes [11:02:59.112] checking for __builtin_frame_address... yes [11:02:59.159] checking for _LARGEFILE_SOURCE value needed for large files... no [11:02:59.211] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [11:02:59.242] checking for posix_fadvise... no [11:02:59.292] checking whether posix_fadvise is declared... no [11:02:59.336] checking whether fdatasync is declared... no [11:02:59.380] checking whether strlcat is declared... no [11:02:59.441] checking whether strlcpy is declared... no [11:02:59.503] checking whether strnlen is declared... yes [11:02:59.568] checking whether strsep is declared... no [11:02:59.627] checking whether timingsafe_bcmp is declared... no [11:02:59.687] checking whether preadv is declared... no [11:02:59.720] checking whether pwritev is declared... no [11:02:59.754] checking whether strchrnul is declared... no [11:02:59.794] checking whether memset_s is declared... no [11:02:59.836] checking whether F_FULLFSYNC is declared... no [11:02:59.875] checking for explicit_bzero... no [11:02:59.921] checking for getopt... yes [11:02:59.965] checking for getpeereid... no [11:03:00.011] checking for inet_aton... no [11:03:00.056] checking for mkdtemp... no [11:03:00.101] checking for strlcat... no [11:03:00.147] checking for strlcpy... no [11:03:00.195] checking for strnlen... yes [11:03:00.240] checking for strsep... no [11:03:00.287] checking for timingsafe_bcmp... no [11:03:00.337] checking for pthread_barrier_wait... yes [11:03:00.381] configure: On mingw32 we will use our strtof wrapper. [11:03:00.381] checking for getopt_long... yes [11:03:00.425] checking for syslog... no [11:03:00.471] checking for opterr... yes [11:03:00.519] checking for optreset... no [11:03:00.568] checking test program... cross-compiling [11:03:00.568] checking size of void *... 8 [11:03:00.927] checking size of size_t... 8 [11:03:01.239] checking size of long... 4 [11:03:01.513] checking size of long long... 8 [11:03:02.006] checking alignment of short... 2 [11:03:02.139] checking alignment of int... 4 [11:03:02.340] checking alignment of long... 4 [11:03:02.593] checking alignment of int64_t... 8 [11:03:02.930] checking alignment of double... 8 [11:03:03.377] checking for __int128... yes [11:03:03.428] checking for __int128 alignment bug... assuming ok [11:03:03.428] checking alignment of PG_INT128_TYPE... 16 [11:03:03.852] checking for builtin __sync char locking functions... yes [11:03:03.894] checking for builtin __sync int32 locking functions... yes [11:03:03.936] checking for builtin __sync int32 atomic operations... yes [11:03:03.978] checking for builtin __sync int64 atomic operations... yes [11:03:04.021] checking for builtin __atomic int32 atomic operations... yes [11:03:04.062] checking for builtin __atomic int64 atomic operations... yes [11:03:04.105] checking for __get_cpuid... yes [11:03:04.151] checking for __get_cpuid_count... yes [11:03:04.195] checking for __cpuid... no [11:03:04.588] checking for __cpuidex... no [11:03:05.005] checking for _xgetbv... yes [11:03:05.404] checking for _mm512_popcnt_epi64... yes [11:03:05.819] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [11:03:05.919] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [11:03:05.941] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [11:03:05.959] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [11:03:05.976] 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 [11:03:06.029] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [11:03:06.029] checking for _mm512_clmulepi64_epi128... yes [11:03:06.435] checking for vectorized CRC-32C... AVX-512 with runtime check [11:03:06.436] checking which random number source to use... Windows native [11:03:06.438] checking for xmllint... /usr/bin/xmllint [11:03:06.438] checking for xsltproc... /usr/bin/xsltproc [11:03:06.438] checking for fop... /usr/bin/fop [11:03:06.438] checking for dbtoepub... no [11:03:06.439] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [11:03:06.439] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [11:03:06.439] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [11:03:06.449] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [11:03:06.449] 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 [11:03:06.449] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [11:03:06.449] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [11:03:06.533] configure: creating ./config.status [11:03:06.611] config.status: creating GNUmakefile [11:03:06.622] config.status: creating src/Makefile.global [11:03:06.636] config.status: creating src/include/pg_config.h [11:03:06.648] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [11:03:06.662] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [11:03:06.668] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [11:03:06.675] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [11:03:06.681] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [11:03:06.687] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [11:03:06.690] config.status: executing check_win32_symlinks commands [11:03:06.722] [11:03:06.722] real 0m17.738s [11:03:06.722] user 0m12.072s [11:03:06.722] sys 0m5.347s [11:03:06.722] make -s -j${BUILD_JOBS} clean [11:03:07.232] time make -s -j${BUILD_JOBS} world-bin [11:04:30.561] In file included from pg_shmem.c:18: [11:04:30.561] ../../../src/include/storage/pg_shmem.h:66:9: error: unknown type name ‘pg_atomic_uint32’ [11:04:30.561] 66 | pg_atomic_uint32 NSharedBuffers; [11:04:30.561] | ^~~~~~~~~~~~~~~~ [11:04:30.561] ../../../src/include/storage/pg_shmem.h:69:9: error: unknown type name ‘pg_atomic_uint64’ [11:04:30.561] 69 | pg_atomic_uint64 Generation; [11:04:30.561] | ^~~~~~~~~~~~~~~~ [11:04:30.562] make[3]: *** [: pg_shmem.o] Error 1 [11:04:30.562] make[2]: *** [common.mk:37: port-recursive] Error 2 [11:04:30.562] make[2]: *** Waiting for unfinished jobs.... [11:04:55.485] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [11:04:55.485] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [11:04:55.486] [11:04:55.486] real 1m48.254s [11:04:55.486] user 5m51.825s [11:04:55.486] sys 1m5.353s [11:04:55.486] [11:04:55.486] Exit status: 2