[05:39:35.102] time ./configure \ [05:39:35.102] --host=x86_64-w64-mingw32 \ [05:39:35.102] --enable-cassert \ [05:39:35.102] --without-icu \ [05:39:35.102] CC="ccache x86_64-w64-mingw32-gcc" \ [05:39:35.102] CXX="ccache x86_64-w64-mingw32-g++" [05:39:35.212] checking build system type... x86_64-pc-linux-gnu [05:39:35.411] checking host system type... x86_64-w64-mingw32 [05:39:35.416] checking which template to use... win32 [05:39:35.417] checking whether NLS is wanted... no [05:39:35.417] checking for default port number... 5432 [05:39:35.423] checking for block size... 8kB [05:39:35.424] checking for segment size... 1GB [05:39:35.427] checking for WAL block size... 8kB [05:39:35.428] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [05:39:35.460] checking whether the C compiler works... yes [05:39:35.590] checking for C compiler default output file name... a.exe [05:39:35.592] checking for suffix of executables... .exe [05:39:35.633] checking whether we are cross compiling... yes [05:39:35.708] checking for suffix of object files... o [05:39:35.716] checking whether we are using the GNU C compiler... yes [05:39:35.723] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [05:39:35.729] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [05:39:35.740] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [05:39:35.801] checking whether we are using the GNU C++ compiler... yes [05:39:35.807] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [05:39:35.874] checking for gawk... no [05:39:35.875] checking for mawk... mawk [05:39:35.877] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [05:39:35.884] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [05:39:35.891] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [05:39:35.937] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [05:39:36.108] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [05:39:36.115] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [05:39:36.121] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [05:39:36.128] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [05:39:36.134] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [05:39:36.141] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [05:39:36.147] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [05:39:36.153] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [05:39:36.160] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [05:39:36.166] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [05:39:36.173] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [05:39:36.180] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [05:39:36.186] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [05:39:36.222] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [05:39:36.229] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [05:39:36.235] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [05:39:36.242] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [05:39:36.248] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [05:39:36.255] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [05:39:36.277] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [05:39:36.284] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [05:39:36.291] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [05:39:36.328] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [05:39:36.366] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [05:39:36.373] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [05:39:36.380] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [05:39:36.414] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [05:39:36.421] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [05:39:36.428] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [05:39:36.435] checking whether the C compiler still works... yes [05:39:36.499] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [05:39:36.570] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [05:39:36.570] checking pkg-config is at least version 0.9.0... yes [05:39:36.588] checking whether to build with ICU support... no [05:39:36.588] checking whether to build with Tcl... no [05:39:36.588] checking whether to build Perl modules... no [05:39:36.588] checking whether to build Python modules... no [05:39:36.589] checking whether to build with GSSAPI support... no [05:39:36.590] checking whether to build with PAM support... no [05:39:36.590] checking whether to build with BSD Authentication support... no [05:39:36.590] checking whether to build with LDAP support... no [05:39:36.590] checking whether to build with Bonjour support... no [05:39:36.590] checking whether to build with SELinux support... no [05:39:36.590] checking whether to build with systemd support... no [05:39:36.590] configure: WARNING: *** Readline does not work on MinGW --- disabling [05:39:36.590] checking whether to build with XML support... no [05:39:36.591] checking whether to build with LZ4 support... no [05:39:36.591] checking whether to build with ZSTD support... no [05:39:36.591] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [05:39:36.592] checking whether it is possible to strip libraries... yes [05:39:36.599] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [05:39:36.599] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [05:39:36.600] checking for a BSD-compatible install... /usr/bin/install -c [05:39:36.609] checking for tar... /usr/bin/tar [05:39:36.609] checking whether ln -s works... yes [05:39:36.609] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [05:39:36.611] checking for bison... /usr/bin/bison [05:39:36.614] configure: using bison (GNU Bison) 3.8.2 [05:39:36.617] checking for flex... /usr/bin/flex [05:39:36.629] configure: using flex 2.6.4 [05:39:36.629] checking for perl... /usr/bin/perl [05:39:36.632] configure: using perl 5.36.0 [05:39:36.634] checking for zic... /usr/sbin/zic [05:39:36.634] checking for a sed that does not truncate output... /usr/bin/sed [05:39:36.639] checking for grep that handles long lines and -e... /usr/bin/grep [05:39:36.641] checking for egrep... /usr/bin/grep -E [05:39:36.643] checking for ANSI C header files... yes [05:39:36.689] checking for sys/types.h... yes [05:39:36.706] checking for sys/stat.h... yes [05:39:36.721] checking for stdlib.h... yes [05:39:36.735] checking for string.h... yes [05:39:36.748] checking for memory.h... yes [05:39:36.763] checking for strings.h... yes [05:39:36.778] checking for inttypes.h... yes [05:39:36.795] checking for stdint.h... yes [05:39:36.809] checking for unistd.h... yes [05:39:36.826] checking for main in -lm... yes [05:39:36.872] checking for library containing setproctitle... no [05:39:36.960] checking for library containing dlsym... no [05:39:37.045] checking for library containing socket... -lws2_32 [05:39:37.173] checking for library containing getopt_long... none required [05:39:37.221] checking for library containing shm_open... no [05:39:37.307] checking for library containing shm_unlink... no [05:39:37.394] checking for library containing clock_gettime... no [05:39:37.482] checking for library containing shmget... no [05:39:37.571] checking for library containing backtrace_symbols... no [05:39:37.656] checking for library containing pthread_barrier_wait... -lpthread [05:39:37.745] checking for inflate in -lz... yes [05:39:37.789] checking for stdbool.h that conforms to C99... yes [05:39:37.800] checking for _Bool... yes [05:39:37.872] checking atomic.h usability... no [05:39:37.928] checking atomic.h presence... no [05:39:37.946] checking for atomic.h... no [05:39:37.949] checking copyfile.h usability... no [05:39:38.003] checking copyfile.h presence... no [05:39:38.024] checking for copyfile.h... no [05:39:38.027] checking execinfo.h usability... no [05:39:38.082] checking execinfo.h presence... no [05:39:38.103] checking for execinfo.h... no [05:39:38.106] checking getopt.h usability... yes [05:39:38.113] checking getopt.h presence... yes [05:39:38.128] checking for getopt.h... yes [05:39:38.135] checking ifaddrs.h usability... no [05:39:38.191] checking ifaddrs.h presence... no [05:39:38.209] checking for ifaddrs.h... no [05:39:38.212] checking mbarrier.h usability... no [05:39:38.266] checking mbarrier.h presence... no [05:39:38.284] checking for mbarrier.h... no [05:39:38.287] checking sys/epoll.h usability... no [05:39:38.341] checking sys/epoll.h presence... no [05:39:38.359] checking for sys/epoll.h... no [05:39:38.362] checking sys/event.h usability... no [05:39:38.416] checking sys/event.h presence... no [05:39:38.435] checking for sys/event.h... no [05:39:38.438] checking sys/personality.h usability... no [05:39:38.492] checking sys/personality.h presence... no [05:39:38.511] checking for sys/personality.h... no [05:39:38.514] checking sys/prctl.h usability... no [05:39:38.568] checking sys/prctl.h presence... no [05:39:38.586] checking for sys/prctl.h... no [05:39:38.589] checking sys/procctl.h usability... no [05:39:38.643] checking sys/procctl.h presence... no [05:39:38.662] checking for sys/procctl.h... no [05:39:38.665] checking sys/signalfd.h usability... no [05:39:38.718] checking sys/signalfd.h presence... no [05:39:38.737] checking for sys/signalfd.h... no [05:39:38.740] checking sys/ucred.h usability... no [05:39:38.794] checking sys/ucred.h presence... no [05:39:38.811] checking for sys/ucred.h... no [05:39:38.815] checking termios.h usability... no [05:39:38.869] checking termios.h presence... no [05:39:38.887] checking for termios.h... no [05:39:38.890] checking ucred.h usability... no [05:39:38.946] checking ucred.h presence... no [05:39:38.964] checking for ucred.h... no [05:39:38.967] checking xlocale.h usability... no [05:39:39.021] checking xlocale.h presence... no [05:39:39.039] checking for xlocale.h... no [05:39:39.042] checking zlib.h usability... yes [05:39:39.051] checking zlib.h presence... yes [05:39:39.069] checking for zlib.h... yes [05:39:39.070] checking for lz4... /usr/bin/lz4 [05:39:39.070] checking for zstd... /usr/bin/zstd [05:39:39.070] checking for openssl... /usr/bin/openssl [05:39:39.074] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [05:39:39.075] checking crtdefs.h usability... yes [05:39:39.082] checking crtdefs.h presence... yes [05:39:39.097] checking for crtdefs.h... yes [05:39:39.098] checking whether byte ordering is bigendian... no [05:39:39.168] checking for inline... inline [05:39:39.174] checking for printf format archetype... gnu_printf [05:39:39.182] checking for _Static_assert... yes [05:39:39.222] checking for typeof... typeof [05:39:39.229] checking for __builtin_types_compatible_p... yes [05:39:39.240] checking for __builtin_constant_p... yes [05:39:39.250] checking for __builtin_unreachable... yes [05:39:39.290] checking for computed goto support... yes [05:39:39.297] checking for struct tm.tm_zone... no [05:39:39.371] checking for union semun... no [05:39:39.403] checking for socklen_t... yes [05:39:40.613] checking for struct sockaddr.sa_len... no [05:39:42.668] checking for C/C++ restrict keyword... __restrict [05:39:42.680] checking for struct option... yes [05:39:42.721] checking whether assembler supports x86_64 popcntq... yes [05:39:42.728] checking size of off_t... 4 [05:39:42.929] 0 [05:39:42.929] checking size of bool... 1 [05:39:42.973] checking for int timezone... yes [05:39:43.029] checking for backtrace_symbols... no [05:39:43.079] checking for copyfile... no [05:39:43.129] checking for copy_file_range... no [05:39:43.178] checking for getifaddrs... no [05:39:43.226] checking for getpeerucred... no [05:39:43.275] checking for inet_pton... yes [05:39:43.325] checking for kqueue... no [05:39:43.378] checking for mbstowcs_l... no [05:39:43.429] checking for memset_s... no [05:39:43.480] checking for posix_fallocate... no [05:39:43.531] checking for ppoll... no [05:39:43.583] checking for pthread_is_threaded_np... no [05:39:43.634] checking for setproctitle... no [05:39:43.686] checking for setproctitle_fast... no [05:39:43.739] checking for strchrnul... no [05:39:43.790] checking for strsignal... no [05:39:43.841] checking for syncfs... no [05:39:43.892] checking for sync_file_range... no [05:39:43.944] checking for uselocale... no [05:39:43.994] checking for wcstombs_l... no [05:39:44.041] checking for __builtin_bswap16... yes [05:39:44.089] checking for __builtin_bswap32... yes [05:39:44.138] checking for __builtin_bswap64... yes [05:39:44.186] checking for __builtin_clz... yes [05:39:44.237] checking for __builtin_ctz... yes [05:39:44.286] checking for __builtin_popcount... yes [05:39:44.334] checking for __builtin_frame_address... yes [05:39:44.381] checking for _LARGEFILE_SOURCE value needed for large files... no [05:39:44.434] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [05:39:44.464] checking for posix_fadvise... no [05:39:44.515] checking whether posix_fadvise is declared... no [05:39:44.562] checking whether fdatasync is declared... no [05:39:44.610] checking whether strlcat is declared... no [05:39:44.675] checking whether strlcpy is declared... no [05:39:44.743] checking whether strnlen is declared... yes [05:39:44.757] checking whether strsep is declared... no [05:39:44.824] checking whether preadv is declared... no [05:39:44.859] checking whether pwritev is declared... no [05:39:44.897] checking whether F_FULLFSYNC is declared... no [05:39:44.937] checking for explicit_bzero... no [05:39:44.984] checking for getopt... yes [05:39:45.029] checking for getpeereid... no [05:39:45.077] checking for inet_aton... no [05:39:45.124] checking for mkdtemp... no [05:39:45.171] checking for strlcat... no [05:39:45.218] checking for strlcpy... no [05:39:45.265] checking for strnlen... yes [05:39:45.313] checking for strsep... no [05:39:45.362] checking for pthread_barrier_wait... yes [05:39:45.406] configure: On mingw32 we will use our strtof wrapper. [05:39:45.406] checking for getopt_long... yes [05:39:45.452] checking for _configthreadlocale... yes [05:39:45.496] checking for syslog... no [05:39:45.544] checking for opterr... yes [05:39:45.591] checking for optreset... no [05:39:45.643] checking test program... cross-compiling [05:39:45.643] checking whether long int is 64 bits... no [05:39:45.673] checking whether long long int is 64 bits... yes [05:39:45.683] checking for __builtin_mul_overflow... yes [05:39:45.727] checking size of void *... 8 [05:39:45.995] checking size of size_t... 8 [05:39:46.268] checking size of long... 4 [05:39:46.463] checking alignment of short... 2 [05:39:46.598] checking alignment of int... 4 [05:39:46.799] checking alignment of long... 4 [05:39:47.000] checking alignment of long long int... 8 [05:39:47.276] checking alignment of double... 8 [05:39:47.541] checking for __int128... yes [05:39:47.590] checking for __int128 alignment bug... assuming ok [05:39:47.590] checking alignment of PG_INT128_TYPE... 16 [05:39:47.921] checking for builtin __sync char locking functions... yes [05:39:47.962] checking for builtin __sync int32 locking functions... yes [05:39:48.005] checking for builtin __sync int32 atomic operations... yes [05:39:48.048] checking for builtin __sync int64 atomic operations... yes [05:39:48.091] checking for builtin __atomic int32 atomic operations... yes [05:39:48.134] checking for builtin __atomic int64 atomic operations... yes [05:39:48.177] checking for __get_cpuid... yes [05:39:48.223] checking for __get_cpuid_count... yes [05:39:48.267] checking for __cpuid... no [05:39:48.669] checking for __cpuidex... no [05:39:49.101] checking for _xgetbv with CFLAGS=... no [05:39:49.485] checking for _xgetbv with CFLAGS=-mxsave... yes [05:39:49.887] checking for _mm512_popcnt_epi64 with CFLAGS=... no [05:39:50.270] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [05:39:50.616] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [05:39:50.662] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [05:39:50.752] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [05:39:50.775] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [05:39:50.794] 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 [05:39:50.848] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [05:39:50.849] checking which random number source to use... Windows native [05:39:50.851] checking for xmllint... /usr/bin/xmllint [05:39:50.851] checking for xsltproc... /usr/bin/xsltproc [05:39:50.851] checking for fop... /usr/bin/fop [05:39:50.851] checking for dbtoepub... no [05:39:50.852] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [05:39:50.852] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [05:39:50.852] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [05:39:50.863] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [05:39:50.863] 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 [05:39:50.863] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [05:39:50.863] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [05:39:50.941] configure: creating ./config.status [05:39:51.022] config.status: creating GNUmakefile [05:39:51.033] config.status: creating src/Makefile.global [05:39:51.048] config.status: creating src/include/pg_config.h [05:39:51.059] config.status: creating src/include/pg_config_ext.h [05:39:51.070] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [05:39:51.084] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [05:39:51.091] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [05:39:51.098] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [05:39:51.105] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [05:39:51.112] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [05:39:51.115] config.status: executing check_win32_symlinks commands [05:39:51.149] [05:39:51.149] real 0m16.046s [05:39:51.149] user 0m10.819s [05:39:51.149] sys 0m4.868s [05:39:51.149] make -s -j${BUILD_JOBS} clean [05:39:51.653] time make -s -j${BUILD_JOBS} world-bin [05:39:56.899] smgr.c: In function ‘smgrdestroy’: [05:39:56.899] smgr.c:282:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [05:39:56.899] 282 | ForkNumber forknum; [05:39:56.899] | ^~~~~~~ [05:39:56.899] smgr.c: In function ‘smgrdounlinkall’: [05:39:56.899] smgr.c:487:41: error: unused variable ‘which’ [-Werror=unused-variable] [05:39:56.899] 487 | int which = rels[i]->smgr_which; [05:39:56.899] | ^~~~~ [05:39:56.899] cc1: all warnings being treated as errors [05:39:56.901] make[4]: *** [: smgr.o] Error 1 [05:39:56.901] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [05:39:56.901] make[2]: *** [common.mk:37: storage-recursive] Error 2 [05:39:56.901] make[2]: *** Waiting for unfinished jobs.... [05:39:57.604] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [05:39:57.605] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [05:39:57.605] [05:39:57.605] real 0m5.951s [05:39:57.605] user 0m9.599s [05:39:57.605] sys 0m6.596s [05:39:57.605] [05:39:57.605] Exit status: 2