[00:27:51.557] time ./configure \ [00:27:51.557] --host=x86_64-w64-mingw32 \ [00:27:51.557] --enable-cassert \ [00:27:51.557] --without-icu \ [00:27:51.557] CC="ccache x86_64-w64-mingw32-gcc" \ [00:27:51.557] CXX="ccache x86_64-w64-mingw32-g++" [00:27:51.668] checking build system type... x86_64-pc-linux-gnu [00:27:51.883] checking host system type... x86_64-w64-mingw32 [00:27:51.888] checking which template to use... win32 [00:27:51.888] checking whether NLS is wanted... no [00:27:51.888] checking for default port number... 5432 [00:27:51.895] checking for block size... 8kB [00:27:51.896] checking for segment size... 1GB [00:27:51.898] checking for WAL block size... 8kB [00:27:51.899] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:27:51.931] checking whether the C compiler works... yes [00:27:52.086] checking for C compiler default output file name... a.exe [00:27:52.087] checking for suffix of executables... .exe [00:27:52.126] checking whether we are cross compiling... yes [00:27:52.219] checking for suffix of object files... o [00:27:52.227] checking whether we are using the GNU C compiler... yes [00:27:52.233] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:27:52.239] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:27:52.248] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:27:52.306] checking whether we are using the GNU C++ compiler... yes [00:27:52.313] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:27:52.375] checking for gawk... no [00:27:52.375] checking for mawk... mawk [00:27:52.377] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:27:52.384] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:27:52.390] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:27:52.432] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:27:52.609] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:27:52.616] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:27:52.623] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:27:52.629] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:27:52.636] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:27:52.642] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:27:52.649] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:27:52.656] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:27:52.662] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:27:52.669] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:27:52.675] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:27:52.682] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:27:52.688] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:27:52.724] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:27:52.732] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:27:52.738] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:27:52.745] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:27:52.751] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:27:52.758] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:27:52.779] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:27:52.786] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:27:52.792] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:27:52.828] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:27:52.866] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:27:52.873] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:27:52.879] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:27:52.913] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:27:52.919] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:27:52.926] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:27:52.934] checking whether the C compiler still works... yes [00:27:53.001] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:27:53.069] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:27:53.070] checking pkg-config is at least version 0.9.0... yes [00:27:53.087] checking whether to build with ICU support... no [00:27:53.088] checking whether to build with Tcl... no [00:27:53.088] checking whether to build Perl modules... no [00:27:53.088] checking whether to build Python modules... no [00:27:53.088] checking whether to build with GSSAPI support... no [00:27:53.090] checking whether to build with PAM support... no [00:27:53.090] checking whether to build with BSD Authentication support... no [00:27:53.090] checking whether to build with LDAP support... no [00:27:53.090] checking whether to build with Bonjour support... no [00:27:53.090] checking whether to build with SELinux support... no [00:27:53.090] checking whether to build with systemd support... no [00:27:53.090] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:27:53.090] checking whether to build with XML support... no [00:27:53.091] checking whether to build with LZ4 support... no [00:27:53.091] checking whether to build with ZSTD support... no [00:27:53.091] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:27:53.091] checking whether it is possible to strip libraries... yes [00:27:53.099] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:27:53.100] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:27:53.100] checking for a BSD-compatible install... /usr/bin/install -c [00:27:53.109] checking for tar... /usr/bin/tar [00:27:53.109] checking whether ln -s works... yes [00:27:53.109] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:27:53.112] checking for bison... /usr/bin/bison [00:27:53.114] configure: using bison (GNU Bison) 3.8.2 [00:27:53.117] checking for flex... /usr/bin/flex [00:27:53.129] configure: using flex 2.6.4 [00:27:53.129] checking for perl... /usr/bin/perl [00:27:53.132] configure: using perl 5.36.0 [00:27:53.134] checking for zic... /usr/sbin/zic [00:27:53.135] checking for a sed that does not truncate output... /usr/bin/sed [00:27:53.140] checking for grep that handles long lines and -e... /usr/bin/grep [00:27:53.142] checking for egrep... /usr/bin/grep -E [00:27:53.144] checking for ANSI C header files... yes [00:27:53.190] checking for sys/types.h... yes [00:27:53.208] checking for sys/stat.h... yes [00:27:53.225] checking for stdlib.h... yes [00:27:53.239] checking for string.h... yes [00:27:53.254] checking for memory.h... yes [00:27:53.269] checking for strings.h... yes [00:27:53.287] checking for inttypes.h... yes [00:27:53.304] checking for stdint.h... yes [00:27:53.317] checking for unistd.h... yes [00:27:53.331] checking for main in -lm... yes [00:27:53.378] checking for library containing setproctitle... no [00:27:53.461] checking for library containing dlsym... no [00:27:53.543] checking for library containing socket... -lws2_32 [00:27:53.667] checking for library containing getopt_long... none required [00:27:53.716] checking for library containing shm_open... no [00:27:53.807] checking for library containing shm_unlink... no [00:27:53.893] checking for library containing clock_gettime... no [00:27:53.979] checking for library containing shmget... no [00:27:54.064] checking for library containing backtrace_symbols... no [00:27:54.149] checking for library containing pthread_barrier_wait... -lpthread [00:27:54.238] checking for inflate in -lz... yes [00:27:54.285] checking atomic.h usability... no [00:27:54.343] checking atomic.h presence... no [00:27:54.360] checking for atomic.h... no [00:27:54.363] checking copyfile.h usability... no [00:27:54.415] checking copyfile.h presence... no [00:27:54.433] checking for copyfile.h... no [00:27:54.436] checking execinfo.h usability... no [00:27:54.488] checking execinfo.h presence... no [00:27:54.506] checking for execinfo.h... no [00:27:54.509] checking getopt.h usability... yes [00:27:54.516] checking getopt.h presence... yes [00:27:54.529] checking for getopt.h... yes [00:27:54.536] checking ifaddrs.h usability... no [00:27:54.588] checking ifaddrs.h presence... no [00:27:54.605] checking for ifaddrs.h... no [00:27:54.608] checking mbarrier.h usability... no [00:27:54.661] checking mbarrier.h presence... no [00:27:54.679] checking for mbarrier.h... no [00:27:54.683] checking sys/epoll.h usability... no [00:27:54.739] checking sys/epoll.h presence... no [00:27:54.757] checking for sys/epoll.h... no [00:27:54.760] checking sys/event.h usability... no [00:27:54.815] checking sys/event.h presence... no [00:27:54.834] checking for sys/event.h... no [00:27:54.837] checking sys/personality.h usability... no [00:27:54.889] checking sys/personality.h presence... no [00:27:54.907] checking for sys/personality.h... no [00:27:54.910] checking sys/prctl.h usability... no [00:27:54.963] checking sys/prctl.h presence... no [00:27:54.981] checking for sys/prctl.h... no [00:27:54.984] checking sys/procctl.h usability... no [00:27:55.037] checking sys/procctl.h presence... no [00:27:55.055] checking for sys/procctl.h... no [00:27:55.059] checking sys/signalfd.h usability... no [00:27:55.113] checking sys/signalfd.h presence... no [00:27:55.132] checking for sys/signalfd.h... no [00:27:55.136] checking sys/ucred.h usability... no [00:27:55.189] checking sys/ucred.h presence... no [00:27:55.207] checking for sys/ucred.h... no [00:27:55.210] checking termios.h usability... no [00:27:55.264] checking termios.h presence... no [00:27:55.281] checking for termios.h... no [00:27:55.284] checking ucred.h usability... no [00:27:55.337] checking ucred.h presence... no [00:27:55.355] checking for ucred.h... no [00:27:55.358] checking xlocale.h usability... no [00:27:55.411] checking xlocale.h presence... no [00:27:55.430] checking for xlocale.h... no [00:27:55.433] checking zlib.h usability... yes [00:27:55.442] checking zlib.h presence... yes [00:27:55.460] checking for zlib.h... yes [00:27:55.460] checking for lz4... /usr/bin/lz4 [00:27:55.460] checking for zstd... /usr/bin/zstd [00:27:55.461] checking for openssl... /usr/bin/openssl [00:27:55.466] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [00:27:55.466] checking crtdefs.h usability... yes [00:27:55.475] checking crtdefs.h presence... yes [00:27:55.489] checking for crtdefs.h... yes [00:27:55.491] checking whether byte ordering is bigendian... no [00:27:55.562] checking for inline... inline [00:27:55.569] checking for printf format archetype... gnu_printf [00:27:55.577] checking for _Static_assert... yes [00:27:55.617] checking for typeof... typeof [00:27:55.624] checking for __builtin_types_compatible_p... yes [00:27:55.635] checking for __builtin_constant_p... yes [00:27:55.645] checking for __builtin_unreachable... yes [00:27:55.686] checking for computed goto support... yes [00:27:55.693] checking for struct tm.tm_zone... no [00:27:55.768] checking for union semun... no [00:27:55.799] checking for socklen_t... yes [00:27:56.957] checking for struct sockaddr.sa_len... no [00:27:58.938] checking for C/C++ restrict keyword... __restrict [00:27:58.950] checking for struct option... yes [00:27:58.990] checking whether assembler supports x86_64 popcntq... yes [00:27:58.997] checking size of off_t... 4 [00:27:59.192] 0 [00:27:59.192] checking size of bool... 1 [00:27:59.234] checking for int timezone... yes [00:27:59.287] checking for backtrace_symbols... no [00:27:59.336] checking for copyfile... no [00:27:59.383] checking for copy_file_range... no [00:27:59.431] checking for elf_aux_info... no [00:27:59.482] checking for getauxval... no [00:27:59.533] checking for getifaddrs... no [00:27:59.585] checking for getpeerucred... no [00:27:59.634] checking for inet_pton... yes [00:27:59.684] checking for kqueue... no [00:27:59.733] checking for mbstowcs_l... no [00:27:59.782] checking for memset_s... no [00:27:59.833] checking for posix_fallocate... no [00:27:59.882] checking for ppoll... no [00:27:59.931] checking for pthread_is_threaded_np... no [00:27:59.978] checking for setproctitle... no [00:28:00.027] checking for setproctitle_fast... no [00:28:00.074] checking for strchrnul... no [00:28:00.122] checking for strsignal... no [00:28:00.169] checking for syncfs... no [00:28:00.217] checking for sync_file_range... no [00:28:00.264] checking for uselocale... no [00:28:00.312] checking for wcstombs_l... no [00:28:00.356] checking for __builtin_bswap16... yes [00:28:00.403] checking for __builtin_bswap32... yes [00:28:00.450] checking for __builtin_bswap64... yes [00:28:00.496] checking for __builtin_clz... yes [00:28:00.543] checking for __builtin_ctz... yes [00:28:00.588] checking for __builtin_popcount... yes [00:28:00.633] checking for __builtin_frame_address... yes [00:28:00.680] checking for _LARGEFILE_SOURCE value needed for large files... no [00:28:00.731] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:28:00.759] checking for posix_fadvise... no [00:28:00.809] checking whether posix_fadvise is declared... no [00:28:00.852] checking whether fdatasync is declared... no [00:28:00.896] checking whether strlcat is declared... no [00:28:00.956] checking whether strlcpy is declared... no [00:28:01.016] checking whether strnlen is declared... yes [00:28:01.029] checking whether strsep is declared... no [00:28:01.090] checking whether preadv is declared... no [00:28:01.123] checking whether pwritev is declared... no [00:28:01.157] checking whether F_FULLFSYNC is declared... no [00:28:01.196] checking for explicit_bzero... no [00:28:01.242] checking for getopt... yes [00:28:01.284] checking for getpeereid... no [00:28:01.329] checking for inet_aton... no [00:28:01.374] checking for mkdtemp... no [00:28:01.420] checking for strlcat... no [00:28:01.465] checking for strlcpy... no [00:28:01.510] checking for strnlen... yes [00:28:01.555] checking for strsep... no [00:28:01.600] checking for pthread_barrier_wait... yes [00:28:01.642] configure: On mingw32 we will use our strtof wrapper. [00:28:01.643] checking for getopt_long... yes [00:28:01.687] checking for _configthreadlocale... yes [00:28:01.730] checking for syslog... no [00:28:01.775] checking for opterr... yes [00:28:01.821] checking for optreset... no [00:28:01.871] checking test program... cross-compiling [00:28:01.871] checking whether long int is 64 bits... no [00:28:01.901] checking whether long long int is 64 bits... yes [00:28:01.910] checking for __builtin_mul_overflow... yes [00:28:01.954] checking size of void *... 8 [00:28:02.209] checking size of size_t... 8 [00:28:02.463] checking size of long... 4 [00:28:02.660] checking alignment of short... 2 [00:28:02.793] checking alignment of int... 4 [00:28:02.989] checking alignment of long... 4 [00:28:03.189] checking alignment of long long int... 8 [00:28:03.454] checking alignment of double... 8 [00:28:03.713] checking for __int128... yes [00:28:03.761] checking for __int128 alignment bug... assuming ok [00:28:03.761] checking alignment of PG_INT128_TYPE... 16 [00:28:04.088] checking for builtin __sync char locking functions... yes [00:28:04.128] checking for builtin __sync int32 locking functions... yes [00:28:04.170] checking for builtin __sync int32 atomic operations... yes [00:28:04.210] checking for builtin __sync int64 atomic operations... yes [00:28:04.251] checking for builtin __atomic int32 atomic operations... yes [00:28:04.292] checking for builtin __atomic int64 atomic operations... yes [00:28:04.332] checking for __get_cpuid... yes [00:28:04.376] checking for __get_cpuid_count... yes [00:28:04.418] checking for __cpuid... no [00:28:04.814] checking for __cpuidex... no [00:28:05.234] checking for _xgetbv... yes [00:28:05.637] checking for _mm512_popcnt_epi64... yes [00:28:06.058] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [00:28:06.104] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [00:28:06.190] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:28:06.212] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [00:28:06.231] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:28:06.249] 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 [00:28:06.302] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:28:06.302] checking which random number source to use... Windows native [00:28:06.304] checking for xmllint... /usr/bin/xmllint [00:28:06.304] checking for xsltproc... /usr/bin/xsltproc [00:28:06.304] checking for fop... /usr/bin/fop [00:28:06.305] checking for dbtoepub... no [00:28:06.305] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:28:06.305] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:28:06.305] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:28:06.316] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:28:06.316] 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 [00:28:06.316] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:28:06.316] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:28:06.396] configure: creating ./config.status [00:28:06.477] config.status: creating GNUmakefile [00:28:06.489] config.status: creating src/Makefile.global [00:28:06.503] config.status: creating src/include/pg_config.h [00:28:06.515] config.status: creating src/include/pg_config_ext.h [00:28:06.526] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:28:06.542] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:28:06.550] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:28:06.557] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:28:06.564] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:28:06.571] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:28:06.575] config.status: executing check_win32_symlinks commands [00:28:06.609] [00:28:06.609] real 0m15.052s [00:28:06.609] user 0m9.966s [00:28:06.609] sys 0m4.633s [00:28:06.609] make -s -j${BUILD_JOBS} clean [00:28:07.110] time make -s -j${BUILD_JOBS} world-bin [00:28:12.397] smgr.c: In function ‘smgrdestroy’: [00:28:12.397] smgr.c:282:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [00:28:12.397] 282 | ForkNumber forknum; [00:28:12.397] | ^~~~~~~ [00:28:12.397] smgr.c: In function ‘smgrdounlinkall’: [00:28:12.397] smgr.c:487:41: error: unused variable ‘which’ [-Werror=unused-variable] [00:28:12.397] 487 | int which = rels[i]->smgr_which; [00:28:12.397] | ^~~~~ [00:28:12.397] cc1: all warnings being treated as errors [00:28:12.398] make[4]: *** [: smgr.o] Error 1 [00:28:12.398] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [00:28:12.398] make[2]: *** [common.mk:37: storage-recursive] Error 2 [00:28:12.398] make[2]: *** Waiting for unfinished jobs.... [00:28:12.599] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:28:12.599] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:28:12.599] [00:28:12.599] real 0m5.489s [00:28:12.599] user 0m11.046s [00:28:12.599] sys 0m5.455s [00:28:12.600] [00:28:12.600] Exit status: 2