[07:04:15.150] time ./configure \ [07:04:15.150] --host=x86_64-w64-mingw32 \ [07:04:15.150] --enable-cassert \ [07:04:15.150] --without-icu \ [07:04:15.150] CC="ccache x86_64-w64-mingw32-gcc" \ [07:04:15.150] CXX="ccache x86_64-w64-mingw32-g++" [07:04:15.267] checking build system type... x86_64-pc-linux-gnu [07:04:15.458] checking host system type... x86_64-w64-mingw32 [07:04:15.464] checking which template to use... win32 [07:04:15.464] checking whether NLS is wanted... no [07:04:15.464] checking for default port number... 5432 [07:04:15.471] checking for block size... 8kB [07:04:15.472] checking for segment size... 1GB [07:04:15.474] checking for WAL block size... 8kB [07:04:15.475] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:04:15.509] checking whether the C compiler works... yes [07:04:15.650] checking for C compiler default output file name... a.exe [07:04:15.651] checking for suffix of executables... .exe [07:04:15.692] checking whether we are cross compiling... yes [07:04:15.772] checking for suffix of object files... o [07:04:15.781] checking whether we are using the GNU C compiler... yes [07:04:15.812] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:04:15.828] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:04:15.906] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:04:15.988] checking whether we are using the GNU C++ compiler... yes [07:04:16.154] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:04:16.233] checking for gawk... no [07:04:16.233] checking for mawk... mawk [07:04:16.235] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:04:16.266] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:04:16.282] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:04:16.326] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:04:16.370] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:04:16.385] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:04:16.401] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:04:16.416] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:04:16.482] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:04:16.498] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:04:16.529] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:04:16.536] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:04:16.552] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:04:16.558] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:04:16.565] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:04:16.581] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:04:16.597] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:04:16.634] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:04:16.640] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:04:16.657] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:04:16.673] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:04:16.705] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:04:16.712] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:04:16.734] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:04:16.741] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:04:16.772] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:04:16.809] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:04:16.847] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:04:16.863] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:04:16.894] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:04:16.929] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:04:16.936] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:04:16.953] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:04:16.961] checking whether the C compiler still works... yes [07:04:17.018] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:04:17.086] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:04:17.087] checking pkg-config is at least version 0.9.0... yes [07:04:17.103] checking whether to build with ICU support... no [07:04:17.103] checking whether to build with Tcl... no [07:04:17.103] checking whether to build Perl modules... no [07:04:17.103] checking whether to build Python modules... no [07:04:17.103] checking whether to build with GSSAPI support... no [07:04:17.104] checking whether to build with PAM support... no [07:04:17.104] checking whether to build with BSD Authentication support... no [07:04:17.104] checking whether to build with LDAP support... no [07:04:17.104] checking whether to build with Bonjour support... no [07:04:17.104] checking whether to build with SELinux support... no [07:04:17.105] checking whether to build with systemd support... no [07:04:17.105] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:04:17.105] checking whether to build with liburing support... no [07:04:17.105] checking whether to build with libcurl support... no [07:04:17.105] checking whether to build with libnuma support... no [07:04:17.105] checking whether to build with XML support... no [07:04:17.106] checking whether to build with LZ4 support... no [07:04:17.106] checking whether to build with ZSTD support... no [07:04:17.106] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:04:17.106] checking whether it is possible to strip libraries... yes [07:04:17.113] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:04:17.114] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:04:17.114] checking for a BSD-compatible install... /usr/bin/install -c [07:04:17.123] checking for tar... /usr/bin/tar [07:04:17.123] checking whether ln -s works... yes [07:04:17.123] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:04:17.125] checking for bison... /usr/bin/bison [07:04:17.128] configure: using bison (GNU Bison) 3.8.2 [07:04:17.131] checking for flex... /usr/bin/flex [07:04:17.133] configure: using flex 2.6.4 [07:04:17.133] checking for perl... /usr/bin/perl [07:04:17.136] configure: using perl 5.36.0 [07:04:17.138] checking for zic... /usr/sbin/zic [07:04:17.138] checking for a sed that does not truncate output... /usr/bin/sed [07:04:17.143] checking for grep that handles long lines and -e... /usr/bin/grep [07:04:17.145] checking for egrep... /usr/bin/grep -E [07:04:17.147] checking for ANSI C header files... yes [07:04:17.191] checking for sys/types.h... yes [07:04:17.208] checking for sys/stat.h... yes [07:04:17.223] checking for stdlib.h... yes [07:04:17.258] checking for string.h... yes [07:04:17.272] checking for memory.h... yes [07:04:17.330] checking for strings.h... yes [07:04:17.388] checking for inttypes.h... yes [07:04:17.448] checking for stdint.h... yes [07:04:17.509] checking for unistd.h... yes [07:04:17.572] checking for main in -lm... yes [07:04:17.618] checking for library containing setproctitle... no [07:04:17.706] checking for library containing dlsym... no [07:04:17.791] checking for library containing socket... -lws2_32 [07:04:17.918] checking for library containing getopt_long... none required [07:04:17.963] checking for library containing shm_open... no [07:04:18.051] checking for library containing shm_unlink... no [07:04:18.137] checking for library containing clock_gettime... no [07:04:18.224] checking for library containing shmget... no [07:04:18.313] checking for library containing backtrace_symbols... no [07:04:18.397] checking for library containing pthread_barrier_wait... -lpthread [07:04:18.488] checking for inflate in -lz... yes [07:04:18.538] checking atomic.h usability... no [07:04:18.593] checking atomic.h presence... no [07:04:18.612] checking for atomic.h... no [07:04:18.615] checking copyfile.h usability... no [07:04:18.670] checking copyfile.h presence... no [07:04:18.689] checking for copyfile.h... no [07:04:18.692] checking execinfo.h usability... no [07:04:18.748] checking execinfo.h presence... no [07:04:18.768] checking for execinfo.h... no [07:04:18.770] checking getopt.h usability... yes [07:04:18.777] checking getopt.h presence... yes [07:04:18.792] checking for getopt.h... yes [07:04:18.800] checking ifaddrs.h usability... no [07:04:18.858] checking ifaddrs.h presence... no [07:04:18.878] checking for ifaddrs.h... no [07:04:18.882] checking mbarrier.h usability... no [07:04:18.937] checking mbarrier.h presence... no [07:04:18.954] checking for mbarrier.h... no [07:04:18.957] checking sys/epoll.h usability... no [07:04:19.015] checking sys/epoll.h presence... no [07:04:19.035] checking for sys/epoll.h... no [07:04:19.039] checking sys/event.h usability... no [07:04:19.092] checking sys/event.h presence... no [07:04:19.111] checking for sys/event.h... no [07:04:19.115] checking sys/personality.h usability... no [07:04:19.170] checking sys/personality.h presence... no [07:04:19.188] checking for sys/personality.h... no [07:04:19.192] checking sys/prctl.h usability... no [07:04:19.246] checking sys/prctl.h presence... no [07:04:19.264] checking for sys/prctl.h... no [07:04:19.268] checking sys/procctl.h usability... no [07:04:19.326] checking sys/procctl.h presence... no [07:04:19.346] checking for sys/procctl.h... no [07:04:19.349] checking sys/signalfd.h usability... no [07:04:19.402] checking sys/signalfd.h presence... no [07:04:19.420] checking for sys/signalfd.h... no [07:04:19.424] checking sys/ucred.h usability... no [07:04:19.478] checking sys/ucred.h presence... no [07:04:19.495] checking for sys/ucred.h... no [07:04:19.498] checking termios.h usability... no [07:04:19.555] checking termios.h presence... no [07:04:19.574] checking for termios.h... no [07:04:19.578] checking ucred.h usability... no [07:04:19.632] checking ucred.h presence... no [07:04:19.651] checking for ucred.h... no [07:04:19.654] checking xlocale.h usability... no [07:04:19.709] checking xlocale.h presence... no [07:04:19.729] checking for xlocale.h... no [07:04:19.732] checking zlib.h usability... yes [07:04:19.742] checking zlib.h presence... yes [07:04:19.760] checking for zlib.h... yes [07:04:19.760] checking for lz4... /usr/bin/lz4 [07:04:19.761] checking for zstd... /usr/bin/zstd [07:04:19.761] checking for openssl... /usr/bin/openssl [07:04:19.765] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [07:04:19.766] checking crtdefs.h usability... yes [07:04:19.773] checking crtdefs.h presence... yes [07:04:19.788] checking for crtdefs.h... yes [07:04:19.789] checking whether byte ordering is bigendian... no [07:04:19.892] checking for inline... inline [07:04:19.909] checking for printf format archetype... gnu_printf [07:04:19.917] checking for _Static_assert... yes [07:04:19.960] checking for typeof... typeof [07:04:19.967] checking for __builtin_types_compatible_p... yes [07:04:19.979] checking for __builtin_constant_p... yes [07:04:20.012] checking for __builtin_mul_overflow... yes [07:04:20.058] checking for __builtin_unreachable... yes [07:04:20.104] checking for computed goto support... yes [07:04:20.140] checking for struct tm.tm_zone... no [07:04:20.216] checking for union semun... no [07:04:20.251] checking for socklen_t... yes [07:04:21.408] checking for struct sockaddr.sa_len... no [07:04:23.492] checking for C/C++ restrict keyword... __restrict [07:04:23.534] checking for struct option... yes [07:04:23.607] checking whether assembler supports x86_64 popcntq... yes [07:04:23.625] checking size of off_t... 4 [07:04:23.858] 0 [07:04:23.858] checking for int timezone... yes [07:04:23.912] checking for backtrace_symbols... no [07:04:23.963] checking for copyfile... no [07:04:24.014] checking for copy_file_range... no [07:04:24.066] checking for elf_aux_info... no [07:04:24.117] checking for getauxval... no [07:04:24.168] checking for getifaddrs... no [07:04:24.221] checking for getpeerucred... no [07:04:24.272] checking for inet_pton... yes [07:04:24.324] checking for kqueue... no [07:04:24.375] checking for localeconv_l... no [07:04:24.426] checking for mbstowcs_l... no [07:04:24.478] checking for posix_fallocate... no [07:04:24.529] checking for ppoll... no [07:04:24.580] checking for pthread_is_threaded_np... no [07:04:24.631] checking for setproctitle... no [07:04:24.684] checking for setproctitle_fast... no [07:04:24.735] checking for strsignal... no [07:04:24.788] checking for syncfs... no [07:04:24.840] checking for sync_file_range... no [07:04:24.891] checking for uselocale... no [07:04:24.942] checking for wcstombs_l... no [07:04:24.991] checking for __builtin_bswap16... yes [07:04:25.039] checking for __builtin_bswap32... yes [07:04:25.089] checking for __builtin_bswap64... yes [07:04:25.139] checking for __builtin_clz... yes [07:04:25.189] checking for __builtin_ctz... yes [07:04:25.238] checking for __builtin_popcount... yes [07:04:25.287] checking for __builtin_frame_address... yes [07:04:25.335] checking for _LARGEFILE_SOURCE value needed for large files... no [07:04:25.388] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:04:25.421] checking for posix_fadvise... no [07:04:25.474] checking whether posix_fadvise is declared... no [07:04:25.521] checking whether fdatasync is declared... no [07:04:25.570] checking whether strlcat is declared... no [07:04:25.637] checking whether strlcpy is declared... no [07:04:25.703] checking whether strnlen is declared... yes [07:04:25.739] checking whether strsep is declared... no [07:04:25.805] checking whether timingsafe_bcmp is declared... no [07:04:25.871] checking whether preadv is declared... no [07:04:25.910] checking whether pwritev is declared... no [07:04:25.948] checking whether strchrnul is declared... no [07:04:25.993] checking whether memset_s is declared... no [07:04:26.035] checking whether F_FULLFSYNC is declared... no [07:04:26.077] checking for explicit_bzero... no [07:04:26.125] checking for getopt... yes [07:04:26.171] checking for getpeereid... no [07:04:26.219] checking for inet_aton... no [07:04:26.267] checking for mkdtemp... no [07:04:26.315] checking for strlcat... no [07:04:26.363] checking for strlcpy... no [07:04:26.411] checking for strnlen... yes [07:04:26.461] checking for strsep... no [07:04:26.509] checking for timingsafe_bcmp... no [07:04:26.557] checking for pthread_barrier_wait... yes [07:04:26.602] configure: On mingw32 we will use our strtof wrapper. [07:04:26.602] checking for getopt_long... yes [07:04:26.648] checking for syslog... no [07:04:26.696] checking for opterr... yes [07:04:26.744] checking for optreset... no [07:04:26.797] checking test program... cross-compiling [07:04:26.797] checking size of void *... 8 [07:04:27.176] checking size of size_t... 8 [07:04:27.558] checking size of long... 4 [07:04:27.821] checking size of long long... 8 [07:04:28.225] checking alignment of short... 2 [07:04:28.420] checking alignment of int... 4 [07:04:28.708] checking alignment of long... 4 [07:04:29.025] checking alignment of int64_t... 8 [07:04:29.344] checking alignment of double... 8 [07:04:29.743] checking for __int128... yes [07:04:29.794] checking for __int128 alignment bug... assuming ok [07:04:29.794] checking alignment of PG_INT128_TYPE... 16 [07:04:30.271] checking for builtin __sync char locking functions... yes [07:04:30.313] checking for builtin __sync int32 locking functions... yes [07:04:30.355] checking for builtin __sync int32 atomic operations... yes [07:04:30.399] checking for builtin __sync int64 atomic operations... yes [07:04:30.443] checking for builtin __atomic int32 atomic operations... yes [07:04:30.486] checking for builtin __atomic int64 atomic operations... yes [07:04:30.531] checking for __get_cpuid... yes [07:04:30.579] checking for __get_cpuid_count... yes [07:04:30.624] checking for __cpuid... no [07:04:31.027] checking for __cpuidex... no [07:04:31.444] checking for _xgetbv... yes [07:04:31.849] checking for _mm512_popcnt_epi64... yes [07:04:32.267] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [07:04:32.370] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:04:32.393] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [07:04:32.413] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:04:32.432] 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 [07:04:32.489] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:04:32.489] checking for _mm512_clmulepi64_epi128... yes [07:04:32.901] checking for vectorized CRC-32C... AVX-512 with runtime check [07:04:32.901] checking which random number source to use... Windows native [07:04:32.903] checking for xmllint... /usr/bin/xmllint [07:04:32.903] checking for xsltproc... /usr/bin/xsltproc [07:04:32.903] checking for fop... /usr/bin/fop [07:04:32.903] checking for dbtoepub... no [07:04:32.904] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:04:32.904] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:04:32.904] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:04:32.915] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:04:32.915] 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 [07:04:32.915] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:04:32.915] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:04:33.007] configure: creating ./config.status [07:04:33.093] config.status: creating GNUmakefile [07:04:33.106] config.status: creating src/Makefile.global [07:04:33.121] config.status: creating src/include/pg_config.h [07:04:33.134] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:04:33.150] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:04:33.158] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:04:33.165] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:04:33.173] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:04:33.180] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:04:33.184] config.status: executing check_win32_symlinks commands [07:04:33.219] [07:04:33.219] real 0m18.069s [07:04:33.219] user 0m11.797s [07:04:33.219] sys 0m5.847s [07:04:33.219] make -s -j${BUILD_JOBS} clean [07:04:33.741] time make -s -j${BUILD_JOBS} world-bin [07:05:59.787] In file included from pg_shmem.c:18: [07:05:59.787] ../../../src/include/storage/pg_shmem.h:66:9: error: unknown type name ‘pg_atomic_uint32’ [07:05:59.787] 66 | pg_atomic_uint32 NSharedBuffers; [07:05:59.787] | ^~~~~~~~~~~~~~~~ [07:05:59.787] ../../../src/include/storage/pg_shmem.h:69:9: error: unknown type name ‘pg_atomic_uint64’ [07:05:59.787] 69 | pg_atomic_uint64 Generation; [07:05:59.787] | ^~~~~~~~~~~~~~~~ [07:05:59.788] make[3]: *** [: pg_shmem.o] Error 1 [07:05:59.788] make[2]: *** [common.mk:37: port-recursive] Error 2 [07:05:59.788] make[2]: *** Waiting for unfinished jobs.... [07:06:16.755] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:06:16.755] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:06:16.756] [07:06:16.756] real 1m43.015s [07:06:16.756] user 5m35.170s [07:06:16.756] sys 1m2.547s [07:06:16.756] [07:06:16.756] Exit status: 2