[12:56:57.734] time ./configure \ [12:56:57.734] --host=x86_64-w64-mingw32 \ [12:56:57.734] --enable-cassert \ [12:56:57.734] --without-icu \ [12:56:57.734] CC="ccache x86_64-w64-mingw32-gcc" \ [12:56:57.734] CXX="ccache x86_64-w64-mingw32-g++" [12:56:57.848] checking build system type... x86_64-pc-linux-gnu [12:56:58.039] checking host system type... x86_64-w64-mingw32 [12:56:58.044] checking which template to use... win32 [12:56:58.044] checking whether NLS is wanted... no [12:56:58.044] checking for default port number... 5432 [12:56:58.050] checking for block size... 8kB [12:56:58.051] checking for segment size... 1GB [12:56:58.054] checking for WAL block size... 8kB [12:56:58.055] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [12:56:58.088] checking whether the C compiler works... yes [12:56:58.224] checking for C compiler default output file name... a.exe [12:56:58.225] checking for suffix of executables... .exe [12:56:58.266] checking whether we are cross compiling... yes [12:56:58.338] checking for suffix of object files... o [12:56:58.346] checking whether we are using the GNU C compiler... yes [12:56:58.353] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [12:56:58.360] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [12:56:58.371] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [12:56:58.427] checking whether we are using the GNU C++ compiler... yes [12:56:58.434] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [12:56:58.500] checking for gawk... no [12:56:58.500] checking for mawk... mawk [12:56:58.502] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [12:56:58.510] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [12:56:58.517] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [12:56:58.562] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [12:56:58.728] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [12:56:58.736] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [12:56:58.743] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [12:56:58.750] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [12:56:58.756] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [12:56:58.764] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [12:56:58.771] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [12:56:58.778] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [12:56:58.785] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [12:56:58.792] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [12:56:58.799] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [12:56:58.806] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [12:56:58.813] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [12:56:58.849] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [12:56:58.856] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [12:56:58.863] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [12:56:58.870] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [12:56:58.876] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [12:56:58.883] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [12:56:58.905] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [12:56:58.912] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [12:56:58.919] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [12:56:58.955] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [12:56:58.992] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [12:56:58.999] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [12:56:59.005] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [12:56:59.038] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [12:56:59.044] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [12:56:59.051] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [12:56:59.058] checking whether the C compiler still works... yes [12:56:59.123] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [12:56:59.191] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [12:56:59.191] checking pkg-config is at least version 0.9.0... yes [12:56:59.208] checking whether to build with ICU support... no [12:56:59.208] checking whether to build with Tcl... no [12:56:59.209] checking whether to build Perl modules... no [12:56:59.209] checking whether to build Python modules... no [12:56:59.209] checking whether to build with GSSAPI support... no [12:56:59.210] checking whether to build with PAM support... no [12:56:59.210] checking whether to build with BSD Authentication support... no [12:56:59.210] checking whether to build with LDAP support... no [12:56:59.210] checking whether to build with Bonjour support... no [12:56:59.210] checking whether to build with SELinux support... no [12:56:59.210] checking whether to build with systemd support... no [12:56:59.211] configure: WARNING: *** Readline does not work on MinGW --- disabling [12:56:59.211] checking whether to build with XML support... no [12:56:59.211] checking whether to build with LZ4 support... no [12:56:59.211] checking whether to build with ZSTD support... no [12:56:59.211] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [12:56:59.212] checking whether it is possible to strip libraries... yes [12:56:59.219] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [12:56:59.219] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [12:56:59.220] checking for a BSD-compatible install... /usr/bin/install -c [12:56:59.229] checking for tar... /usr/bin/tar [12:56:59.229] checking whether ln -s works... yes [12:56:59.229] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [12:56:59.231] checking for bison... /usr/bin/bison [12:56:59.233] configure: using bison (GNU Bison) 3.8.2 [12:56:59.236] checking for flex... /usr/bin/flex [12:56:59.247] configure: using flex 2.6.4 [12:56:59.248] checking for perl... /usr/bin/perl [12:56:59.250] configure: using perl 5.36.0 [12:56:59.252] checking for zic... /usr/sbin/zic [12:56:59.252] checking for a sed that does not truncate output... /usr/bin/sed [12:56:59.257] checking for grep that handles long lines and -e... /usr/bin/grep [12:56:59.259] checking for egrep... /usr/bin/grep -E [12:56:59.260] checking for ANSI C header files... yes [12:56:59.305] checking for sys/types.h... yes [12:56:59.322] checking for sys/stat.h... yes [12:56:59.338] checking for stdlib.h... yes [12:56:59.353] checking for string.h... yes [12:56:59.368] checking for memory.h... yes [12:56:59.383] checking for strings.h... yes [12:56:59.398] checking for inttypes.h... yes [12:56:59.414] checking for stdint.h... yes [12:56:59.428] checking for unistd.h... yes [12:56:59.443] checking for main in -lm... yes [12:56:59.491] checking for library containing setproctitle... no [12:56:59.581] checking for library containing dlsym... no [12:56:59.665] checking for library containing socket... -lws2_32 [12:56:59.791] checking for library containing getopt_long... none required [12:56:59.837] checking for library containing shm_open... no [12:56:59.922] checking for library containing shm_unlink... no [12:57:00.011] checking for library containing clock_gettime... no [12:57:00.096] checking for library containing shmget... no [12:57:00.182] checking for library containing backtrace_symbols... no [12:57:00.270] checking for library containing pthread_barrier_wait... -lpthread [12:57:00.356] checking for inflate in -lz... yes [12:57:00.400] checking for stdbool.h that conforms to C99... yes [12:57:00.410] checking for _Bool... yes [12:57:00.483] checking atomic.h usability... no [12:57:00.540] checking atomic.h presence... no [12:57:00.559] checking for atomic.h... no [12:57:00.563] checking copyfile.h usability... no [12:57:00.619] checking copyfile.h presence... no [12:57:00.638] checking for copyfile.h... no [12:57:00.641] checking execinfo.h usability... no [12:57:00.695] checking execinfo.h presence... no [12:57:00.714] checking for execinfo.h... no [12:57:00.717] checking getopt.h usability... yes [12:57:00.724] checking getopt.h presence... yes [12:57:00.739] checking for getopt.h... yes [12:57:00.745] checking ifaddrs.h usability... no [12:57:00.799] checking ifaddrs.h presence... no [12:57:00.817] checking for ifaddrs.h... no [12:57:00.820] checking mbarrier.h usability... no [12:57:00.875] checking mbarrier.h presence... no [12:57:00.894] checking for mbarrier.h... no [12:57:00.898] checking sys/epoll.h usability... no [12:57:00.952] checking sys/epoll.h presence... no [12:57:00.970] checking for sys/epoll.h... no [12:57:00.973] checking sys/event.h usability... no [12:57:01.026] checking sys/event.h presence... no [12:57:01.046] checking for sys/event.h... no [12:57:01.049] checking sys/personality.h usability... no [12:57:01.106] checking sys/personality.h presence... no [12:57:01.125] checking for sys/personality.h... no [12:57:01.128] checking sys/prctl.h usability... no [12:57:01.184] checking sys/prctl.h presence... no [12:57:01.204] checking for sys/prctl.h... no [12:57:01.208] checking sys/procctl.h usability... no [12:57:01.263] checking sys/procctl.h presence... no [12:57:01.283] checking for sys/procctl.h... no [12:57:01.286] checking sys/signalfd.h usability... no [12:57:01.343] checking sys/signalfd.h presence... no [12:57:01.363] checking for sys/signalfd.h... no [12:57:01.366] checking sys/ucred.h usability... no [12:57:01.423] checking sys/ucred.h presence... no [12:57:01.443] checking for sys/ucred.h... no [12:57:01.446] checking termios.h usability... no [12:57:01.501] checking termios.h presence... no [12:57:01.518] checking for termios.h... no [12:57:01.522] checking ucred.h usability... no [12:57:01.576] checking ucred.h presence... no [12:57:01.594] checking for ucred.h... no [12:57:01.596] checking zlib.h usability... yes [12:57:01.606] checking zlib.h presence... yes [12:57:01.624] checking for zlib.h... yes [12:57:01.625] checking for lz4... /usr/bin/lz4 [12:57:01.625] checking for zstd... /usr/bin/zstd [12:57:01.625] checking for openssl... /usr/bin/openssl [12:57:01.629] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [12:57:01.630] checking crtdefs.h usability... yes [12:57:01.637] checking crtdefs.h presence... yes [12:57:01.652] checking for crtdefs.h... yes [12:57:01.653] checking whether byte ordering is bigendian... no [12:57:01.728] checking for inline... inline [12:57:01.736] checking for printf format archetype... gnu_printf [12:57:01.744] checking for _Static_assert... yes [12:57:01.787] checking for typeof... typeof [12:57:01.795] checking for __builtin_types_compatible_p... yes [12:57:01.806] checking for __builtin_constant_p... yes [12:57:01.817] checking for __builtin_unreachable... yes [12:57:01.858] checking for computed goto support... yes [12:57:01.865] checking for struct tm.tm_zone... no [12:57:01.941] checking for union semun... no [12:57:01.975] checking for socklen_t... yes [12:57:03.175] checking for struct sockaddr.sa_len... no [12:57:05.248] checking for locale_t... no [12:57:05.318] checking for C/C++ restrict keyword... __restrict [12:57:05.332] checking for struct option... yes [12:57:05.377] checking whether assembler supports x86_64 popcntq... yes [12:57:05.385] checking size of off_t... 4 [12:57:05.587] 0 [12:57:05.587] checking size of bool... 1 [12:57:05.630] checking for int timezone... yes [12:57:05.676] checking for wcstombs_l declaration... no [12:57:05.756] checking for backtrace_symbols... no [12:57:05.803] checking for copyfile... no [12:57:05.853] checking for copy_file_range... no [12:57:05.903] checking for getifaddrs... no [12:57:05.954] checking for getpeerucred... no [12:57:06.006] checking for inet_pton... yes [12:57:06.058] checking for kqueue... no [12:57:06.112] checking for mbstowcs_l... no [12:57:06.163] checking for memset_s... no [12:57:06.212] checking for posix_fallocate... no [12:57:06.261] checking for ppoll... no [12:57:06.311] checking for pthread_is_threaded_np... no [12:57:06.360] checking for setproctitle... no [12:57:06.410] checking for setproctitle_fast... no [12:57:06.460] checking for strchrnul... no [12:57:06.512] checking for strsignal... no [12:57:06.562] checking for syncfs... no [12:57:06.613] checking for sync_file_range... no [12:57:06.664] checking for uselocale... no [12:57:06.716] checking for wcstombs_l... no [12:57:06.765] checking for __builtin_bswap16... yes [12:57:06.814] checking for __builtin_bswap32... yes [12:57:06.861] checking for __builtin_bswap64... yes [12:57:06.909] checking for __builtin_clz... yes [12:57:06.956] checking for __builtin_ctz... yes [12:57:07.004] checking for __builtin_popcount... yes [12:57:07.051] checking for __builtin_frame_address... yes [12:57:07.100] checking for _LARGEFILE_SOURCE value needed for large files... no [12:57:07.154] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [12:57:07.186] checking for posix_fadvise... no [12:57:07.239] checking whether posix_fadvise is declared... no [12:57:07.285] checking whether fdatasync is declared... no [12:57:07.332] checking whether strlcat is declared... no [12:57:07.395] checking whether strlcpy is declared... no [12:57:07.459] checking whether strnlen is declared... yes [12:57:07.473] checking whether strsep is declared... no [12:57:07.537] checking whether preadv is declared... no [12:57:07.573] checking whether pwritev is declared... no [12:57:07.612] checking whether F_FULLFSYNC is declared... no [12:57:07.653] checking for explicit_bzero... no [12:57:07.701] checking for getopt... yes [12:57:07.746] checking for getpeereid... no [12:57:07.795] checking for inet_aton... no [12:57:07.842] checking for mkdtemp... no [12:57:07.889] checking for strlcat... no [12:57:07.937] checking for strlcpy... no [12:57:07.984] checking for strnlen... yes [12:57:08.031] checking for strsep... no [12:57:08.077] checking for pthread_barrier_wait... yes [12:57:08.119] configure: On mingw32 we will use our strtof wrapper. [12:57:08.119] checking for getopt_long... yes [12:57:08.162] checking for _configthreadlocale... yes [12:57:08.205] checking for syslog... no [12:57:08.252] checking for opterr... yes [12:57:08.301] checking for optreset... no [12:57:08.354] checking test program... cross-compiling [12:57:08.354] checking whether long int is 64 bits... no [12:57:08.385] checking whether long long int is 64 bits... yes [12:57:08.396] checking for __builtin_mul_overflow... yes [12:57:08.439] checking size of void *... 8 [12:57:08.708] checking size of size_t... 8 [12:57:08.980] checking size of long... 4 [12:57:09.187] checking alignment of short... 2 [12:57:09.322] checking alignment of int... 4 [12:57:09.521] checking alignment of long... 4 [12:57:09.723] checking alignment of long long int... 8 [12:57:09.990] checking alignment of double... 8 [12:57:10.262] checking for int8... no [12:57:10.303] checking for uint8... no [12:57:10.344] checking for int64... no [12:57:10.386] checking for uint64... no [12:57:10.428] checking for __int128... yes [12:57:10.476] checking for __int128 alignment bug... assuming ok [12:57:10.477] checking alignment of PG_INT128_TYPE... 16 [12:57:10.808] checking for builtin __sync char locking functions... yes [12:57:10.848] checking for builtin __sync int32 locking functions... yes [12:57:10.889] checking for builtin __sync int32 atomic operations... yes [12:57:10.932] checking for builtin __sync int64 atomic operations... yes [12:57:10.975] checking for builtin __atomic int32 atomic operations... yes [12:57:11.017] checking for builtin __atomic int64 atomic operations... yes [12:57:11.060] checking for __get_cpuid... yes [12:57:11.110] checking for __get_cpuid_count... yes [12:57:11.156] checking for __cpuid... no [12:57:11.559] checking for __cpuidex... no [12:57:11.979] checking for _xgetbv with CFLAGS=... no [12:57:12.361] checking for _xgetbv with CFLAGS=-mxsave... yes [12:57:12.768] checking for _mm512_popcnt_epi64 with CFLAGS=... no [12:57:13.153] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [12:57:13.498] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [12:57:13.544] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [12:57:13.631] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [12:57:13.654] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [12:57:13.672] 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 [12:57:13.726] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [12:57:13.727] checking which random number source to use... Windows native [12:57:13.728] checking for xmllint... /usr/bin/xmllint [12:57:13.729] checking for xsltproc... /usr/bin/xsltproc [12:57:13.729] checking for fop... /usr/bin/fop [12:57:13.729] checking for dbtoepub... no [12:57:13.729] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [12:57:13.730] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [12:57:13.730] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [12:57:13.741] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [12:57:13.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 [12:57:13.741] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [12:57:13.741] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [12:57:13.829] configure: creating ./config.status [12:57:13.914] config.status: creating GNUmakefile [12:57:13.926] config.status: creating src/Makefile.global [12:57:13.941] config.status: creating src/include/pg_config.h [12:57:13.953] config.status: creating src/include/pg_config_ext.h [12:57:13.964] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [12:57:13.979] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [12:57:13.986] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [12:57:13.994] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [12:57:14.001] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [12:57:14.008] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [12:57:14.012] config.status: executing check_win32_symlinks commands [12:57:14.045] [12:57:14.045] real 0m16.311s [12:57:14.045] user 0m10.805s [12:57:14.045] sys 0m5.157s [12:57:14.045] make -s -j${BUILD_JOBS} clean [12:57:14.538] time make -s -j${BUILD_JOBS} world-bin [12:57:39.243] smgr.c: In function ‘smgrdestroy’: [12:57:39.243] smgr.c:279:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [12:57:39.243] 279 | ForkNumber forknum; [12:57:39.243] | ^~~~~~~ [12:57:39.243] smgr.c: In function ‘smgrdounlinkall’: [12:57:39.243] smgr.c:484:41: error: unused variable ‘which’ [-Werror=unused-variable] [12:57:39.243] 484 | int which = rels[i]->smgr_which; [12:57:39.243] | ^~~~~ [12:57:39.243] cc1: all warnings being treated as errors [12:57:39.244] make[4]: *** [: smgr.o] Error 1 [12:57:39.244] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [12:57:39.244] make[2]: *** [common.mk:37: storage-recursive] Error 2 [12:57:39.244] make[2]: *** Waiting for unfinished jobs.... [12:57:42.112] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [12:57:42.113] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [12:57:42.113] [12:57:42.113] real 0m27.575s [12:57:42.113] user 1m22.757s [12:57:42.113] sys 0m19.849s [12:57:42.113] [12:57:42.113] Exit status: 2