[11:19:57.367] time ./configure \ [11:19:57.367] --host=x86_64-w64-mingw32 \ [11:19:57.367] --enable-cassert \ [11:19:57.367] --without-icu \ [11:19:57.367] CC="ccache x86_64-w64-mingw32-gcc" \ [11:19:57.367] CXX="ccache x86_64-w64-mingw32-g++" [11:19:57.474] checking build system type... x86_64-pc-linux-gnu [11:19:57.641] checking host system type... x86_64-w64-mingw32 [11:19:57.646] checking which template to use... win32 [11:19:57.646] checking whether NLS is wanted... no [11:19:57.646] checking for default port number... 5432 [11:19:57.652] checking for block size... 8kB [11:19:57.653] checking for segment size... 1GB [11:19:57.655] checking for WAL block size... 8kB [11:19:57.657] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [11:19:57.687] checking whether the C compiler works... yes [11:19:57.805] checking for C compiler default output file name... a.exe [11:19:57.806] checking for suffix of executables... .exe [11:19:57.844] checking whether we are cross compiling... yes [11:19:57.910] checking for suffix of object files... o [11:19:57.926] checking whether we are using the GNU C compiler... yes [11:19:57.932] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [11:19:57.938] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [11:19:57.948] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [11:19:58.000] checking whether we are using the GNU C++ compiler... yes [11:19:58.006] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [11:19:58.066] checking for gawk... no [11:19:58.066] checking for mawk... mawk [11:19:58.068] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [11:19:58.074] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [11:19:58.080] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [11:19:58.122] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [11:19:58.281] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [11:19:58.287] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [11:19:58.293] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [11:19:58.299] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [11:19:58.306] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [11:19:58.312] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [11:19:58.318] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [11:19:58.348] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [11:19:58.355] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [11:19:58.361] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [11:19:58.368] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [11:19:58.398] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [11:19:58.404] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [11:19:58.440] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [11:19:58.447] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [11:19:58.453] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [11:19:58.460] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [11:19:58.467] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [11:19:58.473] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [11:19:58.494] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [11:19:58.501] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [11:19:58.530] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [11:19:58.565] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [11:19:58.600] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [11:19:58.615] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [11:19:58.621] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [11:19:58.654] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [11:19:58.660] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [11:19:58.667] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [11:19:58.674] checking whether the C compiler still works... yes [11:19:58.734] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [11:19:58.798] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [11:19:58.799] checking pkg-config is at least version 0.9.0... yes [11:19:58.816] checking whether to build with ICU support... no [11:19:58.816] checking whether to build with Tcl... no [11:19:58.816] checking whether to build Perl modules... no [11:19:58.816] checking whether to build Python modules... no [11:19:58.817] checking whether to build with GSSAPI support... no [11:19:58.818] checking whether to build with PAM support... no [11:19:58.818] checking whether to build with BSD Authentication support... no [11:19:58.818] checking whether to build with LDAP support... no [11:19:58.818] checking whether to build with Bonjour support... no [11:19:58.818] checking whether to build with SELinux support... no [11:19:58.818] checking whether to build with systemd support... no [11:19:58.818] configure: WARNING: *** Readline does not work on MinGW --- disabling [11:19:58.818] checking whether to build with XML support... no [11:19:58.819] checking whether to build with LZ4 support... no [11:19:58.819] checking whether to build with ZSTD support... no [11:19:58.819] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [11:19:58.819] checking whether it is possible to strip libraries... yes [11:19:58.826] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [11:19:58.826] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [11:19:58.826] checking for a BSD-compatible install... /usr/bin/install -c [11:19:58.835] checking for tar... /usr/bin/tar [11:19:58.835] checking whether ln -s works... yes [11:19:58.835] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [11:19:58.837] checking for bison... /usr/bin/bison [11:19:58.839] configure: using bison (GNU Bison) 3.8.2 [11:19:58.842] checking for flex... /usr/bin/flex [11:19:58.843] configure: using flex 2.6.4 [11:19:58.844] checking for perl... /usr/bin/perl [11:19:58.846] configure: using perl 5.36.0 [11:19:58.848] checking for zic... /usr/sbin/zic [11:19:58.848] checking for a sed that does not truncate output... /usr/bin/sed [11:19:58.853] checking for grep that handles long lines and -e... /usr/bin/grep [11:19:58.855] checking for egrep... /usr/bin/grep -E [11:19:58.856] checking for ANSI C header files... yes [11:19:58.900] checking for sys/types.h... yes [11:19:58.916] checking for sys/stat.h... yes [11:19:58.929] checking for stdlib.h... yes [11:19:58.942] checking for string.h... yes [11:19:58.954] checking for memory.h... yes [11:19:58.968] checking for strings.h... yes [11:19:58.981] checking for inttypes.h... yes [11:19:58.995] checking for stdint.h... yes [11:19:59.008] checking for unistd.h... yes [11:19:59.022] checking for main in -lm... yes [11:19:59.065] checking for library containing setproctitle... no [11:19:59.148] checking for library containing dlsym... no [11:19:59.228] checking for library containing socket... -lws2_32 [11:19:59.348] checking for library containing getopt_long... none required [11:19:59.392] checking for library containing shm_open... no [11:19:59.475] checking for library containing shm_unlink... no [11:19:59.557] checking for library containing clock_gettime... no [11:19:59.640] checking for library containing shmget... no [11:19:59.722] checking for library containing backtrace_symbols... no [11:19:59.801] checking for library containing pthread_barrier_wait... -lpthread [11:19:59.882] checking for inflate in -lz... yes [11:19:59.927] checking atomic.h usability... no [11:19:59.981] checking atomic.h presence... no [11:19:59.998] checking for atomic.h... no [11:20:00.000] checking copyfile.h usability... no [11:20:00.051] checking copyfile.h presence... no [11:20:00.068] checking for copyfile.h... no [11:20:00.071] checking execinfo.h usability... no [11:20:00.120] checking execinfo.h presence... no [11:20:00.137] checking for execinfo.h... no [11:20:00.140] checking getopt.h usability... yes [11:20:00.146] checking getopt.h presence... yes [11:20:00.160] checking for getopt.h... yes [11:20:00.166] checking ifaddrs.h usability... no [11:20:00.216] checking ifaddrs.h presence... no [11:20:00.233] checking for ifaddrs.h... no [11:20:00.235] checking mbarrier.h usability... no [11:20:00.285] checking mbarrier.h presence... no [11:20:00.302] checking for mbarrier.h... no [11:20:00.305] checking sys/epoll.h usability... no [11:20:00.353] checking sys/epoll.h presence... no [11:20:00.369] checking for sys/epoll.h... no [11:20:00.372] checking sys/event.h usability... no [11:20:00.424] checking sys/event.h presence... no [11:20:00.441] checking for sys/event.h... no [11:20:00.444] checking sys/personality.h usability... no [11:20:00.494] checking sys/personality.h presence... no [11:20:00.510] checking for sys/personality.h... no [11:20:00.513] checking sys/prctl.h usability... no [11:20:00.561] checking sys/prctl.h presence... no [11:20:00.578] checking for sys/prctl.h... no [11:20:00.581] checking sys/procctl.h usability... no [11:20:00.632] checking sys/procctl.h presence... no [11:20:00.649] checking for sys/procctl.h... no [11:20:00.653] checking sys/signalfd.h usability... no [11:20:00.703] checking sys/signalfd.h presence... no [11:20:00.720] checking for sys/signalfd.h... no [11:20:00.723] checking sys/ucred.h usability... no [11:20:00.772] checking sys/ucred.h presence... no [11:20:00.790] checking for sys/ucred.h... no [11:20:00.793] checking termios.h usability... no [11:20:00.844] checking termios.h presence... no [11:20:00.861] checking for termios.h... no [11:20:00.865] checking ucred.h usability... no [11:20:00.916] checking ucred.h presence... no [11:20:00.933] checking for ucred.h... no [11:20:00.935] checking xlocale.h usability... no [11:20:00.988] checking xlocale.h presence... no [11:20:01.005] checking for xlocale.h... no [11:20:01.008] checking zlib.h usability... yes [11:20:01.018] checking zlib.h presence... yes [11:20:01.036] checking for zlib.h... yes [11:20:01.036] checking for lz4... /usr/bin/lz4 [11:20:01.036] checking for zstd... /usr/bin/zstd [11:20:01.037] checking for openssl... /usr/bin/openssl [11:20:01.041] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [11:20:01.041] checking crtdefs.h usability... yes [11:20:01.049] checking crtdefs.h presence... yes [11:20:01.063] checking for crtdefs.h... yes [11:20:01.064] checking whether byte ordering is bigendian... no [11:20:01.129] checking for inline... inline [11:20:01.136] checking for printf format archetype... gnu_printf [11:20:01.144] checking for _Static_assert... yes [11:20:01.183] checking for typeof... typeof [11:20:01.190] checking for __builtin_types_compatible_p... yes [11:20:01.201] checking for __builtin_constant_p... yes [11:20:01.212] checking for __builtin_mul_overflow... yes [11:20:01.257] checking for __builtin_unreachable... yes [11:20:01.294] checking for computed goto support... yes [11:20:01.301] checking for struct tm.tm_zone... no [11:20:01.373] checking for union semun... no [11:20:01.405] checking for socklen_t... yes [11:20:02.492] checking for struct sockaddr.sa_len... no [11:20:04.338] checking for C/C++ restrict keyword... __restrict [11:20:04.351] checking for struct option... yes [11:20:04.388] checking whether assembler supports x86_64 popcntq... yes [11:20:04.394] checking size of off_t... 4 [11:20:04.581] 0 [11:20:04.581] checking for int timezone... yes [11:20:04.628] checking for backtrace_symbols... no [11:20:04.674] checking for copyfile... no [11:20:04.720] checking for copy_file_range... no [11:20:04.765] checking for elf_aux_info... no [11:20:04.812] checking for getauxval... no [11:20:04.857] checking for getifaddrs... no [11:20:04.904] checking for getpeerucred... no [11:20:04.952] checking for inet_pton... yes [11:20:04.999] checking for kqueue... no [11:20:05.045] checking for mbstowcs_l... no [11:20:05.091] checking for memset_s... no [11:20:05.137] checking for posix_fallocate... no [11:20:05.182] checking for ppoll... no [11:20:05.227] checking for pthread_is_threaded_np... no [11:20:05.273] checking for setproctitle... no [11:20:05.318] checking for setproctitle_fast... no [11:20:05.362] checking for strchrnul... no [11:20:05.407] checking for strsignal... no [11:20:05.453] checking for syncfs... no [11:20:05.499] checking for sync_file_range... no [11:20:05.545] checking for uselocale... no [11:20:05.592] checking for wcstombs_l... no [11:20:05.635] checking for __builtin_bswap16... yes [11:20:05.681] checking for __builtin_bswap32... yes [11:20:05.724] checking for __builtin_bswap64... yes [11:20:05.769] checking for __builtin_clz... yes [11:20:05.815] checking for __builtin_ctz... yes [11:20:05.859] checking for __builtin_popcount... yes [11:20:05.903] checking for __builtin_frame_address... yes [11:20:05.946] checking for _LARGEFILE_SOURCE value needed for large files... no [11:20:05.994] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [11:20:06.021] checking for posix_fadvise... no [11:20:06.066] checking whether posix_fadvise is declared... no [11:20:06.105] checking whether fdatasync is declared... no [11:20:06.144] checking whether strlcat is declared... no [11:20:06.202] checking whether strlcpy is declared... no [11:20:06.260] checking whether strnlen is declared... yes [11:20:06.321] checking whether strsep is declared... no [11:20:06.379] checking whether preadv is declared... no [11:20:06.411] checking whether pwritev is declared... no [11:20:06.444] checking whether F_FULLFSYNC is declared... no [11:20:06.479] checking for explicit_bzero... no [11:20:06.522] checking for getopt... yes [11:20:06.563] checking for getpeereid... no [11:20:06.606] checking for inet_aton... no [11:20:06.648] checking for mkdtemp... no [11:20:06.691] checking for strlcat... no [11:20:06.734] checking for strlcpy... no [11:20:06.778] checking for strnlen... yes [11:20:06.822] checking for strsep... no [11:20:06.865] checking for pthread_barrier_wait... yes [11:20:06.905] configure: On mingw32 we will use our strtof wrapper. [11:20:06.905] checking for getopt_long... yes [11:20:06.946] checking for syslog... no [11:20:06.989] checking for opterr... yes [11:20:07.033] checking for optreset... no [11:20:07.080] checking test program... cross-compiling [11:20:07.080] checking size of void *... 8 [11:20:07.392] checking size of size_t... 8 [11:20:07.638] checking size of long... 4 [11:20:07.844] checking size of long long... 8 [11:20:08.105] checking alignment of short... 2 [11:20:08.231] checking alignment of int... 4 [11:20:08.416] checking alignment of long... 4 [11:20:08.602] checking alignment of int64_t... 8 [11:20:08.846] checking alignment of double... 8 [11:20:09.186] checking for __int128... yes [11:20:09.233] checking for __int128 alignment bug... assuming ok [11:20:09.233] checking alignment of PG_INT128_TYPE... 16 [11:20:09.588] checking for builtin __sync char locking functions... yes [11:20:09.627] checking for builtin __sync int32 locking functions... yes [11:20:09.667] checking for builtin __sync int32 atomic operations... yes [11:20:09.705] checking for builtin __sync int64 atomic operations... yes [11:20:09.746] checking for builtin __atomic int32 atomic operations... yes [11:20:09.786] checking for builtin __atomic int64 atomic operations... yes [11:20:09.827] checking for __get_cpuid... yes [11:20:09.871] checking for __get_cpuid_count... yes [11:20:09.912] checking for __cpuid... no [11:20:10.293] checking for __cpuidex... no [11:20:10.694] checking for _xgetbv... yes [11:20:11.083] checking for _mm512_popcnt_epi64... yes [11:20:11.491] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [11:20:11.592] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [11:20:11.614] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [11:20:11.632] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [11:20:11.652] 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 [11:20:11.708] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [11:20:11.708] checking which random number source to use... Windows native [11:20:11.710] checking for xmllint... /usr/bin/xmllint [11:20:11.710] checking for xsltproc... /usr/bin/xsltproc [11:20:11.711] checking for fop... /usr/bin/fop [11:20:11.711] checking for dbtoepub... no [11:20:11.711] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [11:20:11.711] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [11:20:11.711] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [11:20:11.722] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [11:20:11.722] 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 [11:20:11.722] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [11:20:11.722] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [11:20:11.807] configure: creating ./config.status [11:20:11.894] config.status: creating GNUmakefile [11:20:11.906] config.status: creating src/Makefile.global [11:20:11.922] config.status: creating src/include/pg_config.h [11:20:11.935] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [11:20:11.951] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [11:20:11.958] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [11:20:11.965] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [11:20:11.972] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [11:20:11.979] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [11:20:11.982] config.status: executing check_win32_symlinks commands [11:20:12.016] [11:20:12.016] real 0m14.649s [11:20:12.016] user 0m9.664s [11:20:12.016] sys 0m4.678s [11:20:12.016] make -s -j${BUILD_JOBS} clean [11:20:12.539] time make -s -j${BUILD_JOBS} world-bin [11:20:52.869] postgres_fdw.c: In function ‘postgresExplainForeignScan’: [11:20:52.869] postgres_fdw.c:3112:37: error: ‘relname’ may be used uninitialized [-Werror=maybe-uninitialized] [11:20:52.869] 3112 | if (strcmp(refname, relname) != 0) [11:20:52.869] | ^~~~~~~~~~~~~~~~~~~~~~~~ [11:20:52.869] postgres_fdw.c:3043:45: note: ‘relname’ was declared here [11:20:52.869] 3043 | char *relname; [11:20:52.869] | ^~~~~~~ [11:20:52.869] In file included from ../../src/include/postgres.h:48, [11:20:52.869] from postgres_fdw.c:13: [11:20:52.869] ../../src/include/c.h: In function ‘postgresBeginForeignScan’: [11:20:52.869] ../../src/include/c.h:832:20: error: ‘rte’ may be used uninitialized [-Werror=maybe-uninitialized] [11:20:52.869] 832 | if (!(condition)) \ [11:20:52.869] | ^ [11:20:52.869] postgres_fdw.c:1623:24: note: ‘rte’ was declared here [11:20:52.869] 1623 | RangeTblEntry *rte; [11:20:52.869] | ^~~ [11:20:52.869] cc1: all warnings being treated as errors [11:20:52.870] make[2]: *** [: postgres_fdw.o] Error 1 [11:20:52.871] make[1]: *** [Makefile:95: all-postgres_fdw-recurse] Error 2 [11:20:52.871] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [11:20:52.871] [11:20:52.871] real 0m40.332s [11:20:52.871] user 1m45.713s [11:20:52.871] sys 0m27.922s [11:20:52.871] [11:20:52.871] Exit status: 2