[03:10:45.202] time ./configure \ [03:10:45.202] --host=x86_64-w64-mingw32 \ [03:10:45.202] --enable-cassert \ [03:10:45.202] --without-icu \ [03:10:45.202] CC="ccache x86_64-w64-mingw32-gcc" \ [03:10:45.202] CXX="ccache x86_64-w64-mingw32-g++" [03:10:45.337] checking build system type... x86_64-pc-linux-gnu [03:10:45.552] checking host system type... x86_64-w64-mingw32 [03:10:45.559] checking which template to use... win32 [03:10:45.559] checking whether NLS is wanted... no [03:10:45.559] checking for default port number... 5432 [03:10:45.568] checking for block size... 8kB [03:10:45.569] checking for segment size... 1GB [03:10:45.572] checking for WAL block size... 8kB [03:10:45.573] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [03:10:45.613] checking whether the C compiler works... yes [03:10:45.769] checking for C compiler default output file name... a.exe [03:10:45.771] checking for suffix of executables... .exe [03:10:45.817] checking whether we are cross compiling... yes [03:10:45.912] checking for suffix of object files... o [03:10:45.923] checking whether we are using the GNU C compiler... yes [03:10:45.932] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [03:10:45.941] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [03:10:45.954] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [03:10:46.032] checking whether we are using the GNU C++ compiler... yes [03:10:46.041] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [03:10:46.123] checking for gawk... no [03:10:46.124] checking for mawk... mawk [03:10:46.126] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [03:10:46.135] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [03:10:46.143] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [03:10:46.195] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [03:10:46.381] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [03:10:46.389] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [03:10:46.397] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [03:10:46.405] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [03:10:46.414] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [03:10:46.423] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [03:10:46.432] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [03:10:46.440] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [03:10:46.449] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [03:10:46.457] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [03:10:46.466] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [03:10:46.476] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [03:10:46.484] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [03:10:46.523] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [03:10:46.531] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [03:10:46.539] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [03:10:46.547] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [03:10:46.555] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [03:10:46.564] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [03:10:46.593] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [03:10:46.601] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [03:10:46.609] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [03:10:46.650] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [03:10:46.691] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [03:10:46.699] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [03:10:46.707] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [03:10:46.744] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [03:10:46.754] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [03:10:46.762] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [03:10:46.772] checking whether the C compiler still works... yes [03:10:46.846] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [03:10:46.927] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [03:10:46.927] checking pkg-config is at least version 0.9.0... yes [03:10:46.944] checking whether to build with ICU support... no [03:10:46.944] checking whether to build with Tcl... no [03:10:46.945] checking whether to build Perl modules... no [03:10:46.945] checking whether to build Python modules... no [03:10:46.945] checking whether to build with GSSAPI support... no [03:10:46.946] checking whether to build with PAM support... no [03:10:46.946] checking whether to build with BSD Authentication support... no [03:10:46.946] checking whether to build with LDAP support... no [03:10:46.946] checking whether to build with Bonjour support... no [03:10:46.946] checking whether to build with SELinux support... no [03:10:46.946] checking whether to build with systemd support... no [03:10:46.947] configure: WARNING: *** Readline does not work on MinGW --- disabling [03:10:46.947] checking whether to build with XML support... no [03:10:46.947] checking whether to build with LZ4 support... no [03:10:46.947] checking whether to build with ZSTD support... no [03:10:46.948] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [03:10:46.948] checking whether it is possible to strip libraries... yes [03:10:46.956] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [03:10:46.957] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [03:10:46.957] checking for a BSD-compatible install... /usr/bin/install -c [03:10:46.967] checking for tar... /usr/bin/tar [03:10:46.967] checking whether ln -s works... yes [03:10:46.968] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [03:10:46.970] checking for bison... /usr/bin/bison [03:10:46.973] configure: using bison (GNU Bison) 3.8.2 [03:10:46.977] checking for flex... /usr/bin/flex [03:10:46.992] configure: using flex 2.6.4 [03:10:46.992] checking for perl... /usr/bin/perl [03:10:46.995] configure: using perl 5.36.0 [03:10:46.998] checking for zic... /usr/sbin/zic [03:10:46.998] checking for a sed that does not truncate output... /usr/bin/sed [03:10:47.004] checking for grep that handles long lines and -e... /usr/bin/grep [03:10:47.006] checking for egrep... /usr/bin/grep -E [03:10:47.009] checking for ANSI C header files... yes [03:10:47.065] checking for sys/types.h... yes [03:10:47.084] checking for sys/stat.h... yes [03:10:47.102] checking for stdlib.h... yes [03:10:47.117] checking for string.h... yes [03:10:47.133] checking for memory.h... yes [03:10:47.150] checking for strings.h... yes [03:10:47.168] checking for inttypes.h... yes [03:10:47.186] checking for stdint.h... yes [03:10:47.202] checking for unistd.h... yes [03:10:47.220] checking for main in -lm... yes [03:10:47.273] checking for library containing setproctitle... no [03:10:47.370] checking for library containing dlsym... no [03:10:47.468] checking for library containing socket... -lws2_32 [03:10:47.613] checking for library containing getopt_long... none required [03:10:47.666] checking for library containing shm_open... no [03:10:47.769] checking for library containing shm_unlink... no [03:10:47.869] checking for library containing clock_gettime... no [03:10:47.973] checking for library containing shmget... no [03:10:48.074] checking for library containing backtrace_symbols... no [03:10:48.177] checking for library containing pthread_barrier_wait... -lpthread [03:10:48.280] checking for inflate in -lz... yes [03:10:48.334] checking for stdbool.h that conforms to C99... yes [03:10:48.348] checking for _Bool... yes [03:10:48.438] checking atomic.h usability... no [03:10:48.500] checking atomic.h presence... no [03:10:48.524] checking for atomic.h... no [03:10:48.528] checking copyfile.h usability... no [03:10:48.590] checking copyfile.h presence... no [03:10:48.613] checking for copyfile.h... no [03:10:48.617] checking execinfo.h usability... no [03:10:48.679] checking execinfo.h presence... no [03:10:48.701] checking for execinfo.h... no [03:10:48.706] checking getopt.h usability... yes [03:10:48.715] checking getopt.h presence... yes [03:10:48.734] checking for getopt.h... yes [03:10:48.743] checking ifaddrs.h usability... no [03:10:48.806] checking ifaddrs.h presence... no [03:10:48.830] checking for ifaddrs.h... no [03:10:48.834] checking mbarrier.h usability... no [03:10:48.901] checking mbarrier.h presence... no [03:10:48.925] checking for mbarrier.h... no [03:10:48.928] checking sys/epoll.h usability... no [03:10:48.987] checking sys/epoll.h presence... no [03:10:49.009] checking for sys/epoll.h... no [03:10:49.013] checking sys/event.h usability... no [03:10:49.077] checking sys/event.h presence... no [03:10:49.100] checking for sys/event.h... no [03:10:49.105] checking sys/personality.h usability... no [03:10:49.169] checking sys/personality.h presence... no [03:10:49.191] checking for sys/personality.h... no [03:10:49.195] checking sys/prctl.h usability... no [03:10:49.258] checking sys/prctl.h presence... no [03:10:49.281] checking for sys/prctl.h... no [03:10:49.284] checking sys/procctl.h usability... no [03:10:49.347] checking sys/procctl.h presence... no [03:10:49.370] checking for sys/procctl.h... no [03:10:49.374] checking sys/signalfd.h usability... no [03:10:49.435] checking sys/signalfd.h presence... no [03:10:49.457] checking for sys/signalfd.h... no [03:10:49.461] checking sys/ucred.h usability... no [03:10:49.522] checking sys/ucred.h presence... no [03:10:49.543] checking for sys/ucred.h... no [03:10:49.546] checking termios.h usability... no [03:10:49.609] checking termios.h presence... no [03:10:49.631] checking for termios.h... no [03:10:49.634] checking ucred.h usability... no [03:10:49.697] checking ucred.h presence... no [03:10:49.718] checking for ucred.h... no [03:10:49.722] checking xlocale.h usability... no [03:10:49.785] checking xlocale.h presence... no [03:10:49.808] checking for xlocale.h... no [03:10:49.811] checking zlib.h usability... yes [03:10:49.822] checking zlib.h presence... yes [03:10:49.842] checking for zlib.h... yes [03:10:49.843] checking for lz4... /usr/bin/lz4 [03:10:49.843] checking for zstd... /usr/bin/zstd [03:10:49.843] checking for openssl... /usr/bin/openssl [03:10:49.848] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [03:10:49.849] checking crtdefs.h usability... yes [03:10:49.858] checking crtdefs.h presence... yes [03:10:49.875] checking for crtdefs.h... yes [03:10:49.877] checking whether byte ordering is bigendian... no [03:10:49.964] checking for inline... inline [03:10:49.972] checking for printf format archetype... gnu_printf [03:10:49.982] checking for _Static_assert... yes [03:10:50.028] checking for typeof... typeof [03:10:50.036] checking for __builtin_types_compatible_p... yes [03:10:50.047] checking for __builtin_constant_p... yes [03:10:50.058] checking for __builtin_unreachable... yes [03:10:50.103] checking for computed goto support... yes [03:10:50.111] checking for struct tm.tm_zone... no [03:10:50.202] checking for union semun... no [03:10:50.241] checking for socklen_t... yes [03:10:51.713] checking for struct sockaddr.sa_len... no [03:10:54.149] checking for C/C++ restrict keyword... __restrict [03:10:54.163] checking for struct option... yes [03:10:54.214] checking whether assembler supports x86_64 popcntq... yes [03:10:54.223] checking size of off_t... 4 [03:10:54.460] 0 [03:10:54.460] checking size of bool... 1 [03:10:54.520] checking for int timezone... yes [03:10:54.584] checking for backtrace_symbols... no [03:10:54.643] checking for copyfile... no [03:10:54.700] checking for copy_file_range... no [03:10:54.759] checking for getifaddrs... no [03:10:54.818] checking for getpeerucred... no [03:10:54.877] checking for inet_pton... yes [03:10:54.936] checking for kqueue... no [03:10:54.996] checking for mbstowcs_l... no [03:10:55.054] checking for memset_s... no [03:10:55.113] checking for posix_fallocate... no [03:10:55.172] checking for ppoll... no [03:10:55.230] checking for pthread_is_threaded_np... no [03:10:55.287] checking for setproctitle... no [03:10:55.346] checking for setproctitle_fast... no [03:10:55.403] checking for strchrnul... no [03:10:55.461] checking for strsignal... no [03:10:55.520] checking for syncfs... no [03:10:55.580] checking for sync_file_range... no [03:10:55.638] checking for uselocale... no [03:10:55.693] checking for wcstombs_l... no [03:10:55.746] checking for __builtin_bswap16... yes [03:10:55.804] checking for __builtin_bswap32... yes [03:10:55.861] checking for __builtin_bswap64... yes [03:10:55.916] checking for __builtin_clz... yes [03:10:55.971] checking for __builtin_ctz... yes [03:10:56.026] checking for __builtin_popcount... yes [03:10:56.082] checking for __builtin_frame_address... yes [03:10:56.138] checking for _LARGEFILE_SOURCE value needed for large files... no [03:10:56.198] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [03:10:56.235] checking for posix_fadvise... no [03:10:56.295] checking whether posix_fadvise is declared... no [03:10:56.348] checking whether fdatasync is declared... no [03:10:56.400] checking whether strlcat is declared... no [03:10:56.468] checking whether strlcpy is declared... no [03:10:56.542] checking whether strnlen is declared... yes [03:10:56.559] checking whether strsep is declared... no [03:10:56.632] checking whether preadv is declared... no [03:10:56.676] checking whether pwritev is declared... no [03:10:56.718] checking whether F_FULLFSYNC is declared... no [03:10:56.764] checking for explicit_bzero... no [03:10:56.820] checking for getopt... yes [03:10:56.870] checking for getpeereid... no [03:10:56.924] checking for inet_aton... no [03:10:56.976] checking for mkdtemp... no [03:10:57.031] checking for strlcat... no [03:10:57.081] checking for strlcpy... no [03:10:57.133] checking for strnlen... yes [03:10:57.185] checking for strsep... no [03:10:57.254] checking for pthread_barrier_wait... yes [03:10:57.313] configure: On mingw32 we will use our strtof wrapper. [03:10:57.313] checking for getopt_long... yes [03:10:57.361] checking for _configthreadlocale... yes [03:10:57.410] checking for syslog... no [03:10:57.461] checking for opterr... yes [03:10:57.514] checking for optreset... no [03:10:57.570] checking test program... cross-compiling [03:10:57.570] checking whether long int is 64 bits... no [03:10:57.608] checking whether long long int is 64 bits... yes [03:10:57.619] checking for __builtin_mul_overflow... yes [03:10:57.668] checking size of void *... 8 [03:10:57.972] checking size of size_t... 8 [03:10:58.291] checking size of long... 4 [03:10:58.522] checking alignment of short... 2 [03:10:58.682] checking alignment of int... 4 [03:10:58.915] checking alignment of long... 4 [03:10:59.146] checking alignment of long long int... 8 [03:10:59.484] checking alignment of double... 8 [03:10:59.790] checking for __int128... yes [03:10:59.847] checking for __int128 alignment bug... assuming ok [03:10:59.847] checking alignment of PG_INT128_TYPE... 16 [03:11:00.213] checking for builtin __sync char locking functions... yes [03:11:00.269] checking for builtin __sync int32 locking functions... yes [03:11:00.323] checking for builtin __sync int32 atomic operations... yes [03:11:00.370] checking for builtin __sync int64 atomic operations... yes [03:11:00.415] checking for builtin __atomic int32 atomic operations... yes [03:11:00.463] checking for builtin __atomic int64 atomic operations... yes [03:11:00.508] checking for __get_cpuid... yes [03:11:00.561] checking for __get_cpuid_count... yes [03:11:00.608] checking for __cpuid... no [03:11:01.023] checking for __cpuidex... no [03:11:01.463] checking for _xgetbv with CFLAGS=... no [03:11:01.850] checking for _xgetbv with CFLAGS=-mxsave... yes [03:11:02.271] checking for _mm512_popcnt_epi64 with CFLAGS=... no [03:11:02.685] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [03:11:03.062] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [03:11:03.113] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [03:11:03.216] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [03:11:03.243] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [03:11:03.266] 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:11:03.331] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [03:11:03.332] checking which random number source to use... Windows native [03:11:03.334] checking for xmllint... /usr/bin/xmllint [03:11:03.334] checking for xsltproc... /usr/bin/xsltproc [03:11:03.334] checking for fop... /usr/bin/fop [03:11:03.335] checking for dbtoepub... no [03:11:03.335] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [03:11:03.335] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [03:11:03.335] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [03:11:03.349] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [03:11:03.349] 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:11:03.349] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [03:11:03.349] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [03:11:03.457] configure: creating ./config.status [03:11:03.564] config.status: creating GNUmakefile [03:11:03.579] config.status: creating src/Makefile.global [03:11:03.598] config.status: creating src/include/pg_config.h [03:11:03.614] config.status: creating src/include/pg_config_ext.h [03:11:03.629] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [03:11:03.649] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [03:11:03.658] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [03:11:03.667] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [03:11:03.675] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [03:11:03.684] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [03:11:03.689] config.status: executing check_win32_symlinks commands [03:11:03.727] [03:11:03.727] real 0m18.526s [03:11:03.727] user 0m12.330s [03:11:03.727] sys 0m5.804s [03:11:03.727] make -s -j${BUILD_JOBS} clean [03:11:04.279] time make -s -j${BUILD_JOBS} world-bin [03:11:09.935] smgr.c: In function ‘smgrdestroy’: [03:11:09.935] smgr.c:282:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [03:11:09.935] 282 | ForkNumber forknum; [03:11:09.935] | ^~~~~~~ [03:11:09.935] smgr.c: In function ‘smgrdounlinkall’: [03:11:09.935] smgr.c:487:41: error: unused variable ‘which’ [-Werror=unused-variable] [03:11:09.935] 487 | int which = rels[i]->smgr_which; [03:11:09.935] | ^~~~~ [03:11:09.935] cc1: all warnings being treated as errors [03:11:09.937] make[4]: *** [: smgr.o] Error 1 [03:11:09.937] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [03:11:09.937] make[2]: *** [common.mk:37: storage-recursive] Error 2 [03:11:09.938] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [03:11:09.938] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [03:11:09.938] [03:11:09.938] real 0m5.659s [03:11:09.938] user 0m9.365s [03:11:09.938] sys 0m7.304s [03:11:09.939] [03:11:09.939] Exit status: 2