[08:36:15.582] time ./configure \ [08:36:15.582] --host=x86_64-w64-mingw32 \ [08:36:15.582] --enable-cassert \ [08:36:15.582] --without-icu \ [08:36:15.582] CC="ccache x86_64-w64-mingw32-gcc" \ [08:36:15.582] CXX="ccache x86_64-w64-mingw32-g++" [08:36:15.691] checking build system type... x86_64-pc-linux-gnu [08:36:15.863] checking host system type... x86_64-w64-mingw32 [08:36:15.867] checking which template to use... win32 [08:36:15.868] checking whether NLS is wanted... no [08:36:15.868] checking for default port number... 5432 [08:36:15.873] checking for block size... 8kB [08:36:15.874] checking for segment size... 1GB [08:36:15.876] checking for WAL block size... 8kB [08:36:15.877] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [08:36:15.906] checking whether the C compiler works... yes [08:36:16.034] checking for C compiler default output file name... a.exe [08:36:16.035] checking for suffix of executables... .exe [08:36:16.070] checking whether we are cross compiling... yes [08:36:16.142] checking for suffix of object files... o [08:36:16.149] checking whether we are using the GNU C compiler... yes [08:36:16.155] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [08:36:16.161] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [08:36:16.170] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [08:36:16.229] checking whether we are using the GNU C++ compiler... yes [08:36:16.235] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [08:36:16.298] checking for gawk... no [08:36:16.299] checking for mawk... mawk [08:36:16.301] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [08:36:16.307] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [08:36:16.313] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [08:36:16.355] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [08:36:16.513] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [08:36:16.520] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [08:36:16.526] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [08:36:16.532] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [08:36:16.539] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [08:36:16.545] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [08:36:16.551] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [08:36:16.557] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [08:36:16.564] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [08:36:16.571] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [08:36:16.577] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [08:36:16.583] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [08:36:16.589] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [08:36:16.623] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [08:36:16.629] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [08:36:16.636] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [08:36:16.642] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [08:36:16.648] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [08:36:16.655] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [08:36:16.676] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [08:36:16.683] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [08:36:16.689] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [08:36:16.724] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [08:36:16.759] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [08:36:16.766] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [08:36:16.772] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [08:36:16.805] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [08:36:16.812] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [08:36:16.818] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [08:36:16.825] checking whether the C compiler still works... yes [08:36:16.884] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [08:36:16.948] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [08:36:16.948] checking pkg-config is at least version 0.9.0... yes [08:36:16.965] checking whether to build with ICU support... no [08:36:16.965] checking whether to build with Tcl... no [08:36:16.965] checking whether to build Perl modules... no [08:36:16.965] checking whether to build Python modules... no [08:36:16.965] checking whether to build with GSSAPI support... no [08:36:16.966] checking whether to build with PAM support... no [08:36:16.966] checking whether to build with BSD Authentication support... no [08:36:16.966] checking whether to build with LDAP support... no [08:36:16.966] checking whether to build with Bonjour support... no [08:36:16.966] checking whether to build with SELinux support... no [08:36:16.967] checking whether to build with systemd support... no [08:36:16.967] configure: WARNING: *** Readline does not work on MinGW --- disabling [08:36:16.967] checking whether to build with liburing support... no [08:36:16.967] checking whether to build with libcurl support... no [08:36:16.967] checking whether to build with libnuma support... no [08:36:16.968] checking whether to build with XML support... no [08:36:16.968] checking whether to build with LZ4 support... no [08:36:16.968] checking whether to build with ZSTD support... no [08:36:16.968] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [08:36:16.969] checking whether it is possible to strip libraries... yes [08:36:16.975] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [08:36:16.976] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [08:36:16.976] checking for a BSD-compatible install... /usr/bin/install -c [08:36:16.985] checking for tar... /usr/bin/tar [08:36:16.985] checking whether ln -s works... yes [08:36:16.985] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [08:36:16.987] checking for bison... /usr/bin/bison [08:36:16.990] configure: using bison (GNU Bison) 3.8.2 [08:36:16.992] checking for flex... /usr/bin/flex [08:36:16.994] configure: using flex 2.6.4 [08:36:16.995] checking for perl... /usr/bin/perl [08:36:16.997] configure: using perl 5.36.0 [08:36:16.999] checking for zic... /usr/sbin/zic [08:36:17.000] checking for a sed that does not truncate output... /usr/bin/sed [08:36:17.004] checking for grep that handles long lines and -e... /usr/bin/grep [08:36:17.006] checking for egrep... /usr/bin/grep -E [08:36:17.008] checking for ANSI C header files... yes [08:36:17.054] checking for sys/types.h... yes [08:36:17.070] checking for sys/stat.h... yes [08:36:17.086] checking for stdlib.h... yes [08:36:17.101] checking for string.h... yes [08:36:17.116] checking for memory.h... yes [08:36:17.131] checking for strings.h... yes [08:36:17.146] checking for inttypes.h... yes [08:36:17.164] checking for stdint.h... yes [08:36:17.178] checking for unistd.h... yes [08:36:17.194] checking for main in -lm... yes [08:36:17.241] checking for library containing setproctitle... no [08:36:17.332] checking for library containing dlsym... no [08:36:17.420] checking for library containing socket... -lws2_32 [08:36:17.545] checking for library containing getopt_long... none required [08:36:17.589] checking for library containing shm_open... no [08:36:17.670] checking for library containing shm_unlink... no [08:36:17.749] checking for library containing clock_gettime... no [08:36:17.828] checking for library containing shmget... no [08:36:17.910] checking for library containing backtrace_symbols... no [08:36:17.989] checking for library containing pthread_barrier_wait... -lpthread [08:36:18.069] checking for inflate in -lz... yes [08:36:18.113] checking atomic.h usability... no [08:36:18.166] checking atomic.h presence... no [08:36:18.185] checking for atomic.h... no [08:36:18.188] checking copyfile.h usability... no [08:36:18.237] checking copyfile.h presence... no [08:36:18.253] checking for copyfile.h... no [08:36:18.256] checking execinfo.h usability... no [08:36:18.307] checking execinfo.h presence... no [08:36:18.326] checking for execinfo.h... no [08:36:18.329] checking getopt.h usability... yes [08:36:18.337] checking getopt.h presence... yes [08:36:18.351] checking for getopt.h... yes [08:36:18.359] checking ifaddrs.h usability... no [08:36:18.412] checking ifaddrs.h presence... no [08:36:18.431] checking for ifaddrs.h... no [08:36:18.434] checking mbarrier.h usability... no [08:36:18.486] checking mbarrier.h presence... no [08:36:18.504] checking for mbarrier.h... no [08:36:18.507] checking sys/epoll.h usability... no [08:36:18.560] checking sys/epoll.h presence... no [08:36:18.578] checking for sys/epoll.h... no [08:36:18.581] checking sys/event.h usability... no [08:36:18.630] checking sys/event.h presence... no [08:36:18.647] checking for sys/event.h... no [08:36:18.650] checking sys/personality.h usability... no [08:36:18.702] checking sys/personality.h presence... no [08:36:18.720] checking for sys/personality.h... no [08:36:18.723] checking sys/prctl.h usability... no [08:36:18.774] checking sys/prctl.h presence... no [08:36:18.791] checking for sys/prctl.h... no [08:36:18.794] checking sys/procctl.h usability... no [08:36:18.847] checking sys/procctl.h presence... no [08:36:18.865] checking for sys/procctl.h... no [08:36:18.868] checking sys/signalfd.h usability... no [08:36:18.920] checking sys/signalfd.h presence... no [08:36:18.937] checking for sys/signalfd.h... no [08:36:18.941] checking sys/ucred.h usability... no [08:36:18.993] checking sys/ucred.h presence... no [08:36:19.010] checking for sys/ucred.h... no [08:36:19.013] checking termios.h usability... no [08:36:19.064] checking termios.h presence... no [08:36:19.081] checking for termios.h... no [08:36:19.084] checking ucred.h usability... no [08:36:19.135] checking ucred.h presence... no [08:36:19.152] checking for ucred.h... no [08:36:19.156] checking xlocale.h usability... no [08:36:19.204] checking xlocale.h presence... no [08:36:19.221] checking for xlocale.h... no [08:36:19.223] checking zlib.h usability... yes [08:36:19.232] checking zlib.h presence... yes [08:36:19.250] checking for zlib.h... yes [08:36:19.250] checking for lz4... /usr/bin/lz4 [08:36:19.250] checking for zstd... /usr/bin/zstd [08:36:19.251] checking for openssl... /usr/bin/openssl [08:36:19.255] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [08:36:19.255] checking crtdefs.h usability... yes [08:36:19.263] checking crtdefs.h presence... yes [08:36:19.276] checking for crtdefs.h... yes [08:36:19.277] checking whether byte ordering is bigendian... no [08:36:19.344] checking for inline... inline [08:36:19.350] checking for printf format archetype... gnu_printf [08:36:19.358] checking for _Static_assert... yes [08:36:19.395] checking for typeof... typeof [08:36:19.401] checking for __builtin_types_compatible_p... yes [08:36:19.411] checking for __builtin_constant_p... yes [08:36:19.421] checking for __builtin_mul_overflow... yes [08:36:19.467] checking for __builtin_unreachable... yes [08:36:19.505] checking for computed goto support... yes [08:36:19.511] checking for struct tm.tm_zone... no [08:36:19.578] checking for union semun... no [08:36:19.608] checking for socklen_t... yes [08:36:20.842] checking for struct sockaddr.sa_len... no [08:36:23.019] checking for C/C++ restrict keyword... __restrict [08:36:23.031] checking for struct option... yes [08:36:23.073] checking whether assembler supports x86_64 popcntq... yes [08:36:23.080] checking size of off_t... 4 [08:36:23.277] 0 [08:36:23.278] checking for int timezone... yes [08:36:23.326] checking for backtrace_symbols... no [08:36:23.375] checking for copyfile... no [08:36:23.423] checking for copy_file_range... no [08:36:23.470] checking for elf_aux_info... no [08:36:23.517] checking for getauxval... no [08:36:23.564] checking for getifaddrs... no [08:36:23.613] checking for getpeerucred... no [08:36:23.663] checking for inet_pton... yes [08:36:23.713] checking for kqueue... no [08:36:23.762] checking for localeconv_l... no [08:36:23.812] checking for mbstowcs_l... no [08:36:23.862] checking for memset_s... no [08:36:23.914] checking for posix_fallocate... no [08:36:23.965] checking for ppoll... no [08:36:24.012] checking for pthread_is_threaded_np... no [08:36:24.058] checking for setproctitle... no [08:36:24.104] checking for setproctitle_fast... no [08:36:24.150] checking for strsignal... no [08:36:24.197] checking for syncfs... no [08:36:24.243] checking for sync_file_range... no [08:36:24.289] checking for uselocale... no [08:36:24.334] checking for wcstombs_l... no [08:36:24.378] checking for __builtin_bswap16... yes [08:36:24.422] checking for __builtin_bswap32... yes [08:36:24.467] checking for __builtin_bswap64... yes [08:36:24.512] checking for __builtin_clz... yes [08:36:24.560] checking for __builtin_ctz... yes [08:36:24.606] checking for __builtin_popcount... yes [08:36:24.651] checking for __builtin_frame_address... yes [08:36:24.697] checking for _LARGEFILE_SOURCE value needed for large files... no [08:36:24.750] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [08:36:24.784] checking for posix_fadvise... no [08:36:24.833] checking whether posix_fadvise is declared... no [08:36:24.876] checking whether fdatasync is declared... no [08:36:24.920] checking whether strlcat is declared... no [08:36:24.981] checking whether strlcpy is declared... no [08:36:25.039] checking whether strnlen is declared... yes [08:36:25.051] checking whether strsep is declared... no [08:36:25.111] checking whether timingsafe_bcmp is declared... no [08:36:25.177] checking whether preadv is declared... no [08:36:25.213] checking whether pwritev is declared... no [08:36:25.253] checking whether strchrnul is declared... no [08:36:25.292] checking whether F_FULLFSYNC is declared... no [08:36:25.328] checking for explicit_bzero... no [08:36:25.372] checking for getopt... yes [08:36:25.412] checking for getpeereid... no [08:36:25.454] checking for inet_aton... no [08:36:25.499] checking for mkdtemp... no [08:36:25.542] checking for strlcat... no [08:36:25.587] checking for strlcpy... no [08:36:25.633] checking for strnlen... yes [08:36:25.679] checking for strsep... no [08:36:25.725] checking for timingsafe_bcmp... no [08:36:25.773] checking for pthread_barrier_wait... yes [08:36:25.818] configure: On mingw32 we will use our strtof wrapper. [08:36:25.818] checking for getopt_long... yes [08:36:25.860] checking for syslog... no [08:36:25.904] checking for opterr... yes [08:36:25.949] checking for optreset... no [08:36:25.997] checking test program... cross-compiling [08:36:25.997] checking size of void *... 8 [08:36:26.261] checking size of size_t... 8 [08:36:26.534] checking size of long... 4 [08:36:26.741] checking size of long long... 8 [08:36:27.021] checking alignment of short... 2 [08:36:27.162] checking alignment of int... 4 [08:36:27.372] checking alignment of long... 4 [08:36:27.581] checking alignment of int64_t... 8 [08:36:27.866] checking alignment of double... 8 [08:36:28.162] checking for __int128... yes [08:36:28.214] checking for __int128 alignment bug... assuming ok [08:36:28.214] checking alignment of PG_INT128_TYPE... 16 [08:36:28.571] checking for builtin __sync char locking functions... yes [08:36:28.614] checking for builtin __sync int32 locking functions... yes [08:36:28.660] checking for builtin __sync int32 atomic operations... yes [08:36:28.706] checking for builtin __sync int64 atomic operations... yes [08:36:28.753] checking for builtin __atomic int32 atomic operations... yes [08:36:28.798] checking for builtin __atomic int64 atomic operations... yes [08:36:28.846] checking for __get_cpuid... yes [08:36:28.896] checking for __get_cpuid_count... yes [08:36:28.942] checking for __cpuid... no [08:36:29.335] checking for __cpuidex... no [08:36:29.761] checking for _xgetbv... yes [08:36:30.162] checking for _mm512_popcnt_epi64... yes [08:36:30.595] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [08:36:30.699] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [08:36:30.724] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [08:36:30.744] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [08:36:30.765] 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 [08:36:30.825] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [08:36:30.825] checking for _mm512_clmulepi64_epi128... yes [08:36:31.230] checking for vectorized CRC-32C... AVX-512 with runtime check [08:36:31.231] checking which random number source to use... Windows native [08:36:31.232] checking for xmllint... /usr/bin/xmllint [08:36:31.232] checking for xsltproc... /usr/bin/xsltproc [08:36:31.233] checking for fop... /usr/bin/fop [08:36:31.233] checking for dbtoepub... no [08:36:31.233] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [08:36:31.233] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [08:36:31.234] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [08:36:31.245] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [08:36:31.245] 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 [08:36:31.245] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [08:36:31.245] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [08:36:31.336] configure: creating ./config.status [08:36:31.424] config.status: creating GNUmakefile [08:36:31.437] config.status: creating src/Makefile.global [08:36:31.454] config.status: creating src/include/pg_config.h [08:36:31.467] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [08:36:31.483] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [08:36:31.491] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [08:36:31.499] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [08:36:31.506] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [08:36:31.514] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [08:36:31.518] config.status: executing check_win32_symlinks commands [08:36:31.554] [08:36:31.554] real 0m15.972s [08:36:31.554] user 0m10.752s [08:36:31.554] sys 0m4.917s [08:36:31.554] make -s -j${BUILD_JOBS} clean [08:36:32.096] time make -s -j${BUILD_JOBS} world-bin [08:36:41.902] common.c: In function ‘badFileStream’: [08:36:41.902] common.c:51:25: error: unused variable ‘bad’ [-Werror=unused-variable] [08:36:41.902] 51 | bool bad; [08:36:41.902] | ^~~ [08:36:41.902] cc1: all warnings being treated as errors [08:36:41.903] make[3]: *** [: common.o] Error 1 [08:36:41.903] make[3]: *** Waiting for unfinished jobs.... [08:36:43.170] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [08:36:43.170] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [08:36:43.170] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:36:43.170] [08:36:43.170] real 0m11.074s [08:36:43.170] user 0m17.728s [08:36:43.170] sys 0m10.565s [08:36:43.171] [08:36:43.171] Exit status: 2