[04:43:49.994] time ./configure \ [04:43:49.994] --host=x86_64-w64-mingw32 \ [04:43:49.994] --enable-cassert \ [04:43:49.994] --without-icu \ [04:43:49.994] CC="ccache x86_64-w64-mingw32-gcc" \ [04:43:49.994] CXX="ccache x86_64-w64-mingw32-g++" [04:43:50.105] checking build system type... x86_64-pc-linux-gnu [04:43:50.302] checking host system type... x86_64-w64-mingw32 [04:43:50.308] checking which template to use... win32 [04:43:50.308] checking whether NLS is wanted... no [04:43:50.308] checking for default port number... 5432 [04:43:50.314] checking for block size... 8kB [04:43:50.316] checking for segment size... 1GB [04:43:50.318] checking for WAL block size... 8kB [04:43:50.319] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [04:43:50.350] checking whether the C compiler works... yes [04:43:50.491] checking for C compiler default output file name... a.exe [04:43:50.492] checking for suffix of executables... .exe [04:43:50.531] checking whether we are cross compiling... yes [04:43:50.607] checking for suffix of object files... o [04:43:50.616] checking whether we are using the GNU C compiler... yes [04:43:50.647] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [04:43:50.653] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [04:43:50.731] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [04:43:50.791] checking whether we are using the GNU C++ compiler... yes [04:43:50.798] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [04:43:50.864] checking for gawk... no [04:43:50.864] checking for mawk... mawk [04:43:50.867] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [04:43:50.873] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [04:43:50.880] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [04:43:50.924] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [04:43:51.088] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [04:43:51.096] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [04:43:51.102] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [04:43:51.109] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [04:43:51.116] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [04:43:51.123] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [04:43:51.130] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [04:43:51.137] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [04:43:51.143] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [04:43:51.150] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [04:43:51.157] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [04:43:51.164] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [04:43:51.170] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [04:43:51.207] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [04:43:51.214] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [04:43:51.221] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [04:43:51.228] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [04:43:51.235] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [04:43:51.242] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [04:43:51.265] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [04:43:51.281] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [04:43:51.288] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [04:43:51.325] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [04:43:51.363] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [04:43:51.370] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [04:43:51.402] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [04:43:51.437] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [04:43:51.444] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [04:43:51.451] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [04:43:51.459] checking whether the C compiler still works... yes [04:43:51.506] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [04:43:51.575] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [04:43:51.576] checking pkg-config is at least version 0.9.0... yes [04:43:51.592] checking whether to build with ICU support... no [04:43:51.592] checking whether to build with Tcl... no [04:43:51.592] checking whether to build Perl modules... no [04:43:51.592] checking whether to build Python modules... no [04:43:51.592] checking whether to build with GSSAPI support... no [04:43:51.594] checking whether to build with PAM support... no [04:43:51.594] checking whether to build with BSD Authentication support... no [04:43:51.594] checking whether to build with LDAP support... no [04:43:51.594] checking whether to build with Bonjour support... no [04:43:51.594] checking whether to build with SELinux support... no [04:43:51.594] checking whether to build with systemd support... no [04:43:51.594] configure: WARNING: *** Readline does not work on MinGW --- disabling [04:43:51.594] checking whether to build with XML support... no [04:43:51.594] checking whether to build with LZ4 support... no [04:43:51.595] checking whether to build with ZSTD support... no [04:43:51.595] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [04:43:51.595] checking whether it is possible to strip libraries... yes [04:43:51.603] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [04:43:51.603] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [04:43:51.603] checking for a BSD-compatible install... /usr/bin/install -c [04:43:51.613] checking for tar... /usr/bin/tar [04:43:51.613] checking whether ln -s works... yes [04:43:51.613] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [04:43:51.615] checking for bison... /usr/bin/bison [04:43:51.618] configure: using bison (GNU Bison) 3.8.2 [04:43:51.621] checking for flex... /usr/bin/flex [04:43:51.633] configure: using flex 2.6.4 [04:43:51.634] checking for perl... /usr/bin/perl [04:43:51.636] configure: using perl 5.36.0 [04:43:51.639] checking for zic... /usr/sbin/zic [04:43:51.639] checking for a sed that does not truncate output... /usr/bin/sed [04:43:51.644] checking for grep that handles long lines and -e... /usr/bin/grep [04:43:51.646] checking for egrep... /usr/bin/grep -E [04:43:51.648] checking for ANSI C header files... yes [04:43:51.695] checking for sys/types.h... yes [04:43:51.712] checking for sys/stat.h... yes [04:43:51.771] checking for stdlib.h... yes [04:43:51.786] checking for string.h... yes [04:43:51.800] checking for memory.h... yes [04:43:51.817] checking for strings.h... yes [04:43:51.851] checking for inttypes.h... yes [04:43:51.867] checking for stdint.h... yes [04:43:51.882] checking for unistd.h... yes [04:43:51.897] checking for main in -lm... yes [04:43:51.945] checking for library containing setproctitle... no [04:43:52.033] checking for library containing dlsym... no [04:43:52.119] checking for library containing socket... -lws2_32 [04:43:52.245] checking for library containing getopt_long... none required [04:43:52.291] checking for library containing shm_open... no [04:43:52.378] checking for library containing shm_unlink... no [04:43:52.464] checking for library containing clock_gettime... no [04:43:52.550] checking for library containing shmget... no [04:43:52.635] checking for library containing backtrace_symbols... no [04:43:52.724] checking for library containing pthread_barrier_wait... -lpthread [04:43:52.816] checking for inflate in -lz... yes [04:43:52.861] checking for stdbool.h that conforms to C99... yes [04:43:52.871] checking for _Bool... yes [04:43:52.939] checking atomic.h usability... no [04:43:52.993] checking atomic.h presence... no [04:43:53.012] checking for atomic.h... no [04:43:53.015] checking copyfile.h usability... no [04:43:53.069] checking copyfile.h presence... no [04:43:53.088] checking for copyfile.h... no [04:43:53.092] checking execinfo.h usability... no [04:43:53.147] checking execinfo.h presence... no [04:43:53.165] checking for execinfo.h... no [04:43:53.169] checking getopt.h usability... yes [04:43:53.176] checking getopt.h presence... yes [04:43:53.191] checking for getopt.h... yes [04:43:53.199] checking ifaddrs.h usability... no [04:43:53.252] checking ifaddrs.h presence... no [04:43:53.271] checking for ifaddrs.h... no [04:43:53.274] checking mbarrier.h usability... no [04:43:53.329] checking mbarrier.h presence... no [04:43:53.347] checking for mbarrier.h... no [04:43:53.351] checking sys/epoll.h usability... no [04:43:53.405] checking sys/epoll.h presence... no [04:43:53.423] checking for sys/epoll.h... no [04:43:53.426] checking sys/event.h usability... no [04:43:53.479] checking sys/event.h presence... no [04:43:53.496] checking for sys/event.h... no [04:43:53.499] checking sys/personality.h usability... no [04:43:53.550] checking sys/personality.h presence... no [04:43:53.568] checking for sys/personality.h... no [04:43:53.571] checking sys/prctl.h usability... no [04:43:53.625] checking sys/prctl.h presence... no [04:43:53.643] checking for sys/prctl.h... no [04:43:53.646] checking sys/procctl.h usability... no [04:43:53.699] checking sys/procctl.h presence... no [04:43:53.717] checking for sys/procctl.h... no [04:43:53.720] checking sys/signalfd.h usability... no [04:43:53.772] checking sys/signalfd.h presence... no [04:43:53.789] checking for sys/signalfd.h... no [04:43:53.792] checking sys/ucred.h usability... no [04:43:53.845] checking sys/ucred.h presence... no [04:43:53.863] checking for sys/ucred.h... no [04:43:53.866] checking termios.h usability... no [04:43:53.917] checking termios.h presence... no [04:43:53.934] checking for termios.h... no [04:43:53.937] checking ucred.h usability... no [04:43:53.989] checking ucred.h presence... no [04:43:54.006] checking for ucred.h... no [04:43:54.009] checking zlib.h usability... yes [04:43:54.018] checking zlib.h presence... yes [04:43:54.035] checking for zlib.h... yes [04:43:54.035] checking for lz4... /usr/bin/lz4 [04:43:54.036] checking for zstd... /usr/bin/zstd [04:43:54.036] checking for openssl... /usr/bin/openssl [04:43:54.040] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [04:43:54.040] checking crtdefs.h usability... yes [04:43:54.047] checking crtdefs.h presence... yes [04:43:54.061] checking for crtdefs.h... yes [04:43:54.062] checking whether byte ordering is bigendian... no [04:43:54.132] checking for inline... inline [04:43:54.147] checking for printf format archetype... gnu_printf [04:43:54.155] checking for _Static_assert... yes [04:43:54.193] checking for typeof... typeof [04:43:54.200] checking for __builtin_types_compatible_p... yes [04:43:54.211] checking for __builtin_constant_p... yes [04:43:54.221] checking for __builtin_unreachable... yes [04:43:54.262] checking for computed goto support... yes [04:43:54.269] checking for struct tm.tm_zone... no [04:43:54.343] checking for union semun... no [04:43:54.375] checking for socklen_t... yes [04:43:56.564] checking for struct sockaddr.sa_len... no [04:43:58.645] checking for locale_t... no [04:43:58.712] checking for C/C++ restrict keyword... __restrict [04:43:58.726] checking for struct option... yes [04:43:58.768] checking whether assembler supports x86_64 popcntq... yes [04:43:58.775] checking size of off_t... 4 [04:43:58.970] 0 [04:43:58.970] checking size of bool... 1 [04:43:59.012] checking for int timezone... yes [04:43:59.058] checking for wcstombs_l declaration... no [04:43:59.137] checking for backtrace_symbols... no [04:43:59.184] checking for copyfile... no [04:43:59.231] checking for copy_file_range... no [04:43:59.279] checking for getifaddrs... no [04:43:59.326] checking for getpeerucred... no [04:43:59.375] checking for inet_pton... yes [04:43:59.425] checking for kqueue... no [04:43:59.475] checking for mbstowcs_l... no [04:43:59.523] checking for memset_s... no [04:43:59.571] checking for posix_fallocate... no [04:43:59.619] checking for ppoll... no [04:43:59.668] checking for pthread_is_threaded_np... no [04:43:59.716] checking for setproctitle... no [04:43:59.766] checking for setproctitle_fast... no [04:43:59.816] checking for strchrnul... no [04:43:59.867] checking for strsignal... no [04:43:59.916] checking for syncfs... no [04:43:59.966] checking for sync_file_range... no [04:44:00.017] checking for uselocale... no [04:44:00.069] checking for wcstombs_l... no [04:44:00.117] checking for __builtin_bswap16... yes [04:44:00.166] checking for __builtin_bswap32... yes [04:44:00.213] checking for __builtin_bswap64... yes [04:44:00.260] checking for __builtin_clz... yes [04:44:00.307] checking for __builtin_ctz... yes [04:44:00.353] checking for __builtin_popcount... yes [04:44:00.400] checking for __builtin_frame_address... yes [04:44:00.446] checking for _LARGEFILE_SOURCE value needed for large files... no [04:44:00.497] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [04:44:00.527] checking for posix_fadvise... no [04:44:00.577] checking whether posix_fadvise is declared... no [04:44:00.621] checking whether fdatasync is declared... no [04:44:00.665] checking whether strlcat is declared... no [04:44:00.726] checking whether strlcpy is declared... no [04:44:00.789] checking whether strnlen is declared... yes [04:44:00.802] checking whether strsep is declared... no [04:44:00.862] checking whether preadv is declared... no [04:44:00.897] checking whether pwritev is declared... no [04:44:00.930] checking whether F_FULLFSYNC is declared... no [04:44:00.966] checking for explicit_bzero... no [04:44:01.012] checking for getopt... yes [04:44:01.057] checking for getpeereid... no [04:44:01.106] checking for inet_aton... no [04:44:01.154] checking for mkdtemp... no [04:44:01.199] checking for strlcat... no [04:44:01.244] checking for strlcpy... no [04:44:01.289] checking for strnlen... yes [04:44:01.334] checking for strsep... no [04:44:01.379] checking for pthread_barrier_wait... yes [04:44:01.422] configure: On mingw32 we will use our strtof wrapper. [04:44:01.422] checking for getopt_long... yes [04:44:01.467] checking for _configthreadlocale... yes [04:44:01.511] checking for syslog... no [04:44:01.558] checking for opterr... yes [04:44:01.605] checking for optreset... no [04:44:01.655] checking test program... cross-compiling [04:44:01.655] checking whether long int is 64 bits... no [04:44:01.685] checking whether long long int is 64 bits... yes [04:44:01.694] checking for __builtin_mul_overflow... yes [04:44:01.736] checking size of void *... 8 [04:44:01.999] checking size of size_t... 8 [04:44:02.270] checking size of long... 4 [04:44:02.496] checking alignment of short... 2 [04:44:02.631] checking alignment of int... 4 [04:44:02.830] checking alignment of long... 4 [04:44:03.027] checking alignment of long long int... 8 [04:44:03.281] checking alignment of double... 8 [04:44:03.568] checking for int8... no [04:44:03.608] checking for uint8... no [04:44:03.650] checking for int64... no [04:44:03.693] checking for uint64... no [04:44:03.734] checking for __int128... yes [04:44:03.783] checking for __int128 alignment bug... assuming ok [04:44:03.783] checking alignment of PG_INT128_TYPE... 16 [04:44:04.110] checking for builtin __sync char locking functions... yes [04:44:04.151] checking for builtin __sync int32 locking functions... yes [04:44:04.191] checking for builtin __sync int32 atomic operations... yes [04:44:04.231] checking for builtin __sync int64 atomic operations... yes [04:44:04.272] checking for builtin __atomic int32 atomic operations... yes [04:44:04.314] checking for builtin __atomic int64 atomic operations... yes [04:44:04.356] checking for __get_cpuid... yes [04:44:04.401] checking for __get_cpuid_count... yes [04:44:04.444] checking for __cpuid... no [04:44:04.836] checking for __cpuidex... no [04:44:05.251] checking for _xgetbv with CFLAGS=... no [04:44:05.627] checking for _xgetbv with CFLAGS=-mxsave... yes [04:44:06.019] checking for _mm512_popcnt_epi64 with CFLAGS=... no [04:44:06.393] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [04:44:06.733] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [04:44:06.779] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [04:44:06.866] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [04:44:06.887] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [04:44:06.904] 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 [04:44:06.957] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [04:44:06.957] checking which random number source to use... Windows native [04:44:06.959] checking for xmllint... /usr/bin/xmllint [04:44:06.959] checking for xsltproc... /usr/bin/xsltproc [04:44:06.959] checking for fop... /usr/bin/fop [04:44:06.959] checking for dbtoepub... no [04:44:06.960] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [04:44:06.960] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [04:44:06.960] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [04:44:06.970] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [04:44:06.970] 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 [04:44:06.970] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [04:44:06.970] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [04:44:07.047] configure: creating ./config.status [04:44:07.125] config.status: creating GNUmakefile [04:44:07.136] config.status: creating src/Makefile.global [04:44:07.150] config.status: creating src/include/pg_config.h [04:44:07.162] config.status: creating src/include/pg_config_ext.h [04:44:07.173] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [04:44:07.187] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [04:44:07.193] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [04:44:07.200] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [04:44:07.206] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [04:44:07.213] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [04:44:07.216] config.status: executing check_win32_symlinks commands [04:44:07.250] [04:44:07.250] real 0m17.256s [04:44:07.250] user 0m11.732s [04:44:07.250] sys 0m5.156s [04:44:07.250] make -s -j${BUILD_JOBS} clean [04:44:07.745] time make -s -j${BUILD_JOBS} world-bin [04:45:36.108] smgr.c: In function ‘smgrdestroy’: [04:45:36.108] smgr.c:279:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [04:45:36.108] 279 | ForkNumber forknum; [04:45:36.108] | ^~~~~~~ [04:45:36.108] smgr.c: In function ‘smgrdounlinkall’: [04:45:36.108] smgr.c:484:41: error: unused variable ‘which’ [-Werror=unused-variable] [04:45:36.108] 484 | int which = rels[i]->smgr_which; [04:45:36.108] | ^~~~~ [04:45:36.108] cc1: all warnings being treated as errors [04:45:36.109] make[4]: *** [: smgr.o] Error 1 [04:45:36.109] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [04:45:36.109] make[2]: *** [common.mk:37: storage-recursive] Error 2 [04:45:36.109] make[2]: *** Waiting for unfinished jobs.... [04:45:55.488] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [04:45:55.489] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [04:45:55.489] [04:45:55.489] real 1m47.744s [04:45:55.489] user 5m50.265s [04:45:55.489] sys 1m8.092s [04:45:55.490] [04:45:55.490] Exit status: 2