[17:51:39.805] time ./configure \ [17:51:39.805] --host=x86_64-w64-mingw32 \ [17:51:39.805] --enable-cassert \ [17:51:39.805] --without-icu \ [17:51:39.805] CC="ccache x86_64-w64-mingw32-gcc" \ [17:51:39.805] CXX="ccache x86_64-w64-mingw32-g++" [17:51:39.910] checking build system type... x86_64-pc-linux-gnu [17:51:40.067] checking host system type... x86_64-w64-mingw32 [17:51:40.072] checking which template to use... win32 [17:51:40.072] checking whether NLS is wanted... no [17:51:40.072] checking for default port number... 5432 [17:51:40.078] checking for block size... 8kB [17:51:40.079] checking for segment size... 1GB [17:51:40.082] checking for WAL block size... 8kB [17:51:40.083] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:51:40.114] checking whether the C compiler works... yes [17:51:40.229] checking for C compiler default output file name... a.exe [17:51:40.230] checking for suffix of executables... .exe [17:51:40.270] checking whether we are cross compiling... yes [17:51:40.342] checking for suffix of object files... o [17:51:40.350] checking whether we are using the GNU C compiler... yes [17:51:40.357] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:51:40.363] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:51:40.373] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:51:40.431] checking whether we are using the GNU C++ compiler... yes [17:51:40.438] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:51:40.505] checking for gawk... no [17:51:40.505] checking for mawk... mawk [17:51:40.508] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:51:40.514] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:51:40.521] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:51:40.567] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:51:40.710] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:51:40.717] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:51:40.723] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:51:40.730] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:51:40.736] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:51:40.743] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:51:40.749] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:51:40.755] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:51:40.762] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:51:40.768] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:51:40.775] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:51:40.781] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:51:40.787] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:51:40.824] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:51:40.830] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:51:40.837] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:51:40.843] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:51:40.850] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:51:40.856] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:51:40.878] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:51:40.885] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:51:40.892] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:51:40.929] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:51:40.966] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:51:40.973] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:51:40.979] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:51:41.013] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:51:41.020] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:51:41.026] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:51:41.034] checking whether the C compiler still works... yes [17:51:41.096] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:51:41.163] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:51:41.164] checking pkg-config is at least version 0.9.0... yes [17:51:41.179] checking whether to build with ICU support... no [17:51:41.180] checking whether to build with Tcl... no [17:51:41.180] checking whether to build Perl modules... no [17:51:41.180] checking whether to build Python modules... no [17:51:41.180] checking whether to build with GSSAPI support... no [17:51:41.181] checking whether to build with PAM support... no [17:51:41.181] checking whether to build with BSD Authentication support... no [17:51:41.181] checking whether to build with LDAP support... no [17:51:41.181] checking whether to build with Bonjour support... no [17:51:41.181] checking whether to build with SELinux support... no [17:51:41.181] checking whether to build with systemd support... no [17:51:41.181] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:51:41.181] checking whether to build with XML support... no [17:51:41.182] checking whether to build with LZ4 support... no [17:51:41.182] checking whether to build with ZSTD support... no [17:51:41.182] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:51:41.182] checking whether it is possible to strip libraries... yes [17:51:41.190] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:51:41.190] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:51:41.190] checking for a BSD-compatible install... /usr/bin/install -c [17:51:41.199] checking for tar... /usr/bin/tar [17:51:41.199] checking whether ln -s works... yes [17:51:41.199] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:51:41.201] checking for bison... /usr/bin/bison [17:51:41.203] configure: using bison (GNU Bison) 3.8.2 [17:51:41.206] checking for flex... /usr/bin/flex [17:51:41.208] configure: using flex 2.6.4 [17:51:41.208] checking for perl... /usr/bin/perl [17:51:41.211] configure: using perl 5.36.0 [17:51:41.213] checking for zic... /usr/sbin/zic [17:51:41.213] checking for a sed that does not truncate output... /usr/bin/sed [17:51:41.218] checking for grep that handles long lines and -e... /usr/bin/grep [17:51:41.219] checking for egrep... /usr/bin/grep -E [17:51:41.221] checking for ANSI C header files... yes [17:51:41.264] checking for sys/types.h... yes [17:51:41.279] checking for sys/stat.h... yes [17:51:41.293] checking for stdlib.h... yes [17:51:41.306] checking for string.h... yes [17:51:41.320] checking for memory.h... yes [17:51:41.333] checking for strings.h... yes [17:51:41.347] checking for inttypes.h... yes [17:51:41.361] checking for stdint.h... yes [17:51:41.374] checking for unistd.h... yes [17:51:41.388] checking for main in -lm... yes [17:51:41.433] checking for library containing setproctitle... no [17:51:41.518] checking for library containing dlsym... no [17:51:41.601] checking for library containing socket... -lws2_32 [17:51:41.725] checking for library containing getopt_long... none required [17:51:41.769] checking for library containing shm_open... no [17:51:41.854] checking for library containing shm_unlink... no [17:51:41.938] checking for library containing clock_gettime... no [17:51:42.021] checking for library containing shmget... no [17:51:42.103] checking for library containing backtrace_symbols... no [17:51:42.184] checking for library containing pthread_barrier_wait... -lpthread [17:51:42.269] checking for inflate in -lz... yes [17:51:42.317] checking atomic.h usability... no [17:51:42.375] checking atomic.h presence... no [17:51:42.393] checking for atomic.h... no [17:51:42.396] checking copyfile.h usability... no [17:51:42.450] checking copyfile.h presence... no [17:51:42.470] checking for copyfile.h... no [17:51:42.473] checking execinfo.h usability... no [17:51:42.526] checking execinfo.h presence... no [17:51:42.544] checking for execinfo.h... no [17:51:42.547] checking getopt.h usability... yes [17:51:42.554] checking getopt.h presence... yes [17:51:42.568] checking for getopt.h... yes [17:51:42.575] checking ifaddrs.h usability... no [17:51:42.627] checking ifaddrs.h presence... no [17:51:42.645] checking for ifaddrs.h... no [17:51:42.648] checking mbarrier.h usability... no [17:51:42.701] checking mbarrier.h presence... no [17:51:42.719] checking for mbarrier.h... no [17:51:42.722] checking sys/epoll.h usability... no [17:51:42.775] checking sys/epoll.h presence... no [17:51:42.793] checking for sys/epoll.h... no [17:51:42.796] checking sys/event.h usability... no [17:51:42.849] checking sys/event.h presence... no [17:51:42.868] checking for sys/event.h... no [17:51:42.871] checking sys/personality.h usability... no [17:51:42.925] checking sys/personality.h presence... no [17:51:42.943] checking for sys/personality.h... no [17:51:42.946] checking sys/prctl.h usability... no [17:51:42.999] checking sys/prctl.h presence... no [17:51:43.018] checking for sys/prctl.h... no [17:51:43.021] checking sys/procctl.h usability... no [17:51:43.076] checking sys/procctl.h presence... no [17:51:43.095] checking for sys/procctl.h... no [17:51:43.098] checking sys/signalfd.h usability... no [17:51:43.150] checking sys/signalfd.h presence... no [17:51:43.168] checking for sys/signalfd.h... no [17:51:43.172] checking sys/ucred.h usability... no [17:51:43.227] checking sys/ucred.h presence... no [17:51:43.245] checking for sys/ucred.h... no [17:51:43.248] checking termios.h usability... no [17:51:43.302] checking termios.h presence... no [17:51:43.320] checking for termios.h... no [17:51:43.323] checking ucred.h usability... no [17:51:43.375] checking ucred.h presence... no [17:51:43.393] checking for ucred.h... no [17:51:43.396] checking xlocale.h usability... no [17:51:43.449] checking xlocale.h presence... no [17:51:43.467] checking for xlocale.h... no [17:51:43.470] checking zlib.h usability... yes [17:51:43.478] checking zlib.h presence... yes [17:51:43.496] checking for zlib.h... yes [17:51:43.496] checking for lz4... /usr/bin/lz4 [17:51:43.496] checking for zstd... /usr/bin/zstd [17:51:43.496] checking for openssl... /usr/bin/openssl [17:51:43.500] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [17:51:43.501] checking crtdefs.h usability... yes [17:51:43.508] checking crtdefs.h presence... yes [17:51:43.522] checking for crtdefs.h... yes [17:51:43.523] checking whether byte ordering is bigendian... no [17:51:43.597] checking for inline... inline [17:51:43.603] checking for printf format archetype... gnu_printf [17:51:43.611] checking for _Static_assert... yes [17:51:43.651] checking for typeof... typeof [17:51:43.658] checking for __builtin_types_compatible_p... yes [17:51:43.668] checking for __builtin_constant_p... yes [17:51:43.678] checking for __builtin_mul_overflow... yes [17:51:43.723] checking for __builtin_unreachable... yes [17:51:43.763] checking for computed goto support... yes [17:51:43.769] checking for struct tm.tm_zone... no [17:51:43.845] checking for union semun... no [17:51:43.877] checking for socklen_t... yes [17:51:45.027] checking for struct sockaddr.sa_len... no [17:51:47.087] checking for C/C++ restrict keyword... __restrict [17:51:47.100] checking for struct option... yes [17:51:47.139] checking whether assembler supports x86_64 popcntq... yes [17:51:47.147] checking size of off_t... 4 [17:51:47.341] 0 [17:51:47.341] checking for int timezone... yes [17:51:47.389] checking for backtrace_symbols... no [17:51:47.436] checking for copyfile... no [17:51:47.484] checking for copy_file_range... no [17:51:47.534] checking for elf_aux_info... no [17:51:47.582] checking for getauxval... no [17:51:47.629] checking for getifaddrs... no [17:51:47.676] checking for getpeerucred... no [17:51:47.725] checking for inet_pton... yes [17:51:47.775] checking for kqueue... no [17:51:47.825] checking for mbstowcs_l... no [17:51:47.874] checking for memset_s... no [17:51:47.923] checking for posix_fallocate... no [17:51:47.971] checking for ppoll... no [17:51:48.019] checking for pthread_is_threaded_np... no [17:51:48.068] checking for setproctitle... no [17:51:48.117] checking for setproctitle_fast... no [17:51:48.165] checking for strchrnul... no [17:51:48.214] checking for strsignal... no [17:51:48.262] checking for syncfs... no [17:51:48.311] checking for sync_file_range... no [17:51:48.360] checking for uselocale... no [17:51:48.409] checking for wcstombs_l... no [17:51:48.454] checking for __builtin_bswap16... yes [17:51:48.501] checking for __builtin_bswap32... yes [17:51:48.550] checking for __builtin_bswap64... yes [17:51:48.598] checking for __builtin_clz... yes [17:51:48.647] checking for __builtin_ctz... yes [17:51:48.694] checking for __builtin_popcount... yes [17:51:48.741] checking for __builtin_frame_address... yes [17:51:48.787] checking for _LARGEFILE_SOURCE value needed for large files... no [17:51:48.839] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:51:48.869] checking for posix_fadvise... no [17:51:48.919] checking whether posix_fadvise is declared... no [17:51:48.962] checking whether fdatasync is declared... no [17:51:49.007] checking whether strlcat is declared... no [17:51:49.069] checking whether strlcpy is declared... no [17:51:49.132] checking whether strnlen is declared... yes [17:51:49.145] checking whether strsep is declared... no [17:51:49.206] checking whether preadv is declared... no [17:51:49.240] checking whether pwritev is declared... no [17:51:49.274] checking whether F_FULLFSYNC is declared... no [17:51:49.312] checking for explicit_bzero... no [17:51:49.358] checking for getopt... yes [17:51:49.401] checking for getpeereid... no [17:51:49.447] checking for inet_aton... no [17:51:49.493] checking for mkdtemp... no [17:51:49.538] checking for strlcat... no [17:51:49.583] checking for strlcpy... no [17:51:49.629] checking for strnlen... yes [17:51:49.675] checking for strsep... no [17:51:49.720] checking for pthread_barrier_wait... yes [17:51:49.763] configure: On mingw32 we will use our strtof wrapper. [17:51:49.763] checking for getopt_long... yes [17:51:49.806] checking for syslog... no [17:51:49.851] checking for opterr... yes [17:51:49.897] checking for optreset... no [17:51:49.947] checking test program... cross-compiling [17:51:49.947] checking size of void *... 8 [17:51:50.206] checking size of size_t... 8 [17:51:50.467] checking size of long... 4 [17:51:50.667] checking size of long long... 8 [17:51:50.931] checking alignment of short... 2 [17:51:51.065] checking alignment of int... 4 [17:51:51.261] checking alignment of long... 4 [17:51:51.459] checking alignment of int64_t... 8 [17:51:51.709] checking alignment of double... 8 [17:51:51.950] checking for __int128... yes [17:51:51.996] checking for __int128 alignment bug... assuming ok [17:51:51.996] checking alignment of PG_INT128_TYPE... 16 [17:51:52.307] checking for builtin __sync char locking functions... yes [17:51:52.347] checking for builtin __sync int32 locking functions... yes [17:51:52.384] checking for builtin __sync int32 atomic operations... yes [17:51:52.421] checking for builtin __sync int64 atomic operations... yes [17:51:52.460] checking for builtin __atomic int32 atomic operations... yes [17:51:52.497] checking for builtin __atomic int64 atomic operations... yes [17:51:52.536] checking for __get_cpuid... yes [17:51:52.576] checking for __get_cpuid_count... yes [17:51:52.617] checking for __cpuid... no [17:51:52.997] checking for __cpuidex... no [17:51:53.395] checking for _xgetbv... yes [17:51:53.771] checking for _mm512_popcnt_epi64... yes [17:51:54.162] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [17:51:54.254] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:51:54.274] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [17:51:54.292] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:51:54.309] 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 [17:51:54.360] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:51:54.360] checking which random number source to use... Windows native [17:51:54.362] checking for xmllint... /usr/bin/xmllint [17:51:54.362] checking for xsltproc... /usr/bin/xsltproc [17:51:54.362] checking for fop... /usr/bin/fop [17:51:54.363] checking for dbtoepub... no [17:51:54.363] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:51:54.363] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:51:54.363] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:51:54.373] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:51:54.373] 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 [17:51:54.373] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:51:54.373] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:51:54.445] configure: creating ./config.status [17:51:54.518] config.status: creating GNUmakefile [17:51:54.529] config.status: creating src/Makefile.global [17:51:54.542] config.status: creating src/include/pg_config.h [17:51:54.554] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:51:54.567] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:51:54.573] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:51:54.579] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:51:54.585] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:51:54.591] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:51:54.594] config.status: executing check_win32_symlinks commands [17:51:54.624] [17:51:54.624] real 0m14.819s [17:51:54.624] user 0m10.144s [17:51:54.624] sys 0m4.427s [17:51:54.624] make -s -j${BUILD_JOBS} clean [17:51:55.088] time make -s -j${BUILD_JOBS} world-bin [17:52:00.133] smgr.c: In function ‘smgrdestroy’: [17:52:00.133] smgr.c:282:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [17:52:00.133] 282 | ForkNumber forknum; [17:52:00.133] | ^~~~~~~ [17:52:00.133] smgr.c: In function ‘smgrdounlinkall’: [17:52:00.133] smgr.c:487:41: error: unused variable ‘which’ [-Werror=unused-variable] [17:52:00.133] 487 | int which = rels[i]->smgr_which; [17:52:00.133] | ^~~~~ [17:52:00.133] cc1: all warnings being treated as errors [17:52:00.135] make[4]: *** [: smgr.o] Error 1 [17:52:00.135] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [17:52:00.135] make[2]: *** [common.mk:37: storage-recursive] Error 2 [17:52:00.136] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:52:00.136] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:52:00.136] [17:52:00.136] real 0m5.048s [17:52:00.136] user 0m8.627s [17:52:00.136] sys 0m6.347s [17:52:00.136] [17:52:00.136] Exit status: 2