[09:14:28.446] time ./configure \ [09:14:28.446] --host=x86_64-w64-mingw32 \ [09:14:28.446] --enable-cassert \ [09:14:28.446] --without-icu \ [09:14:28.446] CC="ccache x86_64-w64-mingw32-gcc" \ [09:14:28.446] CXX="ccache x86_64-w64-mingw32-g++" [09:14:28.552] checking build system type... x86_64-pc-linux-gnu [09:14:28.749] checking host system type... x86_64-w64-mingw32 [09:14:28.754] checking which template to use... win32 [09:14:28.754] checking whether NLS is wanted... no [09:14:28.754] checking for default port number... 5432 [09:14:28.760] checking for block size... 8kB [09:14:28.762] checking for segment size... 1GB [09:14:28.764] checking for WAL block size... 8kB [09:14:28.765] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:14:28.796] checking whether the C compiler works... yes [09:14:28.928] checking for C compiler default output file name... a.exe [09:14:28.929] checking for suffix of executables... .exe [09:14:28.968] checking whether we are cross compiling... yes [09:14:29.043] checking for suffix of object files... o [09:14:29.050] checking whether we are using the GNU C compiler... yes [09:14:29.057] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:14:29.063] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:14:29.073] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:14:29.129] checking whether we are using the GNU C++ compiler... yes [09:14:29.136] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:14:29.199] checking for gawk... no [09:14:29.199] checking for mawk... mawk [09:14:29.201] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:14:29.208] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:14:29.214] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:14:29.256] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:14:29.435] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:14:29.442] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:14:29.448] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:14:29.454] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:14:29.460] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:14:29.466] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:14:29.473] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:14:29.479] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:14:29.485] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:14:29.491] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:14:29.498] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:14:29.504] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:14:29.510] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:14:29.545] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:14:29.552] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:14:29.558] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:14:29.565] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:14:29.571] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:14:29.577] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:14:29.599] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:14:29.605] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:14:29.612] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:14:29.648] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:14:29.685] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:14:29.691] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:14:29.697] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:14:29.731] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:14:29.738] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:14:29.746] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:14:29.753] checking whether the C compiler still works... yes [09:14:29.819] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:14:29.885] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:14:29.885] checking pkg-config is at least version 0.9.0... yes [09:14:29.901] checking whether to build with ICU support... no [09:14:29.901] checking whether to build with Tcl... no [09:14:29.901] checking whether to build Perl modules... no [09:14:29.901] checking whether to build Python modules... no [09:14:29.901] checking whether to build with GSSAPI support... no [09:14:29.902] checking whether to build with PAM support... no [09:14:29.902] checking whether to build with BSD Authentication support... no [09:14:29.902] checking whether to build with LDAP support... no [09:14:29.902] checking whether to build with Bonjour support... no [09:14:29.902] checking whether to build with SELinux support... no [09:14:29.902] checking whether to build with systemd support... no [09:14:29.903] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:14:29.903] checking whether to build with XML support... no [09:14:29.903] checking whether to build with LZ4 support... no [09:14:29.903] checking whether to build with ZSTD support... no [09:14:29.903] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:14:29.904] checking whether it is possible to strip libraries... yes [09:14:29.913] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:14:29.913] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:14:29.913] checking for a BSD-compatible install... /usr/bin/install -c [09:14:29.922] checking for tar... /usr/bin/tar [09:14:29.922] checking whether ln -s works... yes [09:14:29.922] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:14:29.924] checking for bison... /usr/bin/bison [09:14:29.926] configure: using bison (GNU Bison) 3.8.2 [09:14:29.929] checking for flex... /usr/bin/flex [09:14:29.940] configure: using flex 2.6.4 [09:14:29.940] checking for perl... /usr/bin/perl [09:14:29.942] configure: using perl 5.36.0 [09:14:29.944] checking for zic... /usr/sbin/zic [09:14:29.945] checking for a sed that does not truncate output... /usr/bin/sed [09:14:29.950] checking for grep that handles long lines and -e... /usr/bin/grep [09:14:29.952] checking for egrep... /usr/bin/grep -E [09:14:29.953] checking for ANSI C header files... yes [09:14:29.996] checking for sys/types.h... yes [09:14:30.012] checking for sys/stat.h... yes [09:14:30.027] checking for stdlib.h... yes [09:14:30.042] checking for string.h... yes [09:14:30.058] checking for memory.h... yes [09:14:30.073] checking for strings.h... yes [09:14:30.087] checking for inttypes.h... yes [09:14:30.103] checking for stdint.h... yes [09:14:30.116] checking for unistd.h... yes [09:14:30.131] checking for main in -lm... yes [09:14:30.177] checking for library containing setproctitle... no [09:14:30.261] checking for library containing dlsym... no [09:14:30.347] checking for library containing socket... -lws2_32 [09:14:30.468] checking for library containing getopt_long... none required [09:14:30.512] checking for library containing shm_open... no [09:14:30.593] checking for library containing shm_unlink... no [09:14:30.676] checking for library containing clock_gettime... no [09:14:30.758] checking for library containing shmget... no [09:14:30.846] checking for library containing backtrace_symbols... no [09:14:30.931] checking for library containing pthread_barrier_wait... -lpthread [09:14:31.017] checking for inflate in -lz... yes [09:14:31.062] checking for stdbool.h that conforms to C99... yes [09:14:31.072] checking for _Bool... yes [09:14:31.143] checking atomic.h usability... no [09:14:31.194] checking atomic.h presence... no [09:14:31.212] checking for atomic.h... no [09:14:31.215] checking copyfile.h usability... no [09:14:31.267] checking copyfile.h presence... no [09:14:31.287] checking for copyfile.h... no [09:14:31.290] checking execinfo.h usability... no [09:14:31.348] checking execinfo.h presence... no [09:14:31.366] checking for execinfo.h... no [09:14:31.369] checking getopt.h usability... yes [09:14:31.376] checking getopt.h presence... yes [09:14:31.389] checking for getopt.h... yes [09:14:31.396] checking ifaddrs.h usability... no [09:14:31.448] checking ifaddrs.h presence... no [09:14:31.466] checking for ifaddrs.h... no [09:14:31.469] checking mbarrier.h usability... no [09:14:31.521] checking mbarrier.h presence... no [09:14:31.540] checking for mbarrier.h... no [09:14:31.543] checking sys/epoll.h usability... no [09:14:31.596] checking sys/epoll.h presence... no [09:14:31.623] checking for sys/epoll.h... no [09:14:31.626] checking sys/event.h usability... no [09:14:31.677] checking sys/event.h presence... no [09:14:31.694] checking for sys/event.h... no [09:14:31.697] checking sys/personality.h usability... no [09:14:31.749] checking sys/personality.h presence... no [09:14:31.769] checking for sys/personality.h... no [09:14:31.772] checking sys/prctl.h usability... no [09:14:31.824] checking sys/prctl.h presence... no [09:14:31.841] checking for sys/prctl.h... no [09:14:31.844] checking sys/procctl.h usability... no [09:14:31.896] checking sys/procctl.h presence... no [09:14:31.913] checking for sys/procctl.h... no [09:14:31.916] checking sys/signalfd.h usability... no [09:14:31.969] checking sys/signalfd.h presence... no [09:14:31.987] checking for sys/signalfd.h... no [09:14:31.990] checking sys/ucred.h usability... no [09:14:32.042] checking sys/ucred.h presence... no [09:14:32.061] checking for sys/ucred.h... no [09:14:32.064] checking termios.h usability... no [09:14:32.119] checking termios.h presence... no [09:14:32.138] checking for termios.h... no [09:14:32.142] checking ucred.h usability... no [09:14:32.196] checking ucred.h presence... no [09:14:32.216] checking for ucred.h... no [09:14:32.219] checking xlocale.h usability... no [09:14:32.274] checking xlocale.h presence... no [09:14:32.294] checking for xlocale.h... no [09:14:32.297] checking zlib.h usability... yes [09:14:32.307] checking zlib.h presence... yes [09:14:32.325] checking for zlib.h... yes [09:14:32.326] checking for lz4... /usr/bin/lz4 [09:14:32.326] checking for zstd... /usr/bin/zstd [09:14:32.326] checking for openssl... /usr/bin/openssl [09:14:32.330] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [09:14:32.331] checking crtdefs.h usability... yes [09:14:32.338] checking crtdefs.h presence... yes [09:14:32.352] checking for crtdefs.h... yes [09:14:32.353] checking whether byte ordering is bigendian... no [09:14:32.422] checking for inline... inline [09:14:32.429] checking for printf format archetype... gnu_printf [09:14:32.436] checking for _Static_assert... yes [09:14:32.476] checking for typeof... typeof [09:14:32.483] checking for __builtin_types_compatible_p... yes [09:14:32.493] checking for __builtin_constant_p... yes [09:14:32.503] checking for __builtin_unreachable... yes [09:14:32.543] checking for computed goto support... yes [09:14:32.550] checking for struct tm.tm_zone... no [09:14:32.621] checking for union semun... no [09:14:32.652] checking for socklen_t... yes [09:14:33.744] checking for struct sockaddr.sa_len... no [09:14:35.790] checking for C/C++ restrict keyword... __restrict [09:14:35.803] checking for struct option... yes [09:14:35.844] checking whether assembler supports x86_64 popcntq... yes [09:14:35.851] checking size of off_t... 4 [09:14:36.040] 0 [09:14:36.040] checking size of bool... 1 [09:14:36.081] checking for int timezone... yes [09:14:36.130] checking for backtrace_symbols... no [09:14:36.177] checking for copyfile... no [09:14:36.223] checking for copy_file_range... no [09:14:36.272] checking for getifaddrs... no [09:14:36.319] checking for getpeerucred... no [09:14:36.366] checking for inet_pton... yes [09:14:36.413] checking for kqueue... no [09:14:36.460] checking for mbstowcs_l... no [09:14:36.507] checking for memset_s... no [09:14:36.554] checking for posix_fallocate... no [09:14:36.599] checking for ppoll... no [09:14:36.646] checking for pthread_is_threaded_np... no [09:14:36.693] checking for setproctitle... no [09:14:36.740] checking for setproctitle_fast... no [09:14:36.786] checking for strchrnul... no [09:14:36.834] checking for strsignal... no [09:14:36.880] checking for syncfs... no [09:14:36.929] checking for sync_file_range... no [09:14:36.978] checking for uselocale... no [09:14:37.028] checking for wcstombs_l... no [09:14:37.073] checking for __builtin_bswap16... yes [09:14:37.122] checking for __builtin_bswap32... yes [09:14:37.169] checking for __builtin_bswap64... yes [09:14:37.214] checking for __builtin_clz... yes [09:14:37.261] checking for __builtin_ctz... yes [09:14:37.306] checking for __builtin_popcount... yes [09:14:37.351] checking for __builtin_frame_address... yes [09:14:37.395] checking for _LARGEFILE_SOURCE value needed for large files... no [09:14:37.445] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:14:37.473] checking for posix_fadvise... no [09:14:37.522] checking whether posix_fadvise is declared... no [09:14:37.566] checking whether fdatasync is declared... no [09:14:37.610] checking whether strlcat is declared... no [09:14:37.670] checking whether strlcpy is declared... no [09:14:37.733] checking whether strnlen is declared... yes [09:14:37.747] checking whether strsep is declared... no [09:14:37.809] checking whether preadv is declared... no [09:14:37.845] checking whether pwritev is declared... no [09:14:37.880] checking whether F_FULLFSYNC is declared... no [09:14:37.918] checking for explicit_bzero... no [09:14:37.965] checking for getopt... yes [09:14:38.009] checking for getpeereid... no [09:14:38.054] checking for inet_aton... no [09:14:38.100] checking for mkdtemp... no [09:14:38.147] checking for strlcat... no [09:14:38.192] checking for strlcpy... no [09:14:38.239] checking for strnlen... yes [09:14:38.285] checking for strsep... no [09:14:38.331] checking for pthread_barrier_wait... yes [09:14:38.373] configure: On mingw32 we will use our strtof wrapper. [09:14:38.373] checking for getopt_long... yes [09:14:38.415] checking for _configthreadlocale... yes [09:14:38.458] checking for syslog... no [09:14:38.503] checking for opterr... yes [09:14:38.549] checking for optreset... no [09:14:38.599] checking test program... cross-compiling [09:14:38.599] checking whether long int is 64 bits... no [09:14:38.629] checking whether long long int is 64 bits... yes [09:14:38.638] checking for __builtin_mul_overflow... yes [09:14:38.680] checking size of void *... 8 [09:14:38.940] checking size of size_t... 8 [09:14:39.202] checking size of long... 4 [09:14:39.399] checking alignment of short... 2 [09:14:39.528] checking alignment of int... 4 [09:14:39.718] checking alignment of long... 4 [09:14:39.907] checking alignment of long long int... 8 [09:14:40.155] checking alignment of double... 8 [09:14:40.407] checking for __int128... yes [09:14:40.456] checking for __int128 alignment bug... assuming ok [09:14:40.456] checking alignment of PG_INT128_TYPE... 16 [09:14:40.766] checking for builtin __sync char locking functions... yes [09:14:40.805] checking for builtin __sync int32 locking functions... yes [09:14:40.844] checking for builtin __sync int32 atomic operations... yes [09:14:40.883] checking for builtin __sync int64 atomic operations... yes [09:14:40.923] checking for builtin __atomic int32 atomic operations... yes [09:14:40.962] checking for builtin __atomic int64 atomic operations... yes [09:14:41.001] checking for __get_cpuid... yes [09:14:41.045] checking for __get_cpuid_count... yes [09:14:41.086] checking for __cpuid... no [09:14:41.478] checking for __cpuidex... no [09:14:41.901] checking for _xgetbv with CFLAGS=... no [09:14:42.282] checking for _xgetbv with CFLAGS=-mxsave... yes [09:14:42.681] checking for _mm512_popcnt_epi64 with CFLAGS=... no [09:14:43.060] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [09:14:43.401] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:14:43.446] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:14:43.533] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:14:43.554] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:14:43.572] 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:14:43.625] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:14:43.625] checking which random number source to use... Windows native [09:14:43.627] checking for xmllint... /usr/bin/xmllint [09:14:43.627] checking for xsltproc... /usr/bin/xsltproc [09:14:43.627] checking for fop... /usr/bin/fop [09:14:43.627] checking for dbtoepub... no [09:14:43.628] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:14:43.628] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:14:43.628] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:14:43.638] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:14:43.638] 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:14:43.638] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:14:43.638] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:14:43.718] configure: creating ./config.status [09:14:43.796] config.status: creating GNUmakefile [09:14:43.808] config.status: creating src/Makefile.global [09:14:43.822] config.status: creating src/include/pg_config.h [09:14:43.834] config.status: creating src/include/pg_config_ext.h [09:14:43.845] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:14:43.858] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:14:43.865] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:14:43.872] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:14:43.878] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:14:43.885] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:14:43.888] config.status: executing check_win32_symlinks commands [09:14:43.920] [09:14:43.920] real 0m15.474s [09:14:43.920] user 0m10.365s [09:14:43.920] sys 0m4.733s [09:14:43.920] make -s -j${BUILD_JOBS} clean [09:14:44.401] time make -s -j${BUILD_JOBS} world-bin [09:14:49.471] smgr.c: In function ‘smgrdestroy’: [09:14:49.471] smgr.c:282:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [09:14:49.471] 282 | ForkNumber forknum; [09:14:49.471] | ^~~~~~~ [09:14:49.471] smgr.c: In function ‘smgrdounlinkall’: [09:14:49.471] smgr.c:487:41: error: unused variable ‘which’ [-Werror=unused-variable] [09:14:49.471] 487 | int which = rels[i]->smgr_which; [09:14:49.471] | ^~~~~ [09:14:49.471] cc1: all warnings being treated as errors [09:14:49.473] make[4]: *** [: smgr.o] Error 1 [09:14:49.473] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [09:14:49.473] make[2]: *** [common.mk:37: storage-recursive] Error 2 [09:14:49.474] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:14:49.474] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:14:49.474] [09:14:49.474] real 0m5.073s [09:14:49.474] user 0m8.447s [09:14:49.474] sys 0m6.249s [09:14:49.474] [09:14:49.474] Exit status: 2