[15:04:24.339] time ./configure \ [15:04:24.339] --host=x86_64-w64-mingw32 \ [15:04:24.339] --enable-cassert \ [15:04:24.339] --without-icu \ [15:04:24.339] CC="ccache x86_64-w64-mingw32-gcc" \ [15:04:24.339] CXX="ccache x86_64-w64-mingw32-g++" [15:04:24.461] checking build system type... x86_64-pc-linux-gnu [15:04:24.669] checking host system type... x86_64-w64-mingw32 [15:04:24.675] checking which template to use... win32 [15:04:24.675] checking whether NLS is wanted... no [15:04:24.675] checking for default port number... 5432 [15:04:24.682] checking for block size... 8kB [15:04:24.684] checking for segment size... 1GB [15:04:24.687] checking for WAL block size... 8kB [15:04:24.688] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [15:04:24.724] checking whether the C compiler works... yes [15:04:24.879] checking for C compiler default output file name... a.exe [15:04:24.880] checking for suffix of executables... .exe [15:04:24.921] checking whether we are cross compiling... yes [15:04:25.004] checking for suffix of object files... o [15:04:25.013] checking whether we are using the GNU C compiler... yes [15:04:25.030] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [15:04:25.038] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [15:04:25.124] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [15:04:25.282] checking whether we are using the GNU C++ compiler... yes [15:04:25.444] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [15:04:25.583] checking for gawk... no [15:04:25.583] checking for mawk... mawk [15:04:25.585] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [15:04:25.601] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [15:04:25.633] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [15:04:25.680] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [15:04:25.726] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [15:04:25.761] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [15:04:25.796] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [15:04:25.830] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [15:04:25.846] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [15:04:25.880] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [15:04:25.887] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [15:04:25.918] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [15:04:25.925] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [15:04:25.932] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [15:04:25.964] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [15:04:25.996] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [15:04:26.028] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [15:04:26.065] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [15:04:26.081] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [15:04:26.113] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [15:04:26.146] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [15:04:26.153] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [15:04:26.160] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [15:04:26.186] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [15:04:26.202] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [15:04:26.219] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [15:04:26.258] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [15:04:26.298] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [15:04:26.332] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [15:04:26.349] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [15:04:26.386] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [15:04:26.394] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [15:04:26.412] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [15:04:26.448] checking whether the C compiler still works... yes [15:04:26.525] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [15:04:26.600] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [15:04:26.600] checking pkg-config is at least version 0.9.0... yes [15:04:26.616] checking whether to build with ICU support... no [15:04:26.617] checking whether to build with Tcl... no [15:04:26.617] checking whether to build Perl modules... no [15:04:26.617] checking whether to build Python modules... no [15:04:26.617] checking whether to build with GSSAPI support... no [15:04:26.618] checking whether to build with PAM support... no [15:04:26.618] checking whether to build with BSD Authentication support... no [15:04:26.618] checking whether to build with LDAP support... no [15:04:26.618] checking whether to build with Bonjour support... no [15:04:26.619] checking whether to build with SELinux support... no [15:04:26.619] checking whether to build with systemd support... no [15:04:26.619] configure: WARNING: *** Readline does not work on MinGW --- disabling [15:04:26.619] checking whether to build with XML support... no [15:04:26.619] checking whether to build with LZ4 support... no [15:04:26.619] checking whether to build with ZSTD support... no [15:04:26.620] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [15:04:26.620] checking whether it is possible to strip libraries... yes [15:04:26.628] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [15:04:26.628] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [15:04:26.628] checking for a BSD-compatible install... /usr/bin/install -c [15:04:26.638] checking for tar... /usr/bin/tar [15:04:26.638] checking whether ln -s works... yes [15:04:26.638] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [15:04:26.640] checking for bison... /usr/bin/bison [15:04:26.643] configure: using bison (GNU Bison) 3.8.2 [15:04:26.646] checking for flex... /usr/bin/flex [15:04:26.658] configure: using flex 2.6.4 [15:04:26.658] checking for perl... /usr/bin/perl [15:04:26.661] configure: using perl 5.36.0 [15:04:26.664] checking for zic... /usr/sbin/zic [15:04:26.664] checking for a sed that does not truncate output... /usr/bin/sed [15:04:26.669] checking for grep that handles long lines and -e... /usr/bin/grep [15:04:26.671] checking for egrep... /usr/bin/grep -E [15:04:26.672] checking for ANSI C header files... yes [15:04:26.761] checking for sys/types.h... yes [15:04:26.819] checking for sys/stat.h... yes [15:04:26.884] checking for stdlib.h... yes [15:04:26.945] checking for string.h... yes [15:04:26.980] checking for memory.h... yes [15:04:27.040] checking for strings.h... yes [15:04:27.099] checking for inttypes.h... yes [15:04:27.160] checking for stdint.h... yes [15:04:27.220] checking for unistd.h... yes [15:04:27.284] checking for main in -lm... yes [15:04:27.332] checking for library containing setproctitle... no [15:04:27.424] checking for library containing dlsym... no [15:04:27.515] checking for library containing socket... -lws2_32 [15:04:27.648] checking for library containing getopt_long... none required [15:04:27.695] checking for library containing shm_open... no [15:04:27.787] checking for library containing shm_unlink... no [15:04:27.878] checking for library containing clock_gettime... no [15:04:27.969] checking for library containing shmget... no [15:04:28.060] checking for library containing backtrace_symbols... no [15:04:28.150] checking for library containing pthread_barrier_wait... -lpthread [15:04:28.243] checking for inflate in -lz... yes [15:04:28.291] checking for stdbool.h that conforms to C99... yes [15:04:28.336] checking for _Bool... yes [15:04:28.462] checking atomic.h usability... no [15:04:28.519] checking atomic.h presence... no [15:04:28.539] checking for atomic.h... no [15:04:28.543] checking copyfile.h usability... no [15:04:28.598] checking copyfile.h presence... no [15:04:28.619] checking for copyfile.h... no [15:04:28.622] checking execinfo.h usability... no [15:04:28.679] checking execinfo.h presence... no [15:04:28.699] checking for execinfo.h... no [15:04:28.702] checking getopt.h usability... yes [15:04:28.758] checking getopt.h presence... yes [15:04:28.774] checking for getopt.h... yes [15:04:28.783] checking ifaddrs.h usability... no [15:04:28.839] checking ifaddrs.h presence... no [15:04:28.858] checking for ifaddrs.h... no [15:04:28.862] checking mbarrier.h usability... no [15:04:28.919] checking mbarrier.h presence... no [15:04:28.938] checking for mbarrier.h... no [15:04:28.942] checking sys/epoll.h usability... no [15:04:28.999] checking sys/epoll.h presence... no [15:04:29.019] checking for sys/epoll.h... no [15:04:29.022] checking sys/event.h usability... no [15:04:29.078] checking sys/event.h presence... no [15:04:29.098] checking for sys/event.h... no [15:04:29.101] checking sys/personality.h usability... no [15:04:29.157] checking sys/personality.h presence... no [15:04:29.178] checking for sys/personality.h... no [15:04:29.181] checking sys/prctl.h usability... no [15:04:29.238] checking sys/prctl.h presence... no [15:04:29.258] checking for sys/prctl.h... no [15:04:29.262] checking sys/procctl.h usability... no [15:04:29.317] checking sys/procctl.h presence... no [15:04:29.337] checking for sys/procctl.h... no [15:04:29.340] checking sys/signalfd.h usability... no [15:04:29.397] checking sys/signalfd.h presence... no [15:04:29.418] checking for sys/signalfd.h... no [15:04:29.422] checking sys/ucred.h usability... no [15:04:29.481] checking sys/ucred.h presence... no [15:04:29.501] checking for sys/ucred.h... no [15:04:29.504] checking termios.h usability... no [15:04:29.561] checking termios.h presence... no [15:04:29.581] checking for termios.h... no [15:04:29.584] checking ucred.h usability... no [15:04:29.640] checking ucred.h presence... no [15:04:29.660] checking for ucred.h... no [15:04:29.663] checking zlib.h usability... yes [15:04:29.725] checking zlib.h presence... yes [15:04:29.744] checking for zlib.h... yes [15:04:29.744] checking for lz4... /usr/bin/lz4 [15:04:29.744] checking for zstd... /usr/bin/zstd [15:04:29.745] checking for openssl... /usr/bin/openssl [15:04:29.749] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [15:04:29.750] checking crtdefs.h usability... yes [15:04:29.806] checking crtdefs.h presence... yes [15:04:29.821] checking for crtdefs.h... yes [15:04:29.823] checking whether byte ordering is bigendian... no [15:04:29.929] checking for inline... inline [15:04:29.958] checking for printf format archetype... gnu_printf [15:04:29.967] checking for _Static_assert... yes [15:04:30.008] checking for typeof... typeof [15:04:30.044] checking for __builtin_types_compatible_p... yes [15:04:30.056] checking for __builtin_constant_p... yes [15:04:30.089] checking for __builtin_unreachable... yes [15:04:30.131] checking for computed goto support... yes [15:04:30.166] checking for struct tm.tm_zone... no [15:04:30.245] checking for union semun... no [15:04:30.280] checking for socklen_t... yes [15:04:32.593] checking for struct sockaddr.sa_len... no [15:04:34.720] checking for locale_t... no [15:04:34.787] checking for C/C++ restrict keyword... __restrict [15:04:34.800] checking for struct option... yes [15:04:34.871] checking whether assembler supports x86_64 popcntq... yes [15:04:34.878] checking size of off_t... 4 [15:04:35.300] 0 [15:04:35.300] checking size of bool... 1 [15:04:35.378] checking for int timezone... yes [15:04:35.426] checking for wcstombs_l declaration... no [15:04:35.516] checking for backtrace_symbols... no [15:04:35.569] checking for copyfile... no [15:04:35.621] checking for copy_file_range... no [15:04:35.672] checking for getifaddrs... no [15:04:35.725] checking for getpeerucred... no [15:04:35.776] checking for inet_pton... yes [15:04:35.827] checking for kqueue... no [15:04:35.878] checking for mbstowcs_l... no [15:04:35.929] checking for memset_s... no [15:04:35.979] checking for posix_fallocate... no [15:04:36.030] checking for ppoll... no [15:04:36.080] checking for pthread_is_threaded_np... no [15:04:36.133] checking for setproctitle... no [15:04:36.186] checking for setproctitle_fast... no [15:04:36.239] checking for strchrnul... no [15:04:36.291] checking for strsignal... no [15:04:36.342] checking for syncfs... no [15:04:36.394] checking for sync_file_range... no [15:04:36.445] checking for uselocale... no [15:04:36.496] checking for wcstombs_l... no [15:04:36.544] checking for __builtin_bswap16... yes [15:04:36.595] checking for __builtin_bswap32... yes [15:04:36.644] checking for __builtin_bswap64... yes [15:04:36.695] checking for __builtin_clz... yes [15:04:36.743] checking for __builtin_ctz... yes [15:04:36.791] checking for __builtin_popcount... yes [15:04:36.840] checking for __builtin_frame_address... yes [15:04:36.889] checking for _LARGEFILE_SOURCE value needed for large files... no [15:04:36.943] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [15:04:36.977] checking for posix_fadvise... no [15:04:37.030] checking whether posix_fadvise is declared... no [15:04:37.078] checking whether fdatasync is declared... no [15:04:37.128] checking whether strlcat is declared... no [15:04:37.191] checking whether strlcpy is declared... no [15:04:37.257] checking whether strnlen is declared... yes [15:04:37.323] checking whether strsep is declared... no [15:04:37.388] checking whether preadv is declared... no [15:04:37.426] checking whether pwritev is declared... no [15:04:37.464] checking whether F_FULLFSYNC is declared... no [15:04:37.507] checking for explicit_bzero... no [15:04:37.556] checking for getopt... yes [15:04:37.602] checking for getpeereid... no [15:04:37.652] checking for inet_aton... no [15:04:37.701] checking for mkdtemp... no [15:04:37.752] checking for strlcat... no [15:04:37.802] checking for strlcpy... no [15:04:37.852] checking for strnlen... yes [15:04:37.900] checking for strsep... no [15:04:37.948] checking for pthread_barrier_wait... yes [15:04:37.993] configure: On mingw32 we will use our strtof wrapper. [15:04:37.993] checking for getopt_long... yes [15:04:38.038] checking for _configthreadlocale... yes [15:04:38.084] checking for syslog... no [15:04:38.134] checking for opterr... yes [15:04:38.185] checking for optreset... no [15:04:38.238] checking test program... cross-compiling [15:04:38.238] checking whether long int is 64 bits... no [15:04:38.272] checking whether long long int is 64 bits... yes [15:04:38.308] checking for __builtin_mul_overflow... yes [15:04:38.351] checking size of void *... 8 [15:04:38.872] checking size of size_t... 8 [15:04:39.303] checking size of long... 4 [15:04:39.616] checking alignment of short... 2 [15:04:39.868] checking alignment of int... 4 [15:04:40.292] checking alignment of long... 4 [15:04:40.654] checking alignment of long long int... 8 [15:04:41.061] checking alignment of double... 8 [15:04:41.525] checking for int8... no [15:04:41.570] checking for uint8... no [15:04:41.615] checking for int64... no [15:04:41.660] checking for uint64... no [15:04:41.705] checking for __int128... yes [15:04:41.752] checking for __int128 alignment bug... assuming ok [15:04:41.752] checking alignment of PG_INT128_TYPE... 16 [15:04:42.304] checking for builtin __sync char locking functions... yes [15:04:42.348] checking for builtin __sync int32 locking functions... yes [15:04:42.392] checking for builtin __sync int32 atomic operations... yes [15:04:42.434] checking for builtin __sync int64 atomic operations... yes [15:04:42.477] checking for builtin __atomic int32 atomic operations... yes [15:04:42.522] checking for builtin __atomic int64 atomic operations... yes [15:04:42.565] checking for __get_cpuid... yes [15:04:42.613] checking for __get_cpuid_count... yes [15:04:42.658] checking for __cpuid... no [15:04:43.068] checking for __cpuidex... no [15:04:43.493] checking for _xgetbv with CFLAGS=... no [15:04:43.880] checking for _xgetbv with CFLAGS=-mxsave... yes [15:04:44.284] checking for _mm512_popcnt_epi64 with CFLAGS=... no [15:04:44.679] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [15:04:45.017] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [15:04:45.062] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [15:04:45.150] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [15:04:45.174] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [15:04:45.193] 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 [15:04:45.248] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [15:04:45.248] checking which random number source to use... Windows native [15:04:45.250] checking for xmllint... /usr/bin/xmllint [15:04:45.250] checking for xsltproc... /usr/bin/xsltproc [15:04:45.251] checking for fop... /usr/bin/fop [15:04:45.251] checking for dbtoepub... no [15:04:45.251] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [15:04:45.251] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [15:04:45.252] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [15:04:45.263] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [15:04:45.263] 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 [15:04:45.263] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [15:04:45.263] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [15:04:45.349] configure: creating ./config.status [15:04:45.436] config.status: creating GNUmakefile [15:04:45.448] config.status: creating src/Makefile.global [15:04:45.464] config.status: creating src/include/pg_config.h [15:04:45.477] config.status: creating src/include/pg_config_ext.h [15:04:45.489] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [15:04:45.505] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [15:04:45.512] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [15:04:45.520] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [15:04:45.527] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [15:04:45.534] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [15:04:45.538] config.status: executing check_win32_symlinks commands [15:04:45.570] [15:04:45.570] real 0m21.231s [15:04:45.570] user 0m14.054s [15:04:45.570] sys 0m6.712s [15:04:45.570] make -s -j${BUILD_JOBS} clean [15:04:46.095] time make -s -j${BUILD_JOBS} world-bin [15:06:54.021] plancat.c: In function ‘get_relation_info’: [15:06:54.021] plancat.c:491:46: error: ‘amroutine’ may be used uninitialized [-Werror=maybe-uninitialized] [15:06:54.021] 491 | if (amroutine->amgettreeheight) [15:06:54.021] | ~~~~~~~~~^~~~~~~~~~~~~~~~~ [15:06:54.021] plancat.c:244:41: note: ‘amroutine’ was declared here [15:06:54.021] 244 | IndexAmRoutine *amroutine; [15:06:54.021] | ^~~~~~~~~ [15:06:54.021] cc1: all warnings being treated as errors [15:06:54.022] make[4]: *** [: plancat.o] Error 1 [15:06:54.022] make[3]: *** [../../../src/backend/common.mk:37: util-recursive] Error 2 [15:06:54.022] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [15:06:54.022] make[2]: *** Waiting for unfinished jobs.... [15:07:03.202] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [15:07:03.202] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [15:07:03.203] [15:07:03.203] real 2m17.107s [15:07:03.203] user 7m26.248s [15:07:03.203] sys 1m23.625s [15:07:03.203] [15:07:03.203] Exit status: 2