[13:28:06.176] time ./configure \ [13:28:06.176] --host=x86_64-w64-mingw32 \ [13:28:06.176] --enable-cassert \ [13:28:06.176] --without-icu \ [13:28:06.176] CC="ccache x86_64-w64-mingw32-gcc" \ [13:28:06.176] CXX="ccache x86_64-w64-mingw32-g++" [13:28:06.283] checking build system type... x86_64-pc-linux-gnu [13:28:06.450] checking host system type... x86_64-w64-mingw32 [13:28:06.455] checking which template to use... win32 [13:28:06.455] checking whether NLS is wanted... no [13:28:06.456] checking for default port number... 5432 [13:28:06.462] checking for block size... 8kB [13:28:06.463] checking for segment size... 1GB [13:28:06.465] checking for WAL block size... 8kB [13:28:06.466] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:28:06.496] checking whether the C compiler works... yes [13:28:06.618] checking for C compiler default output file name... a.exe [13:28:06.619] checking for suffix of executables... .exe [13:28:06.658] checking whether we are cross compiling... yes [13:28:06.724] checking for suffix of object files... o [13:28:06.731] checking whether we are using the GNU C compiler... yes [13:28:06.737] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:28:06.744] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:28:06.753] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:28:06.809] checking whether we are using the GNU C++ compiler... yes [13:28:06.815] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:28:07.042] checking for gawk... no [13:28:07.042] checking for mawk... mawk [13:28:07.045] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:28:07.059] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:28:07.065] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:28:07.107] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:28:07.149] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:28:07.155] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:28:07.161] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:28:07.190] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:28:07.197] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:28:07.203] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:28:07.218] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:28:07.224] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:28:07.230] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:28:07.236] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:28:07.242] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:28:07.249] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:28:07.255] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:28:07.290] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:28:07.297] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:28:07.327] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:28:07.333] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:28:07.339] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:28:07.346] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:28:07.367] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:28:07.373] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:28:07.379] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:28:07.415] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:28:07.451] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:28:07.457] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:28:07.463] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:28:07.496] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:28:07.502] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:28:07.509] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:28:07.516] checking whether the C compiler still works... yes [13:28:07.574] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:28:07.640] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:28:07.640] checking pkg-config is at least version 0.9.0... yes [13:28:07.655] checking whether to build with ICU support... no [13:28:07.656] checking whether to build with Tcl... no [13:28:07.656] checking whether to build Perl modules... no [13:28:07.656] checking whether to build Python modules... no [13:28:07.656] checking whether to build with GSSAPI support... no [13:28:07.657] checking whether to build with PAM support... no [13:28:07.657] checking whether to build with BSD Authentication support... no [13:28:07.657] checking whether to build with LDAP support... no [13:28:07.657] checking whether to build with Bonjour support... no [13:28:07.657] checking whether to build with SELinux support... no [13:28:07.658] checking whether to build with systemd support... no [13:28:07.658] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:28:07.658] checking whether to build with XML support... no [13:28:07.658] checking whether to build with LZ4 support... no [13:28:07.658] checking whether to build with ZSTD support... no [13:28:07.659] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:28:07.659] checking whether it is possible to strip libraries... yes [13:28:07.665] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:28:07.665] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:28:07.666] checking for a BSD-compatible install... /usr/bin/install -c [13:28:07.674] checking for tar... /usr/bin/tar [13:28:07.674] checking whether ln -s works... yes [13:28:07.674] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:28:07.676] checking for bison... /usr/bin/bison [13:28:07.678] configure: using bison (GNU Bison) 3.8.2 [13:28:07.681] checking for flex... /usr/bin/flex [13:28:07.683] configure: using flex 2.6.4 [13:28:07.683] checking for perl... /usr/bin/perl [13:28:07.685] configure: using perl 5.36.0 [13:28:07.687] checking for zic... /usr/sbin/zic [13:28:07.687] checking for a sed that does not truncate output... /usr/bin/sed [13:28:07.692] checking for grep that handles long lines and -e... /usr/bin/grep [13:28:07.694] checking for egrep... /usr/bin/grep -E [13:28:07.696] checking for ANSI C header files... yes [13:28:07.738] checking for sys/types.h... yes [13:28:07.752] checking for sys/stat.h... yes [13:28:07.766] checking for stdlib.h... yes [13:28:07.778] checking for string.h... yes [13:28:07.791] checking for memory.h... yes [13:28:07.805] checking for strings.h... yes [13:28:07.818] checking for inttypes.h... yes [13:28:07.832] checking for stdint.h... yes [13:28:07.845] checking for unistd.h... yes [13:28:07.860] checking for main in -lm... yes [13:28:07.905] checking for library containing setproctitle... no [13:28:07.993] checking for library containing dlsym... no [13:28:08.075] checking for library containing socket... -lws2_32 [13:28:08.197] checking for library containing getopt_long... none required [13:28:08.242] checking for library containing shm_open... no [13:28:08.323] checking for library containing shm_unlink... no [13:28:08.403] checking for library containing clock_gettime... no [13:28:08.484] checking for library containing shmget... no [13:28:08.565] checking for library containing backtrace_symbols... no [13:28:08.650] checking for library containing pthread_barrier_wait... -lpthread [13:28:08.734] checking for inflate in -lz... yes [13:28:08.781] checking atomic.h usability... no [13:28:08.836] checking atomic.h presence... no [13:28:08.853] checking for atomic.h... no [13:28:08.856] checking copyfile.h usability... no [13:28:08.907] checking copyfile.h presence... no [13:28:08.924] checking for copyfile.h... no [13:28:08.927] checking execinfo.h usability... no [13:28:08.977] checking execinfo.h presence... no [13:28:08.993] checking for execinfo.h... no [13:28:08.996] checking getopt.h usability... yes [13:28:09.003] checking getopt.h presence... yes [13:28:09.016] checking for getopt.h... yes [13:28:09.023] checking ifaddrs.h usability... no [13:28:09.073] checking ifaddrs.h presence... no [13:28:09.091] checking for ifaddrs.h... no [13:28:09.094] checking mbarrier.h usability... no [13:28:09.147] checking mbarrier.h presence... no [13:28:09.166] checking for mbarrier.h... no [13:28:09.169] checking sys/epoll.h usability... no [13:28:09.223] checking sys/epoll.h presence... no [13:28:09.242] checking for sys/epoll.h... no [13:28:09.245] checking sys/event.h usability... no [13:28:09.297] checking sys/event.h presence... no [13:28:09.314] checking for sys/event.h... no [13:28:09.318] checking sys/personality.h usability... no [13:28:09.369] checking sys/personality.h presence... no [13:28:09.387] checking for sys/personality.h... no [13:28:09.390] checking sys/prctl.h usability... no [13:28:09.442] checking sys/prctl.h presence... no [13:28:09.459] checking for sys/prctl.h... no [13:28:09.462] checking sys/procctl.h usability... no [13:28:09.513] checking sys/procctl.h presence... no [13:28:09.533] checking for sys/procctl.h... no [13:28:09.536] checking sys/signalfd.h usability... no [13:28:09.589] checking sys/signalfd.h presence... no [13:28:09.608] checking for sys/signalfd.h... no [13:28:09.611] checking sys/ucred.h usability... no [13:28:09.664] checking sys/ucred.h presence... no [13:28:09.683] checking for sys/ucred.h... no [13:28:09.686] checking termios.h usability... no [13:28:09.739] checking termios.h presence... no [13:28:09.758] checking for termios.h... no [13:28:09.761] checking ucred.h usability... no [13:28:09.817] checking ucred.h presence... no [13:28:09.837] checking for ucred.h... no [13:28:09.840] checking xlocale.h usability... no [13:28:09.898] checking xlocale.h presence... no [13:28:09.919] checking for xlocale.h... no [13:28:09.922] checking zlib.h usability... yes [13:28:09.932] checking zlib.h presence... yes [13:28:09.951] checking for zlib.h... yes [13:28:09.951] checking for lz4... /usr/bin/lz4 [13:28:09.952] checking for zstd... /usr/bin/zstd [13:28:09.952] checking for openssl... /usr/bin/openssl [13:28:09.956] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [13:28:09.957] checking crtdefs.h usability... yes [13:28:09.965] checking crtdefs.h presence... yes [13:28:09.980] checking for crtdefs.h... yes [13:28:09.981] checking whether byte ordering is bigendian... no [13:28:10.058] checking for inline... inline [13:28:10.066] checking for printf format archetype... gnu_printf [13:28:10.074] checking for _Static_assert... yes [13:28:10.118] checking for typeof... typeof [13:28:10.126] checking for __builtin_types_compatible_p... yes [13:28:10.137] checking for __builtin_constant_p... yes [13:28:10.149] checking for __builtin_mul_overflow... yes [13:28:10.199] checking for __builtin_unreachable... yes [13:28:10.241] checking for computed goto support... yes [13:28:10.249] checking for struct tm.tm_zone... no [13:28:10.330] checking for union semun... no [13:28:10.364] checking for socklen_t... yes [13:28:11.518] checking for struct sockaddr.sa_len... no [13:28:13.493] checking for C/C++ restrict keyword... __restrict [13:28:13.506] checking for struct option... yes [13:28:13.575] checking whether assembler supports x86_64 popcntq... yes [13:28:13.582] checking size of off_t... 4 [13:28:13.782] 0 [13:28:13.782] checking for int timezone... yes [13:28:13.835] checking for backtrace_symbols... no [13:28:13.885] checking for copyfile... no [13:28:13.932] checking for copy_file_range... no [13:28:13.979] checking for elf_aux_info... no [13:28:14.025] checking for getauxval... no [13:28:14.071] checking for getifaddrs... no [13:28:14.118] checking for getpeerucred... no [13:28:14.166] checking for inet_pton... yes [13:28:14.214] checking for kqueue... no [13:28:14.263] checking for mbstowcs_l... no [13:28:14.311] checking for memset_s... no [13:28:14.361] checking for posix_fallocate... no [13:28:14.411] checking for ppoll... no [13:28:14.460] checking for pthread_is_threaded_np... no [13:28:14.509] checking for setproctitle... no [13:28:14.563] checking for setproctitle_fast... no [13:28:14.613] checking for strchrnul... no [13:28:14.664] checking for strsignal... no [13:28:14.712] checking for syncfs... no [13:28:14.760] checking for sync_file_range... no [13:28:14.809] checking for uselocale... no [13:28:14.858] checking for wcstombs_l... no [13:28:14.904] checking for __builtin_bswap16... yes [13:28:14.952] checking for __builtin_bswap32... yes [13:28:14.999] checking for __builtin_bswap64... yes [13:28:15.048] checking for __builtin_clz... yes [13:28:15.096] checking for __builtin_ctz... yes [13:28:15.143] checking for __builtin_popcount... yes [13:28:15.190] checking for __builtin_frame_address... yes [13:28:15.237] checking for _LARGEFILE_SOURCE value needed for large files... no [13:28:15.290] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:28:15.321] checking for posix_fadvise... no [13:28:15.371] checking whether posix_fadvise is declared... no [13:28:15.415] checking whether fdatasync is declared... no [13:28:15.462] checking whether strlcat is declared... no [13:28:15.527] checking whether strlcpy is declared... no [13:28:15.590] checking whether strnlen is declared... yes [13:28:15.604] checking whether strsep is declared... no [13:28:15.666] checking whether preadv is declared... no [13:28:15.701] checking whether pwritev is declared... no [13:28:15.736] checking whether F_FULLFSYNC is declared... no [13:28:15.776] checking for explicit_bzero... no [13:28:15.821] checking for getopt... yes [13:28:15.864] checking for getpeereid... no [13:28:15.909] checking for inet_aton... no [13:28:15.954] checking for mkdtemp... no [13:28:16.000] checking for strlcat... no [13:28:16.045] checking for strlcpy... no [13:28:16.089] checking for strnlen... yes [13:28:16.135] checking for strsep... no [13:28:16.181] checking for pthread_barrier_wait... yes [13:28:16.224] configure: On mingw32 we will use our strtof wrapper. [13:28:16.224] checking for getopt_long... yes [13:28:16.268] checking for syslog... no [13:28:16.316] checking for opterr... yes [13:28:16.363] checking for optreset... no [13:28:16.413] checking test program... cross-compiling [13:28:16.413] checking size of void *... 8 [13:28:16.667] checking size of size_t... 8 [13:28:16.973] checking size of long... 4 [13:28:17.169] checking size of long long... 8 [13:28:17.419] checking alignment of short... 2 [13:28:17.550] checking alignment of int... 4 [13:28:17.751] checking alignment of long... 4 [13:28:18.019] checking alignment of int64_t... 8 [13:28:18.317] checking alignment of double... 8 [13:28:18.594] checking for __int128... yes [13:28:18.644] checking for __int128 alignment bug... assuming ok [13:28:18.644] checking alignment of PG_INT128_TYPE... 16 [13:28:18.979] checking for builtin __sync char locking functions... yes [13:28:19.022] checking for builtin __sync int32 locking functions... yes [13:28:19.064] checking for builtin __sync int32 atomic operations... yes [13:28:19.107] checking for builtin __sync int64 atomic operations... yes [13:28:19.149] checking for builtin __atomic int32 atomic operations... yes [13:28:19.189] checking for builtin __atomic int64 atomic operations... yes [13:28:19.231] checking for __get_cpuid... yes [13:28:19.276] checking for __get_cpuid_count... yes [13:28:19.318] checking for __cpuid... no [13:28:19.715] checking for __cpuidex... no [13:28:20.129] checking for _xgetbv... yes [13:28:20.525] checking for _mm512_popcnt_epi64... yes [13:28:20.936] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [13:28:21.037] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:28:21.058] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [13:28:21.076] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:28:21.094] 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 [13:28:21.148] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:28:21.149] checking which random number source to use... Windows native [13:28:21.151] checking for xmllint... /usr/bin/xmllint [13:28:21.151] checking for xsltproc... /usr/bin/xsltproc [13:28:21.151] checking for fop... /usr/bin/fop [13:28:21.151] checking for dbtoepub... no [13:28:21.152] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:28:21.152] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:28:21.152] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:28:21.162] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:28:21.162] 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 [13:28:21.162] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:28:21.162] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:28:21.245] configure: creating ./config.status [13:28:21.328] config.status: creating GNUmakefile [13:28:21.340] config.status: creating src/Makefile.global [13:28:21.355] config.status: creating src/include/pg_config.h [13:28:21.368] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:28:21.383] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:28:21.390] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:28:21.397] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:28:21.404] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:28:21.411] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:28:21.415] config.status: executing check_win32_symlinks commands [13:28:21.446] [13:28:21.446] real 0m15.270s [13:28:21.446] user 0m10.182s [13:28:21.446] sys 0m4.781s [13:28:21.446] make -s -j${BUILD_JOBS} clean [13:28:21.946] time make -s -j${BUILD_JOBS} world-bin [13:29:05.804] postgres_fdw.c: In function ‘postgresExplainForeignScan’: [13:29:05.804] postgres_fdw.c:3112:37: error: ‘relname’ may be used uninitialized [-Werror=maybe-uninitialized] [13:29:05.804] 3112 | if (strcmp(refname, relname) != 0) [13:29:05.804] | ^~~~~~~~~~~~~~~~~~~~~~~~ [13:29:05.804] postgres_fdw.c:3043:45: note: ‘relname’ was declared here [13:29:05.804] 3043 | char *relname; [13:29:05.804] | ^~~~~~~ [13:29:05.804] In file included from ../../src/include/postgres.h:48, [13:29:05.804] from postgres_fdw.c:13: [13:29:05.804] ../../src/include/c.h: In function ‘postgresBeginForeignScan’: [13:29:05.804] ../../src/include/c.h:832:20: error: ‘rte’ may be used uninitialized [-Werror=maybe-uninitialized] [13:29:05.804] 832 | if (!(condition)) \ [13:29:05.804] | ^ [13:29:05.804] postgres_fdw.c:1623:24: note: ‘rte’ was declared here [13:29:05.804] 1623 | RangeTblEntry *rte; [13:29:05.804] | ^~~ [13:29:05.804] cc1: all warnings being treated as errors [13:29:05.805] make[2]: *** [: postgres_fdw.o] Error 1 [13:29:05.806] make[1]: *** [Makefile:95: all-postgres_fdw-recurse] Error 2 [13:29:05.806] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [13:29:05.806] [13:29:05.806] real 0m43.860s [13:29:05.806] user 1m53.420s [13:29:05.806] sys 0m29.678s [13:29:05.806] [13:29:05.806] Exit status: 2