[00:21:52.011] time ./configure \ [00:21:52.011] --host=x86_64-w64-mingw32 \ [00:21:52.011] --enable-cassert \ [00:21:52.011] --without-icu \ [00:21:52.011] CC="ccache x86_64-w64-mingw32-gcc" \ [00:21:52.011] CXX="ccache x86_64-w64-mingw32-g++" [00:21:52.116] checking build system type... x86_64-pc-linux-gnu [00:21:52.303] checking host system type... x86_64-w64-mingw32 [00:21:52.308] checking which template to use... win32 [00:21:52.309] checking whether NLS is wanted... no [00:21:52.309] checking for default port number... 5432 [00:21:52.315] checking for block size... 8kB [00:21:52.316] checking for segment size... 1GB [00:21:52.318] checking for WAL block size... 8kB [00:21:52.319] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:21:52.350] checking whether the C compiler works... yes [00:21:52.486] checking for C compiler default output file name... a.exe [00:21:52.487] checking for suffix of executables... .exe [00:21:52.524] checking whether we are cross compiling... yes [00:21:52.594] checking for suffix of object files... o [00:21:52.602] checking whether we are using the GNU C compiler... yes [00:21:52.608] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:21:52.614] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:21:52.624] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:21:52.681] checking whether we are using the GNU C++ compiler... yes [00:21:52.687] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:21:52.748] checking for gawk... no [00:21:52.748] checking for mawk... mawk [00:21:52.750] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:21:52.756] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:21:52.762] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:21:52.806] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:21:52.966] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:21:52.973] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:21:52.980] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:21:52.987] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:21:52.993] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:21:53.000] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:21:53.007] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:21:53.013] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:21:53.020] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:21:53.026] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:21:53.032] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:21:53.039] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:21:53.046] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:21:53.081] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:21:53.087] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:21:53.094] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:21:53.101] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:21:53.107] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:21:53.114] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:21:53.136] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:21:53.142] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:21:53.148] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:21:53.185] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:21:53.221] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:21:53.227] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:21:53.233] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:21:53.266] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:21:53.273] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:21:53.279] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:21:53.286] checking whether the C compiler still works... yes [00:21:53.346] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:21:53.409] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:21:53.409] checking pkg-config is at least version 0.9.0... yes [00:21:53.425] checking whether to build with ICU support... no [00:21:53.426] checking whether to build with Tcl... no [00:21:53.426] checking whether to build Perl modules... no [00:21:53.426] checking whether to build Python modules... no [00:21:53.426] checking whether to build with GSSAPI support... no [00:21:53.427] checking whether to build with PAM support... no [00:21:53.427] checking whether to build with BSD Authentication support... no [00:21:53.427] checking whether to build with LDAP support... no [00:21:53.427] checking whether to build with Bonjour support... no [00:21:53.427] checking whether to build with SELinux support... no [00:21:53.427] checking whether to build with systemd support... no [00:21:53.427] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:21:53.427] checking whether to build with XML support... no [00:21:53.428] checking whether to build with LZ4 support... no [00:21:53.428] checking whether to build with ZSTD support... no [00:21:53.428] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:21:53.428] checking whether it is possible to strip libraries... yes [00:21:53.435] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:21:53.436] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:21:53.436] checking for a BSD-compatible install... /usr/bin/install -c [00:21:53.444] checking for tar... /usr/bin/tar [00:21:53.444] checking whether ln -s works... yes [00:21:53.444] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:21:53.446] checking for bison... /usr/bin/bison [00:21:53.448] configure: using bison (GNU Bison) 3.8.2 [00:21:53.450] checking for flex... /usr/bin/flex [00:21:53.462] configure: using flex 2.6.4 [00:21:53.462] checking for perl... /usr/bin/perl [00:21:53.464] configure: using perl 5.36.0 [00:21:53.466] checking for zic... /usr/sbin/zic [00:21:53.466] checking for a sed that does not truncate output... /usr/bin/sed [00:21:53.471] checking for grep that handles long lines and -e... /usr/bin/grep [00:21:53.473] checking for egrep... /usr/bin/grep -E [00:21:53.474] checking for ANSI C header files... yes [00:21:53.518] checking for sys/types.h... yes [00:21:53.533] checking for sys/stat.h... yes [00:21:53.547] checking for stdlib.h... yes [00:21:53.559] checking for string.h... yes [00:21:53.572] checking for memory.h... yes [00:21:53.585] checking for strings.h... yes [00:21:53.598] checking for inttypes.h... yes [00:21:53.613] checking for stdint.h... yes [00:21:53.626] checking for unistd.h... yes [00:21:53.643] checking for main in -lm... yes [00:21:53.687] checking for library containing setproctitle... no [00:21:53.769] checking for library containing dlsym... no [00:21:53.849] checking for library containing socket... -lws2_32 [00:21:53.967] checking for library containing getopt_long... none required [00:21:54.010] checking for library containing shm_open... no [00:21:54.091] checking for library containing shm_unlink... no [00:21:54.172] checking for library containing clock_gettime... no [00:21:54.251] checking for library containing shmget... no [00:21:54.331] checking for library containing backtrace_symbols... no [00:21:54.411] checking for library containing pthread_barrier_wait... -lpthread [00:21:54.494] checking for inflate in -lz... yes [00:21:54.536] checking for stdbool.h that conforms to C99... yes [00:21:54.546] checking for _Bool... yes [00:21:54.615] checking atomic.h usability... no [00:21:54.667] checking atomic.h presence... no [00:21:54.683] checking for atomic.h... no [00:21:54.686] checking copyfile.h usability... no [00:21:54.737] checking copyfile.h presence... no [00:21:54.756] checking for copyfile.h... no [00:21:54.760] checking execinfo.h usability... no [00:21:54.813] checking execinfo.h presence... no [00:21:54.831] checking for execinfo.h... no [00:21:54.834] checking getopt.h usability... yes [00:21:54.842] checking getopt.h presence... yes [00:21:54.856] checking for getopt.h... yes [00:21:54.863] checking ifaddrs.h usability... no [00:21:54.915] checking ifaddrs.h presence... no [00:21:54.932] checking for ifaddrs.h... no [00:21:54.935] checking mbarrier.h usability... no [00:21:54.986] checking mbarrier.h presence... no [00:21:55.003] checking for mbarrier.h... no [00:21:55.006] checking sys/epoll.h usability... no [00:21:55.059] checking sys/epoll.h presence... no [00:21:55.076] checking for sys/epoll.h... no [00:21:55.079] checking sys/event.h usability... no [00:21:55.130] checking sys/event.h presence... no [00:21:55.147] checking for sys/event.h... no [00:21:55.150] checking sys/personality.h usability... no [00:21:55.210] checking sys/personality.h presence... no [00:21:55.227] checking for sys/personality.h... no [00:21:55.230] checking sys/prctl.h usability... no [00:21:55.281] checking sys/prctl.h presence... no [00:21:55.298] checking for sys/prctl.h... no [00:21:55.301] checking sys/procctl.h usability... no [00:21:55.352] checking sys/procctl.h presence... no [00:21:55.368] checking for sys/procctl.h... no [00:21:55.371] checking sys/signalfd.h usability... no [00:21:55.422] checking sys/signalfd.h presence... no [00:21:55.438] checking for sys/signalfd.h... no [00:21:55.441] checking sys/ucred.h usability... no [00:21:55.492] checking sys/ucred.h presence... no [00:21:55.508] checking for sys/ucred.h... no [00:21:55.511] checking termios.h usability... no [00:21:55.562] checking termios.h presence... no [00:21:55.579] checking for termios.h... no [00:21:55.582] checking ucred.h usability... no [00:21:55.632] checking ucred.h presence... no [00:21:55.648] checking for ucred.h... no [00:21:55.651] checking xlocale.h usability... no [00:21:55.702] checking xlocale.h presence... no [00:21:55.719] checking for xlocale.h... no [00:21:55.721] checking zlib.h usability... yes [00:21:55.730] checking zlib.h presence... yes [00:21:55.747] checking for zlib.h... yes [00:21:55.748] checking for lz4... /usr/bin/lz4 [00:21:55.748] checking for zstd... /usr/bin/zstd [00:21:55.748] checking for openssl... /usr/bin/openssl [00:21:55.752] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [00:21:55.753] checking crtdefs.h usability... yes [00:21:55.759] checking crtdefs.h presence... yes [00:21:55.773] checking for crtdefs.h... yes [00:21:55.774] checking whether byte ordering is bigendian... no [00:21:55.840] checking for inline... inline [00:21:55.847] checking for printf format archetype... gnu_printf [00:21:55.854] checking for _Static_assert... yes [00:21:55.893] checking for typeof... typeof [00:21:55.900] checking for __builtin_types_compatible_p... yes [00:21:55.911] checking for __builtin_constant_p... yes [00:21:55.922] checking for __builtin_unreachable... yes [00:21:55.961] checking for computed goto support... yes [00:21:55.968] checking for struct tm.tm_zone... no [00:21:56.042] checking for union semun... no [00:21:56.072] checking for socklen_t... yes [00:21:57.170] checking for struct sockaddr.sa_len... no [00:21:59.073] checking for C/C++ restrict keyword... __restrict [00:21:59.086] checking for struct option... yes [00:21:59.124] checking whether assembler supports x86_64 popcntq... yes [00:21:59.131] checking size of off_t... 4 [00:21:59.319] 0 [00:21:59.319] checking size of bool... 1 [00:21:59.360] checking for int timezone... yes [00:21:59.409] checking for backtrace_symbols... no [00:21:59.456] checking for copyfile... no [00:21:59.504] checking for copy_file_range... no [00:21:59.553] checking for getifaddrs... no [00:21:59.601] checking for getpeerucred... no [00:21:59.647] checking for inet_pton... yes [00:21:59.693] checking for kqueue... no [00:21:59.740] checking for mbstowcs_l... no [00:21:59.786] checking for memset_s... no [00:21:59.832] checking for posix_fallocate... no [00:21:59.879] checking for ppoll... no [00:21:59.925] checking for pthread_is_threaded_np... no [00:21:59.971] checking for setproctitle... no [00:22:00.018] checking for setproctitle_fast... no [00:22:00.064] checking for strchrnul... no [00:22:00.110] checking for strsignal... no [00:22:00.157] checking for syncfs... no [00:22:00.205] checking for sync_file_range... no [00:22:00.251] checking for uselocale... no [00:22:00.297] checking for wcstombs_l... no [00:22:00.341] checking for __builtin_bswap16... yes [00:22:00.386] checking for __builtin_bswap32... yes [00:22:00.430] checking for __builtin_bswap64... yes [00:22:00.474] checking for __builtin_clz... yes [00:22:00.519] checking for __builtin_ctz... yes [00:22:00.564] checking for __builtin_popcount... yes [00:22:00.608] checking for __builtin_frame_address... yes [00:22:00.652] checking for _LARGEFILE_SOURCE value needed for large files... no [00:22:00.701] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:22:00.729] checking for posix_fadvise... no [00:22:00.778] checking whether posix_fadvise is declared... no [00:22:00.821] checking whether fdatasync is declared... no [00:22:00.864] checking whether strlcat is declared... no [00:22:00.923] checking whether strlcpy is declared... no [00:22:00.984] checking whether strnlen is declared... yes [00:22:00.997] checking whether strsep is declared... no [00:22:01.060] checking whether preadv is declared... no [00:22:01.093] checking whether pwritev is declared... no [00:22:01.127] checking whether F_FULLFSYNC is declared... no [00:22:01.165] checking for explicit_bzero... no [00:22:01.210] checking for getopt... yes [00:22:01.251] checking for getpeereid... no [00:22:01.296] checking for inet_aton... no [00:22:01.341] checking for mkdtemp... no [00:22:01.385] checking for strlcat... no [00:22:01.430] checking for strlcpy... no [00:22:01.475] checking for strnlen... yes [00:22:01.520] checking for strsep... no [00:22:01.564] checking for pthread_barrier_wait... yes [00:22:01.606] configure: On mingw32 we will use our strtof wrapper. [00:22:01.606] checking for getopt_long... yes [00:22:01.647] checking for _configthreadlocale... yes [00:22:01.690] checking for syslog... no [00:22:01.734] checking for opterr... yes [00:22:01.780] checking for optreset... no [00:22:01.830] checking test program... cross-compiling [00:22:01.830] checking whether long int is 64 bits... no [00:22:01.860] checking whether long long int is 64 bits... yes [00:22:01.869] checking for __builtin_mul_overflow... yes [00:22:01.909] checking size of void *... 8 [00:22:02.168] checking size of size_t... 8 [00:22:02.425] checking size of long... 4 [00:22:02.622] checking alignment of short... 2 [00:22:02.753] checking alignment of int... 4 [00:22:02.944] checking alignment of long... 4 [00:22:03.136] checking alignment of long long int... 8 [00:22:03.386] checking alignment of double... 8 [00:22:03.637] checking for __int128... yes [00:22:03.685] checking for __int128 alignment bug... assuming ok [00:22:03.685] checking alignment of PG_INT128_TYPE... 16 [00:22:03.994] checking for builtin __sync char locking functions... yes [00:22:04.033] checking for builtin __sync int32 locking functions... yes [00:22:04.073] checking for builtin __sync int32 atomic operations... yes [00:22:04.113] checking for builtin __sync int64 atomic operations... yes [00:22:04.152] checking for builtin __atomic int32 atomic operations... yes [00:22:04.191] checking for builtin __atomic int64 atomic operations... yes [00:22:04.230] checking for __get_cpuid... yes [00:22:04.274] checking for __get_cpuid_count... yes [00:22:04.316] checking for __cpuid... no [00:22:04.706] checking for __cpuidex... no [00:22:05.119] checking for _xgetbv... yes [00:22:05.514] checking for _mm512_popcnt_epi64... yes [00:22:05.922] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [00:22:05.966] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [00:22:06.048] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:22:06.068] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:22:06.085] 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 [00:22:06.135] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:22:06.136] checking which random number source to use... Windows native [00:22:06.137] checking for xmllint... /usr/bin/xmllint [00:22:06.138] checking for xsltproc... /usr/bin/xsltproc [00:22:06.138] checking for fop... /usr/bin/fop [00:22:06.138] checking for dbtoepub... no [00:22:06.138] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:22:06.138] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:22:06.139] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:22:06.148] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:22:06.148] 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 [00:22:06.148] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:22:06.148] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:22:06.225] configure: creating ./config.status [00:22:06.303] config.status: creating GNUmakefile [00:22:06.314] config.status: creating src/Makefile.global [00:22:06.328] config.status: creating src/include/pg_config.h [00:22:06.340] config.status: creating src/include/pg_config_ext.h [00:22:06.350] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:22:06.364] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:22:06.370] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:22:06.377] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:22:06.383] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:22:06.390] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:22:06.393] config.status: executing check_win32_symlinks commands [00:22:06.424] [00:22:06.424] real 0m14.413s [00:22:06.424] user 0m9.563s [00:22:06.424] sys 0m4.482s [00:22:06.424] make -s -j${BUILD_JOBS} clean [00:22:06.914] time make -s -j${BUILD_JOBS} world-bin [00:22:15.677] buffile.c: In function ‘BufFileDumpBuffer’: [00:22:15.677] buffile.c:624:17: error: ‘cSize’ may be used uninitialized [-Werror=maybe-uninitialized] [00:22:15.677] 624 | memcpy(cData,&cSize,sizeof(int)); [00:22:15.677] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [00:22:15.677] buffile.c:601:21: note: ‘cSize’ was declared here [00:22:15.677] 601 | int cSize; [00:22:15.677] | ^~~~~ [00:22:15.677] cc1: all warnings being treated as errors [00:22:15.677] make[4]: *** [: buffile.o] Error 1 [00:22:15.678] make[3]: *** [../../../src/backend/common.mk:37: file-recursive] Error 2 [00:22:15.678] make[2]: *** [common.mk:37: storage-recursive] Error 2 [00:22:15.678] make[2]: *** Waiting for unfinished jobs.... [00:22:17.604] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:22:17.604] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:22:17.604] [00:22:17.604] real 0m10.690s [00:22:17.604] user 0m27.577s [00:22:17.604] sys 0m7.896s [00:22:17.604] [00:22:17.604] Exit status: 2