[13:44:40.268] time ./configure \ [13:44:40.268] --host=x86_64-w64-mingw32 \ [13:44:40.268] --enable-cassert \ [13:44:40.268] --without-icu \ [13:44:40.268] CC="ccache x86_64-w64-mingw32-gcc" \ [13:44:40.268] CXX="ccache x86_64-w64-mingw32-g++" [13:44:40.388] checking build system type... x86_64-pc-linux-gnu [13:44:40.590] checking host system type... x86_64-w64-mingw32 [13:44:40.595] checking which template to use... win32 [13:44:40.596] checking whether NLS is wanted... no [13:44:40.596] checking for default port number... 5432 [13:44:40.602] checking for block size... 8kB [13:44:40.603] checking for segment size... 1GB [13:44:40.606] checking for WAL block size... 8kB [13:44:40.607] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:44:40.641] checking whether the C compiler works... yes [13:44:40.790] checking for C compiler default output file name... a.exe [13:44:40.791] checking for suffix of executables... .exe [13:44:40.832] checking whether we are cross compiling... yes [13:44:40.909] checking for suffix of object files... o [13:44:40.917] checking whether we are using the GNU C compiler... yes [13:44:40.924] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:44:40.930] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:44:40.939] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:44:40.999] checking whether we are using the GNU C++ compiler... yes [13:44:41.005] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:44:41.074] checking for gawk... no [13:44:41.074] checking for mawk... mawk [13:44:41.076] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:44:41.083] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:44:41.090] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:44:41.135] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:44:41.303] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:44:41.310] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:44:41.316] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:44:41.323] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:44:41.330] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:44:41.337] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:44:41.343] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:44:41.350] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:44:41.357] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:44:41.363] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:44:41.370] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:44:41.377] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:44:41.383] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:44:41.419] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:44:41.426] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:44:41.433] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:44:41.440] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:44:41.447] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:44:41.454] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:44:41.476] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:44:41.483] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:44:41.489] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:44:41.527] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:44:41.565] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:44:41.572] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:44:41.578] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:44:41.612] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:44:41.619] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:44:41.626] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:44:41.633] checking whether the C compiler still works... yes [13:44:41.700] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:44:41.771] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:44:41.772] checking pkg-config is at least version 0.9.0... yes [13:44:41.788] checking whether to build with ICU support... no [13:44:41.788] checking whether to build with Tcl... no [13:44:41.788] checking whether to build Perl modules... no [13:44:41.788] checking whether to build Python modules... no [13:44:41.788] checking whether to build with GSSAPI support... no [13:44:41.789] checking whether to build with PAM support... no [13:44:41.789] checking whether to build with BSD Authentication support... no [13:44:41.789] checking whether to build with LDAP support... no [13:44:41.789] checking whether to build with Bonjour support... no [13:44:41.790] checking whether to build with SELinux support... no [13:44:41.790] checking whether to build with systemd support... no [13:44:41.790] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:44:41.790] checking whether to build with XML support... no [13:44:41.790] checking whether to build with LZ4 support... no [13:44:41.790] checking whether to build with ZSTD support... no [13:44:41.791] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:44:41.791] checking whether it is possible to strip libraries... yes [13:44:41.801] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:44:41.801] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:44:41.801] checking for a BSD-compatible install... /usr/bin/install -c [13:44:41.810] checking for tar... /usr/bin/tar [13:44:41.810] checking whether ln -s works... yes [13:44:41.810] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:44:41.812] checking for bison... /usr/bin/bison [13:44:41.814] configure: using bison (GNU Bison) 3.8.2 [13:44:41.817] checking for flex... /usr/bin/flex [13:44:41.828] configure: using flex 2.6.4 [13:44:41.828] checking for perl... /usr/bin/perl [13:44:41.831] configure: using perl 5.36.0 [13:44:41.832] checking for zic... /usr/sbin/zic [13:44:41.833] checking for a sed that does not truncate output... /usr/bin/sed [13:44:41.837] checking for grep that handles long lines and -e... /usr/bin/grep [13:44:41.839] checking for egrep... /usr/bin/grep -E [13:44:41.841] checking for ANSI C header files... yes [13:44:41.886] checking for sys/types.h... yes [13:44:41.903] checking for sys/stat.h... yes [13:44:41.919] checking for stdlib.h... yes [13:44:41.933] checking for string.h... yes [13:44:41.948] checking for memory.h... yes [13:44:41.964] checking for strings.h... yes [13:44:41.980] checking for inttypes.h... yes [13:44:41.995] checking for stdint.h... yes [13:44:42.009] checking for unistd.h... yes [13:44:42.027] checking for main in -lm... yes [13:44:42.072] checking for library containing setproctitle... no [13:44:42.163] checking for library containing dlsym... no [13:44:42.250] checking for library containing socket... -lws2_32 [13:44:42.382] checking for library containing getopt_long... none required [13:44:42.428] checking for library containing shm_open... no [13:44:42.516] checking for library containing shm_unlink... no [13:44:42.603] checking for library containing clock_gettime... no [13:44:42.690] checking for library containing shmget... no [13:44:42.774] checking for library containing backtrace_symbols... no [13:44:42.859] checking for library containing pthread_barrier_wait... -lpthread [13:44:42.945] checking for inflate in -lz... yes [13:44:42.991] checking atomic.h usability... no [13:44:43.047] checking atomic.h presence... no [13:44:43.065] checking for atomic.h... no [13:44:43.068] checking copyfile.h usability... no [13:44:43.120] checking copyfile.h presence... no [13:44:43.137] checking for copyfile.h... no [13:44:43.140] checking execinfo.h usability... no [13:44:43.192] checking execinfo.h presence... no [13:44:43.209] checking for execinfo.h... no [13:44:43.212] checking getopt.h usability... yes [13:44:43.219] checking getopt.h presence... yes [13:44:43.234] checking for getopt.h... yes [13:44:43.241] checking ifaddrs.h usability... no [13:44:43.296] checking ifaddrs.h presence... no [13:44:43.315] checking for ifaddrs.h... no [13:44:43.318] checking mbarrier.h usability... no [13:44:43.375] checking mbarrier.h presence... no [13:44:43.394] checking for mbarrier.h... no [13:44:43.397] checking sys/epoll.h usability... no [13:44:43.451] checking sys/epoll.h presence... no [13:44:43.469] checking for sys/epoll.h... no [13:44:43.472] checking sys/event.h usability... no [13:44:43.527] checking sys/event.h presence... no [13:44:43.546] checking for sys/event.h... no [13:44:43.549] checking sys/personality.h usability... no [13:44:43.605] checking sys/personality.h presence... no [13:44:43.624] checking for sys/personality.h... no [13:44:43.627] checking sys/prctl.h usability... no [13:44:43.682] checking sys/prctl.h presence... no [13:44:43.701] checking for sys/prctl.h... no [13:44:43.704] checking sys/procctl.h usability... no [13:44:43.760] checking sys/procctl.h presence... no [13:44:43.780] checking for sys/procctl.h... no [13:44:43.783] checking sys/signalfd.h usability... no [13:44:43.840] checking sys/signalfd.h presence... no [13:44:43.859] checking for sys/signalfd.h... no [13:44:43.862] checking sys/ucred.h usability... no [13:44:43.918] checking sys/ucred.h presence... no [13:44:43.937] checking for sys/ucred.h... no [13:44:43.940] checking termios.h usability... no [13:44:43.994] checking termios.h presence... no [13:44:44.012] checking for termios.h... no [13:44:44.016] checking ucred.h usability... no [13:44:44.071] checking ucred.h presence... no [13:44:44.090] checking for ucred.h... no [13:44:44.093] checking xlocale.h usability... no [13:44:44.145] checking xlocale.h presence... no [13:44:44.163] checking for xlocale.h... no [13:44:44.166] checking zlib.h usability... yes [13:44:44.177] checking zlib.h presence... yes [13:44:44.196] checking for zlib.h... yes [13:44:44.196] checking for lz4... /usr/bin/lz4 [13:44:44.197] checking for zstd... /usr/bin/zstd [13:44:44.197] checking for openssl... /usr/bin/openssl [13:44:44.201] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [13:44:44.201] checking crtdefs.h usability... yes [13:44:44.209] checking crtdefs.h presence... yes [13:44:44.224] checking for crtdefs.h... yes [13:44:44.225] checking whether byte ordering is bigendian... no [13:44:44.300] checking for inline... inline [13:44:44.307] checking for printf format archetype... gnu_printf [13:44:44.315] checking for _Static_assert... yes [13:44:44.356] checking for typeof... typeof [13:44:44.363] checking for __builtin_types_compatible_p... yes [13:44:44.375] checking for __builtin_constant_p... yes [13:44:44.386] checking for __builtin_mul_overflow... yes [13:44:44.433] checking for __builtin_unreachable... yes [13:44:44.475] checking for computed goto support... yes [13:44:44.482] checking for struct tm.tm_zone... no [13:44:44.560] checking for union semun... no [13:44:44.595] checking for socklen_t... yes [13:44:45.866] checking for struct sockaddr.sa_len... no [13:44:47.944] checking for C/C++ restrict keyword... __restrict [13:44:47.958] checking for struct option... yes [13:44:48.002] checking whether assembler supports x86_64 popcntq... yes [13:44:48.009] checking size of off_t... 4 [13:44:48.213] 0 [13:44:48.213] checking for int timezone... yes [13:44:48.265] checking for backtrace_symbols... no [13:44:48.315] checking for copyfile... no [13:44:48.365] checking for copy_file_range... no [13:44:48.415] checking for elf_aux_info... no [13:44:48.465] checking for getauxval... no [13:44:48.515] checking for getifaddrs... no [13:44:48.566] checking for getpeerucred... no [13:44:48.614] checking for inet_pton... yes [13:44:48.664] checking for kqueue... no [13:44:48.716] checking for mbstowcs_l... no [13:44:48.769] checking for memset_s... no [13:44:48.821] checking for posix_fallocate... no [13:44:48.871] checking for ppoll... no [13:44:48.920] checking for pthread_is_threaded_np... no [13:44:48.969] checking for setproctitle... no [13:44:49.019] checking for setproctitle_fast... no [13:44:49.069] checking for strchrnul... no [13:44:49.117] checking for strsignal... no [13:44:49.167] checking for syncfs... no [13:44:49.217] checking for sync_file_range... no [13:44:49.267] checking for uselocale... no [13:44:49.318] checking for wcstombs_l... no [13:44:49.367] checking for __builtin_bswap16... yes [13:44:49.417] checking for __builtin_bswap32... yes [13:44:49.465] checking for __builtin_bswap64... yes [13:44:49.513] checking for __builtin_clz... yes [13:44:49.565] checking for __builtin_ctz... yes [13:44:49.611] checking for __builtin_popcount... yes [13:44:49.661] checking for __builtin_frame_address... yes [13:44:49.709] checking for _LARGEFILE_SOURCE value needed for large files... no [13:44:49.761] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:44:49.791] checking for posix_fadvise... no [13:44:49.842] checking whether posix_fadvise is declared... no [13:44:49.887] checking whether fdatasync is declared... no [13:44:49.934] checking whether strlcat is declared... no [13:44:49.999] checking whether strlcpy is declared... no [13:44:50.063] checking whether strnlen is declared... yes [13:44:50.076] checking whether strsep is declared... no [13:44:50.139] checking whether preadv is declared... no [13:44:50.177] checking whether pwritev is declared... no [13:44:50.214] checking whether F_FULLFSYNC is declared... no [13:44:50.257] checking for explicit_bzero... no [13:44:50.306] checking for getopt... yes [13:44:50.354] checking for getpeereid... no [13:44:50.405] checking for inet_aton... no [13:44:50.455] checking for mkdtemp... no [13:44:50.504] checking for strlcat... no [13:44:50.554] checking for strlcpy... no [13:44:50.604] checking for strnlen... yes [13:44:50.653] checking for strsep... no [13:44:50.700] checking for pthread_barrier_wait... yes [13:44:50.746] configure: On mingw32 we will use our strtof wrapper. [13:44:50.746] checking for getopt_long... yes [13:44:50.792] checking for syslog... no [13:44:50.840] checking for opterr... yes [13:44:50.889] checking for optreset... no [13:44:50.941] checking test program... cross-compiling [13:44:50.941] checking size of void *... 8 [13:44:51.224] checking size of size_t... 8 [13:44:51.507] checking size of long... 4 [13:44:51.720] checking size of long long... 8 [13:44:52.010] checking alignment of short... 2 [13:44:52.159] checking alignment of int... 4 [13:44:52.378] checking alignment of long... 4 [13:44:52.587] checking alignment of int64_t... 8 [13:44:52.866] checking alignment of double... 8 [13:44:53.149] checking for __int128... yes [13:44:53.202] checking for __int128 alignment bug... assuming ok [13:44:53.202] checking alignment of PG_INT128_TYPE... 16 [13:44:53.539] checking for builtin __sync char locking functions... yes [13:44:53.582] checking for builtin __sync int32 locking functions... yes [13:44:53.626] checking for builtin __sync int32 atomic operations... yes [13:44:53.668] checking for builtin __sync int64 atomic operations... yes [13:44:53.712] checking for builtin __atomic int32 atomic operations... yes [13:44:53.760] checking for builtin __atomic int64 atomic operations... yes [13:44:53.805] checking for __get_cpuid... yes [13:44:53.852] checking for __get_cpuid_count... yes [13:44:53.896] checking for __cpuid... no [13:44:54.284] checking for __cpuidex... no [13:44:54.698] checking for _xgetbv... yes [13:44:55.108] checking for _mm512_popcnt_epi64... yes [13:44:55.535] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [13:44:55.637] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:44:55.660] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [13:44:55.680] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:44:55.700] 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:44:55.756] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:44:55.756] checking which random number source to use... Windows native [13:44:55.758] checking for xmllint... /usr/bin/xmllint [13:44:55.758] checking for xsltproc... /usr/bin/xsltproc [13:44:55.759] checking for fop... /usr/bin/fop [13:44:55.759] checking for dbtoepub... no [13:44:55.759] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:44:55.759] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:44:55.759] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:44:55.770] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:44:55.770] 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:44:55.770] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:44:55.770] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:44:55.861] configure: creating ./config.status [13:44:55.950] config.status: creating GNUmakefile [13:44:55.962] config.status: creating src/Makefile.global [13:44:55.978] config.status: creating src/include/pg_config.h [13:44:55.992] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:44:56.008] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:44:56.016] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:44:56.024] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:44:56.032] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:44:56.040] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:44:56.043] config.status: executing check_win32_symlinks commands [13:44:56.077] [13:44:56.077] real 0m15.808s [13:44:56.077] user 0m10.272s [13:44:56.077] sys 0m5.077s [13:44:56.077] make -s -j${BUILD_JOBS} clean [13:44:56.576] time make -s -j${BUILD_JOBS} world-bin [13:46:07.357] smgr.c: In function ‘smgrdestroy’: [13:46:07.357] smgr.c:282:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [13:46:07.357] 282 | ForkNumber forknum; [13:46:07.357] | ^~~~~~~ [13:46:07.357] smgr.c: In function ‘smgrdounlinkall’: [13:46:07.357] smgr.c:487:41: error: unused variable ‘which’ [-Werror=unused-variable] [13:46:07.357] 487 | int which = rels[i]->smgr_which; [13:46:07.357] | ^~~~~ [13:46:07.357] cc1: all warnings being treated as errors [13:46:07.358] make[4]: *** [: smgr.o] Error 1 [13:46:07.358] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [13:46:07.358] make[2]: *** [common.mk:37: storage-recursive] Error 2 [13:46:07.358] make[2]: *** Waiting for unfinished jobs.... [13:46:24.972] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:46:24.972] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:46:24.972] [13:46:24.972] real 1m28.397s [13:46:24.972] user 4m41.438s [13:46:24.972] sys 0m58.377s [13:46:24.973] [13:46:24.973] Exit status: 2