[09:35:43.277] time ./configure \ [09:35:43.277] --host=x86_64-w64-mingw32 \ [09:35:43.277] --enable-cassert \ [09:35:43.277] --without-icu \ [09:35:43.277] CC="ccache x86_64-w64-mingw32-gcc" \ [09:35:43.277] CXX="ccache x86_64-w64-mingw32-g++" [09:35:43.418] checking build system type... x86_64-pc-linux-gnu [09:35:43.624] checking host system type... x86_64-w64-mingw32 [09:35:43.630] checking which template to use... win32 [09:35:43.630] checking whether NLS is wanted... no [09:35:43.630] checking for default port number... 5432 [09:35:43.637] checking for block size... 8kB [09:35:43.639] checking for segment size... 1GB [09:35:43.642] checking for WAL block size... 8kB [09:35:43.643] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:35:43.683] checking whether the C compiler works... yes [09:35:43.854] checking for C compiler default output file name... a.exe [09:35:43.855] checking for suffix of executables... .exe [09:35:43.902] checking whether we are cross compiling... yes [09:35:43.991] checking for suffix of object files... o [09:35:44.001] checking whether we are using the GNU C compiler... yes [09:35:44.010] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:35:44.018] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:35:44.030] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:35:44.099] checking whether we are using the GNU C++ compiler... yes [09:35:44.107] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:35:44.191] checking for gawk... no [09:35:44.191] checking for mawk... mawk [09:35:44.193] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:35:44.202] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:35:44.210] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:35:44.260] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:35:44.440] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:35:44.448] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:35:44.459] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:35:44.468] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:35:44.476] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:35:44.486] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:35:44.496] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:35:44.506] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:35:44.517] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:35:44.526] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:35:44.534] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:35:44.542] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:35:44.552] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:35:44.594] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:35:44.604] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:35:44.613] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:35:44.622] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:35:44.631] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:35:44.639] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:35:44.667] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:35:44.676] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:35:44.684] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:35:44.726] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:35:44.772] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:35:44.783] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:35:44.794] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:35:44.836] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:35:44.848] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:35:44.857] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:35:44.871] checking whether the C compiler still works... yes [09:35:44.956] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:35:45.045] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:35:45.045] checking pkg-config is at least version 0.9.0... yes [09:35:45.067] checking whether to build with ICU support... no [09:35:45.067] checking whether to build with Tcl... no [09:35:45.067] checking whether to build Perl modules... no [09:35:45.067] checking whether to build Python modules... no [09:35:45.067] checking whether to build with GSSAPI support... no [09:35:45.069] checking whether to build with PAM support... no [09:35:45.069] checking whether to build with BSD Authentication support... no [09:35:45.069] checking whether to build with LDAP support... no [09:35:45.069] checking whether to build with Bonjour support... no [09:35:45.069] checking whether to build with SELinux support... no [09:35:45.069] checking whether to build with systemd support... no [09:35:45.069] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:35:45.069] checking whether to build with XML support... no [09:35:45.070] checking whether to build with LZ4 support... no [09:35:45.070] checking whether to build with ZSTD support... no [09:35:45.070] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:35:45.070] checking whether it is possible to strip libraries... yes [09:35:45.082] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:35:45.083] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:35:45.083] checking for a BSD-compatible install... /usr/bin/install -c [09:35:45.094] checking for tar... /usr/bin/tar [09:35:45.094] checking whether ln -s works... yes [09:35:45.094] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:35:45.097] checking for bison... /usr/bin/bison [09:35:45.100] configure: using bison (GNU Bison) 3.8.2 [09:35:45.103] checking for flex... /usr/bin/flex [09:35:45.117] configure: using flex 2.6.4 [09:35:45.117] checking for perl... /usr/bin/perl [09:35:45.121] configure: using perl 5.36.0 [09:35:45.123] checking for zic... /usr/sbin/zic [09:35:45.123] checking for a sed that does not truncate output... /usr/bin/sed [09:35:45.129] checking for grep that handles long lines and -e... /usr/bin/grep [09:35:45.132] checking for egrep... /usr/bin/grep -E [09:35:45.134] checking for ANSI C header files... yes [09:35:45.193] checking for sys/types.h... yes [09:35:45.215] checking for sys/stat.h... yes [09:35:45.234] checking for stdlib.h... yes [09:35:45.252] checking for string.h... yes [09:35:45.270] checking for memory.h... yes [09:35:45.289] checking for strings.h... yes [09:35:45.308] checking for inttypes.h... yes [09:35:45.331] checking for stdint.h... yes [09:35:45.347] checking for unistd.h... yes [09:35:45.366] checking for main in -lm... yes [09:35:45.421] checking for library containing setproctitle... no [09:35:45.521] checking for library containing dlsym... no [09:35:45.619] checking for library containing socket... -lws2_32 [09:35:45.763] checking for library containing getopt_long... none required [09:35:45.814] checking for library containing shm_open... no [09:35:45.917] checking for library containing shm_unlink... no [09:35:46.021] checking for library containing clock_gettime... no [09:35:46.120] checking for library containing shmget... no [09:35:46.219] checking for library containing backtrace_symbols... no [09:35:46.318] checking for library containing pthread_barrier_wait... -lpthread [09:35:46.420] checking for inflate in -lz... yes [09:35:46.468] checking for stdbool.h that conforms to C99... yes [09:35:46.482] checking for _Bool... yes [09:35:46.563] checking atomic.h usability... no [09:35:46.626] checking atomic.h presence... no [09:35:46.649] checking for atomic.h... no [09:35:46.653] checking copyfile.h usability... no [09:35:46.716] checking copyfile.h presence... no [09:35:46.739] checking for copyfile.h... no [09:35:46.743] checking execinfo.h usability... no [09:35:46.805] checking execinfo.h presence... no [09:35:46.829] checking for execinfo.h... no [09:35:46.833] checking getopt.h usability... yes [09:35:46.843] checking getopt.h presence... yes [09:35:46.862] checking for getopt.h... yes [09:35:46.871] checking ifaddrs.h usability... no [09:35:46.936] checking ifaddrs.h presence... no [09:35:46.959] checking for ifaddrs.h... no [09:35:46.964] checking mbarrier.h usability... no [09:35:47.029] checking mbarrier.h presence... no [09:35:47.051] checking for mbarrier.h... no [09:35:47.055] checking sys/epoll.h usability... no [09:35:47.118] checking sys/epoll.h presence... no [09:35:47.142] checking for sys/epoll.h... no [09:35:47.146] checking sys/event.h usability... no [09:35:47.208] checking sys/event.h presence... no [09:35:47.230] checking for sys/event.h... no [09:35:47.233] checking sys/personality.h usability... no [09:35:47.295] checking sys/personality.h presence... no [09:35:47.316] checking for sys/personality.h... no [09:35:47.319] checking sys/prctl.h usability... no [09:35:47.380] checking sys/prctl.h presence... no [09:35:47.401] checking for sys/prctl.h... no [09:35:47.405] checking sys/procctl.h usability... no [09:35:47.466] checking sys/procctl.h presence... no [09:35:47.487] checking for sys/procctl.h... no [09:35:47.492] checking sys/signalfd.h usability... no [09:35:47.556] checking sys/signalfd.h presence... no [09:35:47.578] checking for sys/signalfd.h... no [09:35:47.582] checking sys/ucred.h usability... no [09:35:47.643] checking sys/ucred.h presence... no [09:35:47.665] checking for sys/ucred.h... no [09:35:47.669] checking termios.h usability... no [09:35:47.732] checking termios.h presence... no [09:35:47.754] checking for termios.h... no [09:35:47.757] checking ucred.h usability... no [09:35:47.817] checking ucred.h presence... no [09:35:47.840] checking for ucred.h... no [09:35:47.845] checking xlocale.h usability... no [09:35:47.907] checking xlocale.h presence... no [09:35:47.929] checking for xlocale.h... no [09:35:47.932] checking zlib.h usability... yes [09:35:47.943] checking zlib.h presence... yes [09:35:47.965] checking for zlib.h... yes [09:35:47.966] checking for lz4... /usr/bin/lz4 [09:35:47.966] checking for zstd... /usr/bin/zstd [09:35:47.966] checking for openssl... /usr/bin/openssl [09:35:47.972] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [09:35:47.972] checking crtdefs.h usability... yes [09:35:47.981] checking crtdefs.h presence... yes [09:35:48.000] checking for crtdefs.h... yes [09:35:48.002] checking whether byte ordering is bigendian... no [09:35:48.090] checking for inline... inline [09:35:48.098] checking for printf format archetype... gnu_printf [09:35:48.109] checking for _Static_assert... yes [09:35:48.155] checking for typeof... typeof [09:35:48.164] checking for __builtin_types_compatible_p... yes [09:35:48.178] checking for __builtin_constant_p... yes [09:35:48.192] checking for __builtin_unreachable... yes [09:35:48.237] checking for computed goto support... yes [09:35:48.246] checking for struct tm.tm_zone... no [09:35:48.335] checking for union semun... no [09:35:48.373] checking for socklen_t... yes [09:35:49.745] checking for struct sockaddr.sa_len... no [09:35:52.271] checking for C/C++ restrict keyword... __restrict [09:35:52.288] checking for struct option... yes [09:35:52.338] checking whether assembler supports x86_64 popcntq... yes [09:35:52.348] checking size of off_t... 4 [09:35:52.583] 0 [09:35:52.583] checking size of bool... 1 [09:35:52.637] checking for int timezone... yes [09:35:52.699] checking for backtrace_symbols... no [09:35:52.754] checking for copyfile... no [09:35:52.811] checking for copy_file_range... no [09:35:52.870] checking for getifaddrs... no [09:35:52.927] checking for getpeerucred... no [09:35:52.984] checking for inet_pton... yes [09:35:53.043] checking for kqueue... no [09:35:53.099] checking for mbstowcs_l... no [09:35:53.159] checking for memset_s... no [09:35:53.217] checking for posix_fallocate... no [09:35:53.274] checking for ppoll... no [09:35:53.331] checking for pthread_is_threaded_np... no [09:35:53.389] checking for setproctitle... no [09:35:53.449] checking for setproctitle_fast... no [09:35:53.509] checking for strchrnul... no [09:35:53.565] checking for strsignal... no [09:35:53.622] checking for syncfs... no [09:35:53.680] checking for sync_file_range... no [09:35:53.737] checking for uselocale... no [09:35:53.794] checking for wcstombs_l... no [09:35:53.849] checking for __builtin_bswap16... yes [09:35:53.905] checking for __builtin_bswap32... yes [09:35:53.962] checking for __builtin_bswap64... yes [09:35:54.017] checking for __builtin_clz... yes [09:35:54.074] checking for __builtin_ctz... yes [09:35:54.131] checking for __builtin_popcount... yes [09:35:54.184] checking for __builtin_frame_address... yes [09:35:54.239] checking for _LARGEFILE_SOURCE value needed for large files... no [09:35:54.300] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:35:54.339] checking for posix_fadvise... no [09:35:54.397] checking whether posix_fadvise is declared... no [09:35:54.452] checking whether fdatasync is declared... no [09:35:54.508] checking whether strlcat is declared... no [09:35:54.580] checking whether strlcpy is declared... no [09:35:54.650] checking whether strnlen is declared... yes [09:35:54.667] checking whether strsep is declared... no [09:35:54.738] checking whether preadv is declared... no [09:35:54.780] checking whether pwritev is declared... no [09:35:54.823] checking whether F_FULLFSYNC is declared... no [09:35:54.868] checking for explicit_bzero... no [09:35:54.922] checking for getopt... yes [09:35:54.971] checking for getpeereid... no [09:35:55.025] checking for inet_aton... no [09:35:55.079] checking for mkdtemp... no [09:35:55.132] checking for strlcat... no [09:35:55.188] checking for strlcpy... no [09:35:55.239] checking for strnlen... yes [09:35:55.296] checking for strsep... no [09:35:55.349] checking for pthread_barrier_wait... yes [09:35:55.399] configure: On mingw32 we will use our strtof wrapper. [09:35:55.399] checking for getopt_long... yes [09:35:55.450] checking for _configthreadlocale... yes [09:35:55.506] checking for syslog... no [09:35:55.559] checking for opterr... yes [09:35:55.611] checking for optreset... no [09:35:55.667] checking test program... cross-compiling [09:35:55.667] checking whether long int is 64 bits... no [09:35:55.702] checking whether long long int is 64 bits... yes [09:35:55.713] checking for __builtin_mul_overflow... yes [09:35:55.761] checking size of void *... 8 [09:35:56.072] checking size of size_t... 8 [09:35:56.375] checking size of long... 4 [09:35:56.610] checking alignment of short... 2 [09:35:56.769] checking alignment of int... 4 [09:35:57.001] checking alignment of long... 4 [09:35:57.231] checking alignment of long long int... 8 [09:35:57.537] checking alignment of double... 8 [09:35:57.839] checking for __int128... yes [09:35:57.896] checking for __int128 alignment bug... assuming ok [09:35:57.896] checking alignment of PG_INT128_TYPE... 16 [09:35:58.291] checking for builtin __sync char locking functions... yes [09:35:58.347] checking for builtin __sync int32 locking functions... yes [09:35:58.400] checking for builtin __sync int32 atomic operations... yes [09:35:58.449] checking for builtin __sync int64 atomic operations... yes [09:35:58.498] checking for builtin __atomic int32 atomic operations... yes [09:35:58.547] checking for builtin __atomic int64 atomic operations... yes [09:35:58.596] checking for __get_cpuid... yes [09:35:58.649] checking for __get_cpuid_count... yes [09:35:58.701] checking for __cpuid... no [09:35:59.129] checking for __cpuidex... no [09:35:59.564] checking for _xgetbv... yes [09:36:00.000] checking for _mm512_popcnt_epi64... yes [09:36:00.452] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:36:00.506] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:36:00.608] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:36:00.636] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:36:00.660] 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 [09:36:00.723] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:36:00.724] checking which random number source to use... Windows native [09:36:00.726] checking for xmllint... /usr/bin/xmllint [09:36:00.726] checking for xsltproc... /usr/bin/xsltproc [09:36:00.726] checking for fop... /usr/bin/fop [09:36:00.726] checking for dbtoepub... no [09:36:00.727] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:36:00.727] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:36:00.727] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:36:00.740] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:36:00.740] 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 [09:36:00.740] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:36:00.740] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:36:00.848] configure: creating ./config.status [09:36:00.949] config.status: creating GNUmakefile [09:36:00.963] config.status: creating src/Makefile.global [09:36:00.981] config.status: creating src/include/pg_config.h [09:36:00.996] config.status: creating src/include/pg_config_ext.h [09:36:01.011] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:36:01.031] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:36:01.040] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:36:01.049] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:36:01.058] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:36:01.067] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:36:01.071] config.status: executing check_win32_symlinks commands [09:36:01.112] [09:36:01.112] real 0m17.835s [09:36:01.112] user 0m11.737s [09:36:01.112] sys 0m5.713s [09:36:01.112] make -s -j${BUILD_JOBS} clean [09:36:01.676] time make -s -j${BUILD_JOBS} world-bin [09:36:07.308] smgr.c: In function ‘smgrdestroy’: [09:36:07.308] smgr.c:282:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [09:36:07.308] 282 | ForkNumber forknum; [09:36:07.308] | ^~~~~~~ [09:36:07.308] smgr.c: In function ‘smgrdounlinkall’: [09:36:07.308] smgr.c:487:41: error: unused variable ‘which’ [-Werror=unused-variable] [09:36:07.308] 487 | int which = rels[i]->smgr_which; [09:36:07.308] | ^~~~~ [09:36:07.308] cc1: all warnings being treated as errors [09:36:07.310] make[4]: *** [: smgr.o] Error 1 [09:36:07.310] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [09:36:07.310] make[2]: *** [common.mk:37: storage-recursive] Error 2 [09:36:07.311] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:36:07.311] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:36:07.312] [09:36:07.312] real 0m5.636s [09:36:07.312] user 0m9.318s [09:36:07.312] sys 0m7.621s [09:36:07.312] [09:36:07.312] Exit status: 2