[18:48:11.491] time ./configure \ [18:48:11.491] --host=x86_64-w64-mingw32 \ [18:48:11.491] --enable-cassert \ [18:48:11.491] --without-icu \ [18:48:11.491] CC="ccache x86_64-w64-mingw32-gcc" \ [18:48:11.491] CXX="ccache x86_64-w64-mingw32-g++" [18:48:11.602] checking build system type... x86_64-pc-linux-gnu [18:48:11.767] checking host system type... x86_64-w64-mingw32 [18:48:11.772] checking which template to use... win32 [18:48:11.773] checking whether NLS is wanted... no [18:48:11.773] checking for default port number... 5432 [18:48:11.779] checking for block size... 8kB [18:48:11.780] checking for segment size... 1GB [18:48:11.783] checking for WAL block size... 8kB [18:48:11.784] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:48:11.816] checking whether the C compiler works... yes [18:48:11.944] checking for C compiler default output file name... a.exe [18:48:11.945] checking for suffix of executables... .exe [18:48:11.983] checking whether we are cross compiling... yes [18:48:12.052] checking for suffix of object files... o [18:48:12.060] checking whether we are using the GNU C compiler... yes [18:48:12.067] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:48:12.073] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:48:12.083] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:48:12.137] checking whether we are using the GNU C++ compiler... yes [18:48:12.143] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:48:12.206] checking for gawk... no [18:48:12.206] checking for mawk... mawk [18:48:12.209] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:48:12.215] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:48:12.222] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:48:12.265] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:48:12.409] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:48:12.415] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:48:12.422] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:48:12.428] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:48:12.434] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:48:12.441] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:48:12.447] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:48:12.454] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:48:12.461] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:48:12.468] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:48:12.474] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:48:12.481] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:48:12.487] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:48:12.523] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:48:12.530] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:48:12.537] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:48:12.543] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:48:12.550] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:48:12.557] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:48:12.579] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:48:12.586] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:48:12.592] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:48:12.628] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:48:12.666] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:48:12.672] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:48:12.679] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:48:12.712] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:48:12.719] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:48:12.726] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:48:12.734] checking whether the C compiler still works... yes [18:48:12.792] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:48:12.857] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:48:12.857] checking pkg-config is at least version 0.9.0... yes [18:48:12.873] checking whether to build with ICU support... no [18:48:12.873] checking whether to build with Tcl... no [18:48:12.873] checking whether to build Perl modules... no [18:48:12.873] checking whether to build Python modules... no [18:48:12.873] checking whether to build with GSSAPI support... no [18:48:12.874] checking whether to build with PAM support... no [18:48:12.874] checking whether to build with BSD Authentication support... no [18:48:12.874] checking whether to build with LDAP support... no [18:48:12.875] checking whether to build with Bonjour support... no [18:48:12.875] checking whether to build with SELinux support... no [18:48:12.875] checking whether to build with systemd support... no [18:48:12.875] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:48:12.875] checking whether to build with XML support... no [18:48:12.875] checking whether to build with LZ4 support... no [18:48:12.875] checking whether to build with ZSTD support... no [18:48:12.876] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:48:12.876] checking whether it is possible to strip libraries... yes [18:48:12.884] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:48:12.884] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:48:12.885] checking for a BSD-compatible install... /usr/bin/install -c [18:48:12.894] checking for tar... /usr/bin/tar [18:48:12.894] checking whether ln -s works... yes [18:48:12.894] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:48:12.896] checking for bison... /usr/bin/bison [18:48:12.898] configure: using bison (GNU Bison) 3.8.2 [18:48:12.901] checking for flex... /usr/bin/flex [18:48:12.913] configure: using flex 2.6.4 [18:48:12.913] checking for perl... /usr/bin/perl [18:48:12.916] configure: using perl 5.36.0 [18:48:12.918] checking for zic... /usr/sbin/zic [18:48:12.918] checking for a sed that does not truncate output... /usr/bin/sed [18:48:12.923] checking for grep that handles long lines and -e... /usr/bin/grep [18:48:12.925] checking for egrep... /usr/bin/grep -E [18:48:12.927] checking for ANSI C header files... yes [18:48:12.971] checking for sys/types.h... yes [18:48:12.986] checking for sys/stat.h... yes [18:48:13.000] checking for stdlib.h... yes [18:48:13.012] checking for string.h... yes [18:48:13.025] checking for memory.h... yes [18:48:13.038] checking for strings.h... yes [18:48:13.051] checking for inttypes.h... yes [18:48:13.065] checking for stdint.h... yes [18:48:13.078] checking for unistd.h... yes [18:48:13.091] checking for main in -lm... yes [18:48:13.136] checking for library containing setproctitle... no [18:48:13.218] checking for library containing dlsym... no [18:48:13.298] checking for library containing socket... -lws2_32 [18:48:13.424] checking for library containing getopt_long... none required [18:48:13.467] checking for library containing shm_open... no [18:48:13.549] checking for library containing shm_unlink... no [18:48:13.629] checking for library containing clock_gettime... no [18:48:13.712] checking for library containing shmget... no [18:48:13.797] checking for library containing backtrace_symbols... no [18:48:13.879] checking for library containing pthread_barrier_wait... -lpthread [18:48:13.961] checking for inflate in -lz... yes [18:48:14.005] checking atomic.h usability... no [18:48:14.061] checking atomic.h presence... no [18:48:14.079] checking for atomic.h... no [18:48:14.082] checking copyfile.h usability... no [18:48:14.133] checking copyfile.h presence... no [18:48:14.150] checking for copyfile.h... no [18:48:14.153] checking execinfo.h usability... no [18:48:14.203] checking execinfo.h presence... no [18:48:14.221] checking for execinfo.h... no [18:48:14.224] checking getopt.h usability... yes [18:48:14.231] checking getopt.h presence... yes [18:48:14.245] checking for getopt.h... yes [18:48:14.252] checking ifaddrs.h usability... no [18:48:14.303] checking ifaddrs.h presence... no [18:48:14.320] checking for ifaddrs.h... no [18:48:14.323] checking mbarrier.h usability... no [18:48:14.373] checking mbarrier.h presence... no [18:48:14.390] checking for mbarrier.h... no [18:48:14.393] checking sys/epoll.h usability... no [18:48:14.444] checking sys/epoll.h presence... no [18:48:14.461] checking for sys/epoll.h... no [18:48:14.464] checking sys/event.h usability... no [18:48:14.515] checking sys/event.h presence... no [18:48:14.533] checking for sys/event.h... no [18:48:14.536] checking sys/personality.h usability... no [18:48:14.587] checking sys/personality.h presence... no [18:48:14.604] checking for sys/personality.h... no [18:48:14.607] checking sys/prctl.h usability... no [18:48:14.657] checking sys/prctl.h presence... no [18:48:14.674] checking for sys/prctl.h... no [18:48:14.677] checking sys/procctl.h usability... no [18:48:14.729] checking sys/procctl.h presence... no [18:48:14.746] checking for sys/procctl.h... no [18:48:14.749] checking sys/signalfd.h usability... no [18:48:14.801] checking sys/signalfd.h presence... no [18:48:14.818] checking for sys/signalfd.h... no [18:48:14.822] checking sys/ucred.h usability... no [18:48:14.873] checking sys/ucred.h presence... no [18:48:14.890] checking for sys/ucred.h... no [18:48:14.893] checking termios.h usability... no [18:48:14.945] checking termios.h presence... no [18:48:14.963] checking for termios.h... no [18:48:14.966] checking ucred.h usability... no [18:48:15.019] checking ucred.h presence... no [18:48:15.037] checking for ucred.h... no [18:48:15.040] checking xlocale.h usability... no [18:48:15.091] checking xlocale.h presence... no [18:48:15.109] checking for xlocale.h... no [18:48:15.112] checking zlib.h usability... yes [18:48:15.120] checking zlib.h presence... yes [18:48:15.138] checking for zlib.h... yes [18:48:15.139] checking for lz4... /usr/bin/lz4 [18:48:15.139] checking for zstd... /usr/bin/zstd [18:48:15.139] checking for openssl... /usr/bin/openssl [18:48:15.143] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [18:48:15.144] checking crtdefs.h usability... yes [18:48:15.151] checking crtdefs.h presence... yes [18:48:15.165] checking for crtdefs.h... yes [18:48:15.166] checking whether byte ordering is bigendian... no [18:48:15.234] checking for inline... inline [18:48:15.242] checking for printf format archetype... gnu_printf [18:48:15.250] checking for _Static_assert... yes [18:48:15.289] checking for typeof... typeof [18:48:15.296] checking for __builtin_types_compatible_p... yes [18:48:15.307] checking for __builtin_constant_p... yes [18:48:15.318] checking for __builtin_mul_overflow... yes [18:48:15.362] checking for __builtin_unreachable... yes [18:48:15.401] checking for computed goto support... yes [18:48:15.408] checking for struct tm.tm_zone... no [18:48:15.481] checking for union semun... no [18:48:15.511] checking for socklen_t... yes [18:48:16.587] checking for struct sockaddr.sa_len... no [18:48:18.512] checking for C/C++ restrict keyword... __restrict [18:48:18.525] checking for struct option... yes [18:48:18.563] checking whether assembler supports x86_64 popcntq... yes [18:48:18.570] checking size of off_t... 4 [18:48:18.754] 0 [18:48:18.754] checking for int timezone... yes [18:48:18.801] checking for backtrace_symbols... no [18:48:18.847] checking for copyfile... no [18:48:18.892] checking for copy_file_range... no [18:48:18.938] checking for elf_aux_info... no [18:48:18.983] checking for getauxval... no [18:48:19.028] checking for getifaddrs... no [18:48:19.074] checking for getpeerucred... no [18:48:19.119] checking for inet_pton... yes [18:48:19.164] checking for kqueue... no [18:48:19.209] checking for mbstowcs_l... no [18:48:19.254] checking for memset_s... no [18:48:19.300] checking for posix_fallocate... no [18:48:19.345] checking for ppoll... no [18:48:19.391] checking for pthread_is_threaded_np... no [18:48:19.436] checking for setproctitle... no [18:48:19.482] checking for setproctitle_fast... no [18:48:19.528] checking for strchrnul... no [18:48:19.573] checking for strsignal... no [18:48:19.619] checking for syncfs... no [18:48:19.664] checking for sync_file_range... no [18:48:19.710] checking for uselocale... no [18:48:19.755] checking for wcstombs_l... no [18:48:19.798] checking for __builtin_bswap16... yes [18:48:19.844] checking for __builtin_bswap32... yes [18:48:19.887] checking for __builtin_bswap64... yes [18:48:19.931] checking for __builtin_clz... yes [18:48:19.975] checking for __builtin_ctz... yes [18:48:20.019] checking for __builtin_popcount... yes [18:48:20.062] checking for __builtin_frame_address... yes [18:48:20.106] checking for _LARGEFILE_SOURCE value needed for large files... no [18:48:20.154] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:48:20.182] checking for posix_fadvise... no [18:48:20.229] checking whether posix_fadvise is declared... no [18:48:20.269] checking whether fdatasync is declared... no [18:48:20.310] checking whether strlcat is declared... no [18:48:20.369] checking whether strlcpy is declared... no [18:48:20.427] checking whether strnlen is declared... yes [18:48:20.439] checking whether strsep is declared... no [18:48:20.497] checking whether preadv is declared... no [18:48:20.529] checking whether pwritev is declared... no [18:48:20.561] checking whether F_FULLFSYNC is declared... no [18:48:20.596] checking for explicit_bzero... no [18:48:20.640] checking for getopt... yes [18:48:20.680] checking for getpeereid... no [18:48:20.722] checking for inet_aton... no [18:48:20.765] checking for mkdtemp... no [18:48:20.808] checking for strlcat... no [18:48:20.851] checking for strlcpy... no [18:48:20.898] checking for strnlen... yes [18:48:20.941] checking for strsep... no [18:48:20.984] checking for pthread_barrier_wait... yes [18:48:21.023] configure: On mingw32 we will use our strtof wrapper. [18:48:21.024] checking for getopt_long... yes [18:48:21.064] checking for syslog... no [18:48:21.106] checking for opterr... yes [18:48:21.150] checking for optreset... no [18:48:21.196] checking test program... cross-compiling [18:48:21.196] checking size of void *... 8 [18:48:21.442] checking size of size_t... 8 [18:48:21.689] checking size of long... 4 [18:48:21.873] checking size of long long... 8 [18:48:22.117] checking alignment of short... 2 [18:48:22.249] checking alignment of int... 4 [18:48:22.434] checking alignment of long... 4 [18:48:22.620] checking alignment of int64_t... 8 [18:48:22.864] checking alignment of double... 8 [18:48:23.110] checking for __int128... yes [18:48:23.156] checking for __int128 alignment bug... assuming ok [18:48:23.156] checking alignment of PG_INT128_TYPE... 16 [18:48:23.460] checking for builtin __sync char locking functions... yes [18:48:23.499] checking for builtin __sync int32 locking functions... yes [18:48:23.538] checking for builtin __sync int32 atomic operations... yes [18:48:23.576] checking for builtin __sync int64 atomic operations... yes [18:48:23.617] checking for builtin __atomic int32 atomic operations... yes [18:48:23.656] checking for builtin __atomic int64 atomic operations... yes [18:48:23.696] checking for __get_cpuid... yes [18:48:23.739] checking for __get_cpuid_count... yes [18:48:23.779] checking for __cpuid... no [18:48:24.166] checking for __cpuidex... no [18:48:24.574] checking for _xgetbv... yes [18:48:24.965] checking for _mm512_popcnt_epi64... yes [18:48:25.373] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [18:48:25.465] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:48:25.486] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [18:48:25.503] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:48:25.520] 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 [18:48:25.570] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:48:25.570] checking which random number source to use... Windows native [18:48:25.572] checking for xmllint... /usr/bin/xmllint [18:48:25.572] checking for xsltproc... /usr/bin/xsltproc [18:48:25.572] checking for fop... /usr/bin/fop [18:48:25.572] checking for dbtoepub... no [18:48:25.573] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:48:25.573] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:48:25.573] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:48:25.583] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:48:25.583] 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 [18:48:25.583] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:48:25.583] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:48:25.659] configure: creating ./config.status [18:48:25.737] config.status: creating GNUmakefile [18:48:25.748] config.status: creating src/Makefile.global [18:48:25.762] config.status: creating src/include/pg_config.h [18:48:25.774] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:48:25.787] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:48:25.794] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:48:25.801] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:48:25.807] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:48:25.814] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:48:25.817] config.status: executing check_win32_symlinks commands [18:48:25.847] [18:48:25.847] real 0m14.356s [18:48:25.847] user 0m9.666s [18:48:25.847] sys 0m4.399s [18:48:25.847] make -s -j${BUILD_JOBS} clean [18:48:26.333] time make -s -j${BUILD_JOBS} world-bin [18:48:31.303] smgr.c: In function ‘smgrdestroy’: [18:48:31.303] smgr.c:282:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [18:48:31.303] 282 | ForkNumber forknum; [18:48:31.303] | ^~~~~~~ [18:48:31.303] smgr.c: In function ‘smgrdounlinkall’: [18:48:31.303] smgr.c:487:41: error: unused variable ‘which’ [-Werror=unused-variable] [18:48:31.303] 487 | int which = rels[i]->smgr_which; [18:48:31.303] | ^~~~~ [18:48:31.303] cc1: all warnings being treated as errors [18:48:31.305] make[4]: *** [: smgr.o] Error 1 [18:48:31.305] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [18:48:31.305] make[2]: *** [common.mk:37: storage-recursive] Error 2 [18:48:31.306] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:48:31.306] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:48:31.306] [18:48:31.306] real 0m4.973s [18:48:31.306] user 0m8.534s [18:48:31.306] sys 0m5.723s [18:48:31.306] [18:48:31.306] Exit status: 2