[13:17:33.096] time ./configure \ [13:17:33.096] --host=x86_64-w64-mingw32 \ [13:17:33.096] --enable-cassert \ [13:17:33.096] --without-icu \ [13:17:33.096] CC="ccache x86_64-w64-mingw32-gcc" \ [13:17:33.096] CXX="ccache x86_64-w64-mingw32-g++" [13:17:33.200] checking build system type... x86_64-pc-linux-gnu [13:17:33.380] checking host system type... x86_64-w64-mingw32 [13:17:33.385] checking which template to use... win32 [13:17:33.385] checking whether NLS is wanted... no [13:17:33.386] checking for default port number... 5432 [13:17:33.392] checking for block size... 8kB [13:17:33.393] checking for segment size... 1GB [13:17:33.395] checking for WAL block size... 8kB [13:17:33.396] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:17:33.427] checking whether the C compiler works... yes [13:17:33.563] checking for C compiler default output file name... a.exe [13:17:33.564] checking for suffix of executables... .exe [13:17:33.602] checking whether we are cross compiling... yes [13:17:33.674] checking for suffix of object files... o [13:17:33.681] checking whether we are using the GNU C compiler... yes [13:17:33.687] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:17:33.693] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:17:33.702] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:17:33.759] checking whether we are using the GNU C++ compiler... yes [13:17:33.765] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:17:33.828] checking for gawk... no [13:17:33.828] checking for mawk... mawk [13:17:33.831] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:17:33.837] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:17:33.843] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:17:33.886] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:17:34.057] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:17:34.064] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:17:34.070] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:17:34.076] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:17:34.082] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:17:34.089] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:17:34.095] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:17:34.101] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:17:34.107] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:17:34.113] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:17:34.120] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:17:34.126] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:17:34.132] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:17:34.168] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:17:34.174] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:17:34.180] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:17:34.186] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:17:34.192] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:17:34.198] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:17:34.220] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:17:34.226] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:17:34.232] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:17:34.268] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:17:34.304] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:17:34.311] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:17:34.317] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:17:34.350] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:17:34.357] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:17:34.363] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:17:34.370] checking whether the C compiler still works... yes [13:17:34.432] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:17:34.499] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:17:34.499] checking pkg-config is at least version 0.9.0... yes [13:17:34.515] checking whether to build with ICU support... no [13:17:34.516] checking whether to build with Tcl... no [13:17:34.516] checking whether to build Perl modules... no [13:17:34.516] checking whether to build Python modules... no [13:17:34.516] checking whether to build with GSSAPI support... no [13:17:34.517] checking whether to build with PAM support... no [13:17:34.517] checking whether to build with BSD Authentication support... no [13:17:34.517] checking whether to build with LDAP support... no [13:17:34.517] checking whether to build with Bonjour support... no [13:17:34.517] checking whether to build with SELinux support... no [13:17:34.518] checking whether to build with systemd support... no [13:17:34.518] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:17:34.518] checking whether to build with XML support... no [13:17:34.518] checking whether to build with LZ4 support... no [13:17:34.518] checking whether to build with ZSTD support... no [13:17:34.519] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:17:34.519] checking whether it is possible to strip libraries... yes [13:17:34.526] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:17:34.526] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:17:34.527] checking for a BSD-compatible install... /usr/bin/install -c [13:17:34.535] checking for tar... /usr/bin/tar [13:17:34.535] checking whether ln -s works... yes [13:17:34.535] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:17:34.537] checking for bison... /usr/bin/bison [13:17:34.539] configure: using bison (GNU Bison) 3.8.2 [13:17:34.542] checking for flex... /usr/bin/flex [13:17:34.553] configure: using flex 2.6.4 [13:17:34.554] checking for perl... /usr/bin/perl [13:17:34.556] configure: using perl 5.36.0 [13:17:34.558] checking for zic... /usr/sbin/zic [13:17:34.558] checking for a sed that does not truncate output... /usr/bin/sed [13:17:34.563] checking for grep that handles long lines and -e... /usr/bin/grep [13:17:34.565] checking for egrep... /usr/bin/grep -E [13:17:34.566] checking for ANSI C header files... yes [13:17:34.609] checking for sys/types.h... yes [13:17:34.624] checking for sys/stat.h... yes [13:17:34.638] checking for stdlib.h... yes [13:17:34.651] checking for string.h... yes [13:17:34.664] checking for memory.h... yes [13:17:34.680] checking for strings.h... yes [13:17:34.694] checking for inttypes.h... yes [13:17:34.709] checking for stdint.h... yes [13:17:34.722] checking for unistd.h... yes [13:17:34.735] checking for main in -lm... yes [13:17:34.779] checking for library containing setproctitle... no [13:17:34.861] checking for library containing dlsym... no [13:17:34.942] checking for library containing socket... -lws2_32 [13:17:35.063] checking for library containing getopt_long... none required [13:17:35.107] checking for library containing shm_open... no [13:17:35.190] checking for library containing shm_unlink... no [13:17:35.273] checking for library containing clock_gettime... no [13:17:35.355] checking for library containing shmget... no [13:17:35.437] checking for library containing backtrace_symbols... no [13:17:35.519] checking for library containing pthread_barrier_wait... -lpthread [13:17:35.602] checking for inflate in -lz... yes [13:17:35.645] checking for stdbool.h that conforms to C99... yes [13:17:35.655] checking for _Bool... yes [13:17:35.724] checking atomic.h usability... no [13:17:35.776] checking atomic.h presence... no [13:17:35.793] checking for atomic.h... no [13:17:35.795] checking copyfile.h usability... no [13:17:35.849] checking copyfile.h presence... no [13:17:35.867] checking for copyfile.h... no [13:17:35.870] checking execinfo.h usability... no [13:17:35.922] checking execinfo.h presence... no [13:17:35.939] checking for execinfo.h... no [13:17:35.942] checking getopt.h usability... yes [13:17:35.948] checking getopt.h presence... yes [13:17:35.962] checking for getopt.h... yes [13:17:35.968] checking ifaddrs.h usability... no [13:17:36.020] checking ifaddrs.h presence... no [13:17:36.037] checking for ifaddrs.h... no [13:17:36.040] checking mbarrier.h usability... no [13:17:36.092] checking mbarrier.h presence... no [13:17:36.109] checking for mbarrier.h... no [13:17:36.112] checking sys/epoll.h usability... no [13:17:36.164] checking sys/epoll.h presence... no [13:17:36.182] checking for sys/epoll.h... no [13:17:36.185] checking sys/event.h usability... no [13:17:36.236] checking sys/event.h presence... no [13:17:36.254] checking for sys/event.h... no [13:17:36.257] checking sys/personality.h usability... no [13:17:36.310] checking sys/personality.h presence... no [13:17:36.328] checking for sys/personality.h... no [13:17:36.331] checking sys/prctl.h usability... no [13:17:36.384] checking sys/prctl.h presence... no [13:17:36.402] checking for sys/prctl.h... no [13:17:36.405] checking sys/procctl.h usability... no [13:17:36.456] checking sys/procctl.h presence... no [13:17:36.474] checking for sys/procctl.h... no [13:17:36.476] checking sys/signalfd.h usability... no [13:17:36.528] checking sys/signalfd.h presence... no [13:17:36.546] checking for sys/signalfd.h... no [13:17:36.549] checking sys/ucred.h usability... no [13:17:36.601] checking sys/ucred.h presence... no [13:17:36.618] checking for sys/ucred.h... no [13:17:36.621] checking termios.h usability... no [13:17:36.672] checking termios.h presence... no [13:17:36.689] checking for termios.h... no [13:17:36.692] checking ucred.h usability... no [13:17:36.743] checking ucred.h presence... no [13:17:36.760] checking for ucred.h... no [13:17:36.763] checking xlocale.h usability... no [13:17:36.815] checking xlocale.h presence... no [13:17:36.833] checking for xlocale.h... no [13:17:36.835] checking zlib.h usability... yes [13:17:36.844] checking zlib.h presence... yes [13:17:36.862] checking for zlib.h... yes [13:17:36.862] checking for lz4... /usr/bin/lz4 [13:17:36.862] checking for zstd... /usr/bin/zstd [13:17:36.862] checking for openssl... /usr/bin/openssl [13:17:36.866] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [13:17:36.867] checking crtdefs.h usability... yes [13:17:36.873] checking crtdefs.h presence... yes [13:17:36.887] checking for crtdefs.h... yes [13:17:36.888] checking whether byte ordering is bigendian... no [13:17:36.954] checking for inline... inline [13:17:36.961] checking for printf format archetype... gnu_printf [13:17:36.968] checking for _Static_assert... yes [13:17:37.007] checking for typeof... typeof [13:17:37.014] checking for __builtin_types_compatible_p... yes [13:17:37.024] checking for __builtin_constant_p... yes [13:17:37.033] checking for __builtin_unreachable... yes [13:17:37.070] checking for computed goto support... yes [13:17:37.077] checking for struct tm.tm_zone... no [13:17:37.145] checking for union semun... no [13:17:37.176] checking for socklen_t... yes [13:17:38.285] checking for struct sockaddr.sa_len... no [13:17:40.215] checking for C/C++ restrict keyword... __restrict [13:17:40.227] checking for struct option... yes [13:17:40.266] checking whether assembler supports x86_64 popcntq... yes [13:17:40.273] checking size of off_t... 4 [13:17:40.469] 0 [13:17:40.469] checking size of bool... 1 [13:17:40.511] checking for int timezone... yes [13:17:40.562] checking for backtrace_symbols... no [13:17:40.609] checking for copyfile... no [13:17:40.654] checking for copy_file_range... no [13:17:40.700] checking for getifaddrs... no [13:17:40.748] checking for getpeerucred... no [13:17:40.794] checking for inet_pton... yes [13:17:40.842] checking for kqueue... no [13:17:40.888] checking for mbstowcs_l... no [13:17:40.933] checking for memset_s... no [13:17:40.979] checking for posix_fallocate... no [13:17:41.025] checking for ppoll... no [13:17:41.072] checking for pthread_is_threaded_np... no [13:17:41.118] checking for setproctitle... no [13:17:41.165] checking for setproctitle_fast... no [13:17:41.211] checking for strchrnul... no [13:17:41.257] checking for strsignal... no [13:17:41.303] checking for syncfs... no [13:17:41.349] checking for sync_file_range... no [13:17:41.396] checking for uselocale... no [13:17:41.443] checking for wcstombs_l... no [13:17:41.487] checking for __builtin_bswap16... yes [13:17:41.532] checking for __builtin_bswap32... yes [13:17:41.577] checking for __builtin_bswap64... yes [13:17:41.621] checking for __builtin_clz... yes [13:17:41.666] checking for __builtin_ctz... yes [13:17:41.709] checking for __builtin_popcount... yes [13:17:41.753] checking for __builtin_frame_address... yes [13:17:41.797] checking for _LARGEFILE_SOURCE value needed for large files... no [13:17:41.847] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:17:41.875] checking for posix_fadvise... no [13:17:41.922] checking whether posix_fadvise is declared... no [13:17:41.963] checking whether fdatasync is declared... no [13:17:42.007] checking whether strlcat is declared... no [13:17:42.067] checking whether strlcpy is declared... no [13:17:42.125] checking whether strnlen is declared... yes [13:17:42.138] checking whether strsep is declared... no [13:17:42.197] checking whether preadv is declared... no [13:17:42.229] checking whether pwritev is declared... no [13:17:42.263] checking whether F_FULLFSYNC is declared... no [13:17:42.300] checking for explicit_bzero... no [13:17:42.344] checking for getopt... yes [13:17:42.386] checking for getpeereid... no [13:17:42.430] checking for inet_aton... no [13:17:42.475] checking for mkdtemp... no [13:17:42.519] checking for strlcat... no [13:17:42.565] checking for strlcpy... no [13:17:42.611] checking for strnlen... yes [13:17:42.655] checking for strsep... no [13:17:42.700] checking for pthread_barrier_wait... yes [13:17:42.743] configure: On mingw32 we will use our strtof wrapper. [13:17:42.743] checking for getopt_long... yes [13:17:42.785] checking for _configthreadlocale... yes [13:17:42.827] checking for syslog... no [13:17:42.872] checking for opterr... yes [13:17:42.916] checking for optreset... no [13:17:42.963] checking test program... cross-compiling [13:17:42.963] checking whether long int is 64 bits... no [13:17:42.992] checking whether long long int is 64 bits... yes [13:17:43.000] checking for __builtin_mul_overflow... yes [13:17:43.039] checking size of void *... 8 [13:17:43.288] checking size of size_t... 8 [13:17:43.540] checking size of long... 4 [13:17:43.727] checking alignment of short... 2 [13:17:43.859] checking alignment of int... 4 [13:17:44.048] checking alignment of long... 4 [13:17:44.237] checking alignment of long long int... 8 [13:17:44.489] checking alignment of double... 8 [13:17:44.745] checking for __int128... yes [13:17:44.792] checking for __int128 alignment bug... assuming ok [13:17:44.792] checking alignment of PG_INT128_TYPE... 16 [13:17:45.108] checking for builtin __sync char locking functions... yes [13:17:45.146] checking for builtin __sync int32 locking functions... yes [13:17:45.183] checking for builtin __sync int32 atomic operations... yes [13:17:45.222] checking for builtin __sync int64 atomic operations... yes [13:17:45.260] checking for builtin __atomic int32 atomic operations... yes [13:17:45.299] checking for builtin __atomic int64 atomic operations... yes [13:17:45.338] checking for __get_cpuid... yes [13:17:45.381] checking for __get_cpuid_count... yes [13:17:45.422] checking for __cpuid... no [13:17:45.810] checking for __cpuidex... no [13:17:46.220] checking for _xgetbv... yes [13:17:46.617] checking for _mm512_popcnt_epi64... yes [13:17:47.026] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [13:17:47.071] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [13:17:47.154] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:17:47.176] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:17:47.194] 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 [13:17:47.247] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:17:47.247] checking which random number source to use... Windows native [13:17:47.249] checking for xmllint... /usr/bin/xmllint [13:17:47.249] checking for xsltproc... /usr/bin/xsltproc [13:17:47.249] checking for fop... /usr/bin/fop [13:17:47.249] checking for dbtoepub... no [13:17:47.250] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:17:47.250] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:17:47.250] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:17:47.260] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:17:47.260] 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 [13:17:47.260] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:17:47.260] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:17:47.342] configure: creating ./config.status [13:17:47.424] config.status: creating GNUmakefile [13:17:47.436] config.status: creating src/Makefile.global [13:17:47.451] config.status: creating src/include/pg_config.h [13:17:47.463] config.status: creating src/include/pg_config_ext.h [13:17:47.475] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:17:47.489] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:17:47.496] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:17:47.504] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:17:47.511] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:17:47.518] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:17:47.521] config.status: executing check_win32_symlinks commands [13:17:47.553] [13:17:47.553] real 0m14.457s [13:17:47.553] user 0m9.629s [13:17:47.553] sys 0m4.473s [13:17:47.553] make -s -j${BUILD_JOBS} clean [13:17:48.048] time make -s -j${BUILD_JOBS} world-bin [13:17:53.050] smgr.c: In function ‘smgrdestroy’: [13:17:53.050] smgr.c:282:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [13:17:53.050] 282 | ForkNumber forknum; [13:17:53.050] | ^~~~~~~ [13:17:53.050] smgr.c: In function ‘smgrdounlinkall’: [13:17:53.050] smgr.c:487:41: error: unused variable ‘which’ [-Werror=unused-variable] [13:17:53.050] 487 | int which = rels[i]->smgr_which; [13:17:53.050] | ^~~~~ [13:17:53.050] cc1: all warnings being treated as errors [13:17:53.052] make[4]: *** [: smgr.o] Error 1 [13:17:53.052] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [13:17:53.052] make[2]: *** [common.mk:37: storage-recursive] Error 2 [13:17:53.052] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:17:53.053] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:17:53.053] [13:17:53.053] real 0m5.005s [13:17:53.053] user 0m8.340s [13:17:53.053] sys 0m6.094s [13:17:53.053] [13:17:53.053] Exit status: 2