[17:11:10.690] time ./configure \ [17:11:10.690] --host=x86_64-w64-mingw32 \ [17:11:10.690] --enable-cassert \ [17:11:10.690] --without-icu \ [17:11:10.690] CC="ccache x86_64-w64-mingw32-gcc" \ [17:11:10.690] CXX="ccache x86_64-w64-mingw32-g++" [17:11:10.798] checking build system type... x86_64-pc-linux-gnu [17:11:10.997] checking host system type... x86_64-w64-mingw32 [17:11:11.001] checking which template to use... win32 [17:11:11.002] checking whether NLS is wanted... no [17:11:11.002] checking for default port number... 5432 [17:11:11.008] checking for block size... 8kB [17:11:11.009] checking for segment size... 1GB [17:11:11.011] checking for WAL block size... 8kB [17:11:11.012] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:11:11.044] checking whether the C compiler works... yes [17:11:11.190] checking for C compiler default output file name... a.exe [17:11:11.191] checking for suffix of executables... .exe [17:11:11.229] checking whether we are cross compiling... yes [17:11:11.304] checking for suffix of object files... o [17:11:11.312] checking whether we are using the GNU C compiler... yes [17:11:11.342] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:11:11.349] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:11:11.426] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:11:11.556] checking whether we are using the GNU C++ compiler... yes [17:11:11.756] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:11:11.823] checking for gawk... no [17:11:11.823] checking for mawk... mawk [17:11:11.825] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:11:11.855] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:11:11.869] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:11:11.911] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:11:11.953] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:11:11.960] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:11:11.975] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:11:11.981] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:11:11.996] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:11:12.011] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:11:12.017] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:11:12.048] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:11:12.078] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:11:12.085] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:11:12.114] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:11:12.145] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:11:12.178] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:11:12.214] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:11:12.247] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:11:12.254] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:11:12.287] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:11:12.318] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:11:12.325] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:11:12.347] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:11:12.363] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:11:12.378] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:11:12.414] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:11:12.451] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:11:12.482] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:11:12.513] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:11:12.547] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:11:12.554] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:11:12.569] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:11:12.576] checking whether the C compiler still works... yes [17:11:12.648] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:11:12.713] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:11:12.713] checking pkg-config is at least version 0.9.0... yes [17:11:12.731] checking whether to build with ICU support... no [17:11:12.731] checking whether to build with Tcl... no [17:11:12.731] checking whether to build Perl modules... no [17:11:12.731] checking whether to build Python modules... no [17:11:12.731] checking whether to build with GSSAPI support... no [17:11:12.732] checking whether to build with PAM support... no [17:11:12.732] checking whether to build with BSD Authentication support... no [17:11:12.733] checking whether to build with LDAP support... no [17:11:12.733] checking whether to build with Bonjour support... no [17:11:12.733] checking whether to build with SELinux support... no [17:11:12.733] checking whether to build with systemd support... no [17:11:12.733] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:11:12.733] checking whether to build with XML support... no [17:11:12.733] checking whether to build with LZ4 support... no [17:11:12.734] checking whether to build with ZSTD support... no [17:11:12.734] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:11:12.734] checking whether it is possible to strip libraries... yes [17:11:12.743] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:11:12.743] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:11:12.743] checking for a BSD-compatible install... /usr/bin/install -c [17:11:12.752] checking for tar... /usr/bin/tar [17:11:12.752] checking whether ln -s works... yes [17:11:12.752] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:11:12.754] checking for bison... /usr/bin/bison [17:11:12.756] configure: using bison (GNU Bison) 3.8.2 [17:11:12.759] checking for flex... /usr/bin/flex [17:11:12.770] configure: using flex 2.6.4 [17:11:12.770] checking for perl... /usr/bin/perl [17:11:12.773] configure: using perl 5.36.0 [17:11:12.775] checking for zic... /usr/sbin/zic [17:11:12.775] checking for a sed that does not truncate output... /usr/bin/sed [17:11:12.780] checking for grep that handles long lines and -e... /usr/bin/grep [17:11:12.782] checking for egrep... /usr/bin/grep -E [17:11:12.783] checking for ANSI C header files... yes [17:11:12.841] checking for sys/types.h... yes [17:11:12.895] checking for sys/stat.h... yes [17:11:12.955] checking for stdlib.h... yes [17:11:13.015] checking for string.h... yes [17:11:13.031] checking for memory.h... yes [17:11:13.095] checking for strings.h... yes [17:11:13.153] checking for inttypes.h... yes [17:11:13.213] checking for stdint.h... yes [17:11:13.270] checking for unistd.h... yes [17:11:13.306] checking for main in -lm... yes [17:11:13.351] checking for library containing setproctitle... no [17:11:13.436] checking for library containing dlsym... no [17:11:13.520] checking for library containing socket... -lws2_32 [17:11:13.644] checking for library containing getopt_long... none required [17:11:13.691] checking for library containing shm_open... no [17:11:13.775] checking for library containing shm_unlink... no [17:11:13.859] checking for library containing clock_gettime... no [17:11:13.947] checking for library containing shmget... no [17:11:14.029] checking for library containing backtrace_symbols... no [17:11:14.111] checking for library containing pthread_barrier_wait... -lpthread [17:11:14.193] checking for inflate in -lz... yes [17:11:14.237] checking for stdbool.h that conforms to C99... yes [17:11:14.256] checking for _Bool... yes [17:11:14.340] checking atomic.h usability... no [17:11:14.390] checking atomic.h presence... no [17:11:14.407] checking for atomic.h... no [17:11:14.410] checking copyfile.h usability... no [17:11:14.460] checking copyfile.h presence... no [17:11:14.477] checking for copyfile.h... no [17:11:14.480] checking execinfo.h usability... no [17:11:14.531] checking execinfo.h presence... no [17:11:14.549] checking for execinfo.h... no [17:11:14.552] checking getopt.h usability... yes [17:11:14.579] checking getopt.h presence... yes [17:11:14.593] checking for getopt.h... yes [17:11:14.600] checking ifaddrs.h usability... no [17:11:14.652] checking ifaddrs.h presence... no [17:11:14.669] checking for ifaddrs.h... no [17:11:14.672] checking mbarrier.h usability... no [17:11:14.722] checking mbarrier.h presence... no [17:11:14.739] checking for mbarrier.h... no [17:11:14.742] checking sys/epoll.h usability... no [17:11:14.793] checking sys/epoll.h presence... no [17:11:14.810] checking for sys/epoll.h... no [17:11:14.813] checking sys/event.h usability... no [17:11:14.864] checking sys/event.h presence... no [17:11:14.882] checking for sys/event.h... no [17:11:14.885] checking sys/personality.h usability... no [17:11:14.937] checking sys/personality.h presence... no [17:11:14.955] checking for sys/personality.h... no [17:11:14.957] checking sys/prctl.h usability... no [17:11:15.010] checking sys/prctl.h presence... no [17:11:15.027] checking for sys/prctl.h... no [17:11:15.030] checking sys/procctl.h usability... no [17:11:15.084] checking sys/procctl.h presence... no [17:11:15.101] checking for sys/procctl.h... no [17:11:15.104] checking sys/signalfd.h usability... no [17:11:15.158] checking sys/signalfd.h presence... no [17:11:15.176] checking for sys/signalfd.h... no [17:11:15.180] checking sys/ucred.h usability... no [17:11:15.234] checking sys/ucred.h presence... no [17:11:15.252] checking for sys/ucred.h... no [17:11:15.255] checking termios.h usability... no [17:11:15.309] checking termios.h presence... no [17:11:15.327] checking for termios.h... no [17:11:15.330] checking ucred.h usability... no [17:11:15.383] checking ucred.h presence... no [17:11:15.402] checking for ucred.h... no [17:11:15.404] checking zlib.h usability... yes [17:11:15.462] checking zlib.h presence... yes [17:11:15.480] checking for zlib.h... yes [17:11:15.480] checking for lz4... /usr/bin/lz4 [17:11:15.481] checking for zstd... /usr/bin/zstd [17:11:15.481] checking for openssl... /usr/bin/openssl [17:11:15.485] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [17:11:15.486] checking crtdefs.h usability... yes [17:11:15.514] checking crtdefs.h presence... yes [17:11:15.528] checking for crtdefs.h... yes [17:11:15.529] checking whether byte ordering is bigendian... no [17:11:15.623] checking for inline... inline [17:11:15.648] checking for printf format archetype... gnu_printf [17:11:15.656] checking for _Static_assert... yes [17:11:15.694] checking for typeof... typeof [17:11:15.725] checking for __builtin_types_compatible_p... yes [17:11:15.735] checking for __builtin_constant_p... yes [17:11:15.765] checking for __builtin_unreachable... yes [17:11:15.803] checking for computed goto support... yes [17:11:15.833] checking for struct tm.tm_zone... no [17:11:15.902] checking for union semun... no [17:11:15.933] checking for socklen_t... yes [17:11:18.010] checking for struct sockaddr.sa_len... no [17:11:19.928] checking for locale_t... no [17:11:19.988] checking for C/C++ restrict keyword... __restrict [17:11:19.999] checking for struct option... yes [17:11:20.045] checking whether assembler supports x86_64 popcntq... yes [17:11:20.051] checking size of off_t... 4 [17:11:20.312] 0 [17:11:20.312] checking size of bool... 1 [17:11:20.397] checking for int timezone... yes [17:11:20.438] checking for wcstombs_l declaration... no [17:11:20.512] checking for backtrace_symbols... no [17:11:20.555] checking for copyfile... no [17:11:20.599] checking for copy_file_range... no [17:11:20.643] checking for getifaddrs... no [17:11:20.689] checking for getpeerucred... no [17:11:20.735] checking for inet_pton... yes [17:11:20.779] checking for kqueue... no [17:11:20.824] checking for mbstowcs_l... no [17:11:20.869] checking for memset_s... no [17:11:20.918] checking for posix_fallocate... no [17:11:20.965] checking for ppoll... no [17:11:21.011] checking for pthread_is_threaded_np... no [17:11:21.056] checking for setproctitle... no [17:11:21.103] checking for setproctitle_fast... no [17:11:21.149] checking for strchrnul... no [17:11:21.195] checking for strsignal... no [17:11:21.240] checking for syncfs... no [17:11:21.288] checking for sync_file_range... no [17:11:21.333] checking for uselocale... no [17:11:21.380] checking for wcstombs_l... no [17:11:21.423] checking for __builtin_bswap16... yes [17:11:21.468] checking for __builtin_bswap32... yes [17:11:21.512] checking for __builtin_bswap64... yes [17:11:21.556] checking for __builtin_clz... yes [17:11:21.602] checking for __builtin_ctz... yes [17:11:21.645] checking for __builtin_popcount... yes [17:11:21.689] checking for __builtin_frame_address... yes [17:11:21.731] checking for _LARGEFILE_SOURCE value needed for large files... no [17:11:21.777] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:11:21.805] checking for posix_fadvise... no [17:11:21.850] checking whether posix_fadvise is declared... no [17:11:21.890] checking whether fdatasync is declared... no [17:11:21.929] checking whether strlcat is declared... no [17:11:21.984] checking whether strlcpy is declared... no [17:11:22.041] checking whether strnlen is declared... yes [17:11:22.073] checking whether strsep is declared... no [17:11:22.129] checking whether preadv is declared... no [17:11:22.160] checking whether pwritev is declared... no [17:11:22.191] checking whether F_FULLFSYNC is declared... no [17:11:22.226] checking for explicit_bzero... no [17:11:22.270] checking for getopt... yes [17:11:22.311] checking for getpeereid... no [17:11:22.353] checking for inet_aton... no [17:11:22.395] checking for mkdtemp... no [17:11:22.438] checking for strlcat... no [17:11:22.481] checking for strlcpy... no [17:11:22.524] checking for strnlen... yes [17:11:22.568] checking for strsep... no [17:11:22.610] checking for pthread_barrier_wait... yes [17:11:22.649] configure: On mingw32 we will use our strtof wrapper. [17:11:22.649] checking for getopt_long... yes [17:11:22.688] checking for _configthreadlocale... yes [17:11:22.730] checking for syslog... no [17:11:22.772] checking for opterr... yes [17:11:22.816] checking for optreset... no [17:11:22.862] checking test program... cross-compiling [17:11:22.862] checking whether long int is 64 bits... no [17:11:22.888] checking whether long long int is 64 bits... yes [17:11:22.896] checking for __builtin_mul_overflow... yes [17:11:22.934] checking size of void *... 8 [17:11:23.305] checking size of size_t... 8 [17:11:23.709] checking size of long... 4 [17:11:24.010] checking alignment of short... 2 [17:11:24.226] checking alignment of int... 4 [17:11:24.564] checking alignment of long... 4 [17:11:24.857] checking alignment of long long int... 8 [17:11:25.170] checking alignment of double... 8 [17:11:25.513] checking for int8... no [17:11:25.552] checking for uint8... no [17:11:25.592] checking for int64... no [17:11:25.631] checking for uint64... no [17:11:25.672] checking for __int128... yes [17:11:25.717] checking for __int128 alignment bug... assuming ok [17:11:25.717] checking alignment of PG_INT128_TYPE... 16 [17:11:26.228] checking for builtin __sync char locking functions... yes [17:11:26.267] checking for builtin __sync int32 locking functions... yes [17:11:26.306] checking for builtin __sync int32 atomic operations... yes [17:11:26.346] checking for builtin __sync int64 atomic operations... yes [17:11:26.385] checking for builtin __atomic int32 atomic operations... yes [17:11:26.424] checking for builtin __atomic int64 atomic operations... yes [17:11:26.468] checking for __get_cpuid... yes [17:11:26.512] checking for __get_cpuid_count... yes [17:11:26.552] checking for __cpuid... no [17:11:26.943] checking for __cpuidex... no [17:11:27.358] checking for _xgetbv with CFLAGS=... no [17:11:27.750] checking for _xgetbv with CFLAGS=-mxsave... yes [17:11:28.156] checking for _mm512_popcnt_epi64 with CFLAGS=... no [17:11:28.545] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [17:11:28.886] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:11:28.935] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:11:29.021] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:11:29.044] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:11:29.062] 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 [17:11:29.116] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:11:29.116] checking which random number source to use... Windows native [17:11:29.118] checking for xmllint... /usr/bin/xmllint [17:11:29.118] checking for xsltproc... /usr/bin/xsltproc [17:11:29.119] checking for fop... /usr/bin/fop [17:11:29.119] checking for dbtoepub... no [17:11:29.119] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:11:29.119] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:11:29.120] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:11:29.129] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:11:29.130] 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 [17:11:29.130] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:11:29.130] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:11:29.207] configure: creating ./config.status [17:11:29.292] config.status: creating GNUmakefile [17:11:29.303] config.status: creating src/Makefile.global [17:11:29.318] config.status: creating src/include/pg_config.h [17:11:29.329] config.status: creating src/include/pg_config_ext.h [17:11:29.340] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:11:29.355] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:11:29.361] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:11:29.368] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:11:29.374] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:11:29.381] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:11:29.384] config.status: executing check_win32_symlinks commands [17:11:29.417] [17:11:29.417] real 0m18.727s [17:11:29.417] user 0m12.789s [17:11:29.417] sys 0m5.500s [17:11:29.417] make -s -j${BUILD_JOBS} clean [17:11:29.933] time make -s -j${BUILD_JOBS} world-bin [17:13:21.172] plancat.c: In function ‘get_relation_info’: [17:13:21.172] plancat.c:491:46: error: ‘amroutine’ may be used uninitialized [-Werror=maybe-uninitialized] [17:13:21.172] 491 | if (amroutine->amgettreeheight) [17:13:21.172] | ~~~~~~~~~^~~~~~~~~~~~~~~~~ [17:13:21.172] plancat.c:244:41: note: ‘amroutine’ was declared here [17:13:21.172] 244 | IndexAmRoutine *amroutine; [17:13:21.172] | ^~~~~~~~~ [17:13:21.172] cc1: all warnings being treated as errors [17:13:21.174] make[4]: *** [: plancat.o] Error 1 [17:13:21.174] make[3]: *** [../../../src/backend/common.mk:37: util-recursive] Error 2 [17:13:21.174] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [17:13:21.174] make[2]: *** Waiting for unfinished jobs.... [17:13:26.602] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:13:26.602] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:13:26.603] [17:13:26.603] real 1m56.669s [17:13:26.603] user 6m19.529s [17:13:26.603] sys 1m12.621s [17:13:26.603] [17:13:26.603] Exit status: 2