[16:00:14.476] time ./configure \ [16:00:14.476] --host=x86_64-w64-mingw32 \ [16:00:14.476] --enable-cassert \ [16:00:14.476] --without-icu \ [16:00:14.476] CC="ccache x86_64-w64-mingw32-gcc" \ [16:00:14.476] CXX="ccache x86_64-w64-mingw32-g++" [16:00:14.613] checking build system type... x86_64-pc-linux-gnu [16:00:14.842] checking host system type... x86_64-w64-mingw32 [16:00:14.848] checking which template to use... win32 [16:00:14.848] checking whether NLS is wanted... no [16:00:14.848] checking for default port number... 5432 [16:00:14.856] checking for block size... 8kB [16:00:14.858] checking for segment size... 1GB [16:00:14.860] checking for WAL block size... 8kB [16:00:14.862] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [16:00:14.900] checking whether the C compiler works... yes [16:00:15.063] checking for C compiler default output file name... a.exe [16:00:15.065] checking for suffix of executables... .exe [16:00:15.110] checking whether we are cross compiling... yes [16:00:15.194] checking for suffix of object files... o [16:00:15.203] checking whether we are using the GNU C compiler... yes [16:00:15.222] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [16:00:15.230] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [16:00:15.240] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [16:00:15.311] checking whether we are using the GNU C++ compiler... yes [16:00:15.494] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [16:00:15.648] checking for gawk... no [16:00:15.649] checking for mawk... mawk [16:00:15.651] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:00:15.690] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [16:00:15.729] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:00:15.781] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:00:15.834] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [16:00:15.855] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:00:15.873] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:00:15.911] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:00:15.920] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:00:15.958] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:00:15.976] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [16:00:15.996] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:00:16.014] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:00:16.033] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:00:16.041] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [16:00:16.059] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [16:00:16.094] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [16:00:16.134] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:00:16.152] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:00:16.189] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [16:00:16.197] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [16:00:16.233] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:00:16.271] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [16:00:16.296] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:00:16.304] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:00:16.312] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:00:16.352] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:00:16.396] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:00:16.435] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:00:16.453] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:00:16.491] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:00:16.500] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:00:16.509] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:00:16.547] checking whether the C compiler still works... yes [16:00:16.632] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [16:00:16.712] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [16:00:16.712] checking pkg-config is at least version 0.9.0... yes [16:00:16.730] checking whether to build with ICU support... no [16:00:16.730] checking whether to build with Tcl... no [16:00:16.730] checking whether to build Perl modules... no [16:00:16.731] checking whether to build Python modules... no [16:00:16.731] checking whether to build with GSSAPI support... no [16:00:16.732] checking whether to build with PAM support... no [16:00:16.732] checking whether to build with BSD Authentication support... no [16:00:16.732] checking whether to build with LDAP support... no [16:00:16.732] checking whether to build with Bonjour support... no [16:00:16.732] checking whether to build with SELinux support... no [16:00:16.732] checking whether to build with systemd support... no [16:00:16.733] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:00:16.733] checking whether to build with XML support... no [16:00:16.733] checking whether to build with LZ4 support... no [16:00:16.733] checking whether to build with ZSTD support... no [16:00:16.734] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [16:00:16.734] checking whether it is possible to strip libraries... yes [16:00:16.741] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [16:00:16.742] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [16:00:16.742] checking for a BSD-compatible install... /usr/bin/install -c [16:00:16.753] checking for tar... /usr/bin/tar [16:00:16.753] checking whether ln -s works... yes [16:00:16.753] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:00:16.756] checking for bison... /usr/bin/bison [16:00:16.759] configure: using bison (GNU Bison) 3.8.2 [16:00:16.762] checking for flex... /usr/bin/flex [16:00:16.776] configure: using flex 2.6.4 [16:00:16.776] checking for perl... /usr/bin/perl [16:00:16.780] configure: using perl 5.36.0 [16:00:16.782] checking for zic... /usr/sbin/zic [16:00:16.783] checking for a sed that does not truncate output... /usr/bin/sed [16:00:16.789] checking for grep that handles long lines and -e... /usr/bin/grep [16:00:16.791] checking for egrep... /usr/bin/grep -E [16:00:16.793] checking for ANSI C header files... yes [16:00:16.895] checking for sys/types.h... yes [16:00:16.937] checking for sys/stat.h... yes [16:00:16.978] checking for stdlib.h... yes [16:00:17.044] checking for string.h... yes [16:00:17.110] checking for memory.h... yes [16:00:17.153] checking for strings.h... yes [16:00:17.222] checking for inttypes.h... yes [16:00:17.242] checking for stdint.h... yes [16:00:17.309] checking for unistd.h... yes [16:00:17.378] checking for main in -lm... yes [16:00:17.432] checking for library containing setproctitle... no [16:00:17.531] checking for library containing dlsym... no [16:00:17.630] checking for library containing socket... -lws2_32 [16:00:17.775] checking for library containing getopt_long... none required [16:00:17.826] checking for library containing shm_open... no [16:00:17.923] checking for library containing shm_unlink... no [16:00:18.022] checking for library containing clock_gettime... no [16:00:18.119] checking for library containing shmget... no [16:00:18.215] checking for library containing backtrace_symbols... no [16:00:18.316] checking for library containing pthread_barrier_wait... -lpthread [16:00:18.416] checking for inflate in -lz... yes [16:00:18.466] checking for stdbool.h that conforms to C99... yes [16:00:18.490] checking for _Bool... yes [16:00:18.634] checking atomic.h usability... no [16:00:18.695] checking atomic.h presence... no [16:00:18.718] checking for atomic.h... no [16:00:18.722] checking copyfile.h usability... no [16:00:18.784] checking copyfile.h presence... no [16:00:18.806] checking for copyfile.h... no [16:00:18.810] checking execinfo.h usability... no [16:00:18.874] checking execinfo.h presence... no [16:00:18.897] checking for execinfo.h... no [16:00:18.900] checking getopt.h usability... yes [16:00:18.962] checking getopt.h presence... yes [16:00:18.980] checking for getopt.h... yes [16:00:18.988] checking ifaddrs.h usability... no [16:00:19.049] checking ifaddrs.h presence... no [16:00:19.071] checking for ifaddrs.h... no [16:00:19.075] checking mbarrier.h usability... no [16:00:19.139] checking mbarrier.h presence... no [16:00:19.163] checking for mbarrier.h... no [16:00:19.167] checking sys/epoll.h usability... no [16:00:19.228] checking sys/epoll.h presence... no [16:00:19.249] checking for sys/epoll.h... no [16:00:19.253] checking sys/event.h usability... no [16:00:19.315] checking sys/event.h presence... no [16:00:19.338] checking for sys/event.h... no [16:00:19.342] checking sys/personality.h usability... no [16:00:19.406] checking sys/personality.h presence... no [16:00:19.430] checking for sys/personality.h... no [16:00:19.433] checking sys/prctl.h usability... no [16:00:19.494] checking sys/prctl.h presence... no [16:00:19.516] checking for sys/prctl.h... no [16:00:19.520] checking sys/procctl.h usability... no [16:00:19.582] checking sys/procctl.h presence... no [16:00:19.604] checking for sys/procctl.h... no [16:00:19.608] checking sys/signalfd.h usability... no [16:00:19.669] checking sys/signalfd.h presence... no [16:00:19.690] checking for sys/signalfd.h... no [16:00:19.693] checking sys/ucred.h usability... no [16:00:19.755] checking sys/ucred.h presence... no [16:00:19.777] checking for sys/ucred.h... no [16:00:19.781] checking termios.h usability... no [16:00:19.843] checking termios.h presence... no [16:00:19.865] checking for termios.h... no [16:00:19.869] checking ucred.h usability... no [16:00:19.930] checking ucred.h presence... no [16:00:19.951] checking for ucred.h... no [16:00:19.955] checking xlocale.h usability... no [16:00:20.016] checking xlocale.h presence... no [16:00:20.038] checking for xlocale.h... no [16:00:20.041] checking zlib.h usability... yes [16:00:20.052] checking zlib.h presence... yes [16:00:20.074] checking for zlib.h... yes [16:00:20.074] checking for lz4... /usr/bin/lz4 [16:00:20.074] checking for zstd... /usr/bin/zstd [16:00:20.075] checking for openssl... /usr/bin/openssl [16:00:20.080] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [16:00:20.081] checking crtdefs.h usability... yes [16:00:20.142] checking crtdefs.h presence... yes [16:00:20.159] checking for crtdefs.h... yes [16:00:20.160] checking whether byte ordering is bigendian... no [16:00:20.276] checking for inline... inline [16:00:20.313] checking for printf format archetype... gnu_printf [16:00:20.334] checking for _Static_assert... yes [16:00:20.379] checking for typeof... typeof [16:00:20.388] checking for __builtin_types_compatible_p... yes [16:00:20.412] checking for __builtin_constant_p... yes [16:00:20.437] checking for __builtin_unreachable... yes [16:00:20.485] checking for computed goto support... yes [16:00:20.505] checking for struct tm.tm_zone... no [16:00:20.596] checking for union semun... no [16:00:20.633] checking for socklen_t... yes [16:00:22.413] checking for struct sockaddr.sa_len... no [16:00:24.706] checking for C/C++ restrict keyword... __restrict [16:00:24.730] checking for struct option... yes [16:00:24.803] checking whether assembler supports x86_64 popcntq... yes [16:00:24.822] checking size of off_t... 4 [16:00:25.116] 0 [16:00:25.116] checking size of bool... 1 [16:00:25.200] checking for int timezone... yes [16:00:25.261] checking for backtrace_symbols... no [16:00:25.315] checking for copyfile... no [16:00:25.370] checking for copy_file_range... no [16:00:25.425] checking for getifaddrs... no [16:00:25.481] checking for getpeerucred... no [16:00:25.536] checking for inet_pton... yes [16:00:25.590] checking for kqueue... no [16:00:25.643] checking for mbstowcs_l... no [16:00:25.698] checking for memset_s... no [16:00:25.751] checking for posix_fallocate... no [16:00:25.807] checking for ppoll... no [16:00:25.864] checking for pthread_is_threaded_np... no [16:00:25.921] checking for setproctitle... no [16:00:25.979] checking for setproctitle_fast... no [16:00:26.038] checking for strchrnul... no [16:00:26.096] checking for strsignal... no [16:00:26.153] checking for syncfs... no [16:00:26.209] checking for sync_file_range... no [16:00:26.266] checking for uselocale... no [16:00:26.320] checking for wcstombs_l... no [16:00:26.372] checking for __builtin_bswap16... yes [16:00:26.426] checking for __builtin_bswap32... yes [16:00:26.478] checking for __builtin_bswap64... yes [16:00:26.533] checking for __builtin_clz... yes [16:00:26.590] checking for __builtin_ctz... yes [16:00:26.644] checking for __builtin_popcount... yes [16:00:26.697] checking for __builtin_frame_address... yes [16:00:26.750] checking for _LARGEFILE_SOURCE value needed for large files... no [16:00:26.810] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [16:00:26.846] checking for posix_fadvise... no [16:00:26.908] checking whether posix_fadvise is declared... no [16:00:26.964] checking whether fdatasync is declared... no [16:00:27.021] checking whether strlcat is declared... no [16:00:27.094] checking whether strlcpy is declared... no [16:00:27.164] checking whether strnlen is declared... yes [16:00:27.202] checking whether strsep is declared... no [16:00:27.273] checking whether preadv is declared... no [16:00:27.317] checking whether pwritev is declared... no [16:00:27.360] checking whether F_FULLFSYNC is declared... no [16:00:27.405] checking for explicit_bzero... no [16:00:27.462] checking for getopt... yes [16:00:27.513] checking for getpeereid... no [16:00:27.568] checking for inet_aton... no [16:00:27.623] checking for mkdtemp... no [16:00:27.682] checking for strlcat... no [16:00:27.737] checking for strlcpy... no [16:00:27.792] checking for strnlen... yes [16:00:27.846] checking for strsep... no [16:00:27.900] checking for pthread_barrier_wait... yes [16:00:27.952] configure: On mingw32 we will use our strtof wrapper. [16:00:27.952] checking for getopt_long... yes [16:00:28.004] checking for _configthreadlocale... yes [16:00:28.054] checking for syslog... no [16:00:28.110] checking for opterr... yes [16:00:28.164] checking for optreset... no [16:00:28.223] checking test program... cross-compiling [16:00:28.223] checking whether long int is 64 bits... no [16:00:28.261] checking whether long long int is 64 bits... yes [16:00:28.302] checking for __builtin_mul_overflow... yes [16:00:28.350] checking size of void *... 8 [16:00:28.778] checking size of size_t... 8 [16:00:29.292] checking size of long... 4 [16:00:29.642] checking alignment of short... 2 [16:00:29.970] checking alignment of int... 4 [16:00:30.327] checking alignment of long... 4 [16:00:30.652] checking alignment of long long int... 8 [16:00:31.149] checking alignment of double... 8 [16:00:31.709] checking for __int128... yes [16:00:31.766] checking for __int128 alignment bug... assuming ok [16:00:31.766] checking alignment of PG_INT128_TYPE... 16 [16:00:32.359] checking for builtin __sync char locking functions... yes [16:00:32.410] checking for builtin __sync int32 locking functions... yes [16:00:32.459] checking for builtin __sync int32 atomic operations... yes [16:00:32.509] checking for builtin __sync int64 atomic operations... yes [16:00:32.558] checking for builtin __atomic int32 atomic operations... yes [16:00:32.604] checking for builtin __atomic int64 atomic operations... yes [16:00:32.653] checking for __get_cpuid... yes [16:00:32.713] checking for __get_cpuid_count... yes [16:00:32.764] checking for __cpuid... no [16:00:33.176] checking for __cpuidex... no [16:00:33.615] checking for _xgetbv... yes [16:00:34.033] checking for _mm512_popcnt_epi64... yes [16:00:34.463] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [16:00:34.514] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [16:00:34.610] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:00:34.636] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:00:34.658] 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 [16:00:34.717] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:00:34.717] checking which random number source to use... Windows native [16:00:34.720] checking for xmllint... /usr/bin/xmllint [16:00:34.720] checking for xsltproc... /usr/bin/xsltproc [16:00:34.720] checking for fop... /usr/bin/fop [16:00:34.720] checking for dbtoepub... no [16:00:34.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:00:34.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:00:34.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:00:34.733] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [16:00:34.733] 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 [16:00:34.733] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [16:00:34.733] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:00:34.828] configure: creating ./config.status [16:00:34.922] config.status: creating GNUmakefile [16:00:34.936] config.status: creating src/Makefile.global [16:00:34.954] config.status: creating src/include/pg_config.h [16:00:34.968] config.status: creating src/include/pg_config_ext.h [16:00:34.981] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:00:34.998] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [16:00:35.007] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:00:35.015] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:00:35.023] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:00:35.031] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:00:35.035] config.status: executing check_win32_symlinks commands [16:00:35.072] [16:00:35.072] real 0m20.596s [16:00:35.072] user 0m13.668s [16:00:35.072] sys 0m6.435s [16:00:35.072] make -s -j${BUILD_JOBS} clean [16:00:35.633] time make -s -j${BUILD_JOBS} world-bin [16:04:03.167] In file included from mcxt.c:32: [16:04:03.167] ../../../../src/include/utils/dsa.h: In function ‘ProcessGetMemoryContextInterrupt’: [16:04:03.167] ../../../../src/include/utils/dsa.h:114:9: error: ‘area’ may be used uninitialized [-Werror=maybe-uninitialized] [16:04:03.167] 114 | dsa_allocate_extended(area, size, DSA_ALLOC_ZERO) [16:04:03.167] | ^~~~~~~~~~~~~~~~~~~~~ [16:04:03.167] mcxt.c:1368:21: note: ‘area’ was declared here [16:04:03.167] 1368 | dsa_area *area; [16:04:03.167] | ^~~~ [16:04:03.167] cc1: all warnings being treated as errors [16:04:03.168] make[4]: *** [: mcxt.o] Error 1 [16:04:03.168] make[3]: *** [../../../src/backend/common.mk:37: mmgr-recursive] Error 2 [16:04:03.168] make[3]: *** Waiting for unfinished jobs.... [16:04:04.180] make[2]: *** [common.mk:37: utils-recursive] Error 2 [16:04:04.180] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [16:04:04.180] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:04:04.181] [16:04:04.181] real 3m28.548s [16:04:04.181] user 11m26.169s [16:04:04.181] sys 2m7.316s [16:04:04.181] [16:04:04.181] Exit status: 2