[22:58:42.351] time ./configure \ [22:58:42.351] --host=x86_64-w64-mingw32 \ [22:58:42.351] --enable-cassert \ [22:58:42.351] --without-icu \ [22:58:42.351] CC="ccache x86_64-w64-mingw32-gcc" \ [22:58:42.351] CXX="ccache x86_64-w64-mingw32-g++" [22:58:42.461] checking build system type... x86_64-pc-linux-gnu [22:58:42.653] checking host system type... x86_64-w64-mingw32 [22:58:42.658] checking which template to use... win32 [22:58:42.658] checking whether NLS is wanted... no [22:58:42.658] checking for default port number... 5432 [22:58:42.664] checking for block size... 8kB [22:58:42.665] checking for segment size... 1GB [22:58:42.668] checking for WAL block size... 8kB [22:58:42.669] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:58:42.700] checking whether the C compiler works... yes [22:58:42.835] checking for C compiler default output file name... a.exe [22:58:42.836] checking for suffix of executables... .exe [22:58:42.874] checking whether we are cross compiling... yes [22:58:42.948] checking for suffix of object files... o [22:58:42.955] checking whether we are using the GNU C compiler... yes [22:58:42.962] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:58:42.968] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:58:42.976] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:58:43.038] checking whether we are using the GNU C++ compiler... yes [22:58:43.044] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:58:43.108] checking for gawk... no [22:58:43.108] checking for mawk... mawk [22:58:43.110] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:58:43.116] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:58:43.123] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:58:43.166] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:58:43.333] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:58:43.340] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:58:43.346] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:58:43.352] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:58:43.359] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:58:43.365] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:58:43.371] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:58:43.377] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:58:43.384] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:58:43.390] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:58:43.396] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:58:43.402] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:58:43.409] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:58:43.444] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:58:43.451] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:58:43.457] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:58:43.464] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:58:43.471] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:58:43.477] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:58:43.498] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:58:43.505] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:58:43.511] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:58:43.547] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:58:43.584] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:58:43.590] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:58:43.596] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:58:43.630] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:58:43.636] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:58:43.643] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:58:43.650] checking whether the C compiler still works... yes [22:58:43.711] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:58:43.776] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:58:43.776] checking pkg-config is at least version 0.9.0... yes [22:58:43.792] checking whether to build with ICU support... no [22:58:43.793] checking whether to build with Tcl... no [22:58:43.793] checking whether to build Perl modules... no [22:58:43.793] checking whether to build Python modules... no [22:58:43.793] checking whether to build with GSSAPI support... no [22:58:43.794] checking whether to build with PAM support... no [22:58:43.794] checking whether to build with BSD Authentication support... no [22:58:43.794] checking whether to build with LDAP support... no [22:58:43.794] checking whether to build with Bonjour support... no [22:58:43.794] checking whether to build with SELinux support... no [22:58:43.794] checking whether to build with systemd support... no [22:58:43.795] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:58:43.795] checking whether to build with XML support... no [22:58:43.795] checking whether to build with LZ4 support... no [22:58:43.795] checking whether to build with ZSTD support... no [22:58:43.795] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:58:43.796] checking whether it is possible to strip libraries... yes [22:58:43.804] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:58:43.804] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:58:43.804] checking for a BSD-compatible install... /usr/bin/install -c [22:58:43.813] checking for tar... /usr/bin/tar [22:58:43.813] checking whether ln -s works... yes [22:58:43.813] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:58:43.815] checking for bison... /usr/bin/bison [22:58:43.817] configure: using bison (GNU Bison) 3.8.2 [22:58:43.820] checking for flex... /usr/bin/flex [22:58:43.831] configure: using flex 2.6.4 [22:58:43.831] checking for perl... /usr/bin/perl [22:58:43.834] configure: using perl 5.36.0 [22:58:43.836] checking for zic... /usr/sbin/zic [22:58:43.836] checking for a sed that does not truncate output... /usr/bin/sed [22:58:43.841] checking for grep that handles long lines and -e... /usr/bin/grep [22:58:43.843] checking for egrep... /usr/bin/grep -E [22:58:43.844] checking for ANSI C header files... yes [22:58:43.890] checking for sys/types.h... yes [22:58:43.907] checking for sys/stat.h... yes [22:58:43.922] checking for stdlib.h... yes [22:58:43.936] checking for string.h... yes [22:58:43.950] checking for memory.h... yes [22:58:43.964] checking for strings.h... yes [22:58:43.978] checking for inttypes.h... yes [22:58:43.993] checking for stdint.h... yes [22:58:44.007] checking for unistd.h... yes [22:58:44.025] checking for main in -lm... yes [22:58:44.069] checking for library containing setproctitle... no [22:58:44.154] checking for library containing dlsym... no [22:58:44.237] checking for library containing socket... -lws2_32 [22:58:44.359] checking for library containing getopt_long... none required [22:58:44.404] checking for library containing shm_open... no [22:58:44.488] checking for library containing shm_unlink... no [22:58:44.571] checking for library containing clock_gettime... no [22:58:44.654] checking for library containing shmget... no [22:58:44.737] checking for library containing backtrace_symbols... no [22:58:44.821] checking for library containing pthread_barrier_wait... -lpthread [22:58:44.904] checking for inflate in -lz... yes [22:58:44.947] checking for stdbool.h that conforms to C99... yes [22:58:44.958] checking for _Bool... yes [22:58:45.027] checking atomic.h usability... no [22:58:45.080] checking atomic.h presence... no [22:58:45.097] checking for atomic.h... no [22:58:45.100] checking copyfile.h usability... no [22:58:45.153] checking copyfile.h presence... no [22:58:45.171] checking for copyfile.h... no [22:58:45.174] checking execinfo.h usability... no [22:58:45.226] checking execinfo.h presence... no [22:58:45.244] checking for execinfo.h... no [22:58:45.247] checking getopt.h usability... yes [22:58:45.254] checking getopt.h presence... yes [22:58:45.268] checking for getopt.h... yes [22:58:45.275] checking ifaddrs.h usability... no [22:58:45.329] checking ifaddrs.h presence... no [22:58:45.347] checking for ifaddrs.h... no [22:58:45.350] checking mbarrier.h usability... no [22:58:45.404] checking mbarrier.h presence... no [22:58:45.422] checking for mbarrier.h... no [22:58:45.425] checking sys/epoll.h usability... no [22:58:45.478] checking sys/epoll.h presence... no [22:58:45.495] checking for sys/epoll.h... no [22:58:45.498] checking sys/event.h usability... no [22:58:45.551] checking sys/event.h presence... no [22:58:45.568] checking for sys/event.h... no [22:58:45.571] checking sys/personality.h usability... no [22:58:45.623] checking sys/personality.h presence... no [22:58:45.641] checking for sys/personality.h... no [22:58:45.644] checking sys/prctl.h usability... no [22:58:45.696] checking sys/prctl.h presence... no [22:58:45.714] checking for sys/prctl.h... no [22:58:45.717] checking sys/procctl.h usability... no [22:58:45.769] checking sys/procctl.h presence... no [22:58:45.788] checking for sys/procctl.h... no [22:58:45.790] checking sys/signalfd.h usability... no [22:58:45.843] checking sys/signalfd.h presence... no [22:58:45.861] checking for sys/signalfd.h... no [22:58:45.864] checking sys/ucred.h usability... no [22:58:45.916] checking sys/ucred.h presence... no [22:58:45.934] checking for sys/ucred.h... no [22:58:45.937] checking termios.h usability... no [22:58:45.990] checking termios.h presence... no [22:58:46.007] checking for termios.h... no [22:58:46.010] checking ucred.h usability... no [22:58:46.062] checking ucred.h presence... no [22:58:46.081] checking for ucred.h... no [22:58:46.083] checking xlocale.h usability... no [22:58:46.135] checking xlocale.h presence... no [22:58:46.153] checking for xlocale.h... no [22:58:46.156] checking zlib.h usability... yes [22:58:46.165] checking zlib.h presence... yes [22:58:46.183] checking for zlib.h... yes [22:58:46.184] checking for lz4... /usr/bin/lz4 [22:58:46.184] checking for zstd... /usr/bin/zstd [22:58:46.184] checking for openssl... /usr/bin/openssl [22:58:46.189] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [22:58:46.189] checking crtdefs.h usability... yes [22:58:46.197] checking crtdefs.h presence... yes [22:58:46.212] checking for crtdefs.h... yes [22:58:46.213] checking whether byte ordering is bigendian... no [22:58:46.282] checking for inline... inline [22:58:46.289] checking for printf format archetype... gnu_printf [22:58:46.297] checking for _Static_assert... yes [22:58:46.336] checking for typeof... typeof [22:58:46.343] checking for __builtin_types_compatible_p... yes [22:58:46.353] checking for __builtin_constant_p... yes [22:58:46.363] checking for __builtin_unreachable... yes [22:58:46.402] checking for computed goto support... yes [22:58:46.408] checking for struct tm.tm_zone... no [22:58:46.480] checking for union semun... no [22:58:46.511] checking for socklen_t... yes [22:58:47.683] checking for struct sockaddr.sa_len... no [22:58:49.672] checking for C/C++ restrict keyword... __restrict [22:58:49.684] checking for struct option... yes [22:58:49.724] checking whether assembler supports x86_64 popcntq... yes [22:58:49.731] checking size of off_t... 4 [22:58:49.927] 0 [22:58:49.927] checking size of bool... 1 [22:58:49.968] checking for int timezone... yes [22:58:50.019] checking for backtrace_symbols... no [22:58:50.067] checking for copyfile... no [22:58:50.115] checking for copy_file_range... no [22:58:50.163] checking for elf_aux_info... no [22:58:50.210] checking for getauxval... no [22:58:50.258] checking for getifaddrs... no [22:58:50.307] checking for getpeerucred... no [22:58:50.354] checking for inet_pton... yes [22:58:50.401] checking for kqueue... no [22:58:50.448] checking for mbstowcs_l... no [22:58:50.497] checking for memset_s... no [22:58:50.545] checking for posix_fallocate... no [22:58:50.593] checking for ppoll... no [22:58:50.642] checking for pthread_is_threaded_np... no [22:58:50.693] checking for setproctitle... no [22:58:50.742] checking for setproctitle_fast... no [22:58:50.793] checking for strchrnul... no [22:58:50.842] checking for strsignal... no [22:58:50.890] checking for syncfs... no [22:58:50.938] checking for sync_file_range... no [22:58:50.986] checking for uselocale... no [22:58:51.033] checking for wcstombs_l... no [22:58:51.077] checking for __builtin_bswap16... yes [22:58:51.123] checking for __builtin_bswap32... yes [22:58:51.168] checking for __builtin_bswap64... yes [22:58:51.213] checking for __builtin_clz... yes [22:58:51.259] checking for __builtin_ctz... yes [22:58:51.305] checking for __builtin_popcount... yes [22:58:51.351] checking for __builtin_frame_address... yes [22:58:51.397] checking for _LARGEFILE_SOURCE value needed for large files... no [22:58:51.446] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:58:51.475] checking for posix_fadvise... no [22:58:51.524] checking whether posix_fadvise is declared... no [22:58:51.566] checking whether fdatasync is declared... no [22:58:51.609] checking whether strlcat is declared... no [22:58:51.669] checking whether strlcpy is declared... no [22:58:51.729] checking whether strnlen is declared... yes [22:58:51.742] checking whether strsep is declared... no [22:58:51.801] checking whether preadv is declared... no [22:58:51.834] checking whether pwritev is declared... no [22:58:51.867] checking whether F_FULLFSYNC is declared... no [22:58:51.904] checking for explicit_bzero... no [22:58:51.949] checking for getopt... yes [22:58:51.991] checking for getpeereid... no [22:58:52.036] checking for inet_aton... no [22:58:52.081] checking for mkdtemp... no [22:58:52.126] checking for strlcat... no [22:58:52.170] checking for strlcpy... no [22:58:52.215] checking for strnlen... yes [22:58:52.260] checking for strsep... no [22:58:52.305] checking for pthread_barrier_wait... yes [22:58:52.346] configure: On mingw32 we will use our strtof wrapper. [22:58:52.346] checking for getopt_long... yes [22:58:52.389] checking for _configthreadlocale... yes [22:58:52.431] checking for syslog... no [22:58:52.476] checking for opterr... yes [22:58:52.522] checking for optreset... no [22:58:52.572] checking test program... cross-compiling [22:58:52.572] checking whether long int is 64 bits... no [22:58:52.602] checking whether long long int is 64 bits... yes [22:58:52.611] checking for __builtin_mul_overflow... yes [22:58:52.652] checking size of void *... 8 [22:58:52.912] checking size of size_t... 8 [22:58:53.165] checking size of long... 4 [22:58:53.359] checking alignment of short... 2 [22:58:53.493] checking alignment of int... 4 [22:58:53.686] checking alignment of long... 4 [22:58:53.880] checking alignment of long long int... 8 [22:58:54.136] checking alignment of double... 8 [22:58:54.397] checking for __int128... yes [22:58:54.446] checking for __int128 alignment bug... assuming ok [22:58:54.446] checking alignment of PG_INT128_TYPE... 16 [22:58:54.767] checking for builtin __sync char locking functions... yes [22:58:54.807] checking for builtin __sync int32 locking functions... yes [22:58:54.848] checking for builtin __sync int32 atomic operations... yes [22:58:54.889] checking for builtin __sync int64 atomic operations... yes [22:58:54.930] checking for builtin __atomic int32 atomic operations... yes [22:58:54.970] checking for builtin __atomic int64 atomic operations... yes [22:58:55.012] checking for __get_cpuid... yes [22:58:55.058] checking for __get_cpuid_count... yes [22:58:55.100] checking for __cpuid... no [22:58:55.493] checking for __cpuidex... no [22:58:55.913] checking for _xgetbv... yes [22:58:56.309] checking for _mm512_popcnt_epi64... yes [22:58:56.727] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [22:58:56.772] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [22:58:56.856] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:58:56.877] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:58:56.894] 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 [22:58:56.947] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:58:56.947] checking which random number source to use... Windows native [22:58:56.949] checking for xmllint... /usr/bin/xmllint [22:58:56.949] checking for xsltproc... /usr/bin/xsltproc [22:58:56.949] checking for fop... /usr/bin/fop [22:58:56.950] checking for dbtoepub... no [22:58:56.950] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:58:56.950] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:58:56.950] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:58:56.961] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:58:56.961] 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 [22:58:56.961] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:58:56.961] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:58:57.043] configure: creating ./config.status [22:58:57.123] config.status: creating GNUmakefile [22:58:57.134] config.status: creating src/Makefile.global [22:58:57.148] config.status: creating src/include/pg_config.h [22:58:57.160] config.status: creating src/include/pg_config_ext.h [22:58:57.171] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:58:57.185] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:58:57.192] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:58:57.198] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:58:57.205] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:58:57.212] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:58:57.215] config.status: executing check_win32_symlinks commands [22:58:57.246] [22:58:57.246] real 0m14.895s [22:58:57.246] user 0m9.961s [22:58:57.246] sys 0m4.553s [22:58:57.246] make -s -j${BUILD_JOBS} clean [22:58:57.732] time make -s -j${BUILD_JOBS} world-bin [22:59:02.711] smgr.c: In function ‘smgrdestroy’: [22:59:02.711] smgr.c:282:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [22:59:02.711] 282 | ForkNumber forknum; [22:59:02.711] | ^~~~~~~ [22:59:02.711] smgr.c: In function ‘smgrdounlinkall’: [22:59:02.711] smgr.c:487:41: error: unused variable ‘which’ [-Werror=unused-variable] [22:59:02.711] 487 | int which = rels[i]->smgr_which; [22:59:02.711] | ^~~~~ [22:59:02.711] cc1: all warnings being treated as errors [22:59:02.713] make[4]: *** [: smgr.o] Error 1 [22:59:02.713] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [22:59:02.713] make[2]: *** [common.mk:37: storage-recursive] Error 2 [22:59:02.713] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:59:02.714] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:59:02.714] [22:59:02.714] real 0m4.982s [22:59:02.714] user 0m8.510s [22:59:02.714] sys 0m6.127s [22:59:02.714] [22:59:02.714] Exit status: 2