[11:06:48.330] time ./configure \ [11:06:48.330] --host=x86_64-w64-mingw32 \ [11:06:48.330] --enable-cassert \ [11:06:48.330] --without-icu \ [11:06:48.330] CC="ccache x86_64-w64-mingw32-gcc" \ [11:06:48.330] CXX="ccache x86_64-w64-mingw32-g++" [11:06:48.456] checking build system type... x86_64-pc-linux-gnu [11:06:48.675] checking host system type... x86_64-w64-mingw32 [11:06:48.680] checking which template to use... win32 [11:06:48.680] checking whether NLS is wanted... no [11:06:48.680] checking for default port number... 5432 [11:06:48.688] checking for block size... 8kB [11:06:48.689] checking for segment size... 1GB [11:06:48.692] checking for WAL block size... 8kB [11:06:48.693] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [11:06:48.728] checking whether the C compiler works... yes [11:06:48.884] checking for C compiler default output file name... a.exe [11:06:48.886] checking for suffix of executables... .exe [11:06:48.926] checking whether we are cross compiling... yes [11:06:49.004] checking for suffix of object files... o [11:06:49.012] checking whether we are using the GNU C compiler... yes [11:06:49.019] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [11:06:49.025] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [11:06:49.034] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [11:06:49.098] checking whether we are using the GNU C++ compiler... yes [11:06:49.105] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [11:06:49.178] checking for gawk... no [11:06:49.178] checking for mawk... mawk [11:06:49.181] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [11:06:49.188] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [11:06:49.194] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [11:06:49.243] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [11:06:49.440] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [11:06:49.447] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [11:06:49.453] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [11:06:49.460] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [11:06:49.466] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [11:06:49.472] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [11:06:49.559] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [11:06:49.566] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [11:06:49.573] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [11:06:49.580] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [11:06:49.597] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [11:06:49.604] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [11:06:49.611] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [11:06:49.648] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [11:06:49.654] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [11:06:49.662] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [11:06:49.669] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [11:06:49.687] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [11:06:49.694] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [11:06:49.720] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [11:06:49.727] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [11:06:49.743] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [11:06:49.781] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [11:06:49.819] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [11:06:49.826] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [11:06:49.833] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [11:06:49.868] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [11:06:49.874] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [11:06:49.881] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [11:06:49.889] checking whether the C compiler still works... yes [11:06:49.955] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [11:06:50.034] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [11:06:50.034] checking pkg-config is at least version 0.9.0... yes [11:06:50.053] checking whether to build with ICU support... no [11:06:50.053] checking whether to build with Tcl... no [11:06:50.053] checking whether to build Perl modules... no [11:06:50.053] checking whether to build Python modules... no [11:06:50.053] checking whether to build with GSSAPI support... no [11:06:50.054] checking whether to build with PAM support... no [11:06:50.054] checking whether to build with BSD Authentication support... no [11:06:50.054] checking whether to build with LDAP support... no [11:06:50.055] checking whether to build with Bonjour support... no [11:06:50.055] checking whether to build with SELinux support... no [11:06:50.055] checking whether to build with systemd support... no [11:06:50.055] configure: WARNING: *** Readline does not work on MinGW --- disabling [11:06:50.055] checking whether to build with XML support... no [11:06:50.055] checking whether to build with LZ4 support... no [11:06:50.056] checking whether to build with ZSTD support... no [11:06:50.056] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [11:06:50.056] checking whether it is possible to strip libraries... yes [11:06:50.065] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [11:06:50.065] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [11:06:50.065] checking for a BSD-compatible install... /usr/bin/install -c [11:06:50.074] checking for tar... /usr/bin/tar [11:06:50.074] checking whether ln -s works... yes [11:06:50.074] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [11:06:50.076] checking for bison... /usr/bin/bison [11:06:50.079] configure: using bison (GNU Bison) 3.8.2 [11:06:50.081] checking for flex... /usr/bin/flex [11:06:50.094] configure: using flex 2.6.4 [11:06:50.094] checking for perl... /usr/bin/perl [11:06:50.097] configure: using perl 5.36.0 [11:06:50.100] checking for zic... /usr/sbin/zic [11:06:50.100] checking for a sed that does not truncate output... /usr/bin/sed [11:06:50.105] checking for grep that handles long lines and -e... /usr/bin/grep [11:06:50.107] checking for egrep... /usr/bin/grep -E [11:06:50.109] checking for ANSI C header files... yes [11:06:50.159] checking for sys/types.h... yes [11:06:50.197] checking for sys/stat.h... yes [11:06:50.215] checking for stdlib.h... yes [11:06:50.232] checking for string.h... yes [11:06:50.270] checking for memory.h... yes [11:06:50.287] checking for strings.h... yes [11:06:50.304] checking for inttypes.h... yes [11:06:50.322] checking for stdint.h... yes [11:06:50.338] checking for unistd.h... yes [11:06:50.406] checking for main in -lm... yes [11:06:50.451] checking for library containing setproctitle... no [11:06:50.540] checking for library containing dlsym... no [11:06:50.626] checking for library containing socket... -lws2_32 [11:06:50.753] checking for library containing getopt_long... none required [11:06:50.799] checking for library containing shm_open... no [11:06:50.883] checking for library containing shm_unlink... no [11:06:50.967] checking for library containing clock_gettime... no [11:06:51.052] checking for library containing shmget... no [11:06:51.138] checking for library containing backtrace_symbols... no [11:06:51.228] checking for library containing pthread_barrier_wait... -lpthread [11:06:51.320] checking for inflate in -lz... yes [11:06:51.367] checking for stdbool.h that conforms to C99... yes [11:06:51.378] checking for _Bool... yes [11:06:51.448] checking atomic.h usability... no [11:06:51.502] checking atomic.h presence... no [11:06:51.520] checking for atomic.h... no [11:06:51.523] checking copyfile.h usability... no [11:06:51.575] checking copyfile.h presence... no [11:06:51.594] checking for copyfile.h... no [11:06:51.598] checking execinfo.h usability... no [11:06:51.652] checking execinfo.h presence... no [11:06:51.671] checking for execinfo.h... no [11:06:51.674] checking getopt.h usability... yes [11:06:51.681] checking getopt.h presence... yes [11:06:51.696] checking for getopt.h... yes [11:06:51.703] checking ifaddrs.h usability... no [11:06:51.756] checking ifaddrs.h presence... no [11:06:51.774] checking for ifaddrs.h... no [11:06:51.777] checking mbarrier.h usability... no [11:06:51.829] checking mbarrier.h presence... no [11:06:51.846] checking for mbarrier.h... no [11:06:51.849] checking sys/epoll.h usability... no [11:06:51.905] checking sys/epoll.h presence... no [11:06:51.924] checking for sys/epoll.h... no [11:06:51.927] checking sys/event.h usability... no [11:06:51.981] checking sys/event.h presence... no [11:06:52.000] checking for sys/event.h... no [11:06:52.004] checking sys/personality.h usability... no [11:06:52.059] checking sys/personality.h presence... no [11:06:52.077] checking for sys/personality.h... no [11:06:52.080] checking sys/prctl.h usability... no [11:06:52.135] checking sys/prctl.h presence... no [11:06:52.153] checking for sys/prctl.h... no [11:06:52.156] checking sys/procctl.h usability... no [11:06:52.210] checking sys/procctl.h presence... no [11:06:52.229] checking for sys/procctl.h... no [11:06:52.233] checking sys/signalfd.h usability... no [11:06:52.289] checking sys/signalfd.h presence... no [11:06:52.310] checking for sys/signalfd.h... no [11:06:52.313] checking sys/ucred.h usability... no [11:06:52.370] checking sys/ucred.h presence... no [11:06:52.390] checking for sys/ucred.h... no [11:06:52.393] checking termios.h usability... no [11:06:52.447] checking termios.h presence... no [11:06:52.466] checking for termios.h... no [11:06:52.470] checking ucred.h usability... no [11:06:52.524] checking ucred.h presence... no [11:06:52.542] checking for ucred.h... no [11:06:52.545] checking zlib.h usability... yes [11:06:52.554] checking zlib.h presence... yes [11:06:52.572] checking for zlib.h... yes [11:06:52.573] checking for lz4... /usr/bin/lz4 [11:06:52.573] checking for zstd... /usr/bin/zstd [11:06:52.573] checking for openssl... /usr/bin/openssl [11:06:52.578] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [11:06:52.578] checking crtdefs.h usability... yes [11:06:52.586] checking crtdefs.h presence... yes [11:06:52.601] checking for crtdefs.h... yes [11:06:52.602] checking whether byte ordering is bigendian... no [11:06:52.685] checking for inline... inline [11:06:52.692] checking for printf format archetype... gnu_printf [11:06:52.700] checking for _Static_assert... yes [11:06:52.741] checking for typeof... typeof [11:06:52.757] checking for __builtin_types_compatible_p... yes [11:06:52.767] checking for __builtin_constant_p... yes [11:06:52.777] checking for __builtin_unreachable... yes [11:06:52.817] checking for computed goto support... yes [11:06:52.824] checking for struct tm.tm_zone... no [11:06:52.898] checking for union semun... no [11:06:52.932] checking for socklen_t... yes [11:06:54.190] checking for struct sockaddr.sa_len... no [11:06:56.453] checking for locale_t... no [11:06:56.516] checking for C/C++ restrict keyword... __restrict [11:06:56.528] checking for struct option... yes [11:06:56.600] checking whether assembler supports x86_64 popcntq... yes [11:06:56.608] checking size of off_t... 4 [11:06:56.837] 0 [11:06:56.837] checking size of bool... 1 [11:06:56.883] checking for int timezone... yes [11:06:56.935] checking for wcstombs_l declaration... no [11:06:57.029] checking for backtrace_symbols... no [11:06:57.085] checking for copyfile... no [11:06:57.138] checking for copy_file_range... no [11:06:57.194] checking for getifaddrs... no [11:06:57.251] checking for getpeerucred... no [11:06:57.306] checking for inet_pton... yes [11:06:57.361] checking for kqueue... no [11:06:57.417] checking for mbstowcs_l... no [11:06:57.471] checking for memset_s... no [11:06:57.526] checking for posix_fallocate... no [11:06:57.581] checking for ppoll... no [11:06:57.636] checking for pthread_is_threaded_np... no [11:06:57.691] checking for setproctitle... no [11:06:57.745] checking for setproctitle_fast... no [11:06:57.800] checking for strchrnul... no [11:06:57.855] checking for strsignal... no [11:06:57.909] checking for syncfs... no [11:06:57.965] checking for sync_file_range... no [11:06:58.022] checking for uselocale... no [11:06:58.077] checking for wcstombs_l... no [11:06:58.130] checking for __builtin_bswap16... yes [11:06:58.183] checking for __builtin_bswap32... yes [11:06:58.233] checking for __builtin_bswap64... yes [11:06:58.285] checking for __builtin_clz... yes [11:06:58.335] checking for __builtin_ctz... yes [11:06:58.386] checking for __builtin_popcount... yes [11:06:58.437] checking for __builtin_frame_address... yes [11:06:58.486] checking for _LARGEFILE_SOURCE value needed for large files... no [11:06:58.545] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [11:06:58.579] checking for posix_fadvise... no [11:06:58.634] checking whether posix_fadvise is declared... no [11:06:58.684] checking whether fdatasync is declared... no [11:06:58.735] checking whether strlcat is declared... no [11:06:58.803] checking whether strlcpy is declared... no [11:06:58.871] checking whether strnlen is declared... yes [11:06:58.885] checking whether strsep is declared... no [11:06:58.955] checking whether preadv is declared... no [11:06:58.996] checking whether pwritev is declared... no [11:06:59.038] checking whether F_FULLFSYNC is declared... no [11:06:59.082] checking for explicit_bzero... no [11:06:59.133] checking for getopt... yes [11:06:59.181] checking for getpeereid... no [11:06:59.231] checking for inet_aton... no [11:06:59.283] checking for mkdtemp... no [11:06:59.335] checking for strlcat... no [11:06:59.387] checking for strlcpy... no [11:06:59.439] checking for strnlen... yes [11:06:59.491] checking for strsep... no [11:06:59.542] checking for pthread_barrier_wait... yes [11:06:59.589] configure: On mingw32 we will use our strtof wrapper. [11:06:59.589] checking for getopt_long... yes [11:06:59.637] checking for _configthreadlocale... yes [11:06:59.685] checking for syslog... no [11:06:59.736] checking for opterr... yes [11:06:59.786] checking for optreset... no [11:06:59.843] checking test program... cross-compiling [11:06:59.843] checking whether long int is 64 bits... no [11:06:59.880] checking whether long long int is 64 bits... yes [11:06:59.890] checking for __builtin_mul_overflow... yes [11:06:59.938] checking size of void *... 8 [11:07:00.266] checking size of size_t... 8 [11:07:00.629] checking size of long... 4 [11:07:00.839] checking alignment of short... 2 [11:07:01.043] checking alignment of int... 4 [11:07:01.263] checking alignment of long... 4 [11:07:01.481] checking alignment of long long int... 8 [11:07:01.782] checking alignment of double... 8 [11:07:02.135] checking for int8... no [11:07:02.182] checking for uint8... no [11:07:02.229] checking for int64... no [11:07:02.276] checking for uint64... no [11:07:02.322] checking for __int128... yes [11:07:02.376] checking for __int128 alignment bug... assuming ok [11:07:02.376] checking alignment of PG_INT128_TYPE... 16 [11:07:02.732] checking for builtin __sync char locking functions... yes [11:07:02.775] checking for builtin __sync int32 locking functions... yes [11:07:02.819] checking for builtin __sync int32 atomic operations... yes [11:07:02.864] checking for builtin __sync int64 atomic operations... yes [11:07:02.908] checking for builtin __atomic int32 atomic operations... yes [11:07:02.954] checking for builtin __atomic int64 atomic operations... yes [11:07:03.000] checking for __get_cpuid... yes [11:07:03.050] checking for __get_cpuid_count... yes [11:07:03.098] checking for __cpuid... no [11:07:03.486] checking for __cpuidex... no [11:07:03.913] checking for _xgetbv with CFLAGS=... no [11:07:04.298] checking for _xgetbv with CFLAGS=-mxsave... yes [11:07:04.699] checking for _mm512_popcnt_epi64 with CFLAGS=... no [11:07:05.092] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [11:07:05.443] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [11:07:05.492] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [11:07:05.587] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [11:07:05.613] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [11:07:05.635] 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 [11:07:05.692] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [11:07:05.693] checking which random number source to use... Windows native [11:07:05.695] checking for xmllint... /usr/bin/xmllint [11:07:05.695] checking for xsltproc... /usr/bin/xsltproc [11:07:05.695] checking for fop... /usr/bin/fop [11:07:05.695] checking for dbtoepub... no [11:07:05.696] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [11:07:05.696] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [11:07:05.696] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [11:07:05.708] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [11:07:05.708] 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 [11:07:05.708] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [11:07:05.708] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [11:07:05.798] configure: creating ./config.status [11:07:05.888] config.status: creating GNUmakefile [11:07:05.901] config.status: creating src/Makefile.global [11:07:05.918] config.status: creating src/include/pg_config.h [11:07:05.931] config.status: creating src/include/pg_config_ext.h [11:07:05.944] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [11:07:05.959] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [11:07:05.967] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [11:07:05.974] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [11:07:05.982] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [11:07:05.990] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [11:07:05.994] config.status: executing check_win32_symlinks commands [11:07:06.030] [11:07:06.030] real 0m17.700s [11:07:06.030] user 0m11.625s [11:07:06.030] sys 0m5.585s [11:07:06.030] make -s -j${BUILD_JOBS} clean [11:07:06.554] time make -s -j${BUILD_JOBS} world-bin [11:07:37.152] smgr.c: In function ‘smgrdestroy’: [11:07:37.152] smgr.c:279:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [11:07:37.152] 279 | ForkNumber forknum; [11:07:37.152] | ^~~~~~~ [11:07:37.152] smgr.c: In function ‘smgrdounlinkall’: [11:07:37.152] smgr.c:484:41: error: unused variable ‘which’ [-Werror=unused-variable] [11:07:37.152] 484 | int which = rels[i]->smgr_which; [11:07:37.152] | ^~~~~ [11:07:37.152] cc1: all warnings being treated as errors [11:07:37.159] make[4]: *** [: smgr.o] Error 1 [11:07:37.159] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [11:07:37.159] make[3]: *** Waiting for unfinished jobs.... [11:07:37.686] make[2]: *** [common.mk:37: storage-recursive] Error 2 [11:07:37.686] make[2]: *** Waiting for unfinished jobs.... [11:07:54.028] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [11:07:54.028] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [11:07:54.029] [11:07:54.029] real 0m47.475s [11:07:54.029] user 2m26.604s [11:07:54.029] sys 0m32.575s [11:07:54.029] [11:07:54.029] Exit status: 2