[06:25:16.152] time ./configure \ [06:25:16.152] --host=x86_64-w64-mingw32 \ [06:25:16.152] --enable-cassert \ [06:25:16.152] --without-icu \ [06:25:16.152] CC="ccache x86_64-w64-mingw32-gcc" \ [06:25:16.152] CXX="ccache x86_64-w64-mingw32-g++" [06:25:16.258] checking build system type... x86_64-pc-linux-gnu [06:25:16.447] checking host system type... x86_64-w64-mingw32 [06:25:16.452] checking which template to use... win32 [06:25:16.452] checking whether NLS is wanted... no [06:25:16.452] checking for default port number... 5432 [06:25:16.458] checking for block size... 8kB [06:25:16.459] checking for segment size... 1GB [06:25:16.462] checking for WAL block size... 8kB [06:25:16.463] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:25:16.495] checking whether the C compiler works... yes [06:25:16.624] checking for C compiler default output file name... a.exe [06:25:16.625] checking for suffix of executables... .exe [06:25:16.663] checking whether we are cross compiling... yes [06:25:16.732] checking for suffix of object files... o [06:25:16.739] checking whether we are using the GNU C compiler... yes [06:25:16.745] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:25:16.751] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:25:16.760] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:25:16.816] checking whether we are using the GNU C++ compiler... yes [06:25:16.822] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:25:16.882] checking for gawk... no [06:25:16.882] checking for mawk... mawk [06:25:16.885] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:25:16.891] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:25:16.897] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:25:16.939] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:25:17.112] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:25:17.118] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:25:17.125] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:25:17.131] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:25:17.137] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:25:17.143] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:25:17.149] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:25:17.155] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:25:17.161] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:25:17.167] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:25:17.173] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:25:17.180] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:25:17.186] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [06:25:17.222] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:25:17.228] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:25:17.235] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:25:17.242] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:25:17.249] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:25:17.255] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:25:17.277] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:25:17.283] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:25:17.289] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:25:17.325] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:25:17.361] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:25:17.367] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:25:17.374] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:25:17.406] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:25:17.413] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:25:17.419] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:25:17.426] checking whether the C compiler still works... yes [06:25:17.489] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:25:17.553] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:25:17.553] checking pkg-config is at least version 0.9.0... yes [06:25:17.569] checking whether to build with ICU support... no [06:25:17.569] checking whether to build with Tcl... no [06:25:17.569] checking whether to build Perl modules... no [06:25:17.569] checking whether to build Python modules... no [06:25:17.569] checking whether to build with GSSAPI support... no [06:25:17.570] checking whether to build with PAM support... no [06:25:17.571] checking whether to build with BSD Authentication support... no [06:25:17.571] checking whether to build with LDAP support... no [06:25:17.571] checking whether to build with Bonjour support... no [06:25:17.571] checking whether to build with SELinux support... no [06:25:17.571] checking whether to build with systemd support... no [06:25:17.571] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:25:17.571] checking whether to build with XML support... no [06:25:17.571] checking whether to build with LZ4 support... no [06:25:17.572] checking whether to build with ZSTD support... no [06:25:17.572] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:25:17.572] checking whether it is possible to strip libraries... yes [06:25:17.579] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:25:17.579] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:25:17.580] checking for a BSD-compatible install... /usr/bin/install -c [06:25:17.588] checking for tar... /usr/bin/tar [06:25:17.588] checking whether ln -s works... yes [06:25:17.588] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:25:17.590] checking for bison... /usr/bin/bison [06:25:17.592] configure: using bison (GNU Bison) 3.8.2 [06:25:17.594] checking for flex... /usr/bin/flex [06:25:17.605] configure: using flex 2.6.4 [06:25:17.605] checking for perl... /usr/bin/perl [06:25:17.608] configure: using perl 5.36.0 [06:25:17.610] checking for zic... /usr/sbin/zic [06:25:17.610] checking for a sed that does not truncate output... /usr/bin/sed [06:25:17.614] checking for grep that handles long lines and -e... /usr/bin/grep [06:25:17.616] checking for egrep... /usr/bin/grep -E [06:25:17.618] checking for ANSI C header files... yes [06:25:17.661] checking for sys/types.h... yes [06:25:17.675] checking for sys/stat.h... yes [06:25:17.690] checking for stdlib.h... yes [06:25:17.703] checking for string.h... yes [06:25:17.716] checking for memory.h... yes [06:25:17.730] checking for strings.h... yes [06:25:17.743] checking for inttypes.h... yes [06:25:17.757] checking for stdint.h... yes [06:25:17.769] checking for unistd.h... yes [06:25:17.783] checking for main in -lm... yes [06:25:17.827] checking for library containing setproctitle... no [06:25:17.908] checking for library containing dlsym... no [06:25:17.988] checking for library containing socket... -lws2_32 [06:25:18.116] checking for library containing getopt_long... none required [06:25:18.159] checking for library containing shm_open... no [06:25:18.240] checking for library containing shm_unlink... no [06:25:18.320] checking for library containing clock_gettime... no [06:25:18.399] checking for library containing shmget... no [06:25:18.480] checking for library containing backtrace_symbols... no [06:25:18.560] checking for library containing pthread_barrier_wait... -lpthread [06:25:18.642] checking for inflate in -lz... yes [06:25:18.683] checking for stdbool.h that conforms to C99... yes [06:25:18.693] checking for _Bool... yes [06:25:18.760] checking atomic.h usability... no [06:25:18.810] checking atomic.h presence... no [06:25:18.827] checking for atomic.h... no [06:25:18.830] checking copyfile.h usability... no [06:25:18.880] checking copyfile.h presence... no [06:25:18.896] checking for copyfile.h... no [06:25:18.899] checking execinfo.h usability... no [06:25:18.949] checking execinfo.h presence... no [06:25:18.966] checking for execinfo.h... no [06:25:18.969] checking getopt.h usability... yes [06:25:18.976] checking getopt.h presence... yes [06:25:18.989] checking for getopt.h... yes [06:25:18.996] checking ifaddrs.h usability... no [06:25:19.046] checking ifaddrs.h presence... no [06:25:19.064] checking for ifaddrs.h... no [06:25:19.067] checking mbarrier.h usability... no [06:25:19.118] checking mbarrier.h presence... no [06:25:19.135] checking for mbarrier.h... no [06:25:19.137] checking sys/epoll.h usability... no [06:25:19.189] checking sys/epoll.h presence... no [06:25:19.207] checking for sys/epoll.h... no [06:25:19.211] checking sys/event.h usability... no [06:25:19.263] checking sys/event.h presence... no [06:25:19.281] checking for sys/event.h... no [06:25:19.284] checking sys/personality.h usability... no [06:25:19.336] checking sys/personality.h presence... no [06:25:19.354] checking for sys/personality.h... no [06:25:19.357] checking sys/prctl.h usability... no [06:25:19.410] checking sys/prctl.h presence... no [06:25:19.427] checking for sys/prctl.h... no [06:25:19.430] checking sys/procctl.h usability... no [06:25:19.482] checking sys/procctl.h presence... no [06:25:19.499] checking for sys/procctl.h... no [06:25:19.502] checking sys/signalfd.h usability... no [06:25:19.553] checking sys/signalfd.h presence... no [06:25:19.570] checking for sys/signalfd.h... no [06:25:19.573] checking sys/ucred.h usability... no [06:25:19.624] checking sys/ucred.h presence... no [06:25:19.641] checking for sys/ucred.h... no [06:25:19.644] checking termios.h usability... no [06:25:19.695] checking termios.h presence... no [06:25:19.713] checking for termios.h... no [06:25:19.715] checking ucred.h usability... no [06:25:19.766] checking ucred.h presence... no [06:25:19.783] checking for ucred.h... no [06:25:19.786] checking zlib.h usability... yes [06:25:19.796] checking zlib.h presence... yes [06:25:19.813] checking for zlib.h... yes [06:25:19.813] checking for lz4... /usr/bin/lz4 [06:25:19.813] checking for zstd... /usr/bin/zstd [06:25:19.813] checking for openssl... /usr/bin/openssl [06:25:19.817] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [06:25:19.818] checking crtdefs.h usability... yes [06:25:19.825] checking crtdefs.h presence... yes [06:25:19.838] checking for crtdefs.h... yes [06:25:19.839] checking whether byte ordering is bigendian... no [06:25:19.903] checking for inline... inline [06:25:19.910] checking for printf format archetype... gnu_printf [06:25:19.917] checking for _Static_assert... yes [06:25:19.955] checking for typeof... typeof [06:25:19.962] checking for __builtin_types_compatible_p... yes [06:25:19.972] checking for __builtin_constant_p... yes [06:25:19.981] checking for __builtin_unreachable... yes [06:25:20.020] checking for computed goto support... yes [06:25:20.026] checking for struct tm.tm_zone... no [06:25:20.097] checking for union semun... no [06:25:20.128] checking for socklen_t... yes [06:25:21.230] checking for struct sockaddr.sa_len... no [06:25:23.133] checking for locale_t... no [06:25:23.192] checking for C/C++ restrict keyword... __restrict [06:25:23.204] checking for struct option... yes [06:25:23.243] checking whether assembler supports x86_64 popcntq... yes [06:25:23.250] checking size of off_t... 4 [06:25:23.439] 0 [06:25:23.439] checking size of bool... 1 [06:25:23.480] checking for int timezone... yes [06:25:23.526] checking for wcstombs_l declaration... no [06:25:23.603] checking for backtrace_symbols... no [06:25:23.651] checking for copyfile... no [06:25:23.697] checking for copy_file_range... no [06:25:23.744] checking for getifaddrs... no [06:25:23.791] checking for getpeerucred... no [06:25:23.838] checking for inet_pton... yes [06:25:23.884] checking for kqueue... no [06:25:23.930] checking for mbstowcs_l... no [06:25:23.977] checking for memset_s... no [06:25:24.023] checking for posix_fallocate... no [06:25:24.070] checking for ppoll... no [06:25:24.117] checking for pthread_is_threaded_np... no [06:25:24.166] checking for setproctitle... no [06:25:24.216] checking for setproctitle_fast... no [06:25:24.266] checking for strchrnul... no [06:25:24.316] checking for strsignal... no [06:25:24.367] checking for syncfs... no [06:25:24.416] checking for sync_file_range... no [06:25:24.467] checking for uselocale... no [06:25:24.517] checking for wcstombs_l... no [06:25:24.564] checking for __builtin_bswap16... yes [06:25:24.613] checking for __builtin_bswap32... yes [06:25:24.661] checking for __builtin_bswap64... yes [06:25:24.709] checking for __builtin_clz... yes [06:25:24.758] checking for __builtin_ctz... yes [06:25:24.806] checking for __builtin_popcount... yes [06:25:24.856] checking for __builtin_frame_address... yes [06:25:24.904] checking for _LARGEFILE_SOURCE value needed for large files... no [06:25:24.958] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:25:24.989] checking for posix_fadvise... no [06:25:25.041] checking whether posix_fadvise is declared... no [06:25:25.087] checking whether fdatasync is declared... no [06:25:25.134] checking whether strlcat is declared... no [06:25:25.201] checking whether strlcpy is declared... no [06:25:25.265] checking whether strnlen is declared... yes [06:25:25.279] checking whether strsep is declared... no [06:25:25.345] checking whether preadv is declared... no [06:25:25.382] checking whether pwritev is declared... no [06:25:25.420] checking whether F_FULLFSYNC is declared... no [06:25:25.461] checking for explicit_bzero... no [06:25:25.509] checking for getopt... yes [06:25:25.554] checking for getpeereid... no [06:25:25.601] checking for inet_aton... no [06:25:25.649] checking for mkdtemp... no [06:25:25.696] checking for strlcat... no [06:25:25.743] checking for strlcpy... no [06:25:25.789] checking for strnlen... yes [06:25:25.834] checking for strsep... no [06:25:25.881] checking for pthread_barrier_wait... yes [06:25:25.924] configure: On mingw32 we will use our strtof wrapper. [06:25:25.924] checking for getopt_long... yes [06:25:25.968] checking for _configthreadlocale... yes [06:25:26.012] checking for syslog... no [06:25:26.060] checking for opterr... yes [06:25:26.108] checking for optreset... no [06:25:26.159] checking test program... cross-compiling [06:25:26.159] checking whether long int is 64 bits... no [06:25:26.189] checking whether long long int is 64 bits... yes [06:25:26.198] checking for __builtin_mul_overflow... yes [06:25:26.240] checking size of void *... 8 [06:25:26.504] checking size of size_t... 8 [06:25:26.767] checking size of long... 4 [06:25:26.974] checking alignment of short... 2 [06:25:27.108] checking alignment of int... 4 [06:25:27.311] checking alignment of long... 4 [06:25:27.510] checking alignment of long long int... 8 [06:25:27.774] checking alignment of double... 8 [06:25:28.033] checking for int8... no [06:25:28.074] checking for uint8... no [06:25:28.116] checking for int64... no [06:25:28.156] checking for uint64... no [06:25:28.198] checking for __int128... yes [06:25:28.246] checking for __int128 alignment bug... assuming ok [06:25:28.246] checking alignment of PG_INT128_TYPE... 16 [06:25:28.559] checking for builtin __sync char locking functions... yes [06:25:28.598] checking for builtin __sync int32 locking functions... yes [06:25:28.637] checking for builtin __sync int32 atomic operations... yes [06:25:28.677] checking for builtin __sync int64 atomic operations... yes [06:25:28.718] checking for builtin __atomic int32 atomic operations... yes [06:25:28.758] checking for builtin __atomic int64 atomic operations... yes [06:25:28.799] checking for __get_cpuid... yes [06:25:28.844] checking for __get_cpuid_count... yes [06:25:28.887] checking for __cpuid... no [06:25:29.285] checking for __cpuidex... no [06:25:29.699] checking for _xgetbv with CFLAGS=... no [06:25:30.068] checking for _xgetbv with CFLAGS=-mxsave... yes [06:25:30.455] checking for _mm512_popcnt_epi64 with CFLAGS=... no [06:25:30.826] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [06:25:31.153] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [06:25:31.198] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [06:25:31.282] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:25:31.302] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:25:31.319] 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 [06:25:31.370] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:25:31.370] checking which random number source to use... Windows native [06:25:31.372] checking for xmllint... /usr/bin/xmllint [06:25:31.372] checking for xsltproc... /usr/bin/xsltproc [06:25:31.372] checking for fop... /usr/bin/fop [06:25:31.372] checking for dbtoepub... no [06:25:31.373] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:25:31.373] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:25:31.373] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [06:25:31.383] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [06:25:31.383] 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 [06:25:31.383] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [06:25:31.383] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:25:31.460] configure: creating ./config.status [06:25:31.537] config.status: creating GNUmakefile [06:25:31.548] config.status: creating src/Makefile.global [06:25:31.562] config.status: creating src/include/pg_config.h [06:25:31.574] config.status: creating src/include/pg_config_ext.h [06:25:31.585] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:25:31.599] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:25:31.606] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:25:31.612] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:25:31.619] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:25:31.625] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:25:31.629] config.status: executing check_win32_symlinks commands [06:25:31.660] [06:25:31.660] real 0m15.507s [06:25:31.660] user 0m10.300s [06:25:31.660] sys 0m4.826s [06:25:31.660] make -s -j${BUILD_JOBS} clean [06:25:32.143] time make -s -j${BUILD_JOBS} world-bin [06:25:51.103] smgr.c: In function ‘smgrdestroy’: [06:25:51.103] smgr.c:279:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [06:25:51.103] 279 | ForkNumber forknum; [06:25:51.103] | ^~~~~~~ [06:25:51.103] smgr.c: In function ‘smgrdounlinkall’: [06:25:51.103] smgr.c:484:41: error: unused variable ‘which’ [-Werror=unused-variable] [06:25:51.103] 484 | int which = rels[i]->smgr_which; [06:25:51.103] | ^~~~~ [06:25:51.103] cc1: all warnings being treated as errors [06:25:51.104] make[4]: *** [: smgr.o] Error 1 [06:25:51.104] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [06:25:51.104] make[2]: *** [common.mk:37: storage-recursive] Error 2 [06:25:51.104] make[2]: *** Waiting for unfinished jobs.... [06:25:52.268] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:25:52.269] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:25:52.269] [06:25:52.269] real 0m20.127s [06:25:52.269] user 0m56.505s [06:25:52.269] sys 0m15.517s [06:25:52.269] [06:25:52.269] Exit status: 2