[21:22:48.326] time ./configure \ [21:22:48.326] --host=x86_64-w64-mingw32 \ [21:22:48.326] --enable-cassert \ [21:22:48.326] --without-icu \ [21:22:48.326] CC="ccache x86_64-w64-mingw32-gcc" \ [21:22:48.326] CXX="ccache x86_64-w64-mingw32-g++" [21:22:48.448] checking build system type... x86_64-pc-linux-gnu [21:22:48.621] checking host system type... x86_64-w64-mingw32 [21:22:48.628] checking which template to use... win32 [21:22:48.628] checking whether NLS is wanted... no [21:22:48.628] checking for default port number... 5432 [21:22:48.635] checking for block size... 8kB [21:22:48.636] checking for segment size... 1GB [21:22:48.639] checking for WAL block size... 8kB [21:22:48.640] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:22:48.676] checking whether the C compiler works... yes [21:22:48.804] checking for C compiler default output file name... a.exe [21:22:48.805] checking for suffix of executables... .exe [21:22:48.850] checking whether we are cross compiling... yes [21:22:48.925] checking for suffix of object files... o [21:22:48.934] checking whether we are using the GNU C compiler... yes [21:22:48.940] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:22:48.948] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:22:48.958] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:22:49.024] checking whether we are using the GNU C++ compiler... yes [21:22:49.031] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:22:49.103] checking for gawk... no [21:22:49.103] checking for mawk... mawk [21:22:49.106] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:22:49.113] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:22:49.121] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:22:49.167] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:22:49.314] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:22:49.321] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:22:49.328] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:22:49.335] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:22:49.342] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:22:49.349] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:22:49.356] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:22:49.363] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:22:49.371] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:22:49.378] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:22:49.385] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:22:49.392] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:22:49.399] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:22:49.438] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:22:49.445] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:22:49.453] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:22:49.460] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:22:49.466] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:22:49.474] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:22:49.499] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:22:49.506] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:22:49.513] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:22:49.552] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:22:49.592] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:22:49.599] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:22:49.607] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:22:49.642] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:22:49.649] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:22:49.656] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:22:49.664] checking whether the C compiler still works... yes [21:22:49.727] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:22:49.799] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:22:49.799] checking pkg-config is at least version 0.9.0... yes [21:22:49.815] checking whether to build with ICU support... no [21:22:49.816] checking whether to build with Tcl... no [21:22:49.816] checking whether to build Perl modules... no [21:22:49.816] checking whether to build Python modules... no [21:22:49.816] checking whether to build with GSSAPI support... no [21:22:49.817] checking whether to build with PAM support... no [21:22:49.817] checking whether to build with BSD Authentication support... no [21:22:49.817] checking whether to build with LDAP support... no [21:22:49.817] checking whether to build with Bonjour support... no [21:22:49.818] checking whether to build with SELinux support... no [21:22:49.818] checking whether to build with systemd support... no [21:22:49.818] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:22:49.818] checking whether to build with XML support... no [21:22:49.818] checking whether to build with LZ4 support... no [21:22:49.819] checking whether to build with ZSTD support... no [21:22:49.819] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:22:49.819] checking whether it is possible to strip libraries... yes [21:22:49.826] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:22:49.826] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:22:49.826] checking for a BSD-compatible install... /usr/bin/install -c [21:22:49.836] checking for tar... /usr/bin/tar [21:22:49.836] checking whether ln -s works... yes [21:22:49.836] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:22:49.838] checking for bison... /usr/bin/bison [21:22:49.841] configure: using bison (GNU Bison) 3.8.2 [21:22:49.844] checking for flex... /usr/bin/flex [21:22:49.846] configure: using flex 2.6.4 [21:22:49.846] checking for perl... /usr/bin/perl [21:22:49.849] configure: using perl 5.36.0 [21:22:49.851] checking for zic... /usr/sbin/zic [21:22:49.851] checking for a sed that does not truncate output... /usr/bin/sed [21:22:49.856] checking for grep that handles long lines and -e... /usr/bin/grep [21:22:49.858] checking for egrep... /usr/bin/grep -E [21:22:49.860] checking for ANSI C header files... yes [21:22:49.904] checking for sys/types.h... yes [21:22:49.919] checking for sys/stat.h... yes [21:22:49.933] checking for stdlib.h... yes [21:22:49.947] checking for string.h... yes [21:22:49.960] checking for memory.h... yes [21:22:49.974] checking for strings.h... yes [21:22:49.988] checking for inttypes.h... yes [21:22:50.003] checking for stdint.h... yes [21:22:50.017] checking for unistd.h... yes [21:22:50.031] checking for main in -lm... yes [21:22:50.081] checking for library containing setproctitle... no [21:22:50.171] checking for library containing dlsym... no [21:22:50.262] checking for library containing socket... -lws2_32 [21:22:50.396] checking for library containing getopt_long... none required [21:22:50.448] checking for library containing shm_open... no [21:22:50.541] checking for library containing shm_unlink... no [21:22:50.635] checking for library containing clock_gettime... no [21:22:50.728] checking for library containing shmget... no [21:22:50.820] checking for library containing backtrace_symbols... no [21:22:50.907] checking for library containing pthread_barrier_wait... -lpthread [21:22:50.995] checking for inflate in -lz... yes [21:22:51.044] checking atomic.h usability... no [21:22:51.103] checking atomic.h presence... no [21:22:51.122] checking for atomic.h... no [21:22:51.126] checking copyfile.h usability... no [21:22:51.183] checking copyfile.h presence... no [21:22:51.203] checking for copyfile.h... no [21:22:51.207] checking execinfo.h usability... no [21:22:51.263] checking execinfo.h presence... no [21:22:51.283] checking for execinfo.h... no [21:22:51.287] checking getopt.h usability... yes [21:22:51.295] checking getopt.h presence... yes [21:22:51.310] checking for getopt.h... yes [21:22:51.318] checking ifaddrs.h usability... no [21:22:51.372] checking ifaddrs.h presence... no [21:22:51.391] checking for ifaddrs.h... no [21:22:51.395] checking mbarrier.h usability... no [21:22:51.451] checking mbarrier.h presence... no [21:22:51.470] checking for mbarrier.h... no [21:22:51.473] checking sys/epoll.h usability... no [21:22:51.528] checking sys/epoll.h presence... no [21:22:51.547] checking for sys/epoll.h... no [21:22:51.550] checking sys/event.h usability... no [21:22:51.603] checking sys/event.h presence... no [21:22:51.622] checking for sys/event.h... no [21:22:51.625] checking sys/personality.h usability... no [21:22:51.679] checking sys/personality.h presence... no [21:22:51.697] checking for sys/personality.h... no [21:22:51.700] checking sys/prctl.h usability... no [21:22:51.754] checking sys/prctl.h presence... no [21:22:51.773] checking for sys/prctl.h... no [21:22:51.777] checking sys/procctl.h usability... no [21:22:51.831] checking sys/procctl.h presence... no [21:22:51.849] checking for sys/procctl.h... no [21:22:51.852] checking sys/signalfd.h usability... no [21:22:51.908] checking sys/signalfd.h presence... no [21:22:51.927] checking for sys/signalfd.h... no [21:22:51.931] checking sys/ucred.h usability... no [21:22:51.989] checking sys/ucred.h presence... no [21:22:52.008] checking for sys/ucred.h... no [21:22:52.011] checking termios.h usability... no [21:22:52.068] checking termios.h presence... no [21:22:52.087] checking for termios.h... no [21:22:52.090] checking ucred.h usability... no [21:22:52.146] checking ucred.h presence... no [21:22:52.165] checking for ucred.h... no [21:22:52.168] checking xlocale.h usability... no [21:22:52.223] checking xlocale.h presence... no [21:22:52.241] checking for xlocale.h... no [21:22:52.245] checking zlib.h usability... yes [21:22:52.254] checking zlib.h presence... yes [21:22:52.274] checking for zlib.h... yes [21:22:52.274] checking for lz4... /usr/bin/lz4 [21:22:52.274] checking for zstd... /usr/bin/zstd [21:22:52.275] checking for openssl... /usr/bin/openssl [21:22:52.279] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [21:22:52.280] checking crtdefs.h usability... yes [21:22:52.288] checking crtdefs.h presence... yes [21:22:52.302] checking for crtdefs.h... yes [21:22:52.304] checking whether byte ordering is bigendian... no [21:22:52.375] checking for inline... inline [21:22:52.382] checking for printf format archetype... gnu_printf [21:22:52.390] checking for _Static_assert... yes [21:22:52.433] checking for typeof... typeof [21:22:52.440] checking for __builtin_types_compatible_p... yes [21:22:52.451] checking for __builtin_constant_p... yes [21:22:52.462] checking for __builtin_mul_overflow... yes [21:22:52.508] checking for __builtin_unreachable... yes [21:22:52.549] checking for computed goto support... yes [21:22:52.556] checking for struct tm.tm_zone... no [21:22:52.631] checking for union semun... no [21:22:52.663] checking for socklen_t... yes [21:22:53.842] checking for struct sockaddr.sa_len... no [21:22:55.839] checking for C/C++ restrict keyword... __restrict [21:22:55.852] checking for struct option... yes [21:22:55.894] checking whether assembler supports x86_64 popcntq... yes [21:22:55.901] checking size of off_t... 4 [21:22:56.101] 0 [21:22:56.101] checking for int timezone... yes [21:22:56.151] checking for backtrace_symbols... no [21:22:56.201] checking for copyfile... no [21:22:56.250] checking for copy_file_range... no [21:22:56.299] checking for elf_aux_info... no [21:22:56.347] checking for getauxval... no [21:22:56.395] checking for getifaddrs... no [21:22:56.444] checking for getpeerucred... no [21:22:56.493] checking for inet_pton... yes [21:22:56.545] checking for kqueue... no [21:22:56.600] checking for mbstowcs_l... no [21:22:56.653] checking for memset_s... no [21:22:56.705] checking for posix_fallocate... no [21:22:56.758] checking for ppoll... no [21:22:56.812] checking for pthread_is_threaded_np... no [21:22:56.864] checking for setproctitle... no [21:22:56.915] checking for setproctitle_fast... no [21:22:56.965] checking for strchrnul... no [21:22:57.015] checking for strsignal... no [21:22:57.064] checking for syncfs... no [21:22:57.114] checking for sync_file_range... no [21:22:57.163] checking for uselocale... no [21:22:57.212] checking for wcstombs_l... no [21:22:57.258] checking for __builtin_bswap16... yes [21:22:57.308] checking for __builtin_bswap32... yes [21:22:57.358] checking for __builtin_bswap64... yes [21:22:57.408] checking for __builtin_clz... yes [21:22:57.460] checking for __builtin_ctz... yes [21:22:57.511] checking for __builtin_popcount... yes [21:22:57.559] checking for __builtin_frame_address... yes [21:22:57.608] checking for _LARGEFILE_SOURCE value needed for large files... no [21:22:57.662] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:22:57.693] checking for posix_fadvise... no [21:22:57.746] checking whether posix_fadvise is declared... no [21:22:57.793] checking whether fdatasync is declared... no [21:22:57.840] checking whether strlcat is declared... no [21:22:57.904] checking whether strlcpy is declared... no [21:22:57.968] checking whether strnlen is declared... yes [21:22:57.981] checking whether strsep is declared... no [21:22:58.046] checking whether preadv is declared... no [21:22:58.084] checking whether pwritev is declared... no [21:22:58.124] checking whether F_FULLFSYNC is declared... no [21:22:58.169] checking for explicit_bzero... no [21:22:58.223] checking for getopt... yes [21:22:58.270] checking for getpeereid... no [21:22:58.319] checking for inet_aton... no [21:22:58.369] checking for mkdtemp... no [21:22:58.419] checking for strlcat... no [21:22:58.468] checking for strlcpy... no [21:22:58.516] checking for strnlen... yes [21:22:58.565] checking for strsep... no [21:22:58.612] checking for pthread_barrier_wait... yes [21:22:58.656] configure: On mingw32 we will use our strtof wrapper. [21:22:58.656] checking for getopt_long... yes [21:22:58.701] checking for syslog... no [21:22:58.749] checking for opterr... yes [21:22:58.799] checking for optreset... no [21:22:58.856] checking test program... cross-compiling [21:22:58.856] checking size of void *... 8 [21:22:59.140] checking size of size_t... 8 [21:22:59.420] checking size of long... 4 [21:22:59.634] checking size of long long... 8 [21:22:59.928] checking alignment of short... 2 [21:23:00.080] checking alignment of int... 4 [21:23:00.301] checking alignment of long... 4 [21:23:00.520] checking alignment of int64_t... 8 [21:23:00.806] checking alignment of double... 8 [21:23:01.088] checking for __int128... yes [21:23:01.144] checking for __int128 alignment bug... assuming ok [21:23:01.145] checking alignment of PG_INT128_TYPE... 16 [21:23:01.516] checking for builtin __sync char locking functions... yes [21:23:01.561] checking for builtin __sync int32 locking functions... yes [21:23:01.604] checking for builtin __sync int32 atomic operations... yes [21:23:01.647] checking for builtin __sync int64 atomic operations... yes [21:23:01.694] checking for builtin __atomic int32 atomic operations... yes [21:23:01.740] checking for builtin __atomic int64 atomic operations... yes [21:23:01.789] checking for __get_cpuid... yes [21:23:01.840] checking for __get_cpuid_count... yes [21:23:01.888] checking for __cpuid... no [21:23:02.295] checking for __cpuidex... no [21:23:02.727] checking for _xgetbv... yes [21:23:03.150] checking for _mm512_popcnt_epi64... yes [21:23:03.583] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [21:23:03.690] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:23:03.716] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [21:23:03.737] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:23:03.757] 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 [21:23:03.818] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:23:03.819] checking which random number source to use... Windows native [21:23:03.821] checking for xmllint... /usr/bin/xmllint [21:23:03.821] checking for xsltproc... /usr/bin/xsltproc [21:23:03.822] checking for fop... /usr/bin/fop [21:23:03.822] checking for dbtoepub... no [21:23:03.823] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:23:03.823] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:23:03.823] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:23:03.835] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:23:03.835] 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 [21:23:03.835] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:23:03.835] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:23:03.931] configure: creating ./config.status [21:23:04.026] config.status: creating GNUmakefile [21:23:04.040] config.status: creating src/Makefile.global [21:23:04.057] config.status: creating src/include/pg_config.h [21:23:04.071] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:23:04.087] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:23:04.094] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:23:04.101] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:23:04.109] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:23:04.116] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:23:04.120] config.status: executing check_win32_symlinks commands [21:23:04.157] [21:23:04.157] real 0m15.831s [21:23:04.157] user 0m10.645s [21:23:04.157] sys 0m4.934s [21:23:04.157] make -s -j${BUILD_JOBS} clean [21:23:04.668] time make -s -j${BUILD_JOBS} world-bin [21:23:09.867] smgr.c: In function ‘smgrdestroy’: [21:23:09.867] smgr.c:282:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [21:23:09.867] 282 | ForkNumber forknum; [21:23:09.867] | ^~~~~~~ [21:23:09.867] smgr.c: In function ‘smgrdounlinkall’: [21:23:09.867] smgr.c:487:41: error: unused variable ‘which’ [-Werror=unused-variable] [21:23:09.867] 487 | int which = rels[i]->smgr_which; [21:23:09.867] | ^~~~~ [21:23:09.867] cc1: all warnings being treated as errors [21:23:09.869] make[4]: *** [: smgr.o] Error 1 [21:23:09.869] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [21:23:09.869] make[2]: *** [common.mk:37: storage-recursive] Error 2 [21:23:09.869] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:23:09.870] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:23:09.870] [21:23:09.870] real 0m5.202s [21:23:09.870] user 0m8.742s [21:23:09.870] sys 0m6.639s [21:23:09.870] [21:23:09.870] Exit status: 2