[00:13:44.927] time ./configure \ [00:13:44.927] --host=x86_64-w64-mingw32 \ [00:13:44.927] --enable-cassert \ [00:13:44.927] --without-icu \ [00:13:44.927] CC="ccache x86_64-w64-mingw32-gcc" \ [00:13:44.927] CXX="ccache x86_64-w64-mingw32-g++" [00:13:45.058] checking build system type... x86_64-pc-linux-gnu [00:13:45.259] checking host system type... x86_64-w64-mingw32 [00:13:45.265] checking which template to use... win32 [00:13:45.265] checking whether NLS is wanted... no [00:13:45.265] checking for default port number... 5432 [00:13:45.272] checking for block size... 8kB [00:13:45.274] checking for segment size... 1GB [00:13:45.277] checking for WAL block size... 8kB [00:13:45.278] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:13:45.314] checking whether the C compiler works... yes [00:13:45.458] checking for C compiler default output file name... a.exe [00:13:45.459] checking for suffix of executables... .exe [00:13:45.503] checking whether we are cross compiling... yes [00:13:45.580] checking for suffix of object files... o [00:13:45.598] checking whether we are using the GNU C compiler... yes [00:13:45.631] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:13:45.638] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:13:45.717] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:13:45.851] checking whether we are using the GNU C++ compiler... yes [00:13:45.987] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:13:46.122] checking for gawk... no [00:13:46.122] checking for mawk... mawk [00:13:46.126] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:13:46.143] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:13:46.178] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:13:46.224] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:13:46.271] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:13:46.289] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:13:46.324] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:13:46.357] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:13:46.365] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:13:46.398] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:13:46.415] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:13:46.450] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:13:46.468] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:13:46.486] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:13:46.521] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:13:46.556] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:13:46.591] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:13:46.630] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:13:46.637] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:13:46.670] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:13:46.700] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:13:46.716] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:13:46.747] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:13:46.769] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:13:46.802] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:13:46.819] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:13:46.858] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:13:46.900] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:13:46.935] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:13:46.970] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:13:47.008] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:13:47.016] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:13:47.023] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:13:47.060] checking whether the C compiler still works... yes [00:13:47.139] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:13:47.213] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:13:47.213] checking pkg-config is at least version 0.9.0... yes [00:13:47.230] checking whether to build with ICU support... no [00:13:47.230] checking whether to build with Tcl... no [00:13:47.230] checking whether to build Perl modules... no [00:13:47.230] checking whether to build Python modules... no [00:13:47.231] checking whether to build with GSSAPI support... no [00:13:47.232] checking whether to build with PAM support... no [00:13:47.232] checking whether to build with BSD Authentication support... no [00:13:47.232] checking whether to build with LDAP support... no [00:13:47.232] checking whether to build with Bonjour support... no [00:13:47.232] checking whether to build with SELinux support... no [00:13:47.232] checking whether to build with systemd support... no [00:13:47.232] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:13:47.233] checking whether to build with XML support... no [00:13:47.233] checking whether to build with LZ4 support... no [00:13:47.233] checking whether to build with ZSTD support... no [00:13:47.234] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:13:47.234] checking whether it is possible to strip libraries... yes [00:13:47.244] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:13:47.244] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:13:47.244] checking for a BSD-compatible install... /usr/bin/install -c [00:13:47.254] checking for tar... /usr/bin/tar [00:13:47.254] checking whether ln -s works... yes [00:13:47.254] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:13:47.257] checking for bison... /usr/bin/bison [00:13:47.259] configure: using bison (GNU Bison) 3.8.2 [00:13:47.262] checking for flex... /usr/bin/flex [00:13:47.264] configure: using flex 2.6.4 [00:13:47.265] checking for perl... /usr/bin/perl [00:13:47.268] configure: using perl 5.36.0 [00:13:47.270] checking for zic... /usr/sbin/zic [00:13:47.270] checking for a sed that does not truncate output... /usr/bin/sed [00:13:47.276] checking for grep that handles long lines and -e... /usr/bin/grep [00:13:47.278] checking for egrep... /usr/bin/grep -E [00:13:47.280] checking for ANSI C header files... yes [00:13:47.370] checking for sys/types.h... yes [00:13:47.407] checking for sys/stat.h... yes [00:13:47.472] checking for stdlib.h... yes [00:13:47.535] checking for string.h... yes [00:13:47.572] checking for memory.h... yes [00:13:47.638] checking for strings.h... yes [00:13:47.698] checking for inttypes.h... yes [00:13:47.759] checking for stdint.h... yes [00:13:47.822] checking for unistd.h... yes [00:13:47.840] checking for main in -lm... yes [00:13:47.890] checking for library containing setproctitle... no [00:13:47.984] checking for library containing dlsym... no [00:13:48.078] checking for library containing socket... -lws2_32 [00:13:48.213] checking for library containing getopt_long... none required [00:13:48.262] checking for library containing shm_open... no [00:13:48.355] checking for library containing shm_unlink... no [00:13:48.448] checking for library containing clock_gettime... no [00:13:48.543] checking for library containing shmget... no [00:13:48.635] checking for library containing backtrace_symbols... no [00:13:48.722] checking for library containing pthread_barrier_wait... -lpthread [00:13:48.818] checking for inflate in -lz... yes [00:13:48.870] checking atomic.h usability... no [00:13:48.927] checking atomic.h presence... no [00:13:48.948] checking for atomic.h... no [00:13:48.952] checking copyfile.h usability... no [00:13:49.010] checking copyfile.h presence... no [00:13:49.030] checking for copyfile.h... no [00:13:49.034] checking execinfo.h usability... no [00:13:49.095] checking execinfo.h presence... no [00:13:49.115] checking for execinfo.h... no [00:13:49.119] checking getopt.h usability... yes [00:13:49.150] checking getopt.h presence... yes [00:13:49.166] checking for getopt.h... yes [00:13:49.174] checking ifaddrs.h usability... no [00:13:49.234] checking ifaddrs.h presence... no [00:13:49.255] checking for ifaddrs.h... no [00:13:49.259] checking mbarrier.h usability... no [00:13:49.315] checking mbarrier.h presence... no [00:13:49.335] checking for mbarrier.h... no [00:13:49.338] checking sys/epoll.h usability... no [00:13:49.393] checking sys/epoll.h presence... no [00:13:49.414] checking for sys/epoll.h... no [00:13:49.417] checking sys/event.h usability... no [00:13:49.474] checking sys/event.h presence... no [00:13:49.494] checking for sys/event.h... no [00:13:49.497] checking sys/personality.h usability... no [00:13:49.555] checking sys/personality.h presence... no [00:13:49.575] checking for sys/personality.h... no [00:13:49.578] checking sys/prctl.h usability... no [00:13:49.635] checking sys/prctl.h presence... no [00:13:49.653] checking for sys/prctl.h... no [00:13:49.656] checking sys/procctl.h usability... no [00:13:49.708] checking sys/procctl.h presence... no [00:13:49.726] checking for sys/procctl.h... no [00:13:49.730] checking sys/signalfd.h usability... no [00:13:49.784] checking sys/signalfd.h presence... no [00:13:49.804] checking for sys/signalfd.h... no [00:13:49.808] checking sys/ucred.h usability... no [00:13:49.866] checking sys/ucred.h presence... no [00:13:49.885] checking for sys/ucred.h... no [00:13:49.889] checking termios.h usability... no [00:13:49.947] checking termios.h presence... no [00:13:49.966] checking for termios.h... no [00:13:49.970] checking ucred.h usability... no [00:13:50.027] checking ucred.h presence... no [00:13:50.047] checking for ucred.h... no [00:13:50.051] checking xlocale.h usability... no [00:13:50.108] checking xlocale.h presence... no [00:13:50.128] checking for xlocale.h... no [00:13:50.132] checking zlib.h usability... yes [00:13:50.168] checking zlib.h presence... yes [00:13:50.187] checking for zlib.h... yes [00:13:50.187] checking for lz4... /usr/bin/lz4 [00:13:50.188] checking for zstd... /usr/bin/zstd [00:13:50.188] checking for openssl... /usr/bin/openssl [00:13:50.193] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [00:13:50.193] checking crtdefs.h usability... yes [00:13:50.251] checking crtdefs.h presence... yes [00:13:50.267] checking for crtdefs.h... yes [00:13:50.268] checking whether byte ordering is bigendian... no [00:13:50.379] checking for inline... inline [00:13:50.387] checking for printf format archetype... gnu_printf [00:13:50.406] checking for _Static_assert... yes [00:13:50.452] checking for typeof... typeof [00:13:50.470] checking for __builtin_types_compatible_p... yes [00:13:50.509] checking for __builtin_constant_p... yes [00:13:50.530] checking for __builtin_mul_overflow... yes [00:13:50.577] checking for __builtin_unreachable... yes [00:13:50.620] checking for computed goto support... yes [00:13:50.654] checking for struct tm.tm_zone... no [00:13:50.727] checking for union semun... no [00:13:50.759] checking for socklen_t... yes [00:13:52.882] checking for struct sockaddr.sa_len... no [00:13:54.894] checking for C/C++ restrict keyword... __restrict [00:13:54.940] checking for struct option... yes [00:13:54.995] checking whether assembler supports x86_64 popcntq... yes [00:13:55.031] checking size of off_t... 4 [00:13:55.470] 0 [00:13:55.470] checking for int timezone... yes [00:13:55.525] checking for backtrace_symbols... no [00:13:55.577] checking for copyfile... no [00:13:55.630] checking for copy_file_range... no [00:13:55.682] checking for elf_aux_info... no [00:13:55.732] checking for getauxval... no [00:13:55.783] checking for getifaddrs... no [00:13:55.837] checking for getpeerucred... no [00:13:55.889] checking for inet_pton... yes [00:13:55.944] checking for kqueue... no [00:13:55.999] checking for mbstowcs_l... no [00:13:56.053] checking for memset_s... no [00:13:56.107] checking for posix_fallocate... no [00:13:56.161] checking for ppoll... no [00:13:56.214] checking for pthread_is_threaded_np... no [00:13:56.268] checking for setproctitle... no [00:13:56.323] checking for setproctitle_fast... no [00:13:56.376] checking for strchrnul... no [00:13:56.430] checking for strsignal... no [00:13:56.484] checking for syncfs... no [00:13:56.537] checking for sync_file_range... no [00:13:56.590] checking for uselocale... no [00:13:56.642] checking for wcstombs_l... no [00:13:56.690] checking for __builtin_bswap16... yes [00:13:56.737] checking for __builtin_bswap32... yes [00:13:56.785] checking for __builtin_bswap64... yes [00:13:56.836] checking for __builtin_clz... yes [00:13:56.887] checking for __builtin_ctz... yes [00:13:56.937] checking for __builtin_popcount... yes [00:13:56.987] checking for __builtin_frame_address... yes [00:13:57.036] checking for _LARGEFILE_SOURCE value needed for large files... no [00:13:57.088] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:13:57.121] checking for posix_fadvise... no [00:13:57.174] checking whether posix_fadvise is declared... no [00:13:57.220] checking whether fdatasync is declared... no [00:13:57.269] checking whether strlcat is declared... no [00:13:57.335] checking whether strlcpy is declared... no [00:13:57.401] checking whether strnlen is declared... yes [00:13:57.439] checking whether strsep is declared... no [00:13:57.504] checking whether preadv is declared... no [00:13:57.544] checking whether pwritev is declared... no [00:13:57.583] checking whether F_FULLFSYNC is declared... no [00:13:57.624] checking for explicit_bzero... no [00:13:57.673] checking for getopt... yes [00:13:57.715] checking for getpeereid... no [00:13:57.762] checking for inet_aton... no [00:13:57.812] checking for mkdtemp... no [00:13:57.861] checking for strlcat... no [00:13:57.912] checking for strlcpy... no [00:13:57.961] checking for strnlen... yes [00:13:58.012] checking for strsep... no [00:13:58.061] checking for pthread_barrier_wait... yes [00:13:58.109] configure: On mingw32 we will use our strtof wrapper. [00:13:58.109] checking for getopt_long... yes [00:13:58.157] checking for syslog... no [00:13:58.208] checking for opterr... yes [00:13:58.258] checking for optreset... no [00:13:58.313] checking test program... cross-compiling [00:13:58.313] checking size of void *... 8 [00:13:58.864] checking size of size_t... 8 [00:13:59.318] checking size of long... 4 [00:13:59.721] checking size of long long... 8 [00:14:00.244] checking alignment of short... 2 [00:14:00.467] checking alignment of int... 4 [00:14:00.811] checking alignment of long... 4 [00:14:01.161] checking alignment of int64_t... 8 [00:14:01.674] checking alignment of double... 8 [00:14:02.024] checking for __int128... yes [00:14:02.073] checking for __int128 alignment bug... assuming ok [00:14:02.073] checking alignment of PG_INT128_TYPE... 16 [00:14:02.691] checking for builtin __sync char locking functions... yes [00:14:02.731] checking for builtin __sync int32 locking functions... yes [00:14:02.772] checking for builtin __sync int32 atomic operations... yes [00:14:02.818] checking for builtin __sync int64 atomic operations... yes [00:14:02.864] checking for builtin __atomic int32 atomic operations... yes [00:14:02.909] checking for builtin __atomic int64 atomic operations... yes [00:14:02.957] checking for __get_cpuid... yes [00:14:03.005] checking for __get_cpuid_count... yes [00:14:03.052] checking for __cpuid... no [00:14:03.454] checking for __cpuidex... no [00:14:03.876] checking for _xgetbv... yes [00:14:04.288] checking for _mm512_popcnt_epi64... yes [00:14:04.704] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [00:14:04.805] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:14:04.829] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [00:14:04.848] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:14:04.868] 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:14:04.926] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:14:04.926] checking which random number source to use... Windows native [00:14:04.928] checking for xmllint... /usr/bin/xmllint [00:14:04.929] checking for xsltproc... /usr/bin/xsltproc [00:14:04.929] checking for fop... /usr/bin/fop [00:14:04.929] checking for dbtoepub... no [00:14:04.929] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:14:04.929] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:14:04.930] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:14:04.941] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:14:04.941] 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:14:04.941] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:14:04.941] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:14:05.037] configure: creating ./config.status [00:14:05.128] config.status: creating GNUmakefile [00:14:05.141] config.status: creating src/Makefile.global [00:14:05.158] config.status: creating src/include/pg_config.h [00:14:05.172] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:14:05.189] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:14:05.197] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:14:05.204] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:14:05.212] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:14:05.220] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:14:05.223] config.status: executing check_win32_symlinks commands [00:14:05.259] [00:14:05.259] real 0m20.332s [00:14:05.259] user 0m13.647s [00:14:05.259] sys 0m6.347s [00:14:05.259] make -s -j${BUILD_JOBS} clean [00:14:05.781] time make -s -j${BUILD_JOBS} world-bin [00:15:36.690] In file included from wait.c:20: [00:15:36.690] ../../../src/include/executor/executor.h: In function ‘ExecWaitStmt’: [00:15:36.690] ../../../src/include/executor/executor.h:539:46: error: ‘result’ may be used uninitialized [-Werror=maybe-uninitialized] [00:15:36.690] 539 | values_[0] = PointerGetDatum(cstring_to_text(str_to_emit)); \ [00:15:36.690] | ^~~~~~~~~~~~~~~ [00:15:36.690] wait.c:37:21: note: ‘result’ was declared here [00:15:36.690] 37 | char *result; [00:15:36.690] | ^~~~~~ [00:15:36.690] cc1: all warnings being treated as errors [00:15:36.691] make[3]: *** [: wait.o] Error 1 [00:15:36.691] make[2]: *** [common.mk:37: commands-recursive] Error 2 [00:15:36.691] make[2]: *** Waiting for unfinished jobs.... [00:16:00.491] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:16:00.491] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:16:00.491] [00:16:00.491] real 1m54.710s [00:16:00.491] user 6m13.133s [00:16:00.491] sys 1m9.761s [00:16:00.492] [00:16:00.492] Exit status: 2