[13:48:51.520] time ./configure \ [13:48:51.520] --host=x86_64-w64-mingw32 \ [13:48:51.520] --enable-cassert \ [13:48:51.520] --without-icu \ [13:48:51.520] CC="ccache x86_64-w64-mingw32-gcc" \ [13:48:51.520] CXX="ccache x86_64-w64-mingw32-g++" [13:48:51.630] checking build system type... x86_64-pc-linux-gnu [13:48:51.842] checking host system type... x86_64-w64-mingw32 [13:48:51.848] checking which template to use... win32 [13:48:51.848] checking whether NLS is wanted... no [13:48:51.848] checking for default port number... 5432 [13:48:51.855] checking for block size... 8kB [13:48:51.856] checking for segment size... 1GB [13:48:51.859] checking for WAL block size... 8kB [13:48:51.860] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:48:51.897] checking whether the C compiler works... yes [13:48:52.047] checking for C compiler default output file name... a.exe [13:48:52.048] checking for suffix of executables... .exe [13:48:52.090] checking whether we are cross compiling... yes [13:48:52.163] checking for suffix of object files... o [13:48:52.171] checking whether we are using the GNU C compiler... yes [13:48:52.178] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:48:52.185] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:48:52.195] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:48:52.261] checking whether we are using the GNU C++ compiler... yes [13:48:52.268] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:48:52.341] checking for gawk... no [13:48:52.341] checking for mawk... mawk [13:48:52.344] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:48:52.351] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:48:52.358] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:48:52.404] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:48:52.583] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:48:52.589] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:48:52.623] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:48:52.630] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:48:52.638] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:48:52.645] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:48:52.652] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:48:52.685] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:48:52.702] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:48:52.709] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:48:52.716] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:48:52.749] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:48:52.756] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:48:52.792] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:48:52.798] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:48:52.805] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:48:52.812] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:48:52.818] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:48:52.851] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:48:52.877] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:48:52.884] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:48:52.917] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:48:52.955] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:48:52.994] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:48:53.001] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:48:53.008] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:48:53.043] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:48:53.050] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:48:53.057] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:48:53.064] checking whether the C compiler still works... yes [13:48:53.131] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:48:53.203] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:48:53.204] checking pkg-config is at least version 0.9.0... yes [13:48:53.220] checking whether to build with ICU support... no [13:48:53.221] checking whether to build with Tcl... no [13:48:53.221] checking whether to build Perl modules... no [13:48:53.221] checking whether to build Python modules... no [13:48:53.221] checking whether to build with GSSAPI support... no [13:48:53.222] checking whether to build with PAM support... no [13:48:53.222] checking whether to build with BSD Authentication support... no [13:48:53.222] checking whether to build with LDAP support... no [13:48:53.222] checking whether to build with Bonjour support... no [13:48:53.222] checking whether to build with SELinux support... no [13:48:53.222] checking whether to build with systemd support... no [13:48:53.222] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:48:53.223] checking whether to build with XML support... no [13:48:53.223] checking whether to build with LZ4 support... no [13:48:53.223] checking whether to build with ZSTD support... no [13:48:53.223] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:48:53.224] checking whether it is possible to strip libraries... yes [13:48:53.231] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:48:53.231] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:48:53.232] checking for a BSD-compatible install... /usr/bin/install -c [13:48:53.240] checking for tar... /usr/bin/tar [13:48:53.240] checking whether ln -s works... yes [13:48:53.241] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:48:53.243] checking for bison... /usr/bin/bison [13:48:53.245] configure: using bison (GNU Bison) 3.8.2 [13:48:53.248] checking for flex... /usr/bin/flex [13:48:53.260] configure: using flex 2.6.4 [13:48:53.260] checking for perl... /usr/bin/perl [13:48:53.263] configure: using perl 5.36.0 [13:48:53.265] checking for zic... /usr/sbin/zic [13:48:53.265] checking for a sed that does not truncate output... /usr/bin/sed [13:48:53.271] checking for grep that handles long lines and -e... /usr/bin/grep [13:48:53.273] checking for egrep... /usr/bin/grep -E [13:48:53.274] checking for ANSI C header files... yes [13:48:53.321] checking for sys/types.h... yes [13:48:53.339] checking for sys/stat.h... yes [13:48:53.355] checking for stdlib.h... yes [13:48:53.371] checking for string.h... yes [13:48:53.386] checking for memory.h... yes [13:48:53.402] checking for strings.h... yes [13:48:53.417] checking for inttypes.h... yes [13:48:53.433] checking for stdint.h... yes [13:48:53.449] checking for unistd.h... yes [13:48:53.465] checking for main in -lm... yes [13:48:53.513] checking for library containing setproctitle... no [13:48:53.603] checking for library containing dlsym... no [13:48:53.691] checking for library containing socket... -lws2_32 [13:48:53.822] checking for library containing getopt_long... none required [13:48:53.873] checking for library containing shm_open... no [13:48:53.963] checking for library containing shm_unlink... no [13:48:54.054] checking for library containing clock_gettime... no [13:48:54.145] checking for library containing shmget... no [13:48:54.238] checking for library containing backtrace_symbols... no [13:48:54.332] checking for library containing pthread_barrier_wait... -lpthread [13:48:54.424] checking for inflate in -lz... yes [13:48:54.471] checking for stdbool.h that conforms to C99... yes [13:48:54.482] checking for _Bool... yes [13:48:54.556] checking atomic.h usability... no [13:48:54.613] checking atomic.h presence... no [13:48:54.633] checking for atomic.h... no [13:48:54.636] checking copyfile.h usability... no [13:48:54.694] checking copyfile.h presence... no [13:48:54.715] checking for copyfile.h... no [13:48:54.718] checking execinfo.h usability... no [13:48:54.774] checking execinfo.h presence... no [13:48:54.794] checking for execinfo.h... no [13:48:54.797] checking getopt.h usability... yes [13:48:54.828] checking getopt.h presence... yes [13:48:54.845] checking for getopt.h... yes [13:48:54.853] checking ifaddrs.h usability... no [13:48:54.911] checking ifaddrs.h presence... no [13:48:54.931] checking for ifaddrs.h... no [13:48:54.935] checking mbarrier.h usability... no [13:48:54.993] checking mbarrier.h presence... no [13:48:55.013] checking for mbarrier.h... no [13:48:55.016] checking sys/epoll.h usability... no [13:48:55.073] checking sys/epoll.h presence... no [13:48:55.093] checking for sys/epoll.h... no [13:48:55.096] checking sys/event.h usability... no [13:48:55.152] checking sys/event.h presence... no [13:48:55.172] checking for sys/event.h... no [13:48:55.176] checking sys/personality.h usability... no [13:48:55.233] checking sys/personality.h presence... no [13:48:55.252] checking for sys/personality.h... no [13:48:55.256] checking sys/prctl.h usability... no [13:48:55.313] checking sys/prctl.h presence... no [13:48:55.333] checking for sys/prctl.h... no [13:48:55.337] checking sys/procctl.h usability... no [13:48:55.394] checking sys/procctl.h presence... no [13:48:55.413] checking for sys/procctl.h... no [13:48:55.416] checking sys/signalfd.h usability... no [13:48:55.472] checking sys/signalfd.h presence... no [13:48:55.491] checking for sys/signalfd.h... no [13:48:55.494] checking sys/ucred.h usability... no [13:48:55.549] checking sys/ucred.h presence... no [13:48:55.568] checking for sys/ucred.h... no [13:48:55.571] checking termios.h usability... no [13:48:55.626] checking termios.h presence... no [13:48:55.645] checking for termios.h... no [13:48:55.648] checking ucred.h usability... no [13:48:55.704] checking ucred.h presence... no [13:48:55.724] checking for ucred.h... no [13:48:55.727] checking zlib.h usability... yes [13:48:55.737] checking zlib.h presence... yes [13:48:55.756] checking for zlib.h... yes [13:48:55.757] checking for lz4... /usr/bin/lz4 [13:48:55.757] checking for zstd... /usr/bin/zstd [13:48:55.757] checking for openssl... /usr/bin/openssl [13:48:55.762] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [13:48:55.762] checking crtdefs.h usability... yes [13:48:55.770] checking crtdefs.h presence... yes [13:48:55.785] checking for crtdefs.h... yes [13:48:55.786] checking whether byte ordering is bigendian... no [13:48:55.860] checking for inline... inline [13:48:55.868] checking for printf format archetype... gnu_printf [13:48:55.876] checking for _Static_assert... yes [13:48:55.918] checking for typeof... typeof [13:48:55.953] checking for __builtin_types_compatible_p... yes [13:48:55.964] checking for __builtin_constant_p... yes [13:48:55.974] checking for __builtin_unreachable... yes [13:48:56.017] checking for computed goto support... yes [13:48:56.051] checking for struct tm.tm_zone... no [13:48:56.128] checking for union semun... no [13:48:56.163] checking for socklen_t... yes [13:48:57.791] checking for struct sockaddr.sa_len... no [13:49:00.006] checking for locale_t... no [13:49:00.077] checking for C/C++ restrict keyword... __restrict [13:49:00.091] checking for struct option... yes [13:49:00.137] checking whether assembler supports x86_64 popcntq... yes [13:49:00.145] checking size of off_t... 4 [13:49:00.355] 0 [13:49:00.355] checking size of bool... 1 [13:49:00.412] checking for int timezone... yes [13:49:00.462] checking for wcstombs_l declaration... no [13:49:00.552] checking for backtrace_symbols... no [13:49:00.605] checking for copyfile... no [13:49:00.658] checking for copy_file_range... no [13:49:00.711] checking for getifaddrs... no [13:49:00.763] checking for getpeerucred... no [13:49:00.815] checking for inet_pton... yes [13:49:00.872] checking for kqueue... no [13:49:00.928] checking for mbstowcs_l... no [13:49:00.982] checking for memset_s... no [13:49:01.036] checking for posix_fallocate... no [13:49:01.089] checking for ppoll... no [13:49:01.143] checking for pthread_is_threaded_np... no [13:49:01.198] checking for setproctitle... no [13:49:01.251] checking for setproctitle_fast... no [13:49:01.306] checking for strchrnul... no [13:49:01.356] checking for strsignal... no [13:49:01.408] checking for syncfs... no [13:49:01.460] checking for sync_file_range... no [13:49:01.511] checking for uselocale... no [13:49:01.561] checking for wcstombs_l... no [13:49:01.609] checking for __builtin_bswap16... yes [13:49:01.661] checking for __builtin_bswap32... yes [13:49:01.712] checking for __builtin_bswap64... yes [13:49:01.765] checking for __builtin_clz... yes [13:49:01.818] checking for __builtin_ctz... yes [13:49:01.870] checking for __builtin_popcount... yes [13:49:01.923] checking for __builtin_frame_address... yes [13:49:01.975] checking for _LARGEFILE_SOURCE value needed for large files... no [13:49:02.034] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:49:02.070] checking for posix_fadvise... no [13:49:02.125] checking whether posix_fadvise is declared... no [13:49:02.174] checking whether fdatasync is declared... no [13:49:02.222] checking whether strlcat is declared... no [13:49:02.289] checking whether strlcpy is declared... no [13:49:02.356] checking whether strnlen is declared... yes [13:49:02.370] checking whether strsep is declared... no [13:49:02.437] checking whether preadv is declared... no [13:49:02.474] checking whether pwritev is declared... no [13:49:02.511] checking whether F_FULLFSYNC is declared... no [13:49:02.553] checking for explicit_bzero... no [13:49:02.602] checking for getopt... yes [13:49:02.650] checking for getpeereid... no [13:49:02.702] checking for inet_aton... no [13:49:02.751] checking for mkdtemp... no [13:49:02.798] checking for strlcat... no [13:49:02.847] checking for strlcpy... no [13:49:02.897] checking for strnlen... yes [13:49:02.946] checking for strsep... no [13:49:02.995] checking for pthread_barrier_wait... yes [13:49:03.039] configure: On mingw32 we will use our strtof wrapper. [13:49:03.039] checking for getopt_long... yes [13:49:03.084] checking for _configthreadlocale... yes [13:49:03.129] checking for syslog... no [13:49:03.177] checking for opterr... yes [13:49:03.225] checking for optreset... no [13:49:03.277] checking test program... cross-compiling [13:49:03.277] checking whether long int is 64 bits... no [13:49:03.309] checking whether long long int is 64 bits... yes [13:49:03.318] checking for __builtin_mul_overflow... yes [13:49:03.361] checking size of void *... 8 [13:49:03.631] checking size of size_t... 8 [13:49:03.906] checking size of long... 4 [13:49:04.170] checking alignment of short... 2 [13:49:04.309] checking alignment of int... 4 [13:49:04.575] checking alignment of long... 4 [13:49:04.811] checking alignment of long long int... 8 [13:49:05.118] checking alignment of double... 8 [13:49:05.488] checking for int8... no [13:49:05.533] checking for uint8... no [13:49:05.578] checking for int64... no [13:49:05.623] checking for uint64... no [13:49:05.668] checking for __int128... yes [13:49:05.720] checking for __int128 alignment bug... assuming ok [13:49:05.720] checking alignment of PG_INT128_TYPE... 16 [13:49:06.142] checking for builtin __sync char locking functions... yes [13:49:06.185] checking for builtin __sync int32 locking functions... yes [13:49:06.230] checking for builtin __sync int32 atomic operations... yes [13:49:06.273] checking for builtin __sync int64 atomic operations... yes [13:49:06.319] checking for builtin __atomic int32 atomic operations... yes [13:49:06.362] checking for builtin __atomic int64 atomic operations... yes [13:49:06.407] checking for __get_cpuid... yes [13:49:06.456] checking for __get_cpuid_count... yes [13:49:06.505] checking for __cpuid... no [13:49:06.912] checking for __cpuidex... no [13:49:07.338] checking for _xgetbv with CFLAGS=... no [13:49:07.727] checking for _xgetbv with CFLAGS=-mxsave... yes [13:49:08.136] checking for _mm512_popcnt_epi64 with CFLAGS=... no [13:49:08.524] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [13:49:08.864] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [13:49:08.913] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [13:49:09.005] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:49:09.030] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:49:09.049] 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 [13:49:09.107] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:49:09.107] checking which random number source to use... Windows native [13:49:09.109] checking for xmllint... /usr/bin/xmllint [13:49:09.109] checking for xsltproc... /usr/bin/xsltproc [13:49:09.110] checking for fop... /usr/bin/fop [13:49:09.110] checking for dbtoepub... no [13:49:09.110] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:49:09.110] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:49:09.110] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:49:09.121] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:49:09.121] 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 [13:49:09.121] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:49:09.121] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:49:09.209] configure: creating ./config.status [13:49:09.298] config.status: creating GNUmakefile [13:49:09.311] config.status: creating src/Makefile.global [13:49:09.327] config.status: creating src/include/pg_config.h [13:49:09.340] config.status: creating src/include/pg_config_ext.h [13:49:09.351] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:49:09.366] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:49:09.374] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:49:09.381] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:49:09.389] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:49:09.396] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:49:09.399] config.status: executing check_win32_symlinks commands [13:49:09.435] [13:49:09.435] real 0m17.914s [13:49:09.435] user 0m11.947s [13:49:09.435] sys 0m5.575s [13:49:09.435] make -s -j${BUILD_JOBS} clean [13:49:09.932] time make -s -j${BUILD_JOBS} world-bin [13:50:08.914] smgr.c: In function ‘smgrdestroy’: [13:50:08.914] smgr.c:279:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [13:50:08.914] 279 | ForkNumber forknum; [13:50:08.914] | ^~~~~~~ [13:50:08.914] smgr.c: In function ‘smgrdounlinkall’: [13:50:08.914] smgr.c:484:41: error: unused variable ‘which’ [-Werror=unused-variable] [13:50:08.914] 484 | int which = rels[i]->smgr_which; [13:50:08.914] | ^~~~~ [13:50:08.914] cc1: all warnings being treated as errors [13:50:08.915] make[4]: *** [: smgr.o] Error 1 [13:50:08.915] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [13:50:08.915] make[2]: *** [common.mk:37: storage-recursive] Error 2 [13:50:08.915] make[2]: *** Waiting for unfinished jobs.... [13:50:38.490] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:50:38.491] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:50:38.491] [13:50:38.491] real 1m28.559s [13:50:38.491] user 4m47.984s [13:50:38.491] sys 0m55.731s [13:50:38.491] [13:50:38.491] Exit status: 2