[00:24:05.246] time ./configure \ [00:24:05.246] --host=x86_64-w64-mingw32 \ [00:24:05.246] --enable-cassert \ [00:24:05.246] --without-icu \ [00:24:05.246] CC="ccache x86_64-w64-mingw32-gcc" \ [00:24:05.246] CXX="ccache x86_64-w64-mingw32-g++" [00:24:05.357] checking build system type... x86_64-pc-linux-gnu [00:24:05.548] checking host system type... x86_64-w64-mingw32 [00:24:05.553] checking which template to use... win32 [00:24:05.554] checking whether NLS is wanted... no [00:24:05.554] checking for default port number... 5432 [00:24:05.560] checking for block size... 8kB [00:24:05.562] checking for segment size... 1GB [00:24:05.564] checking for WAL block size... 8kB [00:24:05.565] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:24:05.601] checking whether the C compiler works... yes [00:24:05.741] checking for C compiler default output file name... a.exe [00:24:05.743] checking for suffix of executables... .exe [00:24:05.784] checking whether we are cross compiling... yes [00:24:05.857] checking for suffix of object files... o [00:24:05.865] checking whether we are using the GNU C compiler... yes [00:24:05.871] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:24:05.877] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:24:05.888] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:24:05.943] checking whether we are using the GNU C++ compiler... yes [00:24:05.949] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:24:06.020] checking for gawk... no [00:24:06.020] checking for mawk... mawk [00:24:06.022] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:24:06.029] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:24:06.036] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:24:06.082] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:24:06.264] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:24:06.271] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:24:06.277] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:24:06.284] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:24:06.290] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:24:06.296] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:24:06.302] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:24:06.309] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:24:06.315] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:24:06.321] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:24:06.328] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:24:06.334] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:24:06.340] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:24:06.376] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:24:06.383] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:24:06.390] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:24:06.397] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:24:06.404] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:24:06.411] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:24:06.434] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:24:06.440] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:24:06.448] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:24:06.485] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:24:06.524] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:24:06.531] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:24:06.538] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:24:06.572] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:24:06.579] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:24:06.585] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:24:06.593] checking whether the C compiler still works... yes [00:24:06.662] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:24:06.736] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:24:06.736] checking pkg-config is at least version 0.9.0... yes [00:24:06.754] checking whether to build with ICU support... no [00:24:06.754] checking whether to build with Tcl... no [00:24:06.755] checking whether to build Perl modules... no [00:24:06.755] checking whether to build Python modules... no [00:24:06.755] checking whether to build with GSSAPI support... no [00:24:06.756] checking whether to build with PAM support... no [00:24:06.756] checking whether to build with BSD Authentication support... no [00:24:06.756] checking whether to build with LDAP support... no [00:24:06.756] checking whether to build with Bonjour support... no [00:24:06.756] checking whether to build with SELinux support... no [00:24:06.756] checking whether to build with systemd support... no [00:24:06.756] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:24:06.757] checking whether to build with XML support... no [00:24:06.757] checking whether to build with LZ4 support... no [00:24:06.757] checking whether to build with ZSTD support... no [00:24:06.757] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:24:06.758] checking whether it is possible to strip libraries... yes [00:24:06.766] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:24:06.767] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:24:06.767] checking for a BSD-compatible install... /usr/bin/install -c [00:24:06.776] checking for tar... /usr/bin/tar [00:24:06.776] checking whether ln -s works... yes [00:24:06.776] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:24:06.778] checking for bison... /usr/bin/bison [00:24:06.781] configure: using bison (GNU Bison) 3.8.2 [00:24:06.783] checking for flex... /usr/bin/flex [00:24:06.795] configure: using flex 2.6.4 [00:24:06.795] checking for perl... /usr/bin/perl [00:24:06.798] configure: using perl 5.36.0 [00:24:06.800] checking for zic... /usr/sbin/zic [00:24:06.800] checking for a sed that does not truncate output... /usr/bin/sed [00:24:06.805] checking for grep that handles long lines and -e... /usr/bin/grep [00:24:06.807] checking for egrep... /usr/bin/grep -E [00:24:06.809] checking for ANSI C header files... yes [00:24:06.854] checking for sys/types.h... yes [00:24:06.871] checking for sys/stat.h... yes [00:24:06.887] checking for stdlib.h... yes [00:24:06.900] checking for string.h... yes [00:24:06.913] checking for memory.h... yes [00:24:06.928] checking for strings.h... yes [00:24:06.943] checking for inttypes.h... yes [00:24:06.959] checking for stdint.h... yes [00:24:06.974] checking for unistd.h... yes [00:24:06.990] checking for main in -lm... yes [00:24:07.038] checking for library containing setproctitle... no [00:24:07.130] checking for library containing dlsym... no [00:24:07.217] checking for library containing socket... -lws2_32 [00:24:07.348] checking for library containing getopt_long... none required [00:24:07.394] checking for library containing shm_open... no [00:24:07.479] checking for library containing shm_unlink... no [00:24:07.565] checking for library containing clock_gettime... no [00:24:07.650] checking for library containing shmget... no [00:24:07.738] checking for library containing backtrace_symbols... no [00:24:07.824] checking for library containing pthread_barrier_wait... -lpthread [00:24:07.915] checking for inflate in -lz... yes [00:24:07.962] checking for stdbool.h that conforms to C99... yes [00:24:07.973] checking for _Bool... yes [00:24:08.044] checking atomic.h usability... no [00:24:08.099] checking atomic.h presence... no [00:24:08.118] checking for atomic.h... no [00:24:08.121] checking copyfile.h usability... no [00:24:08.176] checking copyfile.h presence... no [00:24:08.195] checking for copyfile.h... no [00:24:08.197] checking execinfo.h usability... no [00:24:08.252] checking execinfo.h presence... no [00:24:08.271] checking for execinfo.h... no [00:24:08.274] checking getopt.h usability... yes [00:24:08.282] checking getopt.h presence... yes [00:24:08.296] checking for getopt.h... yes [00:24:08.303] checking ifaddrs.h usability... no [00:24:08.357] checking ifaddrs.h presence... no [00:24:08.375] checking for ifaddrs.h... no [00:24:08.378] checking mbarrier.h usability... no [00:24:08.432] checking mbarrier.h presence... no [00:24:08.451] checking for mbarrier.h... no [00:24:08.454] checking sys/epoll.h usability... no [00:24:08.508] checking sys/epoll.h presence... no [00:24:08.527] checking for sys/epoll.h... no [00:24:08.530] checking sys/event.h usability... no [00:24:08.585] checking sys/event.h presence... no [00:24:08.604] checking for sys/event.h... no [00:24:08.607] checking sys/personality.h usability... no [00:24:08.661] checking sys/personality.h presence... no [00:24:08.679] checking for sys/personality.h... no [00:24:08.682] checking sys/prctl.h usability... no [00:24:08.735] checking sys/prctl.h presence... no [00:24:08.752] checking for sys/prctl.h... no [00:24:08.755] checking sys/procctl.h usability... no [00:24:08.807] checking sys/procctl.h presence... no [00:24:08.825] checking for sys/procctl.h... no [00:24:08.828] checking sys/signalfd.h usability... no [00:24:08.881] checking sys/signalfd.h presence... no [00:24:08.899] checking for sys/signalfd.h... no [00:24:08.902] checking sys/ucred.h usability... no [00:24:08.956] checking sys/ucred.h presence... no [00:24:08.974] checking for sys/ucred.h... no [00:24:08.978] checking termios.h usability... no [00:24:09.031] checking termios.h presence... no [00:24:09.049] checking for termios.h... no [00:24:09.052] checking ucred.h usability... no [00:24:09.106] checking ucred.h presence... no [00:24:09.123] checking for ucred.h... no [00:24:09.126] checking xlocale.h usability... no [00:24:09.179] checking xlocale.h presence... no [00:24:09.197] checking for xlocale.h... no [00:24:09.200] checking zlib.h usability... yes [00:24:09.209] checking zlib.h presence... yes [00:24:09.227] checking for zlib.h... yes [00:24:09.227] checking for lz4... /usr/bin/lz4 [00:24:09.228] checking for zstd... /usr/bin/zstd [00:24:09.228] checking for openssl... /usr/bin/openssl [00:24:09.232] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [00:24:09.233] checking crtdefs.h usability... yes [00:24:09.240] checking crtdefs.h presence... yes [00:24:09.254] checking for crtdefs.h... yes [00:24:09.255] checking whether byte ordering is bigendian... no [00:24:09.325] checking for inline... inline [00:24:09.332] checking for printf format archetype... gnu_printf [00:24:09.340] checking for _Static_assert... yes [00:24:09.382] checking for typeof... typeof [00:24:09.389] checking for __builtin_types_compatible_p... yes [00:24:09.399] checking for __builtin_constant_p... yes [00:24:09.409] checking for __builtin_unreachable... yes [00:24:09.450] checking for computed goto support... yes [00:24:09.457] checking for struct tm.tm_zone... no [00:24:09.533] checking for union semun... no [00:24:09.565] checking for socklen_t... yes [00:24:10.759] checking for struct sockaddr.sa_len... no [00:24:12.858] checking for C/C++ restrict keyword... __restrict [00:24:12.871] checking for struct option... yes [00:24:12.913] checking whether assembler supports x86_64 popcntq... yes [00:24:12.920] checking size of off_t... 4 [00:24:13.124] 0 [00:24:13.125] checking size of bool... 1 [00:24:13.169] checking for int timezone... yes [00:24:13.223] checking for backtrace_symbols... no [00:24:13.271] checking for copyfile... no [00:24:13.322] checking for copy_file_range... no [00:24:13.371] checking for getifaddrs... no [00:24:13.419] checking for getpeerucred... no [00:24:13.468] checking for inet_pton... yes [00:24:13.519] checking for kqueue... no [00:24:13.570] checking for mbstowcs_l... no [00:24:13.622] checking for memset_s... no [00:24:13.673] checking for posix_fallocate... no [00:24:13.723] checking for ppoll... no [00:24:13.774] checking for pthread_is_threaded_np... no [00:24:13.822] checking for setproctitle... no [00:24:13.871] checking for setproctitle_fast... no [00:24:13.920] checking for strchrnul... no [00:24:13.969] checking for strsignal... no [00:24:14.018] checking for syncfs... no [00:24:14.067] checking for sync_file_range... no [00:24:14.116] checking for uselocale... no [00:24:14.164] checking for wcstombs_l... no [00:24:14.210] checking for __builtin_bswap16... yes [00:24:14.258] checking for __builtin_bswap32... yes [00:24:14.304] checking for __builtin_bswap64... yes [00:24:14.350] checking for __builtin_clz... yes [00:24:14.398] checking for __builtin_ctz... yes [00:24:14.445] checking for __builtin_popcount... yes [00:24:14.492] checking for __builtin_frame_address... yes [00:24:14.540] checking for _LARGEFILE_SOURCE value needed for large files... no [00:24:14.592] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:24:14.625] checking for posix_fadvise... no [00:24:14.677] checking whether posix_fadvise is declared... no [00:24:14.725] checking whether fdatasync is declared... no [00:24:14.771] checking whether strlcat is declared... no [00:24:14.831] checking whether strlcpy is declared... no [00:24:14.894] checking whether strnlen is declared... yes [00:24:14.908] checking whether strsep is declared... no [00:24:14.970] checking whether preadv is declared... no [00:24:15.005] checking whether pwritev is declared... no [00:24:15.039] checking whether F_FULLFSYNC is declared... no [00:24:15.076] checking for explicit_bzero... no [00:24:15.122] checking for getopt... yes [00:24:15.165] checking for getpeereid... no [00:24:15.210] checking for inet_aton... no [00:24:15.256] checking for mkdtemp... no [00:24:15.303] checking for strlcat... no [00:24:15.354] checking for strlcpy... no [00:24:15.400] checking for strnlen... yes [00:24:15.446] checking for strsep... no [00:24:15.492] checking for pthread_barrier_wait... yes [00:24:15.535] configure: On mingw32 we will use our strtof wrapper. [00:24:15.535] checking for getopt_long... yes [00:24:15.579] checking for _configthreadlocale... yes [00:24:15.626] checking for syslog... no [00:24:15.673] checking for opterr... yes [00:24:15.722] checking for optreset... no [00:24:15.773] checking test program... cross-compiling [00:24:15.773] checking whether long int is 64 bits... no [00:24:15.804] checking whether long long int is 64 bits... yes [00:24:15.813] checking for __builtin_mul_overflow... yes [00:24:15.854] checking size of void *... 8 [00:24:16.120] checking size of size_t... 8 [00:24:16.380] checking size of long... 4 [00:24:16.577] checking alignment of short... 2 [00:24:16.713] checking alignment of int... 4 [00:24:16.910] checking alignment of long... 4 [00:24:17.114] checking alignment of long long int... 8 [00:24:17.380] checking alignment of double... 8 [00:24:17.647] checking for int8... no [00:24:17.689] checking for uint8... no [00:24:17.732] checking for int64... no [00:24:17.776] checking for uint64... no [00:24:17.820] checking for __int128... yes [00:24:17.870] checking for __int128 alignment bug... assuming ok [00:24:17.870] checking alignment of PG_INT128_TYPE... 16 [00:24:18.216] checking for builtin __sync char locking functions... yes [00:24:18.259] checking for builtin __sync int32 locking functions... yes [00:24:18.304] checking for builtin __sync int32 atomic operations... yes [00:24:18.348] checking for builtin __sync int64 atomic operations... yes [00:24:18.392] checking for builtin __atomic int32 atomic operations... yes [00:24:18.436] checking for builtin __atomic int64 atomic operations... yes [00:24:18.480] checking for __get_cpuid... yes [00:24:18.528] checking for __get_cpuid_count... yes [00:24:18.574] checking for __cpuid... no [00:24:18.972] checking for __cpuidex... no [00:24:19.388] checking for _xgetbv with CFLAGS=... no [00:24:19.774] checking for _xgetbv with CFLAGS=-mxsave... yes [00:24:20.178] checking for _mm512_popcnt_epi64 with CFLAGS=... no [00:24:20.571] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [00:24:20.918] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [00:24:20.967] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [00:24:21.063] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:24:21.086] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:24:21.107] 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:24:21.164] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:24:21.164] checking which random number source to use... Windows native [00:24:21.166] checking for xmllint... /usr/bin/xmllint [00:24:21.166] checking for xsltproc... /usr/bin/xsltproc [00:24:21.166] checking for fop... /usr/bin/fop [00:24:21.167] checking for dbtoepub... no [00:24:21.167] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:24:21.167] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:24:21.167] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:24:21.178] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:24:21.178] 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:24:21.178] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:24:21.178] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:24:21.264] configure: creating ./config.status [00:24:21.348] config.status: creating GNUmakefile [00:24:21.360] config.status: creating src/Makefile.global [00:24:21.375] config.status: creating src/include/pg_config.h [00:24:21.387] config.status: creating src/include/pg_config_ext.h [00:24:21.398] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:24:21.413] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:24:21.421] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:24:21.428] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:24:21.435] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:24:21.442] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:24:21.445] config.status: executing check_win32_symlinks commands [00:24:21.478] [00:24:21.478] real 0m16.231s [00:24:21.478] user 0m10.971s [00:24:21.478] sys 0m4.879s [00:24:21.478] make -s -j${BUILD_JOBS} clean [00:24:21.980] time make -s -j${BUILD_JOBS} world-bin [00:24:27.547] smgr.c: In function ‘smgrdestroy’: [00:24:27.547] smgr.c:282:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [00:24:27.547] 282 | ForkNumber forknum; [00:24:27.547] | ^~~~~~~ [00:24:27.547] smgr.c: In function ‘smgrdounlinkall’: [00:24:27.547] smgr.c:487:41: error: unused variable ‘which’ [-Werror=unused-variable] [00:24:27.547] 487 | int which = rels[i]->smgr_which; [00:24:27.547] | ^~~~~ [00:24:27.547] cc1: all warnings being treated as errors [00:24:27.547] make[4]: *** [: smgr.o] Error 1 [00:24:27.547] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [00:24:27.548] make[2]: *** [common.mk:37: storage-recursive] Error 2 [00:24:27.548] make[2]: *** Waiting for unfinished jobs.... [00:24:29.272] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:24:29.272] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:24:29.273] [00:24:29.273] real 0m7.293s [00:24:29.273] user 0m15.612s [00:24:29.273] sys 0m6.467s [00:24:29.273] [00:24:29.273] Exit status: 2