[03:15:28.850] time ./configure \ [03:15:28.850] --host=x86_64-w64-mingw32 \ [03:15:28.850] --enable-cassert \ [03:15:28.850] --without-icu \ [03:15:28.850] CC="ccache x86_64-w64-mingw32-gcc" \ [03:15:28.850] CXX="ccache x86_64-w64-mingw32-g++" [03:15:28.959] checking build system type... x86_64-pc-linux-gnu [03:15:29.167] checking host system type... x86_64-w64-mingw32 [03:15:29.172] checking which template to use... win32 [03:15:29.172] checking whether NLS is wanted... no [03:15:29.172] checking for default port number... 5432 [03:15:29.179] checking for block size... 8kB [03:15:29.180] checking for segment size... 1GB [03:15:29.182] checking for WAL block size... 8kB [03:15:29.183] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [03:15:29.215] checking whether the C compiler works... yes [03:15:29.358] checking for C compiler default output file name... a.exe [03:15:29.359] checking for suffix of executables... .exe [03:15:29.398] checking whether we are cross compiling... yes [03:15:29.471] checking for suffix of object files... o [03:15:29.479] checking whether we are using the GNU C compiler... yes [03:15:29.486] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [03:15:29.492] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [03:15:29.501] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [03:15:29.566] checking whether we are using the GNU C++ compiler... yes [03:15:29.573] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [03:15:29.642] checking for gawk... no [03:15:29.642] checking for mawk... mawk [03:15:29.644] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [03:15:29.651] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [03:15:29.659] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [03:15:29.704] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [03:15:29.913] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [03:15:29.921] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [03:15:29.929] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [03:15:29.936] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [03:15:29.944] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [03:15:29.951] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [03:15:29.958] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [03:15:29.964] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [03:15:29.970] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [03:15:29.977] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [03:15:29.983] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [03:15:29.990] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [03:15:29.996] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [03:15:30.033] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [03:15:30.039] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [03:15:30.046] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [03:15:30.053] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [03:15:30.059] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [03:15:30.067] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [03:15:30.090] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [03:15:30.097] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [03:15:30.104] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [03:15:30.143] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [03:15:30.181] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [03:15:30.188] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [03:15:30.195] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [03:15:30.229] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [03:15:30.237] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [03:15:30.246] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [03:15:30.255] checking whether the C compiler still works... yes [03:15:30.321] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [03:15:30.391] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [03:15:30.391] checking pkg-config is at least version 0.9.0... yes [03:15:30.409] checking whether to build with ICU support... no [03:15:30.410] checking whether to build with Tcl... no [03:15:30.410] checking whether to build Perl modules... no [03:15:30.410] checking whether to build Python modules... no [03:15:30.410] checking whether to build with GSSAPI support... no [03:15:30.411] checking whether to build with PAM support... no [03:15:30.411] checking whether to build with BSD Authentication support... no [03:15:30.411] checking whether to build with LDAP support... no [03:15:30.411] checking whether to build with Bonjour support... no [03:15:30.411] checking whether to build with SELinux support... no [03:15:30.411] checking whether to build with systemd support... no [03:15:30.412] configure: WARNING: *** Readline does not work on MinGW --- disabling [03:15:30.412] checking whether to build with XML support... no [03:15:30.412] checking whether to build with LZ4 support... no [03:15:30.412] checking whether to build with ZSTD support... no [03:15:30.412] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [03:15:30.413] checking whether it is possible to strip libraries... yes [03:15:30.421] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [03:15:30.421] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [03:15:30.421] checking for a BSD-compatible install... /usr/bin/install -c [03:15:30.430] checking for tar... /usr/bin/tar [03:15:30.430] checking whether ln -s works... yes [03:15:30.430] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [03:15:30.432] checking for bison... /usr/bin/bison [03:15:30.435] configure: using bison (GNU Bison) 3.8.2 [03:15:30.437] checking for flex... /usr/bin/flex [03:15:30.449] configure: using flex 2.6.4 [03:15:30.449] checking for perl... /usr/bin/perl [03:15:30.452] configure: using perl 5.36.0 [03:15:30.454] checking for zic... /usr/sbin/zic [03:15:30.454] checking for a sed that does not truncate output... /usr/bin/sed [03:15:30.459] checking for grep that handles long lines and -e... /usr/bin/grep [03:15:30.461] checking for egrep... /usr/bin/grep -E [03:15:30.462] checking for ANSI C header files... yes [03:15:30.507] checking for sys/types.h... yes [03:15:30.522] checking for sys/stat.h... yes [03:15:30.537] checking for stdlib.h... yes [03:15:30.551] checking for string.h... yes [03:15:30.565] checking for memory.h... yes [03:15:30.580] checking for strings.h... yes [03:15:30.596] checking for inttypes.h... yes [03:15:30.610] checking for stdint.h... yes [03:15:30.624] checking for unistd.h... yes [03:15:30.641] checking for main in -lm... yes [03:15:30.687] checking for library containing setproctitle... no [03:15:30.773] checking for library containing dlsym... no [03:15:30.861] checking for library containing socket... -lws2_32 [03:15:30.988] checking for library containing getopt_long... none required [03:15:31.037] checking for library containing shm_open... no [03:15:31.126] checking for library containing shm_unlink... no [03:15:31.214] checking for library containing clock_gettime... no [03:15:31.302] checking for library containing shmget... no [03:15:31.386] checking for library containing backtrace_symbols... no [03:15:31.471] checking for library containing pthread_barrier_wait... -lpthread [03:15:31.559] checking for inflate in -lz... yes [03:15:31.605] checking for stdbool.h that conforms to C99... yes [03:15:31.616] checking for _Bool... yes [03:15:31.688] checking atomic.h usability... no [03:15:31.742] checking atomic.h presence... no [03:15:31.761] checking for atomic.h... no [03:15:31.765] checking copyfile.h usability... no [03:15:31.818] checking copyfile.h presence... no [03:15:31.840] checking for copyfile.h... no [03:15:31.843] checking execinfo.h usability... no [03:15:31.899] checking execinfo.h presence... no [03:15:31.918] checking for execinfo.h... no [03:15:31.921] checking getopt.h usability... yes [03:15:31.929] checking getopt.h presence... yes [03:15:31.944] checking for getopt.h... yes [03:15:31.950] checking ifaddrs.h usability... no [03:15:32.005] checking ifaddrs.h presence... no [03:15:32.023] checking for ifaddrs.h... no [03:15:32.026] checking mbarrier.h usability... no [03:15:32.080] checking mbarrier.h presence... no [03:15:32.098] checking for mbarrier.h... no [03:15:32.101] checking sys/epoll.h usability... no [03:15:32.153] checking sys/epoll.h presence... no [03:15:32.171] checking for sys/epoll.h... no [03:15:32.174] checking sys/event.h usability... no [03:15:32.228] checking sys/event.h presence... no [03:15:32.247] checking for sys/event.h... no [03:15:32.251] checking sys/personality.h usability... no [03:15:32.304] checking sys/personality.h presence... no [03:15:32.322] checking for sys/personality.h... no [03:15:32.326] checking sys/prctl.h usability... no [03:15:32.383] checking sys/prctl.h presence... no [03:15:32.403] checking for sys/prctl.h... no [03:15:32.406] checking sys/procctl.h usability... no [03:15:32.462] checking sys/procctl.h presence... no [03:15:32.482] checking for sys/procctl.h... no [03:15:32.485] checking sys/signalfd.h usability... no [03:15:32.540] checking sys/signalfd.h presence... no [03:15:32.559] checking for sys/signalfd.h... no [03:15:32.562] checking sys/ucred.h usability... no [03:15:32.615] checking sys/ucred.h presence... no [03:15:32.632] checking for sys/ucred.h... no [03:15:32.636] checking termios.h usability... no [03:15:32.688] checking termios.h presence... no [03:15:32.706] checking for termios.h... no [03:15:32.709] checking ucred.h usability... no [03:15:32.762] checking ucred.h presence... no [03:15:32.780] checking for ucred.h... no [03:15:32.783] checking xlocale.h usability... no [03:15:32.838] checking xlocale.h presence... no [03:15:32.858] checking for xlocale.h... no [03:15:32.861] checking zlib.h usability... yes [03:15:32.870] checking zlib.h presence... yes [03:15:32.889] checking for zlib.h... yes [03:15:32.889] checking for lz4... /usr/bin/lz4 [03:15:32.889] checking for zstd... /usr/bin/zstd [03:15:32.890] checking for openssl... /usr/bin/openssl [03:15:32.894] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [03:15:32.894] checking crtdefs.h usability... yes [03:15:32.902] checking crtdefs.h presence... yes [03:15:32.916] checking for crtdefs.h... yes [03:15:32.917] checking whether byte ordering is bigendian... no [03:15:32.989] checking for inline... inline [03:15:32.997] checking for printf format archetype... gnu_printf [03:15:33.005] checking for _Static_assert... yes [03:15:33.046] checking for typeof... typeof [03:15:33.053] checking for __builtin_types_compatible_p... yes [03:15:33.064] checking for __builtin_constant_p... yes [03:15:33.074] checking for __builtin_unreachable... yes [03:15:33.115] checking for computed goto support... yes [03:15:33.122] checking for struct tm.tm_zone... no [03:15:33.197] checking for union semun... no [03:15:33.232] checking for socklen_t... yes [03:15:34.387] checking for struct sockaddr.sa_len... no [03:15:36.435] checking for C/C++ restrict keyword... __restrict [03:15:36.447] checking for struct option... yes [03:15:36.487] checking whether assembler supports x86_64 popcntq... yes [03:15:36.494] checking size of off_t... 4 [03:15:36.690] 0 [03:15:36.691] checking size of bool... 1 [03:15:36.736] checking for int timezone... yes [03:15:36.789] checking for backtrace_symbols... no [03:15:36.839] checking for copyfile... no [03:15:36.888] checking for copy_file_range... no [03:15:36.935] checking for getifaddrs... no [03:15:36.983] checking for getpeerucred... no [03:15:37.032] checking for inet_pton... yes [03:15:37.081] checking for kqueue... no [03:15:37.130] checking for mbstowcs_l... no [03:15:37.180] checking for memset_s... no [03:15:37.229] checking for posix_fallocate... no [03:15:37.278] checking for ppoll... no [03:15:37.327] checking for pthread_is_threaded_np... no [03:15:37.376] checking for setproctitle... no [03:15:37.425] checking for setproctitle_fast... no [03:15:37.476] checking for strchrnul... no [03:15:37.526] checking for strsignal... no [03:15:37.577] checking for syncfs... no [03:15:37.626] checking for sync_file_range... no [03:15:37.675] checking for uselocale... no [03:15:37.724] checking for wcstombs_l... no [03:15:37.770] checking for __builtin_bswap16... yes [03:15:37.820] checking for __builtin_bswap32... yes [03:15:37.868] checking for __builtin_bswap64... yes [03:15:37.914] checking for __builtin_clz... yes [03:15:37.961] checking for __builtin_ctz... yes [03:15:38.007] checking for __builtin_popcount... yes [03:15:38.054] checking for __builtin_frame_address... yes [03:15:38.100] checking for _LARGEFILE_SOURCE value needed for large files... no [03:15:38.152] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [03:15:38.184] checking for posix_fadvise... no [03:15:38.235] checking whether posix_fadvise is declared... no [03:15:38.279] checking whether fdatasync is declared... no [03:15:38.324] checking whether strlcat is declared... no [03:15:38.387] checking whether strlcpy is declared... no [03:15:38.451] checking whether strnlen is declared... yes [03:15:38.465] checking whether strsep is declared... no [03:15:38.528] checking whether preadv is declared... no [03:15:38.567] checking whether pwritev is declared... no [03:15:38.605] checking whether F_FULLFSYNC is declared... no [03:15:38.644] checking for explicit_bzero... no [03:15:38.690] checking for getopt... yes [03:15:38.735] checking for getpeereid... no [03:15:38.781] checking for inet_aton... no [03:15:38.827] checking for mkdtemp... no [03:15:38.875] checking for strlcat... no [03:15:38.921] checking for strlcpy... no [03:15:38.967] checking for strnlen... yes [03:15:39.014] checking for strsep... no [03:15:39.062] checking for pthread_barrier_wait... yes [03:15:39.106] configure: On mingw32 we will use our strtof wrapper. [03:15:39.107] checking for getopt_long... yes [03:15:39.151] checking for _configthreadlocale... yes [03:15:39.195] checking for syslog... no [03:15:39.241] checking for opterr... yes [03:15:39.289] checking for optreset... no [03:15:39.340] checking test program... cross-compiling [03:15:39.340] checking whether long int is 64 bits... no [03:15:39.370] checking whether long long int is 64 bits... yes [03:15:39.379] checking for __builtin_mul_overflow... yes [03:15:39.421] checking size of void *... 8 [03:15:39.684] checking size of size_t... 8 [03:15:39.948] checking size of long... 4 [03:15:40.143] checking alignment of short... 2 [03:15:40.277] checking alignment of int... 4 [03:15:40.482] checking alignment of long... 4 [03:15:40.689] checking alignment of long long int... 8 [03:15:40.955] checking alignment of double... 8 [03:15:41.231] checking for int8... no [03:15:41.274] checking for uint8... no [03:15:41.318] checking for int64... no [03:15:41.362] checking for uint64... no [03:15:41.407] checking for __int128... yes [03:15:41.459] checking for __int128 alignment bug... assuming ok [03:15:41.459] checking alignment of PG_INT128_TYPE... 16 [03:15:41.798] checking for builtin __sync char locking functions... yes [03:15:41.841] checking for builtin __sync int32 locking functions... yes [03:15:41.885] checking for builtin __sync int32 atomic operations... yes [03:15:41.929] checking for builtin __sync int64 atomic operations... yes [03:15:41.972] checking for builtin __atomic int32 atomic operations... yes [03:15:42.015] checking for builtin __atomic int64 atomic operations... yes [03:15:42.059] checking for __get_cpuid... yes [03:15:42.105] checking for __get_cpuid_count... yes [03:15:42.151] checking for __cpuid... no [03:15:42.552] checking for __cpuidex... no [03:15:42.982] checking for _xgetbv with CFLAGS=... no [03:15:43.363] checking for _xgetbv with CFLAGS=-mxsave... yes [03:15:43.769] checking for _mm512_popcnt_epi64 with CFLAGS=... no [03:15:44.153] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [03:15:44.494] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [03:15:44.542] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [03:15:44.630] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [03:15:44.652] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [03:15:44.673] 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 [03:15:44.727] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [03:15:44.728] checking which random number source to use... Windows native [03:15:44.729] checking for xmllint... /usr/bin/xmllint [03:15:44.730] checking for xsltproc... /usr/bin/xsltproc [03:15:44.730] checking for fop... /usr/bin/fop [03:15:44.730] checking for dbtoepub... no [03:15:44.730] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [03:15:44.731] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [03:15:44.731] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [03:15:44.741] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [03:15:44.741] 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 [03:15:44.741] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [03:15:44.741] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [03:15:44.826] configure: creating ./config.status [03:15:44.910] config.status: creating GNUmakefile [03:15:44.922] config.status: creating src/Makefile.global [03:15:44.937] config.status: creating src/include/pg_config.h [03:15:44.949] config.status: creating src/include/pg_config_ext.h [03:15:44.960] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [03:15:44.975] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [03:15:44.982] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [03:15:44.988] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [03:15:44.995] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [03:15:45.002] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [03:15:45.005] config.status: executing check_win32_symlinks commands [03:15:45.037] [03:15:45.037] real 0m16.187s [03:15:45.037] user 0m10.961s [03:15:45.037] sys 0m4.794s [03:15:45.037] make -s -j${BUILD_JOBS} clean [03:15:45.538] time make -s -j${BUILD_JOBS} world-bin [03:15:50.594] smgr.c: In function ‘smgrdestroy’: [03:15:50.594] smgr.c:282:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [03:15:50.594] 282 | ForkNumber forknum; [03:15:50.594] | ^~~~~~~ [03:15:50.594] smgr.c: In function ‘smgrdounlinkall’: [03:15:50.594] smgr.c:487:41: error: unused variable ‘which’ [-Werror=unused-variable] [03:15:50.594] 487 | int which = rels[i]->smgr_which; [03:15:50.594] | ^~~~~ [03:15:50.594] cc1: all warnings being treated as errors [03:15:50.595] make[4]: *** [: smgr.o] Error 1 [03:15:50.596] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [03:15:50.596] make[2]: *** [common.mk:37: storage-recursive] Error 2 [03:15:50.596] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [03:15:50.596] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [03:15:50.597] [03:15:50.597] real 0m5.059s [03:15:50.597] user 0m8.666s [03:15:50.597] sys 0m6.094s [03:15:50.597] [03:15:50.597] Exit status: 2