[00:59:04.834] time ./configure \ [00:59:04.834] --host=x86_64-w64-mingw32 \ [00:59:04.834] --enable-cassert \ [00:59:04.834] --without-icu \ [00:59:04.834] CC="ccache x86_64-w64-mingw32-gcc" \ [00:59:04.834] CXX="ccache x86_64-w64-mingw32-g++" [00:59:04.956] checking build system type... x86_64-pc-linux-gnu [00:59:05.164] checking host system type... x86_64-w64-mingw32 [00:59:05.170] checking which template to use... win32 [00:59:05.170] checking whether NLS is wanted... no [00:59:05.170] checking for default port number... 5432 [00:59:05.176] checking for block size... 8kB [00:59:05.178] checking for segment size... 1GB [00:59:05.180] checking for WAL block size... 8kB [00:59:05.181] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:59:05.216] checking whether the C compiler works... yes [00:59:05.374] checking for C compiler default output file name... a.exe [00:59:05.376] checking for suffix of executables... .exe [00:59:05.418] checking whether we are cross compiling... yes [00:59:05.500] checking for suffix of object files... o [00:59:05.508] checking whether we are using the GNU C compiler... yes [00:59:05.516] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:59:05.522] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:59:05.533] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:59:05.596] checking whether we are using the GNU C++ compiler... yes [00:59:05.603] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:59:05.677] checking for gawk... no [00:59:05.677] checking for mawk... mawk [00:59:05.679] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:59:05.686] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:59:05.695] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:59:05.742] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:59:05.943] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:59:05.950] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:59:05.957] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:59:05.964] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:59:05.971] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:59:05.977] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:59:05.984] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:59:05.991] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:59:05.998] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:59:06.004] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:59:06.012] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:59:06.018] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:59:06.025] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:59:06.062] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:59:06.069] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:59:06.077] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:59:06.084] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:59:06.091] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:59:06.098] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:59:06.122] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:59:06.129] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:59:06.136] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:59:06.173] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:59:06.211] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:59:06.217] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:59:06.224] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:59:06.259] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:59:06.266] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:59:06.273] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:59:06.280] checking whether the C compiler still works... yes [00:59:06.348] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:59:06.421] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:59:06.421] checking pkg-config is at least version 0.9.0... yes [00:59:06.437] checking whether to build with ICU support... no [00:59:06.437] checking whether to build with Tcl... no [00:59:06.437] checking whether to build Perl modules... no [00:59:06.437] checking whether to build Python modules... no [00:59:06.438] checking whether to build with GSSAPI support... no [00:59:06.439] checking whether to build with PAM support... no [00:59:06.439] checking whether to build with BSD Authentication support... no [00:59:06.439] checking whether to build with LDAP support... no [00:59:06.439] checking whether to build with Bonjour support... no [00:59:06.439] checking whether to build with SELinux support... no [00:59:06.439] checking whether to build with systemd support... no [00:59:06.439] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:59:06.439] checking whether to build with XML support... no [00:59:06.440] checking whether to build with LZ4 support... no [00:59:06.440] checking whether to build with ZSTD support... no [00:59:06.440] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:59:06.440] checking whether it is possible to strip libraries... yes [00:59:06.449] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:59:06.449] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:59:06.450] checking for a BSD-compatible install... /usr/bin/install -c [00:59:06.459] checking for tar... /usr/bin/tar [00:59:06.459] checking whether ln -s works... yes [00:59:06.459] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:59:06.461] checking for bison... /usr/bin/bison [00:59:06.463] configure: using bison (GNU Bison) 3.8.2 [00:59:06.466] checking for flex... /usr/bin/flex [00:59:06.479] configure: using flex 2.6.4 [00:59:06.479] checking for perl... /usr/bin/perl [00:59:06.482] configure: using perl 5.36.0 [00:59:06.484] checking for zic... /usr/sbin/zic [00:59:06.484] checking for a sed that does not truncate output... /usr/bin/sed [00:59:06.490] checking for grep that handles long lines and -e... /usr/bin/grep [00:59:06.492] checking for egrep... /usr/bin/grep -E [00:59:06.493] checking for ANSI C header files... yes [00:59:06.544] checking for sys/types.h... yes [00:59:06.560] checking for sys/stat.h... yes [00:59:06.576] checking for stdlib.h... yes [00:59:06.590] checking for string.h... yes [00:59:06.604] checking for memory.h... yes [00:59:06.621] checking for strings.h... yes [00:59:06.637] checking for inttypes.h... yes [00:59:06.654] checking for stdint.h... yes [00:59:06.669] checking for unistd.h... yes [00:59:06.686] checking for main in -lm... yes [00:59:06.735] checking for library containing setproctitle... no [00:59:06.828] checking for library containing dlsym... no [00:59:06.918] checking for library containing socket... -lws2_32 [00:59:07.057] checking for library containing getopt_long... none required [00:59:07.112] checking for library containing shm_open... no [00:59:07.205] checking for library containing shm_unlink... no [00:59:07.295] checking for library containing clock_gettime... no [00:59:07.399] checking for library containing shmget... no [00:59:07.491] checking for library containing backtrace_symbols... no [00:59:07.583] checking for library containing pthread_barrier_wait... -lpthread [00:59:07.676] checking for inflate in -lz... yes [00:59:07.723] checking for stdbool.h that conforms to C99... yes [00:59:07.735] checking for _Bool... yes [00:59:07.811] checking atomic.h usability... no [00:59:07.866] checking atomic.h presence... no [00:59:07.884] checking for atomic.h... no [00:59:07.888] checking copyfile.h usability... no [00:59:07.943] checking copyfile.h presence... no [00:59:07.963] checking for copyfile.h... no [00:59:07.966] checking execinfo.h usability... no [00:59:08.023] checking execinfo.h presence... no [00:59:08.043] checking for execinfo.h... no [00:59:08.046] checking getopt.h usability... yes [00:59:08.053] checking getopt.h presence... yes [00:59:08.068] checking for getopt.h... yes [00:59:08.075] checking ifaddrs.h usability... no [00:59:08.131] checking ifaddrs.h presence... no [00:59:08.149] checking for ifaddrs.h... no [00:59:08.152] checking mbarrier.h usability... no [00:59:08.206] checking mbarrier.h presence... no [00:59:08.224] checking for mbarrier.h... no [00:59:08.228] checking sys/epoll.h usability... no [00:59:08.281] checking sys/epoll.h presence... no [00:59:08.299] checking for sys/epoll.h... no [00:59:08.303] checking sys/event.h usability... no [00:59:08.357] checking sys/event.h presence... no [00:59:08.375] checking for sys/event.h... no [00:59:08.378] checking sys/personality.h usability... no [00:59:08.432] checking sys/personality.h presence... no [00:59:08.450] checking for sys/personality.h... no [00:59:08.454] checking sys/prctl.h usability... no [00:59:08.507] checking sys/prctl.h presence... no [00:59:08.526] checking for sys/prctl.h... no [00:59:08.529] checking sys/procctl.h usability... no [00:59:08.585] checking sys/procctl.h presence... no [00:59:08.603] checking for sys/procctl.h... no [00:59:08.607] checking sys/signalfd.h usability... no [00:59:08.662] checking sys/signalfd.h presence... no [00:59:08.680] checking for sys/signalfd.h... no [00:59:08.683] checking sys/ucred.h usability... no [00:59:08.736] checking sys/ucred.h presence... no [00:59:08.754] checking for sys/ucred.h... no [00:59:08.757] checking termios.h usability... no [00:59:08.813] checking termios.h presence... no [00:59:08.832] checking for termios.h... no [00:59:08.835] checking ucred.h usability... no [00:59:08.895] checking ucred.h presence... no [00:59:08.916] checking for ucred.h... no [00:59:08.919] checking zlib.h usability... yes [00:59:08.931] checking zlib.h presence... yes [00:59:08.952] checking for zlib.h... yes [00:59:08.952] checking for lz4... /usr/bin/lz4 [00:59:08.953] checking for zstd... /usr/bin/zstd [00:59:08.953] checking for openssl... /usr/bin/openssl [00:59:08.957] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [00:59:08.958] checking crtdefs.h usability... yes [00:59:08.966] checking crtdefs.h presence... yes [00:59:08.982] checking for crtdefs.h... yes [00:59:08.984] checking whether byte ordering is bigendian... no [00:59:09.061] checking for inline... inline [00:59:09.069] checking for printf format archetype... gnu_printf [00:59:09.078] checking for _Static_assert... yes [00:59:09.123] checking for typeof... typeof [00:59:09.131] checking for __builtin_types_compatible_p... yes [00:59:09.142] checking for __builtin_constant_p... yes [00:59:09.152] checking for __builtin_unreachable... yes [00:59:09.198] checking for computed goto support... yes [00:59:09.206] checking for struct tm.tm_zone... no [00:59:09.288] checking for union semun... no [00:59:09.324] checking for socklen_t... yes [00:59:10.542] checking for struct sockaddr.sa_len... no [00:59:12.773] checking for locale_t... no [00:59:12.850] checking for C/C++ restrict keyword... __restrict [00:59:12.866] checking for struct option... yes [00:59:12.914] checking whether assembler supports x86_64 popcntq... yes [00:59:12.922] checking size of off_t... 4 [00:59:13.141] 0 [00:59:13.141] checking size of bool... 1 [00:59:13.193] checking for int timezone... yes [00:59:13.250] checking for wcstombs_l declaration... no [00:59:13.337] checking for backtrace_symbols... no [00:59:13.390] checking for copyfile... no [00:59:13.445] checking for copy_file_range... no [00:59:13.498] checking for getifaddrs... no [00:59:13.552] checking for getpeerucred... no [00:59:13.605] checking for inet_pton... yes [00:59:13.655] checking for kqueue... no [00:59:13.706] checking for mbstowcs_l... no [00:59:13.757] checking for memset_s... no [00:59:13.809] checking for posix_fallocate... no [00:59:13.863] checking for ppoll... no [00:59:13.915] checking for pthread_is_threaded_np... no [00:59:13.967] checking for setproctitle... no [00:59:14.021] checking for setproctitle_fast... no [00:59:14.076] checking for strchrnul... no [00:59:14.128] checking for strsignal... no [00:59:14.180] checking for syncfs... no [00:59:14.231] checking for sync_file_range... no [00:59:14.283] checking for uselocale... no [00:59:14.335] checking for wcstombs_l... no [00:59:14.384] checking for __builtin_bswap16... yes [00:59:14.436] checking for __builtin_bswap32... yes [00:59:14.485] checking for __builtin_bswap64... yes [00:59:14.534] checking for __builtin_clz... yes [00:59:14.588] checking for __builtin_ctz... yes [00:59:14.640] checking for __builtin_popcount... yes [00:59:14.693] checking for __builtin_frame_address... yes [00:59:14.744] checking for _LARGEFILE_SOURCE value needed for large files... no [00:59:14.801] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:59:14.834] checking for posix_fadvise... no [00:59:14.889] checking whether posix_fadvise is declared... no [00:59:14.939] checking whether fdatasync is declared... no [00:59:14.988] checking whether strlcat is declared... no [00:59:15.058] checking whether strlcpy is declared... no [00:59:15.130] checking whether strnlen is declared... yes [00:59:15.145] checking whether strsep is declared... no [00:59:15.215] checking whether preadv is declared... no [00:59:15.256] checking whether pwritev is declared... no [00:59:15.297] checking whether F_FULLFSYNC is declared... no [00:59:15.342] checking for explicit_bzero... no [00:59:15.393] checking for getopt... yes [00:59:15.441] checking for getpeereid... no [00:59:15.491] checking for inet_aton... no [00:59:15.541] checking for mkdtemp... no [00:59:15.592] checking for strlcat... no [00:59:15.647] checking for strlcpy... no [00:59:15.699] checking for strnlen... yes [00:59:15.751] checking for strsep... no [00:59:15.802] checking for pthread_barrier_wait... yes [00:59:15.850] configure: On mingw32 we will use our strtof wrapper. [00:59:15.850] checking for getopt_long... yes [00:59:15.899] checking for _configthreadlocale... yes [00:59:15.947] checking for syslog... no [00:59:15.999] checking for opterr... yes [00:59:16.055] checking for optreset... no [00:59:16.112] checking test program... cross-compiling [00:59:16.112] checking whether long int is 64 bits... no [00:59:16.147] checking whether long long int is 64 bits... yes [00:59:16.158] checking for __builtin_mul_overflow... yes [00:59:16.205] checking size of void *... 8 [00:59:16.498] checking size of size_t... 8 [00:59:16.786] checking size of long... 4 [00:59:16.995] checking alignment of short... 2 [00:59:17.136] checking alignment of int... 4 [00:59:17.346] checking alignment of long... 4 [00:59:17.577] checking alignment of long long int... 8 [00:59:17.880] checking alignment of double... 8 [00:59:18.172] checking for int8... no [00:59:18.217] checking for uint8... no [00:59:18.263] checking for int64... no [00:59:18.308] checking for uint64... no [00:59:18.352] checking for __int128... yes [00:59:18.406] checking for __int128 alignment bug... assuming ok [00:59:18.406] checking alignment of PG_INT128_TYPE... 16 [00:59:18.766] checking for builtin __sync char locking functions... yes [00:59:18.811] checking for builtin __sync int32 locking functions... yes [00:59:18.857] checking for builtin __sync int32 atomic operations... yes [00:59:18.902] checking for builtin __sync int64 atomic operations... yes [00:59:18.947] checking for builtin __atomic int32 atomic operations... yes [00:59:18.993] checking for builtin __atomic int64 atomic operations... yes [00:59:19.039] checking for __get_cpuid... yes [00:59:19.088] checking for __get_cpuid_count... yes [00:59:19.134] checking for __cpuid... no [00:59:19.540] checking for __cpuidex... no [00:59:19.983] checking for _xgetbv with CFLAGS=... no [00:59:20.380] checking for _xgetbv with CFLAGS=-mxsave... yes [00:59:20.791] checking for _mm512_popcnt_epi64 with CFLAGS=... no [00:59:21.187] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [00:59:21.536] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [00:59:21.587] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [00:59:21.679] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:59:21.704] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:59:21.725] 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:59:21.786] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:59:21.786] checking which random number source to use... Windows native [00:59:21.789] checking for xmllint... /usr/bin/xmllint [00:59:21.789] checking for xsltproc... /usr/bin/xsltproc [00:59:21.789] checking for fop... /usr/bin/fop [00:59:21.789] checking for dbtoepub... no [00:59:21.790] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:59:21.790] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:59:21.790] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:59:21.803] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:59:21.803] 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:59:21.803] configure: using CPPFLAGS= -I./src/include/port/win32 [00:59:21.803] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:59:21.900] configure: creating ./config.status [00:59:21.993] config.status: creating GNUmakefile [00:59:22.007] config.status: creating src/Makefile.global [00:59:22.024] config.status: creating src/include/pg_config.h [00:59:22.037] config.status: creating src/include/pg_config_ext.h [00:59:22.049] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:59:22.065] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:59:22.073] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:59:22.081] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:59:22.088] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:59:22.096] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:59:22.101] config.status: executing check_win32_symlinks commands [00:59:22.140] [00:59:22.140] real 0m17.306s [00:59:22.140] user 0m11.512s [00:59:22.140] sys 0m5.353s [00:59:22.140] make -s -j${BUILD_JOBS} clean [00:59:22.660] time make -s -j${BUILD_JOBS} world-bin [00:59:49.703] smgr.c: In function ‘smgrdestroy’: [00:59:49.703] smgr.c:279:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [00:59:49.703] 279 | ForkNumber forknum; [00:59:49.703] | ^~~~~~~ [00:59:49.703] smgr.c: In function ‘smgrdounlinkall’: [00:59:49.703] smgr.c:484:41: error: unused variable ‘which’ [-Werror=unused-variable] [00:59:49.703] 484 | int which = rels[i]->smgr_which; [00:59:49.703] | ^~~~~ [00:59:49.703] cc1: all warnings being treated as errors [00:59:49.705] make[4]: *** [: smgr.o] Error 1 [00:59:49.705] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [00:59:49.705] make[2]: *** [common.mk:37: storage-recursive] Error 2 [00:59:49.705] make[2]: *** Waiting for unfinished jobs.... [01:00:03.515] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [01:00:03.515] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [01:00:03.515] [01:00:03.515] real 0m40.855s [01:00:03.515] user 2m7.426s [01:00:03.515] sys 0m28.452s [01:00:03.516] [01:00:03.516] Exit status: 2