[19:08:09.250] time ./configure \ [19:08:09.250] --host=x86_64-w64-mingw32 \ [19:08:09.250] --enable-cassert \ [19:08:09.250] --without-icu \ [19:08:09.250] CC="ccache x86_64-w64-mingw32-gcc" \ [19:08:09.250] CXX="ccache x86_64-w64-mingw32-g++" [19:08:09.395] checking build system type... x86_64-pc-linux-gnu [19:08:09.587] checking host system type... x86_64-w64-mingw32 [19:08:09.593] checking which template to use... win32 [19:08:09.594] checking whether NLS is wanted... no [19:08:09.594] checking for default port number... 5432 [19:08:09.602] checking for block size... 8kB [19:08:09.604] checking for segment size... 1GB [19:08:09.607] checking for WAL block size... 8kB [19:08:09.609] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:08:09.647] checking whether the C compiler works... yes [19:08:09.802] checking for C compiler default output file name... a.exe [19:08:09.803] checking for suffix of executables... .exe [19:08:09.846] checking whether we are cross compiling... yes [19:08:09.933] checking for suffix of object files... o [19:08:09.943] checking whether we are using the GNU C compiler... yes [19:08:09.952] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:08:09.972] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:08:09.985] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:08:10.060] checking whether we are using the GNU C++ compiler... yes [19:08:10.069] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:08:10.302] checking for gawk... no [19:08:10.302] checking for mawk... mawk [19:08:10.305] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:08:10.313] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:08:10.323] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:08:10.375] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:08:10.425] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:08:10.432] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:08:10.440] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:08:10.448] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:08:10.456] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:08:10.464] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:08:10.473] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:08:10.481] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:08:10.490] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:08:10.499] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:08:10.508] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:08:10.516] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:08:10.524] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:08:10.564] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:08:10.573] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:08:10.582] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:08:10.592] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:08:10.600] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:08:10.609] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:08:10.638] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:08:10.656] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:08:10.664] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:08:10.706] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:08:10.748] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:08:10.756] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:08:10.765] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:08:10.805] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:08:10.825] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:08:10.846] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:08:10.857] checking whether the C compiler still works... yes [19:08:10.935] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:08:11.022] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:08:11.022] checking pkg-config is at least version 0.9.0... yes [19:08:11.040] checking whether to build with ICU support... no [19:08:11.040] checking whether to build with Tcl... no [19:08:11.040] checking whether to build Perl modules... no [19:08:11.040] checking whether to build Python modules... no [19:08:11.040] checking whether to build with GSSAPI support... no [19:08:11.042] checking whether to build with PAM support... no [19:08:11.042] checking whether to build with BSD Authentication support... no [19:08:11.042] checking whether to build with LDAP support... no [19:08:11.042] checking whether to build with Bonjour support... no [19:08:11.042] checking whether to build with SELinux support... no [19:08:11.042] checking whether to build with systemd support... no [19:08:11.043] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:08:11.043] checking whether to build with XML support... no [19:08:11.043] checking whether to build with LZ4 support... no [19:08:11.043] checking whether to build with ZSTD support... no [19:08:11.044] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:08:11.044] checking whether it is possible to strip libraries... yes [19:08:11.052] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:08:11.052] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:08:11.053] checking for a BSD-compatible install... /usr/bin/install -c [19:08:11.064] checking for tar... /usr/bin/tar [19:08:11.065] checking whether ln -s works... yes [19:08:11.065] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:08:11.068] checking for bison... /usr/bin/bison [19:08:11.070] configure: using bison (GNU Bison) 3.8.2 [19:08:11.074] checking for flex... /usr/bin/flex [19:08:11.077] configure: using flex 2.6.4 [19:08:11.077] checking for perl... /usr/bin/perl [19:08:11.081] configure: using perl 5.36.0 [19:08:11.084] checking for zic... /usr/sbin/zic [19:08:11.084] checking for a sed that does not truncate output... /usr/bin/sed [19:08:11.091] checking for grep that handles long lines and -e... /usr/bin/grep [19:08:11.094] checking for egrep... /usr/bin/grep -E [19:08:11.095] checking for ANSI C header files... yes [19:08:11.158] checking for sys/types.h... yes [19:08:11.181] checking for sys/stat.h... yes [19:08:11.203] checking for stdlib.h... yes [19:08:11.222] checking for string.h... yes [19:08:11.241] checking for memory.h... yes [19:08:11.259] checking for strings.h... yes [19:08:11.280] checking for inttypes.h... yes [19:08:11.299] checking for stdint.h... yes [19:08:11.318] checking for unistd.h... yes [19:08:11.339] checking for main in -lm... yes [19:08:11.395] checking for library containing setproctitle... no [19:08:11.501] checking for library containing dlsym... no [19:08:11.603] checking for library containing socket... -lws2_32 [19:08:11.761] checking for library containing getopt_long... none required [19:08:11.816] checking for library containing shm_open... no [19:08:11.917] checking for library containing shm_unlink... no [19:08:12.022] checking for library containing clock_gettime... no [19:08:12.130] checking for library containing shmget... no [19:08:12.235] checking for library containing backtrace_symbols... no [19:08:12.334] checking for library containing pthread_barrier_wait... -lpthread [19:08:12.439] checking for inflate in -lz... yes [19:08:12.494] checking atomic.h usability... no [19:08:12.558] checking atomic.h presence... no [19:08:12.581] checking for atomic.h... no [19:08:12.585] checking copyfile.h usability... no [19:08:12.645] checking copyfile.h presence... no [19:08:12.667] checking for copyfile.h... no [19:08:12.671] checking execinfo.h usability... no [19:08:12.735] checking execinfo.h presence... no [19:08:12.759] checking for execinfo.h... no [19:08:12.763] checking getopt.h usability... yes [19:08:12.773] checking getopt.h presence... yes [19:08:12.791] checking for getopt.h... yes [19:08:12.800] checking ifaddrs.h usability... no [19:08:12.863] checking ifaddrs.h presence... no [19:08:12.887] checking for ifaddrs.h... no [19:08:12.892] checking mbarrier.h usability... no [19:08:12.957] checking mbarrier.h presence... no [19:08:12.981] checking for mbarrier.h... no [19:08:12.986] checking sys/epoll.h usability... no [19:08:13.051] checking sys/epoll.h presence... no [19:08:13.073] checking for sys/epoll.h... no [19:08:13.077] checking sys/event.h usability... no [19:08:13.138] checking sys/event.h presence... no [19:08:13.161] checking for sys/event.h... no [19:08:13.165] checking sys/personality.h usability... no [19:08:13.224] checking sys/personality.h presence... no [19:08:13.246] checking for sys/personality.h... no [19:08:13.249] checking sys/prctl.h usability... no [19:08:13.305] checking sys/prctl.h presence... no [19:08:13.324] checking for sys/prctl.h... no [19:08:13.327] checking sys/procctl.h usability... no [19:08:13.383] checking sys/procctl.h presence... no [19:08:13.404] checking for sys/procctl.h... no [19:08:13.408] checking sys/signalfd.h usability... no [19:08:13.468] checking sys/signalfd.h presence... no [19:08:13.489] checking for sys/signalfd.h... no [19:08:13.494] checking sys/ucred.h usability... no [19:08:13.551] checking sys/ucred.h presence... no [19:08:13.573] checking for sys/ucred.h... no [19:08:13.576] checking termios.h usability... no [19:08:13.638] checking termios.h presence... no [19:08:13.661] checking for termios.h... no [19:08:13.664] checking ucred.h usability... no [19:08:13.722] checking ucred.h presence... no [19:08:13.743] checking for ucred.h... no [19:08:13.747] checking xlocale.h usability... no [19:08:13.814] checking xlocale.h presence... no [19:08:13.836] checking for xlocale.h... no [19:08:13.839] checking zlib.h usability... yes [19:08:13.913] checking zlib.h presence... yes [19:08:13.935] checking for zlib.h... yes [19:08:13.936] checking for lz4... /usr/bin/lz4 [19:08:13.936] checking for zstd... /usr/bin/zstd [19:08:13.936] checking for openssl... /usr/bin/openssl [19:08:13.941] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [19:08:13.941] checking crtdefs.h usability... yes [19:08:13.951] checking crtdefs.h presence... yes [19:08:13.969] checking for crtdefs.h... yes [19:08:13.971] checking whether byte ordering is bigendian... no [19:08:14.055] checking for inline... inline [19:08:14.063] checking for printf format archetype... gnu_printf [19:08:14.104] checking for _Static_assert... yes [19:08:14.152] checking for typeof... typeof [19:08:14.161] checking for __builtin_types_compatible_p... yes [19:08:14.176] checking for __builtin_constant_p... yes [19:08:14.190] checking for __builtin_mul_overflow... yes [19:08:14.244] checking for __builtin_unreachable... yes [19:08:14.289] checking for computed goto support... yes [19:08:14.297] checking for struct tm.tm_zone... no [19:08:14.385] checking for union semun... no [19:08:14.424] checking for socklen_t... yes [19:08:15.742] checking for struct sockaddr.sa_len... no [19:08:18.105] checking for C/C++ restrict keyword... __restrict [19:08:18.119] checking for struct option... yes [19:08:18.165] checking whether assembler supports x86_64 popcntq... yes [19:08:18.173] checking size of off_t... 4 [19:08:18.410] 0 [19:08:18.411] checking for int timezone... yes [19:08:18.465] checking for backtrace_symbols... no [19:08:18.517] checking for copyfile... no [19:08:18.570] checking for copy_file_range... no [19:08:18.622] checking for elf_aux_info... no [19:08:18.674] checking for getauxval... no [19:08:18.724] checking for getifaddrs... no [19:08:18.775] checking for getpeerucred... no [19:08:18.823] checking for inet_pton... yes [19:08:18.874] checking for kqueue... no [19:08:18.926] checking for mbstowcs_l... no [19:08:18.977] checking for memset_s... no [19:08:19.028] checking for posix_fallocate... no [19:08:19.079] checking for ppoll... no [19:08:19.130] checking for pthread_is_threaded_np... no [19:08:19.183] checking for setproctitle... no [19:08:19.237] checking for setproctitle_fast... no [19:08:19.290] checking for strchrnul... no [19:08:19.345] checking for strsignal... no [19:08:19.402] checking for syncfs... no [19:08:19.457] checking for sync_file_range... no [19:08:19.512] checking for uselocale... no [19:08:19.568] checking for wcstombs_l... no [19:08:19.619] checking for __builtin_bswap16... yes [19:08:19.675] checking for __builtin_bswap32... yes [19:08:19.729] checking for __builtin_bswap64... yes [19:08:19.784] checking for __builtin_clz... yes [19:08:19.841] checking for __builtin_ctz... yes [19:08:19.895] checking for __builtin_popcount... yes [19:08:19.948] checking for __builtin_frame_address... yes [19:08:19.999] checking for _LARGEFILE_SOURCE value needed for large files... no [19:08:20.056] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:08:20.092] checking for posix_fadvise... no [19:08:20.149] checking whether posix_fadvise is declared... no [19:08:20.205] checking whether fdatasync is declared... no [19:08:20.259] checking whether strlcat is declared... no [19:08:20.331] checking whether strlcpy is declared... no [19:08:20.399] checking whether strnlen is declared... yes [19:08:20.414] checking whether strsep is declared... no [19:08:20.486] checking whether preadv is declared... no [19:08:20.531] checking whether pwritev is declared... no [19:08:20.575] checking whether F_FULLFSYNC is declared... no [19:08:20.621] checking for explicit_bzero... no [19:08:20.674] checking for getopt... yes [19:08:20.723] checking for getpeereid... no [19:08:20.773] checking for inet_aton... no [19:08:20.825] checking for mkdtemp... no [19:08:20.879] checking for strlcat... no [19:08:20.929] checking for strlcpy... no [19:08:20.982] checking for strnlen... yes [19:08:21.034] checking for strsep... no [19:08:21.087] checking for pthread_barrier_wait... yes [19:08:21.136] configure: On mingw32 we will use our strtof wrapper. [19:08:21.136] checking for getopt_long... yes [19:08:21.186] checking for syslog... no [19:08:21.237] checking for opterr... yes [19:08:21.289] checking for optreset... no [19:08:21.343] checking test program... cross-compiling [19:08:21.343] checking size of void *... 8 [19:08:21.639] checking size of size_t... 8 [19:08:21.997] checking size of long... 4 [19:08:22.232] checking size of long long... 8 [19:08:22.543] checking alignment of short... 2 [19:08:22.698] checking alignment of int... 4 [19:08:22.921] checking alignment of long... 4 [19:08:23.211] checking alignment of int64_t... 8 [19:08:23.585] checking alignment of double... 8 [19:08:23.890] checking for __int128... yes [19:08:23.946] checking for __int128 alignment bug... assuming ok [19:08:23.946] checking alignment of PG_INT128_TYPE... 16 [19:08:24.351] checking for builtin __sync char locking functions... yes [19:08:24.399] checking for builtin __sync int32 locking functions... yes [19:08:24.445] checking for builtin __sync int32 atomic operations... yes [19:08:24.492] checking for builtin __sync int64 atomic operations... yes [19:08:24.544] checking for builtin __atomic int32 atomic operations... yes [19:08:24.594] checking for builtin __atomic int64 atomic operations... yes [19:08:24.647] checking for __get_cpuid... yes [19:08:24.698] checking for __get_cpuid_count... yes [19:08:24.746] checking for __cpuid... no [19:08:25.168] checking for __cpuidex... no [19:08:25.622] checking for _xgetbv... yes [19:08:26.035] checking for _mm512_popcnt_epi64... yes [19:08:26.470] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [19:08:26.581] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:08:26.609] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [19:08:26.632] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:08:26.654] 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 [19:08:26.717] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:08:26.717] checking which random number source to use... Windows native [19:08:26.720] checking for xmllint... /usr/bin/xmllint [19:08:26.720] checking for xsltproc... /usr/bin/xsltproc [19:08:26.720] checking for fop... /usr/bin/fop [19:08:26.721] checking for dbtoepub... no [19:08:26.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:08:26.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:08:26.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:08:26.733] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [19:08:26.733] 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 [19:08:26.733] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:08:26.733] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:08:26.821] configure: creating ./config.status [19:08:26.922] config.status: creating GNUmakefile [19:08:26.937] config.status: creating src/Makefile.global [19:08:26.954] config.status: creating src/include/pg_config.h [19:08:26.969] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:08:26.987] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:08:26.997] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:08:27.004] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:08:27.012] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:08:27.021] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:08:27.025] config.status: executing check_win32_symlinks commands [19:08:27.064] [19:08:27.064] real 0m17.814s [19:08:27.064] user 0m11.539s [19:08:27.064] sys 0m5.926s [19:08:27.064] make -s -j${BUILD_JOBS} clean [19:08:27.638] time make -s -j${BUILD_JOBS} world-bin [19:09:15.172] postgres_fdw.c: In function ‘postgresExplainForeignScan’: [19:09:15.172] postgres_fdw.c:3112:37: error: ‘relname’ may be used uninitialized [-Werror=maybe-uninitialized] [19:09:15.172] 3112 | if (strcmp(refname, relname) != 0) [19:09:15.172] | ^~~~~~~~~~~~~~~~~~~~~~~~ [19:09:15.172] postgres_fdw.c:3043:45: note: ‘relname’ was declared here [19:09:15.172] 3043 | char *relname; [19:09:15.172] | ^~~~~~~ [19:09:15.172] In file included from ../../src/include/postgres.h:48, [19:09:15.172] from postgres_fdw.c:13: [19:09:15.172] ../../src/include/c.h: In function ‘postgresBeginForeignScan’: [19:09:15.172] ../../src/include/c.h:832:20: error: ‘rte’ may be used uninitialized [-Werror=maybe-uninitialized] [19:09:15.172] 832 | if (!(condition)) \ [19:09:15.172] | ^ [19:09:15.172] postgres_fdw.c:1623:24: note: ‘rte’ was declared here [19:09:15.172] 1623 | RangeTblEntry *rte; [19:09:15.172] | ^~~ [19:09:15.172] cc1: all warnings being treated as errors [19:09:15.174] make[2]: *** [: postgres_fdw.o] Error 1 [19:09:15.174] make[1]: *** [Makefile:95: all-postgres_fdw-recurse] Error 2 [19:09:15.175] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [19:09:15.175] [19:09:15.175] real 0m47.537s [19:09:15.175] user 2m7.648s [19:09:15.175] sys 0m32.518s [19:09:15.175] [19:09:15.175] Exit status: 2