[07:59:09.057] time ./configure \ [07:59:09.057] --host=x86_64-w64-mingw32 \ [07:59:09.057] --enable-cassert \ [07:59:09.057] --without-icu \ [07:59:09.057] CC="ccache x86_64-w64-mingw32-gcc" \ [07:59:09.057] CXX="ccache x86_64-w64-mingw32-g++" [07:59:09.173] checking build system type... x86_64-pc-linux-gnu [07:59:09.355] checking host system type... x86_64-w64-mingw32 [07:59:09.361] checking which template to use... win32 [07:59:09.361] checking whether NLS is wanted... no [07:59:09.361] checking for default port number... 5432 [07:59:09.368] checking for block size... 8kB [07:59:09.369] checking for segment size... 1GB [07:59:09.371] checking for WAL block size... 8kB [07:59:09.373] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:59:09.405] checking whether the C compiler works... yes [07:59:09.551] checking for C compiler default output file name... a.exe [07:59:09.552] checking for suffix of executables... .exe [07:59:09.591] checking whether we are cross compiling... yes [07:59:09.665] checking for suffix of object files... o [07:59:09.675] checking whether we are using the GNU C compiler... yes [07:59:09.681] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:59:09.689] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:59:09.700] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:59:09.763] checking whether we are using the GNU C++ compiler... yes [07:59:09.770] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:59:09.838] checking for gawk... no [07:59:09.838] checking for mawk... mawk [07:59:09.840] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:59:09.847] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:59:09.854] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:59:09.899] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:59:10.062] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:59:10.068] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:59:10.074] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:59:10.080] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:59:10.087] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:59:10.093] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:59:10.099] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:59:10.131] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:59:10.137] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:59:10.143] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:59:10.149] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:59:10.178] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:59:10.185] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:59:10.221] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:59:10.227] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:59:10.233] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:59:10.240] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:59:10.246] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:59:10.253] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:59:10.276] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:59:10.283] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:59:10.289] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:59:10.325] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:59:10.364] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:59:10.371] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:59:10.388] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:59:10.422] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:59:10.430] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:59:10.437] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:59:10.445] checking whether the C compiler still works... yes [07:59:10.508] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:59:10.576] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:59:10.576] checking pkg-config is at least version 0.9.0... yes [07:59:10.594] checking whether to build with ICU support... no [07:59:10.594] checking whether to build with Tcl... no [07:59:10.594] checking whether to build Perl modules... no [07:59:10.594] checking whether to build Python modules... no [07:59:10.594] checking whether to build with GSSAPI support... no [07:59:10.595] checking whether to build with PAM support... no [07:59:10.595] checking whether to build with BSD Authentication support... no [07:59:10.595] checking whether to build with LDAP support... no [07:59:10.595] checking whether to build with Bonjour support... no [07:59:10.595] checking whether to build with SELinux support... no [07:59:10.595] checking whether to build with systemd support... no [07:59:10.596] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:59:10.596] checking whether to build with XML support... no [07:59:10.596] checking whether to build with LZ4 support... no [07:59:10.596] checking whether to build with ZSTD support... no [07:59:10.596] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:59:10.597] checking whether it is possible to strip libraries... yes [07:59:10.605] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:59:10.605] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:59:10.606] checking for a BSD-compatible install... /usr/bin/install -c [07:59:10.615] checking for tar... /usr/bin/tar [07:59:10.615] checking whether ln -s works... yes [07:59:10.615] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:59:10.618] checking for bison... /usr/bin/bison [07:59:10.620] configure: using bison (GNU Bison) 3.8.2 [07:59:10.623] checking for flex... /usr/bin/flex [07:59:10.635] configure: using flex 2.6.4 [07:59:10.635] checking for perl... /usr/bin/perl [07:59:10.638] configure: using perl 5.36.0 [07:59:10.640] checking for zic... /usr/sbin/zic [07:59:10.640] checking for a sed that does not truncate output... /usr/bin/sed [07:59:10.646] checking for grep that handles long lines and -e... /usr/bin/grep [07:59:10.648] checking for egrep... /usr/bin/grep -E [07:59:10.649] checking for ANSI C header files... yes [07:59:10.693] checking for sys/types.h... yes [07:59:10.709] checking for sys/stat.h... yes [07:59:10.744] checking for stdlib.h... yes [07:59:10.758] checking for string.h... yes [07:59:10.772] checking for memory.h... yes [07:59:10.787] checking for strings.h... yes [07:59:10.802] checking for inttypes.h... yes [07:59:10.839] checking for stdint.h... yes [07:59:10.853] checking for unistd.h... yes [07:59:10.867] checking for main in -lm... yes [07:59:10.911] checking for library containing setproctitle... no [07:59:10.996] checking for library containing dlsym... no [07:59:11.077] checking for library containing socket... -lws2_32 [07:59:11.200] checking for library containing getopt_long... none required [07:59:11.246] checking for library containing shm_open... no [07:59:11.331] checking for library containing shm_unlink... no [07:59:11.414] checking for library containing clock_gettime... no [07:59:11.498] checking for library containing shmget... no [07:59:11.581] checking for library containing backtrace_symbols... no [07:59:11.666] checking for library containing pthread_barrier_wait... -lpthread [07:59:11.748] checking for inflate in -lz... yes [07:59:11.789] checking for stdbool.h that conforms to C99... yes [07:59:11.799] checking for _Bool... yes [07:59:11.865] checking atomic.h usability... no [07:59:11.915] checking atomic.h presence... no [07:59:11.931] checking for atomic.h... no [07:59:11.934] checking copyfile.h usability... no [07:59:11.984] checking copyfile.h presence... no [07:59:12.001] checking for copyfile.h... no [07:59:12.004] checking execinfo.h usability... no [07:59:12.054] checking execinfo.h presence... no [07:59:12.070] checking for execinfo.h... no [07:59:12.073] checking getopt.h usability... yes [07:59:12.100] checking getopt.h presence... yes [07:59:12.115] checking for getopt.h... yes [07:59:12.122] checking ifaddrs.h usability... no [07:59:12.174] checking ifaddrs.h presence... no [07:59:12.191] checking for ifaddrs.h... no [07:59:12.194] checking mbarrier.h usability... no [07:59:12.246] checking mbarrier.h presence... no [07:59:12.263] checking for mbarrier.h... no [07:59:12.267] checking sys/epoll.h usability... no [07:59:12.318] checking sys/epoll.h presence... no [07:59:12.335] checking for sys/epoll.h... no [07:59:12.338] checking sys/event.h usability... no [07:59:12.388] checking sys/event.h presence... no [07:59:12.405] checking for sys/event.h... no [07:59:12.408] checking sys/personality.h usability... no [07:59:12.460] checking sys/personality.h presence... no [07:59:12.479] checking for sys/personality.h... no [07:59:12.482] checking sys/prctl.h usability... no [07:59:12.536] checking sys/prctl.h presence... no [07:59:12.555] checking for sys/prctl.h... no [07:59:12.558] checking sys/procctl.h usability... no [07:59:12.612] checking sys/procctl.h presence... no [07:59:12.629] checking for sys/procctl.h... no [07:59:12.631] checking sys/signalfd.h usability... no [07:59:12.681] checking sys/signalfd.h presence... no [07:59:12.698] checking for sys/signalfd.h... no [07:59:12.701] checking sys/ucred.h usability... no [07:59:12.751] checking sys/ucred.h presence... no [07:59:12.768] checking for sys/ucred.h... no [07:59:12.771] checking termios.h usability... no [07:59:12.822] checking termios.h presence... no [07:59:12.840] checking for termios.h... no [07:59:12.843] checking ucred.h usability... no [07:59:12.893] checking ucred.h presence... no [07:59:12.910] checking for ucred.h... no [07:59:12.913] checking zlib.h usability... yes [07:59:12.973] checking zlib.h presence... yes [07:59:12.992] checking for zlib.h... yes [07:59:12.993] checking for lz4... /usr/bin/lz4 [07:59:12.993] checking for zstd... /usr/bin/zstd [07:59:12.993] checking for openssl... /usr/bin/openssl [07:59:12.998] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [07:59:12.998] checking crtdefs.h usability... yes [07:59:13.006] checking crtdefs.h presence... yes [07:59:13.021] checking for crtdefs.h... yes [07:59:13.023] checking whether byte ordering is bigendian... no [07:59:13.092] checking for inline... inline [07:59:13.098] checking for printf format archetype... gnu_printf [07:59:13.106] checking for _Static_assert... yes [07:59:13.146] checking for typeof... typeof [07:59:13.178] checking for __builtin_types_compatible_p... yes [07:59:13.189] checking for __builtin_constant_p... yes [07:59:13.199] checking for __builtin_unreachable... yes [07:59:13.238] checking for computed goto support... yes [07:59:13.270] checking for struct tm.tm_zone... no [07:59:13.341] checking for union semun... no [07:59:13.372] checking for socklen_t... yes [07:59:14.510] checking for struct sockaddr.sa_len... no [07:59:16.636] checking for locale_t... no [07:59:16.701] checking for C/C++ restrict keyword... __restrict [07:59:16.713] checking for struct option... yes [07:59:16.754] checking whether assembler supports x86_64 popcntq... yes [07:59:16.761] checking size of off_t... 4 [07:59:16.975] 0 [07:59:16.975] checking size of bool... 1 [07:59:17.040] checking for int timezone... yes [07:59:17.086] checking for wcstombs_l declaration... no [07:59:17.163] checking for backtrace_symbols... no [07:59:17.210] checking for copyfile... no [07:59:17.256] checking for copy_file_range... no [07:59:17.302] checking for getifaddrs... no [07:59:17.348] checking for getpeerucred... no [07:59:17.395] checking for inet_pton... yes [07:59:17.442] checking for kqueue... no [07:59:17.489] checking for mbstowcs_l... no [07:59:17.535] checking for memset_s... no [07:59:17.581] checking for posix_fallocate... no [07:59:17.627] checking for ppoll... no [07:59:17.673] checking for pthread_is_threaded_np... no [07:59:17.719] checking for setproctitle... no [07:59:17.766] checking for setproctitle_fast... no [07:59:17.813] checking for strchrnul... no [07:59:17.860] checking for strsignal... no [07:59:17.907] checking for syncfs... no [07:59:17.954] checking for sync_file_range... no [07:59:18.000] checking for uselocale... no [07:59:18.046] checking for wcstombs_l... no [07:59:18.090] checking for __builtin_bswap16... yes [07:59:18.135] checking for __builtin_bswap32... yes [07:59:18.180] checking for __builtin_bswap64... yes [07:59:18.224] checking for __builtin_clz... yes [07:59:18.269] checking for __builtin_ctz... yes [07:59:18.313] checking for __builtin_popcount... yes [07:59:18.356] checking for __builtin_frame_address... yes [07:59:18.399] checking for _LARGEFILE_SOURCE value needed for large files... no [07:59:18.447] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:59:18.475] checking for posix_fadvise... no [07:59:18.521] checking whether posix_fadvise is declared... no [07:59:18.561] checking whether fdatasync is declared... no [07:59:18.602] checking whether strlcat is declared... no [07:59:18.660] checking whether strlcpy is declared... no [07:59:18.718] checking whether strnlen is declared... yes [07:59:18.750] checking whether strsep is declared... no [07:59:18.808] checking whether preadv is declared... no [07:59:18.841] checking whether pwritev is declared... no [07:59:18.877] checking whether F_FULLFSYNC is declared... no [07:59:18.915] checking for explicit_bzero... no [07:59:18.960] checking for getopt... yes [07:59:19.003] checking for getpeereid... no [07:59:19.047] checking for inet_aton... no [07:59:19.092] checking for mkdtemp... no [07:59:19.136] checking for strlcat... no [07:59:19.183] checking for strlcpy... no [07:59:19.227] checking for strnlen... yes [07:59:19.271] checking for strsep... no [07:59:19.314] checking for pthread_barrier_wait... yes [07:59:19.356] configure: On mingw32 we will use our strtof wrapper. [07:59:19.356] checking for getopt_long... yes [07:59:19.398] checking for _configthreadlocale... yes [07:59:19.440] checking for syslog... no [07:59:19.486] checking for opterr... yes [07:59:19.532] checking for optreset... no [07:59:19.583] checking test program... cross-compiling [07:59:19.583] checking whether long int is 64 bits... no [07:59:19.612] checking whether long long int is 64 bits... yes [07:59:19.622] checking for __builtin_mul_overflow... yes [07:59:19.664] checking size of void *... 8 [07:59:19.929] checking size of size_t... 8 [07:59:20.182] checking size of long... 4 [07:59:20.419] checking alignment of short... 2 [07:59:20.553] checking alignment of int... 4 [07:59:20.840] checking alignment of long... 4 [07:59:21.027] checking alignment of long long int... 8 [07:59:21.272] checking alignment of double... 8 [07:59:21.541] checking for int8... no [07:59:21.579] checking for uint8... no [07:59:21.620] checking for int64... no [07:59:21.661] checking for uint64... no [07:59:21.701] checking for __int128... yes [07:59:21.748] checking for __int128 alignment bug... assuming ok [07:59:21.748] checking alignment of PG_INT128_TYPE... 16 [07:59:22.104] checking for builtin __sync char locking functions... yes [07:59:22.143] checking for builtin __sync int32 locking functions... yes [07:59:22.182] checking for builtin __sync int32 atomic operations... yes [07:59:22.223] checking for builtin __sync int64 atomic operations... yes [07:59:22.264] checking for builtin __atomic int32 atomic operations... yes [07:59:22.305] checking for builtin __atomic int64 atomic operations... yes [07:59:22.347] checking for __get_cpuid... yes [07:59:22.394] checking for __get_cpuid_count... yes [07:59:22.436] checking for __cpuid... no [07:59:22.825] checking for __cpuidex... no [07:59:23.255] checking for _xgetbv with CFLAGS=... no [07:59:23.624] checking for _xgetbv with CFLAGS=-mxsave... yes [07:59:24.010] checking for _mm512_popcnt_epi64 with CFLAGS=... no [07:59:24.387] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [07:59:24.716] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [07:59:24.759] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [07:59:24.846] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:59:24.867] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:59:24.884] 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 [07:59:24.936] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:59:24.936] checking which random number source to use... Windows native [07:59:24.938] checking for xmllint... /usr/bin/xmllint [07:59:24.938] checking for xsltproc... /usr/bin/xsltproc [07:59:24.938] checking for fop... /usr/bin/fop [07:59:24.938] checking for dbtoepub... no [07:59:24.939] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:59:24.939] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:59:24.939] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:59:24.949] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:59:24.949] 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 [07:59:24.949] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:59:24.949] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:59:25.031] configure: creating ./config.status [07:59:25.111] config.status: creating GNUmakefile [07:59:25.123] config.status: creating src/Makefile.global [07:59:25.137] config.status: creating src/include/pg_config.h [07:59:25.148] config.status: creating src/include/pg_config_ext.h [07:59:25.159] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:59:25.173] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:59:25.179] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:59:25.186] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:59:25.193] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:59:25.199] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:59:25.203] config.status: executing check_win32_symlinks commands [07:59:25.234] [07:59:25.234] real 0m16.177s [07:59:25.234] user 0m10.782s [07:59:25.234] sys 0m5.069s [07:59:25.234] make -s -j${BUILD_JOBS} clean [07:59:25.733] time make -s -j${BUILD_JOBS} world-bin [08:00:13.117] smgr.c: In function ‘smgrdestroy’: [08:00:13.117] smgr.c:279:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [08:00:13.117] 279 | ForkNumber forknum; [08:00:13.117] | ^~~~~~~ [08:00:13.117] smgr.c: In function ‘smgrdounlinkall’: [08:00:13.117] smgr.c:484:41: error: unused variable ‘which’ [-Werror=unused-variable] [08:00:13.117] 484 | int which = rels[i]->smgr_which; [08:00:13.117] | ^~~~~ [08:00:13.117] cc1: all warnings being treated as errors [08:00:13.117] make[4]: *** [: smgr.o] Error 1 [08:00:13.117] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [08:00:13.117] make[3]: *** Waiting for unfinished jobs.... [08:00:13.668] make[2]: *** [common.mk:37: storage-recursive] Error 2 [08:00:13.668] make[2]: *** Waiting for unfinished jobs.... [08:00:30.715] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [08:00:30.715] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:00:30.716] [08:00:30.716] real 1m4.983s [08:00:30.716] user 3m24.005s [08:00:30.716] sys 0m43.679s [08:00:30.716] [08:00:30.716] Exit status: 2