[09:37:28.611] time ./configure \ [09:37:28.611] --host=x86_64-w64-mingw32 \ [09:37:28.611] --enable-cassert \ [09:37:28.611] --without-icu \ [09:37:28.611] CC="ccache x86_64-w64-mingw32-gcc" \ [09:37:28.611] CXX="ccache x86_64-w64-mingw32-g++" [09:37:28.742] checking build system type... x86_64-pc-linux-gnu [09:37:28.988] checking host system type... x86_64-w64-mingw32 [09:37:28.994] checking which template to use... win32 [09:37:28.995] checking whether NLS is wanted... no [09:37:28.995] checking for default port number... 5432 [09:37:29.002] checking for block size... 8kB [09:37:29.003] checking for segment size... 1GB [09:37:29.006] checking for WAL block size... 8kB [09:37:29.007] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:37:29.044] checking whether the C compiler works... yes [09:37:29.205] checking for C compiler default output file name... a.exe [09:37:29.206] checking for suffix of executables... .exe [09:37:29.250] checking whether we are cross compiling... yes [09:37:29.330] checking for suffix of object files... o [09:37:29.339] checking whether we are using the GNU C compiler... yes [09:37:29.346] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:37:29.354] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:37:29.365] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:37:29.427] checking whether we are using the GNU C++ compiler... yes [09:37:29.434] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:37:29.509] checking for gawk... no [09:37:29.509] checking for mawk... mawk [09:37:29.512] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:37:29.519] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:37:29.526] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:37:29.574] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:37:29.761] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:37:29.769] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:37:29.776] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:37:29.783] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:37:29.791] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:37:29.798] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:37:29.806] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:37:29.813] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:37:29.821] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:37:29.828] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:37:29.835] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:37:29.843] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:37:29.849] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:37:29.887] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:37:29.895] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:37:29.902] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:37:29.910] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:37:29.917] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:37:29.925] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:37:29.951] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:37:29.960] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:37:29.967] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:37:30.017] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:37:30.058] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:37:30.067] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:37:30.075] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:37:30.112] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:37:30.120] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:37:30.128] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:37:30.137] checking whether the C compiler still works... yes [09:37:30.208] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:37:30.288] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:37:30.289] checking pkg-config is at least version 0.9.0... yes [09:37:30.305] checking whether to build with ICU support... no [09:37:30.306] checking whether to build with Tcl... no [09:37:30.306] checking whether to build Perl modules... no [09:37:30.306] checking whether to build Python modules... no [09:37:30.306] checking whether to build with GSSAPI support... no [09:37:30.307] checking whether to build with PAM support... no [09:37:30.307] checking whether to build with BSD Authentication support... no [09:37:30.307] checking whether to build with LDAP support... no [09:37:30.307] checking whether to build with Bonjour support... no [09:37:30.308] checking whether to build with SELinux support... no [09:37:30.308] checking whether to build with systemd support... no [09:37:30.308] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:37:30.308] checking whether to build with XML support... no [09:37:30.308] checking whether to build with LZ4 support... no [09:37:30.309] checking whether to build with ZSTD support... no [09:37:30.309] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:37:30.309] checking whether it is possible to strip libraries... yes [09:37:30.317] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:37:30.317] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:37:30.317] checking for a BSD-compatible install... /usr/bin/install -c [09:37:30.326] checking for tar... /usr/bin/tar [09:37:30.327] checking whether ln -s works... yes [09:37:30.327] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:37:30.329] checking for bison... /usr/bin/bison [09:37:30.331] configure: using bison (GNU Bison) 3.8.2 [09:37:30.334] checking for flex... /usr/bin/flex [09:37:30.347] configure: using flex 2.6.4 [09:37:30.347] checking for perl... /usr/bin/perl [09:37:30.350] configure: using perl 5.36.0 [09:37:30.352] checking for zic... /usr/sbin/zic [09:37:30.353] checking for a sed that does not truncate output... /usr/bin/sed [09:37:30.358] checking for grep that handles long lines and -e... /usr/bin/grep [09:37:30.360] checking for egrep... /usr/bin/grep -E [09:37:30.362] checking for ANSI C header files... yes [09:37:30.411] checking for sys/types.h... yes [09:37:30.429] checking for sys/stat.h... yes [09:37:30.447] checking for stdlib.h... yes [09:37:30.462] checking for string.h... yes [09:37:30.479] checking for memory.h... yes [09:37:30.496] checking for strings.h... yes [09:37:30.514] checking for inttypes.h... yes [09:37:30.532] checking for stdint.h... yes [09:37:30.548] checking for unistd.h... yes [09:37:30.566] checking for main in -lm... yes [09:37:30.615] checking for library containing setproctitle... no [09:37:30.709] checking for library containing dlsym... no [09:37:30.802] checking for library containing socket... -lws2_32 [09:37:30.940] checking for library containing getopt_long... none required [09:37:30.992] checking for library containing shm_open... no [09:37:31.085] checking for library containing shm_unlink... no [09:37:31.177] checking for library containing clock_gettime... no [09:37:31.268] checking for library containing shmget... no [09:37:31.359] checking for library containing backtrace_symbols... no [09:37:31.450] checking for library containing pthread_barrier_wait... -lpthread [09:37:31.547] checking for inflate in -lz... yes [09:37:31.596] checking for stdbool.h that conforms to C99... yes [09:37:31.608] checking for _Bool... yes [09:37:31.685] checking atomic.h usability... no [09:37:31.743] checking atomic.h presence... no [09:37:31.763] checking for atomic.h... no [09:37:31.766] checking copyfile.h usability... no [09:37:31.823] checking copyfile.h presence... no [09:37:31.843] checking for copyfile.h... no [09:37:31.846] checking execinfo.h usability... no [09:37:31.904] checking execinfo.h presence... no [09:37:31.924] checking for execinfo.h... no [09:37:31.928] checking getopt.h usability... yes [09:37:31.936] checking getopt.h presence... yes [09:37:31.953] checking for getopt.h... yes [09:37:31.961] checking ifaddrs.h usability... no [09:37:32.020] checking ifaddrs.h presence... no [09:37:32.040] checking for ifaddrs.h... no [09:37:32.043] checking mbarrier.h usability... no [09:37:32.103] checking mbarrier.h presence... no [09:37:32.123] checking for mbarrier.h... no [09:37:32.126] checking sys/epoll.h usability... no [09:37:32.185] checking sys/epoll.h presence... no [09:37:32.206] checking for sys/epoll.h... no [09:37:32.210] checking sys/event.h usability... no [09:37:32.269] checking sys/event.h presence... no [09:37:32.289] checking for sys/event.h... no [09:37:32.293] checking sys/personality.h usability... no [09:37:32.351] checking sys/personality.h presence... no [09:37:32.372] checking for sys/personality.h... no [09:37:32.376] checking sys/prctl.h usability... no [09:37:32.434] checking sys/prctl.h presence... no [09:37:32.456] checking for sys/prctl.h... no [09:37:32.460] checking sys/procctl.h usability... no [09:37:32.519] checking sys/procctl.h presence... no [09:37:32.541] checking for sys/procctl.h... no [09:37:32.545] checking sys/signalfd.h usability... no [09:37:32.603] checking sys/signalfd.h presence... no [09:37:32.624] checking for sys/signalfd.h... no [09:37:32.627] checking sys/ucred.h usability... no [09:37:32.685] checking sys/ucred.h presence... no [09:37:32.704] checking for sys/ucred.h... no [09:37:32.707] checking termios.h usability... no [09:37:32.766] checking termios.h presence... no [09:37:32.786] checking for termios.h... no [09:37:32.789] checking ucred.h usability... no [09:37:32.848] checking ucred.h presence... no [09:37:32.868] checking for ucred.h... no [09:37:32.872] checking zlib.h usability... yes [09:37:32.882] checking zlib.h presence... yes [09:37:32.903] checking for zlib.h... yes [09:37:32.903] checking for lz4... /usr/bin/lz4 [09:37:32.903] checking for zstd... /usr/bin/zstd [09:37:32.904] checking for openssl... /usr/bin/openssl [09:37:32.908] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [09:37:32.909] checking crtdefs.h usability... yes [09:37:32.917] checking crtdefs.h presence... yes [09:37:32.934] checking for crtdefs.h... yes [09:37:32.936] checking whether byte ordering is bigendian... no [09:37:33.014] checking for inline... inline [09:37:33.021] checking for printf format archetype... gnu_printf [09:37:33.030] checking for _Static_assert... yes [09:37:33.075] checking for typeof... typeof [09:37:33.083] checking for __builtin_types_compatible_p... yes [09:37:33.094] checking for __builtin_constant_p... yes [09:37:33.106] checking for __builtin_unreachable... yes [09:37:33.149] checking for computed goto support... yes [09:37:33.157] checking for struct tm.tm_zone... no [09:37:33.242] checking for union semun... no [09:37:33.278] checking for socklen_t... yes [09:37:34.538] checking for struct sockaddr.sa_len... no [09:37:36.731] checking for locale_t... no [09:37:36.807] checking for C/C++ restrict keyword... __restrict [09:37:36.822] checking for struct option... yes [09:37:36.867] checking whether assembler supports x86_64 popcntq... yes [09:37:36.876] checking size of off_t... 4 [09:37:37.097] 0 [09:37:37.097] checking size of bool... 1 [09:37:37.147] checking for int timezone... yes [09:37:37.201] checking for wcstombs_l declaration... no [09:37:37.293] checking for backtrace_symbols... no [09:37:37.348] checking for copyfile... no [09:37:37.402] checking for copy_file_range... no [09:37:37.456] checking for getifaddrs... no [09:37:37.510] checking for getpeerucred... no [09:37:37.564] checking for inet_pton... yes [09:37:37.617] checking for kqueue... no [09:37:37.671] checking for mbstowcs_l... no [09:37:37.723] checking for memset_s... no [09:37:37.776] checking for posix_fallocate... no [09:37:37.828] checking for ppoll... no [09:37:37.881] checking for pthread_is_threaded_np... no [09:37:37.936] checking for setproctitle... no [09:37:37.990] checking for setproctitle_fast... no [09:37:38.043] checking for strchrnul... no [09:37:38.095] checking for strsignal... no [09:37:38.147] checking for syncfs... no [09:37:38.199] checking for sync_file_range... no [09:37:38.251] checking for uselocale... no [09:37:38.306] checking for wcstombs_l... no [09:37:38.356] checking for __builtin_bswap16... yes [09:37:38.409] checking for __builtin_bswap32... yes [09:37:38.459] checking for __builtin_bswap64... yes [09:37:38.509] checking for __builtin_clz... yes [09:37:38.561] checking for __builtin_ctz... yes [09:37:38.612] checking for __builtin_popcount... yes [09:37:38.663] checking for __builtin_frame_address... yes [09:37:38.712] checking for _LARGEFILE_SOURCE value needed for large files... no [09:37:38.768] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:37:38.803] checking for posix_fadvise... no [09:37:38.856] checking whether posix_fadvise is declared... no [09:37:38.906] checking whether fdatasync is declared... no [09:37:38.958] checking whether strlcat is declared... no [09:37:39.029] checking whether strlcpy is declared... no [09:37:39.098] checking whether strnlen is declared... yes [09:37:39.113] checking whether strsep is declared... no [09:37:39.185] checking whether preadv is declared... no [09:37:39.228] checking whether pwritev is declared... no [09:37:39.271] checking whether F_FULLFSYNC is declared... no [09:37:39.317] checking for explicit_bzero... no [09:37:39.368] checking for getopt... yes [09:37:39.415] checking for getpeereid... no [09:37:39.464] checking for inet_aton... no [09:37:39.515] checking for mkdtemp... no [09:37:39.566] checking for strlcat... no [09:37:39.616] checking for strlcpy... no [09:37:39.667] checking for strnlen... yes [09:37:39.718] checking for strsep... no [09:37:39.770] checking for pthread_barrier_wait... yes [09:37:39.817] configure: On mingw32 we will use our strtof wrapper. [09:37:39.817] checking for getopt_long... yes [09:37:39.865] checking for _configthreadlocale... yes [09:37:39.912] checking for syslog... no [09:37:39.963] checking for opterr... yes [09:37:40.014] checking for optreset... no [09:37:40.071] checking test program... cross-compiling [09:37:40.071] checking whether long int is 64 bits... no [09:37:40.108] checking whether long long int is 64 bits... yes [09:37:40.118] checking for __builtin_mul_overflow... yes [09:37:40.165] checking size of void *... 8 [09:37:40.455] checking size of size_t... 8 [09:37:40.745] checking size of long... 4 [09:37:40.961] checking alignment of short... 2 [09:37:41.110] checking alignment of int... 4 [09:37:41.331] checking alignment of long... 4 [09:37:41.550] checking alignment of long long int... 8 [09:37:41.837] checking alignment of double... 8 [09:37:42.129] checking for int8... no [09:37:42.178] checking for uint8... no [09:37:42.225] checking for int64... no [09:37:42.272] checking for uint64... no [09:37:42.318] checking for __int128... yes [09:37:42.372] checking for __int128 alignment bug... assuming ok [09:37:42.372] checking alignment of PG_INT128_TYPE... 16 [09:37:42.728] checking for builtin __sync char locking functions... yes [09:37:42.774] checking for builtin __sync int32 locking functions... yes [09:37:42.819] checking for builtin __sync int32 atomic operations... yes [09:37:42.865] checking for builtin __sync int64 atomic operations... yes [09:37:42.911] checking for builtin __atomic int32 atomic operations... yes [09:37:42.957] checking for builtin __atomic int64 atomic operations... yes [09:37:43.003] checking for __get_cpuid... yes [09:37:43.054] checking for __get_cpuid_count... yes [09:37:43.102] checking for __cpuid... no [09:37:43.515] checking for __cpuidex... no [09:37:43.956] checking for _xgetbv with CFLAGS=... no [09:37:44.350] checking for _xgetbv with CFLAGS=-mxsave... yes [09:37:44.759] checking for _mm512_popcnt_epi64 with CFLAGS=... no [09:37:45.148] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [09:37:45.499] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:37:45.549] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:37:45.644] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:37:45.669] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:37:45.690] 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 [09:37:45.750] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:37:45.750] checking which random number source to use... Windows native [09:37:45.752] checking for xmllint... /usr/bin/xmllint [09:37:45.753] checking for xsltproc... /usr/bin/xsltproc [09:37:45.753] checking for fop... /usr/bin/fop [09:37:45.753] checking for dbtoepub... no [09:37:45.753] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:37:45.754] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:37:45.754] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:37:45.766] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:37:45.766] 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 [09:37:45.766] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:37:45.766] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:37:45.864] configure: creating ./config.status [09:37:45.957] config.status: creating GNUmakefile [09:37:45.971] config.status: creating src/Makefile.global [09:37:45.988] config.status: creating src/include/pg_config.h [09:37:46.002] config.status: creating src/include/pg_config_ext.h [09:37:46.016] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:37:46.033] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:37:46.042] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:37:46.050] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:37:46.058] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:37:46.067] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:37:46.071] config.status: executing check_win32_symlinks commands [09:37:46.108] [09:37:46.108] real 0m17.497s [09:37:46.108] user 0m11.317s [09:37:46.108] sys 0m5.744s [09:37:46.108] make -s -j${BUILD_JOBS} clean [09:37:46.627] time make -s -j${BUILD_JOBS} world-bin [09:38:07.064] smgr.c: In function ‘smgrdestroy’: [09:38:07.064] smgr.c:279:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [09:38:07.064] 279 | ForkNumber forknum; [09:38:07.064] | ^~~~~~~ [09:38:07.064] smgr.c: In function ‘smgrdounlinkall’: [09:38:07.064] smgr.c:484:41: error: unused variable ‘which’ [-Werror=unused-variable] [09:38:07.064] 484 | int which = rels[i]->smgr_which; [09:38:07.064] | ^~~~~ [09:38:07.064] cc1: all warnings being treated as errors [09:38:07.066] make[4]: *** [: smgr.o] Error 1 [09:38:07.066] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [09:38:07.066] make[3]: *** Waiting for unfinished jobs.... [09:38:07.153] make[2]: *** [common.mk:37: storage-recursive] Error 2 [09:38:07.153] make[2]: *** Waiting for unfinished jobs.... [09:38:08.110] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:38:08.110] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:38:08.110] [09:38:08.110] real 0m21.484s [09:38:08.110] user 1m0.912s [09:38:08.110] sys 0m16.091s [09:38:08.111] [09:38:08.111] Exit status: 2