[19:46:10.843] time ./configure \ [19:46:10.843] --host=x86_64-w64-mingw32 \ [19:46:10.843] --enable-cassert \ [19:46:10.843] --without-icu \ [19:46:10.843] CC="ccache x86_64-w64-mingw32-gcc" \ [19:46:10.843] CXX="ccache x86_64-w64-mingw32-g++" [19:46:10.953] checking build system type... x86_64-pc-linux-gnu [19:46:11.145] checking host system type... x86_64-w64-mingw32 [19:46:11.150] checking which template to use... win32 [19:46:11.150] checking whether NLS is wanted... no [19:46:11.151] checking for default port number... 5432 [19:46:11.157] checking for block size... 8kB [19:46:11.158] checking for segment size... 1GB [19:46:11.161] checking for WAL block size... 8kB [19:46:11.162] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:46:11.197] checking whether the C compiler works... yes [19:46:11.340] checking for C compiler default output file name... a.exe [19:46:11.341] checking for suffix of executables... .exe [19:46:11.379] checking whether we are cross compiling... yes [19:46:11.458] checking for suffix of object files... o [19:46:11.465] checking whether we are using the GNU C compiler... yes [19:46:11.471] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:46:11.478] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:46:11.487] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:46:11.546] checking whether we are using the GNU C++ compiler... yes [19:46:11.552] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:46:11.624] checking for gawk... no [19:46:11.624] checking for mawk... mawk [19:46:11.626] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:46:11.634] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:46:11.641] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:46:11.688] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:46:11.869] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:46:11.876] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:46:11.883] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:46:11.890] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:46:11.897] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:46:11.903] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:46:11.911] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:46:11.918] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:46:11.926] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:46:11.933] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:46:11.940] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:46:11.947] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:46:11.955] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:46:11.992] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:46:11.999] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:46:12.006] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:46:12.012] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:46:12.019] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:46:12.025] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:46:12.048] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:46:12.054] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:46:12.061] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:46:12.098] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:46:12.138] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:46:12.145] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:46:12.152] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:46:12.187] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:46:12.194] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:46:12.201] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:46:12.209] checking whether the C compiler still works... yes [19:46:12.273] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:46:12.343] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:46:12.343] checking pkg-config is at least version 0.9.0... yes [19:46:12.359] checking whether to build with ICU support... no [19:46:12.360] checking whether to build with Tcl... no [19:46:12.360] checking whether to build Perl modules... no [19:46:12.360] checking whether to build Python modules... no [19:46:12.360] checking whether to build with GSSAPI support... no [19:46:12.361] checking whether to build with PAM support... no [19:46:12.361] checking whether to build with BSD Authentication support... no [19:46:12.361] checking whether to build with LDAP support... no [19:46:12.361] checking whether to build with Bonjour support... no [19:46:12.361] checking whether to build with SELinux support... no [19:46:12.362] checking whether to build with systemd support... no [19:46:12.362] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:46:12.362] checking whether to build with XML support... no [19:46:12.362] checking whether to build with LZ4 support... no [19:46:12.362] checking whether to build with ZSTD support... no [19:46:12.363] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:46:12.363] checking whether it is possible to strip libraries... yes [19:46:12.370] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:46:12.371] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:46:12.371] checking for a BSD-compatible install... /usr/bin/install -c [19:46:12.379] checking for tar... /usr/bin/tar [19:46:12.380] checking whether ln -s works... yes [19:46:12.380] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:46:12.382] checking for bison... /usr/bin/bison [19:46:12.384] configure: using bison (GNU Bison) 3.8.2 [19:46:12.387] checking for flex... /usr/bin/flex [19:46:12.398] configure: using flex 2.6.4 [19:46:12.398] checking for perl... /usr/bin/perl [19:46:12.401] configure: using perl 5.36.0 [19:46:12.403] checking for zic... /usr/sbin/zic [19:46:12.403] checking for a sed that does not truncate output... /usr/bin/sed [19:46:12.408] checking for grep that handles long lines and -e... /usr/bin/grep [19:46:12.410] checking for egrep... /usr/bin/grep -E [19:46:12.411] checking for ANSI C header files... yes [19:46:12.455] checking for sys/types.h... yes [19:46:12.470] checking for sys/stat.h... yes [19:46:12.484] checking for stdlib.h... yes [19:46:12.497] checking for string.h... yes [19:46:12.511] checking for memory.h... yes [19:46:12.526] checking for strings.h... yes [19:46:12.540] checking for inttypes.h... yes [19:46:12.555] checking for stdint.h... yes [19:46:12.568] checking for unistd.h... yes [19:46:12.583] checking for main in -lm... yes [19:46:12.629] checking for library containing setproctitle... no [19:46:12.715] checking for library containing dlsym... no [19:46:12.798] checking for library containing socket... -lws2_32 [19:46:12.926] checking for library containing getopt_long... none required [19:46:12.972] checking for library containing shm_open... no [19:46:13.055] checking for library containing shm_unlink... no [19:46:13.142] checking for library containing clock_gettime... no [19:46:13.230] checking for library containing shmget... no [19:46:13.316] checking for library containing backtrace_symbols... no [19:46:13.404] checking for library containing pthread_barrier_wait... -lpthread [19:46:13.494] checking for inflate in -lz... yes [19:46:13.541] checking for stdbool.h that conforms to C99... yes [19:46:13.553] checking for _Bool... yes [19:46:13.631] checking atomic.h usability... no [19:46:13.687] checking atomic.h presence... no [19:46:13.707] checking for atomic.h... no [19:46:13.711] checking copyfile.h usability... no [19:46:13.767] checking copyfile.h presence... no [19:46:13.785] checking for copyfile.h... no [19:46:13.788] checking execinfo.h usability... no [19:46:13.843] checking execinfo.h presence... no [19:46:13.863] checking for execinfo.h... no [19:46:13.866] checking getopt.h usability... yes [19:46:13.873] checking getopt.h presence... yes [19:46:13.888] checking for getopt.h... yes [19:46:13.895] checking ifaddrs.h usability... no [19:46:13.950] checking ifaddrs.h presence... no [19:46:13.969] checking for ifaddrs.h... no [19:46:13.972] checking mbarrier.h usability... no [19:46:14.027] checking mbarrier.h presence... no [19:46:14.047] checking for mbarrier.h... no [19:46:14.050] checking sys/epoll.h usability... no [19:46:14.104] checking sys/epoll.h presence... no [19:46:14.123] checking for sys/epoll.h... no [19:46:14.127] checking sys/event.h usability... no [19:46:14.181] checking sys/event.h presence... no [19:46:14.200] checking for sys/event.h... no [19:46:14.203] checking sys/personality.h usability... no [19:46:14.257] checking sys/personality.h presence... no [19:46:14.276] checking for sys/personality.h... no [19:46:14.279] checking sys/prctl.h usability... no [19:46:14.333] checking sys/prctl.h presence... no [19:46:14.353] checking for sys/prctl.h... no [19:46:14.357] checking sys/procctl.h usability... no [19:46:14.411] checking sys/procctl.h presence... no [19:46:14.430] checking for sys/procctl.h... no [19:46:14.433] checking sys/signalfd.h usability... no [19:46:14.490] checking sys/signalfd.h presence... no [19:46:14.509] checking for sys/signalfd.h... no [19:46:14.512] checking sys/ucred.h usability... no [19:46:14.568] checking sys/ucred.h presence... no [19:46:14.587] checking for sys/ucred.h... no [19:46:14.590] checking termios.h usability... no [19:46:14.657] checking termios.h presence... no [19:46:14.678] checking for termios.h... no [19:46:14.681] checking ucred.h usability... no [19:46:14.741] checking ucred.h presence... no [19:46:14.763] checking for ucred.h... no [19:46:14.766] checking zlib.h usability... yes [19:46:14.776] checking zlib.h presence... yes [19:46:14.797] checking for zlib.h... yes [19:46:14.797] checking for lz4... /usr/bin/lz4 [19:46:14.797] checking for zstd... /usr/bin/zstd [19:46:14.798] checking for openssl... /usr/bin/openssl [19:46:14.802] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [19:46:14.803] checking crtdefs.h usability... yes [19:46:14.811] checking crtdefs.h presence... yes [19:46:14.828] checking for crtdefs.h... yes [19:46:14.829] checking whether byte ordering is bigendian... no [19:46:14.908] checking for inline... inline [19:46:14.916] checking for printf format archetype... gnu_printf [19:46:14.925] checking for _Static_assert... yes [19:46:14.968] checking for typeof... typeof [19:46:14.976] checking for __builtin_types_compatible_p... yes [19:46:14.988] checking for __builtin_constant_p... yes [19:46:14.999] checking for __builtin_unreachable... yes [19:46:15.041] checking for computed goto support... yes [19:46:15.048] checking for struct tm.tm_zone... no [19:46:15.127] checking for union semun... no [19:46:15.162] checking for socklen_t... yes [19:46:16.395] checking for struct sockaddr.sa_len... no [19:46:18.413] checking for locale_t... no [19:46:18.478] checking for C/C++ restrict keyword... __restrict [19:46:18.491] checking for struct option... yes [19:46:18.536] checking whether assembler supports x86_64 popcntq... yes [19:46:18.543] checking size of off_t... 4 [19:46:18.746] 0 [19:46:18.746] checking size of bool... 1 [19:46:18.788] checking for int timezone... yes [19:46:18.836] checking for wcstombs_l declaration... no [19:46:18.920] checking for backtrace_symbols... no [19:46:18.971] checking for copyfile... no [19:46:19.019] checking for copy_file_range... no [19:46:19.072] checking for getifaddrs... no [19:46:19.125] checking for getpeerucred... no [19:46:19.178] checking for inet_pton... yes [19:46:19.229] checking for kqueue... no [19:46:19.280] checking for mbstowcs_l... no [19:46:19.332] checking for memset_s... no [19:46:19.385] checking for posix_fallocate... no [19:46:19.438] checking for ppoll... no [19:46:19.488] checking for pthread_is_threaded_np... no [19:46:19.540] checking for setproctitle... no [19:46:19.590] checking for setproctitle_fast... no [19:46:19.641] checking for strchrnul... no [19:46:19.691] checking for strsignal... no [19:46:19.744] checking for syncfs... no [19:46:19.795] checking for sync_file_range... no [19:46:19.847] checking for uselocale... no [19:46:19.897] checking for wcstombs_l... no [19:46:19.945] checking for __builtin_bswap16... yes [19:46:19.994] checking for __builtin_bswap32... yes [19:46:20.040] checking for __builtin_bswap64... yes [19:46:20.088] checking for __builtin_clz... yes [19:46:20.138] checking for __builtin_ctz... yes [19:46:20.185] checking for __builtin_popcount... yes [19:46:20.231] checking for __builtin_frame_address... yes [19:46:20.276] checking for _LARGEFILE_SOURCE value needed for large files... no [19:46:20.328] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:46:20.357] checking for posix_fadvise... no [19:46:20.409] checking whether posix_fadvise is declared... no [19:46:20.454] checking whether fdatasync is declared... no [19:46:20.498] checking whether strlcat is declared... no [19:46:20.559] checking whether strlcpy is declared... no [19:46:20.622] checking whether strnlen is declared... yes [19:46:20.636] checking whether strsep is declared... no [19:46:20.698] checking whether preadv is declared... no [19:46:20.736] checking whether pwritev is declared... no [19:46:20.772] checking whether F_FULLFSYNC is declared... no [19:46:20.810] checking for explicit_bzero... no [19:46:20.855] checking for getopt... yes [19:46:20.898] checking for getpeereid... no [19:46:20.944] checking for inet_aton... no [19:46:20.990] checking for mkdtemp... no [19:46:21.036] checking for strlcat... no [19:46:21.082] checking for strlcpy... no [19:46:21.129] checking for strnlen... yes [19:46:21.175] checking for strsep... no [19:46:21.222] checking for pthread_barrier_wait... yes [19:46:21.265] configure: On mingw32 we will use our strtof wrapper. [19:46:21.265] checking for getopt_long... yes [19:46:21.309] checking for _configthreadlocale... yes [19:46:21.355] checking for syslog... no [19:46:21.401] checking for opterr... yes [19:46:21.448] checking for optreset... no [19:46:21.499] checking test program... cross-compiling [19:46:21.499] checking whether long int is 64 bits... no [19:46:21.531] checking whether long long int is 64 bits... yes [19:46:21.540] checking for __builtin_mul_overflow... yes [19:46:21.583] checking size of void *... 8 [19:46:21.852] checking size of size_t... 8 [19:46:22.119] checking size of long... 4 [19:46:22.322] checking alignment of short... 2 [19:46:22.458] checking alignment of int... 4 [19:46:22.663] checking alignment of long... 4 [19:46:22.866] checking alignment of long long int... 8 [19:46:23.134] checking alignment of double... 8 [19:46:23.402] checking for int8... no [19:46:23.446] checking for uint8... no [19:46:23.488] checking for int64... no [19:46:23.532] checking for uint64... no [19:46:23.576] checking for __int128... yes [19:46:23.626] checking for __int128 alignment bug... assuming ok [19:46:23.626] checking alignment of PG_INT128_TYPE... 16 [19:46:23.951] checking for builtin __sync char locking functions... yes [19:46:23.992] checking for builtin __sync int32 locking functions... yes [19:46:24.033] checking for builtin __sync int32 atomic operations... yes [19:46:24.075] checking for builtin __sync int64 atomic operations... yes [19:46:24.117] checking for builtin __atomic int32 atomic operations... yes [19:46:24.158] checking for builtin __atomic int64 atomic operations... yes [19:46:24.199] checking for __get_cpuid... yes [19:46:24.245] checking for __get_cpuid_count... yes [19:46:24.290] checking for __cpuid... no [19:46:24.695] checking for __cpuidex... no [19:46:25.121] checking for _xgetbv with CFLAGS=... no [19:46:25.500] checking for _xgetbv with CFLAGS=-mxsave... yes [19:46:25.895] checking for _mm512_popcnt_epi64 with CFLAGS=... no [19:46:26.275] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [19:46:26.616] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [19:46:26.663] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [19:46:26.753] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:46:26.776] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:46:26.796] 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 [19:46:26.853] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:46:26.853] checking which random number source to use... Windows native [19:46:26.855] checking for xmllint... /usr/bin/xmllint [19:46:26.856] checking for xsltproc... /usr/bin/xsltproc [19:46:26.856] checking for fop... /usr/bin/fop [19:46:26.856] checking for dbtoepub... no [19:46:26.857] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:46:26.857] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:46:26.857] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:46:26.868] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [19:46:26.868] 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 [19:46:26.868] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:46:26.868] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:46:26.947] configure: creating ./config.status [19:46:27.027] config.status: creating GNUmakefile [19:46:27.040] config.status: creating src/Makefile.global [19:46:27.056] config.status: creating src/include/pg_config.h [19:46:27.069] config.status: creating src/include/pg_config_ext.h [19:46:27.082] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:46:27.098] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:46:27.106] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:46:27.112] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:46:27.119] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:46:27.125] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:46:27.129] config.status: executing check_win32_symlinks commands [19:46:27.160] [19:46:27.160] real 0m16.317s [19:46:27.160] user 0m10.890s [19:46:27.160] sys 0m5.025s [19:46:27.160] make -s -j${BUILD_JOBS} clean [19:46:27.670] time make -s -j${BUILD_JOBS} world-bin [19:46:43.283] smgr.c: In function ‘smgrdestroy’: [19:46:43.283] smgr.c:279:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [19:46:43.283] 279 | ForkNumber forknum; [19:46:43.283] | ^~~~~~~ [19:46:43.283] smgr.c: In function ‘smgrdounlinkall’: [19:46:43.283] smgr.c:484:41: error: unused variable ‘which’ [-Werror=unused-variable] [19:46:43.283] 484 | int which = rels[i]->smgr_which; [19:46:43.283] | ^~~~~ [19:46:43.283] cc1: all warnings being treated as errors [19:46:43.285] make[4]: *** [: smgr.o] Error 1 [19:46:43.285] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [19:46:43.285] make[3]: *** Waiting for unfinished jobs.... [19:46:43.353] make[2]: *** [common.mk:37: storage-recursive] Error 2 [19:46:43.353] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [19:46:43.354] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [19:46:43.354] [19:46:43.354] real 0m15.684s [19:46:43.354] user 0m41.802s [19:46:43.354] sys 0m12.763s [19:46:43.354] [19:46:43.354] Exit status: 2