[11:17:06.451] time ./configure \ [11:17:06.451] --host=x86_64-w64-mingw32 \ [11:17:06.451] --enable-cassert \ [11:17:06.451] --without-icu \ [11:17:06.451] CC="ccache x86_64-w64-mingw32-gcc" \ [11:17:06.451] CXX="ccache x86_64-w64-mingw32-g++" [11:17:06.590] checking build system type... x86_64-pc-linux-gnu [11:17:06.775] checking host system type... x86_64-w64-mingw32 [11:17:06.782] checking which template to use... win32 [11:17:06.783] checking whether NLS is wanted... no [11:17:06.783] checking for default port number... 5432 [11:17:06.791] checking for block size... 8kB [11:17:06.793] checking for segment size... 1GB [11:17:06.796] checking for WAL block size... 8kB [11:17:06.797] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [11:17:06.836] checking whether the C compiler works... yes [11:17:06.975] checking for C compiler default output file name... a.exe [11:17:06.976] checking for suffix of executables... .exe [11:17:07.025] checking whether we are cross compiling... yes [11:17:07.109] checking for suffix of object files... o [11:17:07.131] checking whether we are using the GNU C compiler... yes [11:17:07.138] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [11:17:07.146] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [11:17:07.158] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [11:17:07.221] checking whether we are using the GNU C++ compiler... yes [11:17:07.230] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [11:17:07.311] checking for gawk... no [11:17:07.312] checking for mawk... mawk [11:17:07.314] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [11:17:07.322] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [11:17:07.330] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [11:17:07.382] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [11:17:07.540] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [11:17:07.549] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [11:17:07.558] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [11:17:07.567] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [11:17:07.576] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [11:17:07.584] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [11:17:07.593] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [11:17:07.632] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [11:17:07.640] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [11:17:07.649] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [11:17:07.658] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [11:17:07.698] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [11:17:07.707] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [11:17:07.750] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [11:17:07.758] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [11:17:07.767] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [11:17:07.775] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [11:17:07.783] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [11:17:07.791] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [11:17:07.820] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [11:17:07.829] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [11:17:07.837] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [11:17:07.880] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [11:17:07.924] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [11:17:07.944] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [11:17:07.952] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [11:17:07.993] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [11:17:08.001] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [11:17:08.009] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [11:17:08.018] checking whether the C compiler still works... yes [11:17:08.088] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [11:17:08.172] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [11:17:08.172] checking pkg-config is at least version 0.9.0... yes [11:17:08.190] checking whether to build with ICU support... no [11:17:08.191] checking whether to build with Tcl... no [11:17:08.191] checking whether to build Perl modules... no [11:17:08.191] checking whether to build Python modules... no [11:17:08.191] checking whether to build with GSSAPI support... no [11:17:08.193] checking whether to build with PAM support... no [11:17:08.193] checking whether to build with BSD Authentication support... no [11:17:08.193] checking whether to build with LDAP support... no [11:17:08.193] checking whether to build with Bonjour support... no [11:17:08.193] checking whether to build with SELinux support... no [11:17:08.193] checking whether to build with systemd support... no [11:17:08.194] configure: WARNING: *** Readline does not work on MinGW --- disabling [11:17:08.194] checking whether to build with XML support... no [11:17:08.194] checking whether to build with LZ4 support... no [11:17:08.195] checking whether to build with ZSTD support... no [11:17:08.195] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [11:17:08.195] checking whether it is possible to strip libraries... yes [11:17:08.204] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [11:17:08.204] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [11:17:08.205] checking for a BSD-compatible install... /usr/bin/install -c [11:17:08.216] checking for tar... /usr/bin/tar [11:17:08.216] checking whether ln -s works... yes [11:17:08.216] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [11:17:08.219] checking for bison... /usr/bin/bison [11:17:08.222] configure: using bison (GNU Bison) 3.8.2 [11:17:08.225] checking for flex... /usr/bin/flex [11:17:08.228] configure: using flex 2.6.4 [11:17:08.228] checking for perl... /usr/bin/perl [11:17:08.231] configure: using perl 5.36.0 [11:17:08.234] checking for zic... /usr/sbin/zic [11:17:08.235] checking for a sed that does not truncate output... /usr/bin/sed [11:17:08.241] checking for grep that handles long lines and -e... /usr/bin/grep [11:17:08.244] checking for egrep... /usr/bin/grep -E [11:17:08.246] checking for ANSI C header files... yes [11:17:08.301] checking for sys/types.h... yes [11:17:08.321] checking for sys/stat.h... yes [11:17:08.338] checking for stdlib.h... yes [11:17:08.354] checking for string.h... yes [11:17:08.372] checking for memory.h... yes [11:17:08.390] checking for strings.h... yes [11:17:08.408] checking for inttypes.h... yes [11:17:08.427] checking for stdint.h... yes [11:17:08.444] checking for unistd.h... yes [11:17:08.463] checking for main in -lm... yes [11:17:08.519] checking for library containing setproctitle... no [11:17:08.625] checking for library containing dlsym... no [11:17:08.734] checking for library containing socket... -lws2_32 [11:17:08.886] checking for library containing getopt_long... none required [11:17:08.942] checking for library containing shm_open... no [11:17:09.046] checking for library containing shm_unlink... no [11:17:09.152] checking for library containing clock_gettime... no [11:17:09.255] checking for library containing shmget... no [11:17:09.358] checking for library containing backtrace_symbols... no [11:17:09.461] checking for library containing pthread_barrier_wait... -lpthread [11:17:09.565] checking for inflate in -lz... yes [11:17:09.624] checking atomic.h usability... no [11:17:09.695] checking atomic.h presence... no [11:17:09.719] checking for atomic.h... no [11:17:09.723] checking copyfile.h usability... no [11:17:09.787] checking copyfile.h presence... no [11:17:09.809] checking for copyfile.h... no [11:17:09.813] checking execinfo.h usability... no [11:17:09.880] checking execinfo.h presence... no [11:17:09.903] checking for execinfo.h... no [11:17:09.907] checking getopt.h usability... yes [11:17:09.916] checking getopt.h presence... yes [11:17:09.934] checking for getopt.h... yes [11:17:09.943] checking ifaddrs.h usability... no [11:17:10.009] checking ifaddrs.h presence... no [11:17:10.033] checking for ifaddrs.h... no [11:17:10.037] checking mbarrier.h usability... no [11:17:10.098] checking mbarrier.h presence... no [11:17:10.120] checking for mbarrier.h... no [11:17:10.124] checking sys/epoll.h usability... no [11:17:10.189] checking sys/epoll.h presence... no [11:17:10.211] checking for sys/epoll.h... no [11:17:10.215] checking sys/event.h usability... no [11:17:10.279] checking sys/event.h presence... no [11:17:10.303] checking for sys/event.h... no [11:17:10.307] checking sys/personality.h usability... no [11:17:10.370] checking sys/personality.h presence... no [11:17:10.393] checking for sys/personality.h... no [11:17:10.397] checking sys/prctl.h usability... no [11:17:10.461] checking sys/prctl.h presence... no [11:17:10.485] checking for sys/prctl.h... no [11:17:10.489] checking sys/procctl.h usability... no [11:17:10.556] checking sys/procctl.h presence... no [11:17:10.579] checking for sys/procctl.h... no [11:17:10.583] checking sys/signalfd.h usability... no [11:17:10.647] checking sys/signalfd.h presence... no [11:17:10.669] checking for sys/signalfd.h... no [11:17:10.673] checking sys/ucred.h usability... no [11:17:10.739] checking sys/ucred.h presence... no [11:17:10.761] checking for sys/ucred.h... no [11:17:10.765] checking termios.h usability... no [11:17:10.831] checking termios.h presence... no [11:17:10.853] checking for termios.h... no [11:17:10.857] checking ucred.h usability... no [11:17:10.922] checking ucred.h presence... no [11:17:10.945] checking for ucred.h... no [11:17:10.949] checking xlocale.h usability... no [11:17:11.013] checking xlocale.h presence... no [11:17:11.034] checking for xlocale.h... no [11:17:11.038] checking zlib.h usability... yes [11:17:11.049] checking zlib.h presence... yes [11:17:11.072] checking for zlib.h... yes [11:17:11.072] checking for lz4... /usr/bin/lz4 [11:17:11.073] checking for zstd... /usr/bin/zstd [11:17:11.073] checking for openssl... /usr/bin/openssl [11:17:11.078] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [11:17:11.079] checking crtdefs.h usability... yes [11:17:11.088] checking crtdefs.h presence... yes [11:17:11.106] checking for crtdefs.h... yes [11:17:11.108] checking whether byte ordering is bigendian... no [11:17:11.197] checking for inline... inline [11:17:11.207] checking for printf format archetype... gnu_printf [11:17:11.217] checking for _Static_assert... yes [11:17:11.267] checking for typeof... typeof [11:17:11.276] checking for __builtin_types_compatible_p... yes [11:17:11.289] checking for __builtin_constant_p... yes [11:17:11.303] checking for __builtin_mul_overflow... yes [11:17:11.358] checking for __builtin_unreachable... yes [11:17:11.406] checking for computed goto support... yes [11:17:11.415] checking for struct tm.tm_zone... no [11:17:11.510] checking for union semun... no [11:17:11.552] checking for socklen_t... yes [11:17:12.808] checking for struct sockaddr.sa_len... no [11:17:14.983] checking for C/C++ restrict keyword... __restrict [11:17:14.998] checking for struct option... yes [11:17:15.049] checking whether assembler supports x86_64 popcntq... yes [11:17:15.059] checking size of off_t... 4 [11:17:15.293] 0 [11:17:15.293] checking for int timezone... yes [11:17:15.352] checking for backtrace_symbols... no [11:17:15.411] checking for copyfile... no [11:17:15.471] checking for copy_file_range... no [11:17:15.530] checking for elf_aux_info... no [11:17:15.589] checking for getauxval... no [11:17:15.646] checking for getifaddrs... no [11:17:15.703] checking for getpeerucred... no [11:17:15.758] checking for inet_pton... yes [11:17:15.814] checking for kqueue... no [11:17:15.868] checking for mbstowcs_l... no [11:17:15.921] checking for memset_s... no [11:17:15.976] checking for posix_fallocate... no [11:17:16.032] checking for ppoll... no [11:17:16.088] checking for pthread_is_threaded_np... no [11:17:16.143] checking for setproctitle... no [11:17:16.200] checking for setproctitle_fast... no [11:17:16.254] checking for strchrnul... no [11:17:16.311] checking for strsignal... no [11:17:16.369] checking for syncfs... no [11:17:16.427] checking for sync_file_range... no [11:17:16.484] checking for uselocale... no [11:17:16.543] checking for wcstombs_l... no [11:17:16.598] checking for __builtin_bswap16... yes [11:17:16.654] checking for __builtin_bswap32... yes [11:17:16.711] checking for __builtin_bswap64... yes [11:17:16.767] checking for __builtin_clz... yes [11:17:16.824] checking for __builtin_ctz... yes [11:17:16.879] checking for __builtin_popcount... yes [11:17:16.933] checking for __builtin_frame_address... yes [11:17:16.989] checking for _LARGEFILE_SOURCE value needed for large files... no [11:17:17.050] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [11:17:17.086] checking for posix_fadvise... no [11:17:17.146] checking whether posix_fadvise is declared... no [11:17:17.198] checking whether fdatasync is declared... no [11:17:17.251] checking whether strlcat is declared... no [11:17:17.322] checking whether strlcpy is declared... no [11:17:17.392] checking whether strnlen is declared... yes [11:17:17.464] checking whether strsep is declared... no [11:17:17.539] checking whether preadv is declared... no [11:17:17.582] checking whether pwritev is declared... no [11:17:17.625] checking whether F_FULLFSYNC is declared... no [11:17:17.672] checking for explicit_bzero... no [11:17:17.726] checking for getopt... yes [11:17:17.779] checking for getpeereid... no [11:17:17.836] checking for inet_aton... no [11:17:17.892] checking for mkdtemp... no [11:17:17.949] checking for strlcat... no [11:17:18.006] checking for strlcpy... no [11:17:18.062] checking for strnlen... yes [11:17:18.118] checking for strsep... no [11:17:18.173] checking for pthread_barrier_wait... yes [11:17:18.223] configure: On mingw32 we will use our strtof wrapper. [11:17:18.223] checking for getopt_long... yes [11:17:18.275] checking for syslog... no [11:17:18.330] checking for opterr... yes [11:17:18.385] checking for optreset... no [11:17:18.445] checking test program... cross-compiling [11:17:18.446] checking size of void *... 8 [11:17:18.856] checking size of size_t... 8 [11:17:19.172] checking size of long... 4 [11:17:19.438] checking size of long long... 8 [11:17:19.775] checking alignment of short... 2 [11:17:19.937] checking alignment of int... 4 [11:17:20.172] checking alignment of long... 4 [11:17:20.404] checking alignment of int64_t... 8 [11:17:20.714] checking alignment of double... 8 [11:17:21.146] checking for __int128... yes [11:17:21.205] checking for __int128 alignment bug... assuming ok [11:17:21.205] checking alignment of PG_INT128_TYPE... 16 [11:17:21.662] checking for builtin __sync char locking functions... yes [11:17:21.711] checking for builtin __sync int32 locking functions... yes [11:17:21.761] checking for builtin __sync int32 atomic operations... yes [11:17:21.811] checking for builtin __sync int64 atomic operations... yes [11:17:21.864] checking for builtin __atomic int32 atomic operations... yes [11:17:21.913] checking for builtin __atomic int64 atomic operations... yes [11:17:21.964] checking for __get_cpuid... yes [11:17:22.019] checking for __get_cpuid_count... yes [11:17:22.070] checking for __cpuid... no [11:17:22.493] checking for __cpuidex... no [11:17:22.938] checking for _xgetbv... yes [11:17:23.352] checking for _mm512_popcnt_epi64... yes [11:17:23.792] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [11:17:23.910] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [11:17:23.936] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [11:17:23.958] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [11:17:23.981] 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:17:24.042] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [11:17:24.042] checking which random number source to use... Windows native [11:17:24.045] checking for xmllint... /usr/bin/xmllint [11:17:24.045] checking for xsltproc... /usr/bin/xsltproc [11:17:24.045] checking for fop... /usr/bin/fop [11:17:24.045] checking for dbtoepub... no [11:17:24.046] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [11:17:24.046] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [11:17:24.046] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [11:17:24.058] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [11:17:24.058] 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:17:24.058] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [11:17:24.058] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [11:17:24.158] configure: creating ./config.status [11:17:24.260] config.status: creating GNUmakefile [11:17:24.274] config.status: creating src/Makefile.global [11:17:24.292] config.status: creating src/include/pg_config.h [11:17:24.306] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [11:17:24.324] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [11:17:24.332] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [11:17:24.342] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [11:17:24.350] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [11:17:24.359] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [11:17:24.363] config.status: executing check_win32_symlinks commands [11:17:24.402] [11:17:24.402] real 0m17.951s [11:17:24.402] user 0m11.789s [11:17:24.402] sys 0m5.916s [11:17:24.402] make -s -j${BUILD_JOBS} clean [11:17:24.952] time make -s -j${BUILD_JOBS} world-bin [11:18:20.230] postgres_fdw.c: In function ‘postgresExplainForeignScan’: [11:18:20.230] postgres_fdw.c:3112:37: error: ‘relname’ may be used uninitialized [-Werror=maybe-uninitialized] [11:18:20.230] 3112 | if (strcmp(refname, relname) != 0) [11:18:20.230] | ^~~~~~~~~~~~~~~~~~~~~~~~ [11:18:20.230] postgres_fdw.c:3043:45: note: ‘relname’ was declared here [11:18:20.230] 3043 | char *relname; [11:18:20.230] | ^~~~~~~ [11:18:20.230] In file included from ../../src/include/postgres.h:48, [11:18:20.230] from postgres_fdw.c:13: [11:18:20.230] ../../src/include/c.h: In function ‘postgresBeginForeignScan’: [11:18:20.230] ../../src/include/c.h:832:20: error: ‘rte’ may be used uninitialized [-Werror=maybe-uninitialized] [11:18:20.230] 832 | if (!(condition)) \ [11:18:20.230] | ^ [11:18:20.230] postgres_fdw.c:1623:24: note: ‘rte’ was declared here [11:18:20.230] 1623 | RangeTblEntry *rte; [11:18:20.230] | ^~~ [11:18:20.230] cc1: all warnings being treated as errors [11:18:20.231] make[2]: *** [: postgres_fdw.o] Error 1 [11:18:20.232] make[1]: *** [Makefile:95: all-postgres_fdw-recurse] Error 2 [11:18:20.232] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [11:18:20.232] [11:18:20.232] real 0m55.280s [11:18:20.232] user 2m30.740s [11:18:20.232] sys 0m38.205s [11:18:20.233] [11:18:20.233] Exit status: 2