[12:10:40.343] time ./configure \ [12:10:40.343] --host=x86_64-w64-mingw32 \ [12:10:40.343] --enable-cassert \ [12:10:40.343] --without-icu \ [12:10:40.343] CC="ccache x86_64-w64-mingw32-gcc" \ [12:10:40.343] CXX="ccache x86_64-w64-mingw32-g++" [12:10:40.459] checking build system type... x86_64-pc-linux-gnu [12:10:40.663] checking host system type... x86_64-w64-mingw32 [12:10:40.669] checking which template to use... win32 [12:10:40.669] checking whether NLS is wanted... no [12:10:40.669] checking for default port number... 5432 [12:10:40.676] checking for block size... 8kB [12:10:40.677] checking for segment size... 1GB [12:10:40.680] checking for WAL block size... 8kB [12:10:40.681] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [12:10:40.717] checking whether the C compiler works... yes [12:10:40.859] checking for C compiler default output file name... a.exe [12:10:40.861] checking for suffix of executables... .exe [12:10:40.905] checking whether we are cross compiling... yes [12:10:40.987] checking for suffix of object files... o [12:10:40.995] checking whether we are using the GNU C compiler... yes [12:10:41.002] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [12:10:41.009] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [12:10:41.020] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [12:10:41.088] checking whether we are using the GNU C++ compiler... yes [12:10:41.095] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [12:10:41.165] checking for gawk... no [12:10:41.165] checking for mawk... mawk [12:10:41.167] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [12:10:41.175] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [12:10:41.182] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [12:10:41.231] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [12:10:41.420] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [12:10:41.427] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [12:10:41.434] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [12:10:41.441] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [12:10:41.449] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [12:10:41.456] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [12:10:41.464] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [12:10:41.471] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [12:10:41.478] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [12:10:41.486] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [12:10:41.494] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [12:10:41.502] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [12:10:41.510] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [12:10:41.549] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [12:10:41.557] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [12:10:41.564] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [12:10:41.571] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [12:10:41.579] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [12:10:41.586] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [12:10:41.612] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [12:10:41.620] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [12:10:41.627] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [12:10:41.665] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [12:10:41.704] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [12:10:41.711] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [12:10:41.718] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [12:10:41.754] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [12:10:41.762] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [12:10:41.769] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [12:10:41.777] checking whether the C compiler still works... yes [12:10:41.844] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [12:10:41.914] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [12:10:41.914] checking pkg-config is at least version 0.9.0... yes [12:10:41.931] checking whether to build with ICU support... no [12:10:41.931] checking whether to build with Tcl... no [12:10:41.931] checking whether to build Perl modules... no [12:10:41.931] checking whether to build Python modules... no [12:10:41.931] checking whether to build with GSSAPI support... no [12:10:41.932] checking whether to build with PAM support... no [12:10:41.932] checking whether to build with BSD Authentication support... no [12:10:41.933] checking whether to build with LDAP support... no [12:10:41.933] checking whether to build with Bonjour support... no [12:10:41.933] checking whether to build with SELinux support... no [12:10:41.933] checking whether to build with systemd support... no [12:10:41.933] configure: WARNING: *** Readline does not work on MinGW --- disabling [12:10:41.933] checking whether to build with XML support... no [12:10:41.933] checking whether to build with LZ4 support... no [12:10:41.933] checking whether to build with ZSTD support... no [12:10:41.934] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [12:10:41.934] checking whether it is possible to strip libraries... yes [12:10:41.942] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [12:10:41.943] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [12:10:41.943] checking for a BSD-compatible install... /usr/bin/install -c [12:10:41.952] checking for tar... /usr/bin/tar [12:10:41.952] checking whether ln -s works... yes [12:10:41.953] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [12:10:41.955] checking for bison... /usr/bin/bison [12:10:41.957] configure: using bison (GNU Bison) 3.8.2 [12:10:41.961] checking for flex... /usr/bin/flex [12:10:41.973] configure: using flex 2.6.4 [12:10:41.973] checking for perl... /usr/bin/perl [12:10:41.976] configure: using perl 5.36.0 [12:10:41.978] checking for zic... /usr/sbin/zic [12:10:41.978] checking for a sed that does not truncate output... /usr/bin/sed [12:10:41.983] checking for grep that handles long lines and -e... /usr/bin/grep [12:10:41.985] checking for egrep... /usr/bin/grep -E [12:10:41.987] checking for ANSI C header files... yes [12:10:42.032] checking for sys/types.h... yes [12:10:42.049] checking for sys/stat.h... yes [12:10:42.065] checking for stdlib.h... yes [12:10:42.080] checking for string.h... yes [12:10:42.095] checking for memory.h... yes [12:10:42.111] checking for strings.h... yes [12:10:42.129] checking for inttypes.h... yes [12:10:42.148] checking for stdint.h... yes [12:10:42.164] checking for unistd.h... yes [12:10:42.182] checking for main in -lm... yes [12:10:42.234] checking for library containing setproctitle... no [12:10:42.331] checking for library containing dlsym... no [12:10:42.426] checking for library containing socket... -lws2_32 [12:10:42.562] checking for library containing getopt_long... none required [12:10:42.612] checking for library containing shm_open... no [12:10:42.701] checking for library containing shm_unlink... no [12:10:42.790] checking for library containing clock_gettime... no [12:10:42.881] checking for library containing shmget... no [12:10:42.974] checking for library containing backtrace_symbols... no [12:10:43.068] checking for library containing pthread_barrier_wait... -lpthread [12:10:43.160] checking for inflate in -lz... yes [12:10:43.207] checking for stdbool.h that conforms to C99... yes [12:10:43.219] checking for _Bool... yes [12:10:43.298] checking atomic.h usability... no [12:10:43.357] checking atomic.h presence... no [12:10:43.377] checking for atomic.h... no [12:10:43.381] checking copyfile.h usability... no [12:10:43.441] checking copyfile.h presence... no [12:10:43.461] checking for copyfile.h... no [12:10:43.465] checking execinfo.h usability... no [12:10:43.525] checking execinfo.h presence... no [12:10:43.545] checking for execinfo.h... no [12:10:43.549] checking getopt.h usability... yes [12:10:43.558] checking getopt.h presence... yes [12:10:43.574] checking for getopt.h... yes [12:10:43.582] checking ifaddrs.h usability... no [12:10:43.643] checking ifaddrs.h presence... no [12:10:43.664] checking for ifaddrs.h... no [12:10:43.668] checking mbarrier.h usability... no [12:10:43.735] checking mbarrier.h presence... no [12:10:43.755] checking for mbarrier.h... no [12:10:43.759] checking sys/epoll.h usability... no [12:10:43.819] checking sys/epoll.h presence... no [12:10:43.839] checking for sys/epoll.h... no [12:10:43.843] checking sys/event.h usability... no [12:10:43.904] checking sys/event.h presence... no [12:10:43.925] checking for sys/event.h... no [12:10:43.928] checking sys/personality.h usability... no [12:10:43.989] checking sys/personality.h presence... no [12:10:44.010] checking for sys/personality.h... no [12:10:44.013] checking sys/prctl.h usability... no [12:10:44.071] checking sys/prctl.h presence... no [12:10:44.092] checking for sys/prctl.h... no [12:10:44.096] checking sys/procctl.h usability... no [12:10:44.155] checking sys/procctl.h presence... no [12:10:44.176] checking for sys/procctl.h... no [12:10:44.180] checking sys/signalfd.h usability... no [12:10:44.239] checking sys/signalfd.h presence... no [12:10:44.258] checking for sys/signalfd.h... no [12:10:44.261] checking sys/ucred.h usability... no [12:10:44.320] checking sys/ucred.h presence... no [12:10:44.340] checking for sys/ucred.h... no [12:10:44.343] checking termios.h usability... no [12:10:44.402] checking termios.h presence... no [12:10:44.424] checking for termios.h... no [12:10:44.428] checking ucred.h usability... no [12:10:44.488] checking ucred.h presence... no [12:10:44.508] checking for ucred.h... no [12:10:44.511] checking zlib.h usability... yes [12:10:44.521] checking zlib.h presence... yes [12:10:44.541] checking for zlib.h... yes [12:10:44.541] checking for lz4... /usr/bin/lz4 [12:10:44.541] checking for zstd... /usr/bin/zstd [12:10:44.542] checking for openssl... /usr/bin/openssl [12:10:44.547] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [12:10:44.547] checking crtdefs.h usability... yes [12:10:44.555] checking crtdefs.h presence... yes [12:10:44.572] checking for crtdefs.h... yes [12:10:44.573] checking whether byte ordering is bigendian... no [12:10:44.653] checking for inline... inline [12:10:44.661] checking for printf format archetype... gnu_printf [12:10:44.671] checking for _Static_assert... yes [12:10:44.716] checking for typeof... typeof [12:10:44.723] checking for __builtin_types_compatible_p... yes [12:10:44.734] checking for __builtin_constant_p... yes [12:10:44.744] checking for __builtin_unreachable... yes [12:10:44.788] checking for computed goto support... yes [12:10:44.795] checking for struct tm.tm_zone... no [12:10:44.876] checking for union semun... no [12:10:44.911] checking for socklen_t... yes [12:10:46.164] checking for struct sockaddr.sa_len... no [12:10:48.314] checking for locale_t... no [12:10:48.382] checking for C/C++ restrict keyword... __restrict [12:10:48.394] checking for struct option... yes [12:10:48.436] checking whether assembler supports x86_64 popcntq... yes [12:10:48.444] checking size of off_t... 4 [12:10:48.662] 0 [12:10:48.662] checking size of bool... 1 [12:10:48.710] checking for int timezone... yes [12:10:48.761] checking for wcstombs_l declaration... no [12:10:48.854] checking for backtrace_symbols... no [12:10:48.906] checking for copyfile... no [12:10:48.959] checking for copy_file_range... no [12:10:49.012] checking for getifaddrs... no [12:10:49.066] checking for getpeerucred... no [12:10:49.119] checking for inet_pton... yes [12:10:49.169] checking for kqueue... no [12:10:49.221] checking for mbstowcs_l... no [12:10:49.272] checking for memset_s... no [12:10:49.326] checking for posix_fallocate... no [12:10:49.381] checking for ppoll... no [12:10:49.432] checking for pthread_is_threaded_np... no [12:10:49.486] checking for setproctitle... no [12:10:49.539] checking for setproctitle_fast... no [12:10:49.591] checking for strchrnul... no [12:10:49.644] checking for strsignal... no [12:10:49.698] checking for syncfs... no [12:10:49.750] checking for sync_file_range... no [12:10:49.803] checking for uselocale... no [12:10:49.855] checking for wcstombs_l... no [12:10:49.904] checking for __builtin_bswap16... yes [12:10:49.955] checking for __builtin_bswap32... yes [12:10:50.004] checking for __builtin_bswap64... yes [12:10:50.055] checking for __builtin_clz... yes [12:10:50.105] checking for __builtin_ctz... yes [12:10:50.153] checking for __builtin_popcount... yes [12:10:50.201] checking for __builtin_frame_address... yes [12:10:50.250] checking for _LARGEFILE_SOURCE value needed for large files... no [12:10:50.307] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [12:10:50.341] checking for posix_fadvise... no [12:10:50.396] checking whether posix_fadvise is declared... no [12:10:50.445] checking whether fdatasync is declared... no [12:10:50.494] checking whether strlcat is declared... no [12:10:50.563] checking whether strlcpy is declared... no [12:10:50.627] checking whether strnlen is declared... yes [12:10:50.641] checking whether strsep is declared... no [12:10:50.705] checking whether preadv is declared... no [12:10:50.742] checking whether pwritev is declared... no [12:10:50.778] checking whether F_FULLFSYNC is declared... no [12:10:50.817] checking for explicit_bzero... no [12:10:50.864] checking for getopt... yes [12:10:50.908] checking for getpeereid... no [12:10:50.957] checking for inet_aton... no [12:10:51.006] checking for mkdtemp... no [12:10:51.053] checking for strlcat... no [12:10:51.100] checking for strlcpy... no [12:10:51.148] checking for strnlen... yes [12:10:51.196] checking for strsep... no [12:10:51.244] checking for pthread_barrier_wait... yes [12:10:51.289] configure: On mingw32 we will use our strtof wrapper. [12:10:51.289] checking for getopt_long... yes [12:10:51.335] checking for _configthreadlocale... yes [12:10:51.381] checking for syslog... no [12:10:51.430] checking for opterr... yes [12:10:51.480] checking for optreset... no [12:10:51.533] checking test program... cross-compiling [12:10:51.533] checking whether long int is 64 bits... no [12:10:51.563] checking whether long long int is 64 bits... yes [12:10:51.573] checking for __builtin_mul_overflow... yes [12:10:51.617] checking size of void *... 8 [12:10:51.897] checking size of size_t... 8 [12:10:52.176] checking size of long... 4 [12:10:52.388] checking alignment of short... 2 [12:10:52.534] checking alignment of int... 4 [12:10:52.747] checking alignment of long... 4 [12:10:52.951] checking alignment of long long int... 8 [12:10:53.231] checking alignment of double... 8 [12:10:53.508] checking for int8... no [12:10:53.551] checking for uint8... no [12:10:53.595] checking for int64... no [12:10:53.638] checking for uint64... no [12:10:53.681] checking for __int128... yes [12:10:53.735] checking for __int128 alignment bug... assuming ok [12:10:53.735] checking alignment of PG_INT128_TYPE... 16 [12:10:54.066] checking for builtin __sync char locking functions... yes [12:10:54.108] checking for builtin __sync int32 locking functions... yes [12:10:54.149] checking for builtin __sync int32 atomic operations... yes [12:10:54.191] checking for builtin __sync int64 atomic operations... yes [12:10:54.234] checking for builtin __atomic int32 atomic operations... yes [12:10:54.276] checking for builtin __atomic int64 atomic operations... yes [12:10:54.319] checking for __get_cpuid... yes [12:10:54.367] checking for __get_cpuid_count... yes [12:10:54.413] checking for __cpuid... no [12:10:54.816] checking for __cpuidex... no [12:10:55.248] checking for _xgetbv with CFLAGS=... no [12:10:55.632] checking for _xgetbv with CFLAGS=-mxsave... yes [12:10:56.031] checking for _mm512_popcnt_epi64 with CFLAGS=... no [12:10:56.414] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [12:10:56.759] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [12:10:56.806] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [12:10:56.902] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [12:10:56.927] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [12:10:56.948] 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 [12:10:57.007] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [12:10:57.008] checking which random number source to use... Windows native [12:10:57.010] checking for xmllint... /usr/bin/xmllint [12:10:57.010] checking for xsltproc... /usr/bin/xsltproc [12:10:57.011] checking for fop... /usr/bin/fop [12:10:57.011] checking for dbtoepub... no [12:10:57.011] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [12:10:57.011] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [12:10:57.011] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [12:10:57.024] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [12:10:57.024] 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 [12:10:57.024] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [12:10:57.024] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [12:10:57.119] configure: creating ./config.status [12:10:57.208] config.status: creating GNUmakefile [12:10:57.221] config.status: creating src/Makefile.global [12:10:57.237] config.status: creating src/include/pg_config.h [12:10:57.251] config.status: creating src/include/pg_config_ext.h [12:10:57.264] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [12:10:57.281] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [12:10:57.290] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [12:10:57.298] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [12:10:57.307] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [12:10:57.315] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [12:10:57.319] config.status: executing check_win32_symlinks commands [12:10:57.356] [12:10:57.356] real 0m17.013s [12:10:57.356] user 0m11.461s [12:10:57.356] sys 0m5.154s [12:10:57.356] make -s -j${BUILD_JOBS} clean [12:10:57.875] time make -s -j${BUILD_JOBS} world-bin [12:11:27.032] smgr.c: In function ‘smgrdestroy’: [12:11:27.032] smgr.c:279:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [12:11:27.032] 279 | ForkNumber forknum; [12:11:27.032] | ^~~~~~~ [12:11:27.032] smgr.c: In function ‘smgrdounlinkall’: [12:11:27.032] smgr.c:484:41: error: unused variable ‘which’ [-Werror=unused-variable] [12:11:27.032] 484 | int which = rels[i]->smgr_which; [12:11:27.032] | ^~~~~ [12:11:27.032] cc1: all warnings being treated as errors [12:11:27.033] make[4]: *** [: smgr.o] Error 1 [12:11:27.033] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [12:11:27.033] make[2]: *** [common.mk:37: storage-recursive] Error 2 [12:11:27.033] make[2]: *** Waiting for unfinished jobs.... [12:11:44.275] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [12:11:44.276] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [12:11:44.276] [12:11:44.276] real 0m46.400s [12:11:44.276] user 2m26.280s [12:11:44.276] sys 0m31.259s [12:11:44.276] [12:11:44.276] Exit status: 2