[21:04:23.814] time ./configure \ [21:04:23.814] --host=x86_64-w64-mingw32 \ [21:04:23.814] --enable-cassert \ [21:04:23.814] --without-icu \ [21:04:23.814] CC="ccache x86_64-w64-mingw32-gcc" \ [21:04:23.814] CXX="ccache x86_64-w64-mingw32-g++" [21:04:23.949] checking build system type... x86_64-pc-linux-gnu [21:04:24.154] checking host system type... x86_64-w64-mingw32 [21:04:24.161] checking which template to use... win32 [21:04:24.161] checking whether NLS is wanted... no [21:04:24.161] checking for default port number... 5432 [21:04:24.169] checking for block size... 8kB [21:04:24.170] checking for segment size... 1GB [21:04:24.173] checking for WAL block size... 8kB [21:04:24.174] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:04:24.213] checking whether the C compiler works... yes [21:04:24.351] checking for C compiler default output file name... a.exe [21:04:24.352] checking for suffix of executables... .exe [21:04:24.398] checking whether we are cross compiling... yes [21:04:24.478] checking for suffix of object files... o [21:04:24.487] checking whether we are using the GNU C compiler... yes [21:04:24.494] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:04:24.514] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:04:24.525] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:04:24.586] checking whether we are using the GNU C++ compiler... yes [21:04:24.593] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:04:24.810] checking for gawk... no [21:04:24.810] checking for mawk... mawk [21:04:24.813] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:04:24.821] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:04:24.829] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:04:24.878] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:04:24.928] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:04:24.936] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:04:24.943] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:04:24.951] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:04:24.959] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:04:24.967] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:04:25.035] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:04:25.043] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:04:25.050] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:04:25.058] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:04:25.066] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:04:25.074] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:04:25.082] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:04:25.123] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:04:25.130] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:04:25.137] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:04:25.145] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:04:25.153] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:04:25.161] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:04:25.188] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:04:25.206] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:04:25.214] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:04:25.256] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:04:25.298] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:04:25.306] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:04:25.315] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:04:25.354] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:04:25.373] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:04:25.393] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:04:25.402] checking whether the C compiler still works... yes [21:04:25.476] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:04:25.560] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:04:25.560] checking pkg-config is at least version 0.9.0... yes [21:04:25.577] checking whether to build with ICU support... no [21:04:25.577] checking whether to build with Tcl... no [21:04:25.577] checking whether to build Perl modules... no [21:04:25.577] checking whether to build Python modules... no [21:04:25.578] checking whether to build with GSSAPI support... no [21:04:25.579] checking whether to build with PAM support... no [21:04:25.579] checking whether to build with BSD Authentication support... no [21:04:25.579] checking whether to build with LDAP support... no [21:04:25.579] checking whether to build with Bonjour support... no [21:04:25.579] checking whether to build with SELinux support... no [21:04:25.580] checking whether to build with systemd support... no [21:04:25.580] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:04:25.580] checking whether to build with XML support... no [21:04:25.580] checking whether to build with LZ4 support... no [21:04:25.580] checking whether to build with ZSTD support... no [21:04:25.581] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:04:25.581] checking whether it is possible to strip libraries... yes [21:04:25.588] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:04:25.589] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:04:25.589] checking for a BSD-compatible install... /usr/bin/install -c [21:04:25.599] checking for tar... /usr/bin/tar [21:04:25.600] checking whether ln -s works... yes [21:04:25.600] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:04:25.602] checking for bison... /usr/bin/bison [21:04:25.605] configure: using bison (GNU Bison) 3.8.2 [21:04:25.608] checking for flex... /usr/bin/flex [21:04:25.623] configure: using flex 2.6.4 [21:04:25.623] checking for perl... /usr/bin/perl [21:04:25.626] configure: using perl 5.36.0 [21:04:25.629] checking for zic... /usr/sbin/zic [21:04:25.629] checking for a sed that does not truncate output... /usr/bin/sed [21:04:25.635] checking for grep that handles long lines and -e... /usr/bin/grep [21:04:25.637] checking for egrep... /usr/bin/grep -E [21:04:25.639] checking for ANSI C header files... yes [21:04:25.692] checking for sys/types.h... yes [21:04:25.712] checking for sys/stat.h... yes [21:04:25.730] checking for stdlib.h... yes [21:04:25.747] checking for string.h... yes [21:04:25.764] checking for memory.h... yes [21:04:25.782] checking for strings.h... yes [21:04:25.800] checking for inttypes.h... yes [21:04:25.819] checking for stdint.h... yes [21:04:25.836] checking for unistd.h... yes [21:04:25.913] checking for main in -lm... yes [21:04:25.966] checking for library containing setproctitle... no [21:04:26.068] checking for library containing dlsym... no [21:04:26.165] checking for library containing socket... -lws2_32 [21:04:26.310] checking for library containing getopt_long... none required [21:04:26.360] checking for library containing shm_open... no [21:04:26.453] checking for library containing shm_unlink... no [21:04:26.549] checking for library containing clock_gettime... no [21:04:26.645] checking for library containing shmget... no [21:04:26.740] checking for library containing backtrace_symbols... no [21:04:26.836] checking for library containing pthread_barrier_wait... -lpthread [21:04:26.933] checking for inflate in -lz... yes [21:04:26.986] checking atomic.h usability... no [21:04:27.046] checking atomic.h presence... no [21:04:27.066] checking for atomic.h... no [21:04:27.070] checking copyfile.h usability... no [21:04:27.131] checking copyfile.h presence... no [21:04:27.152] checking for copyfile.h... no [21:04:27.156] checking execinfo.h usability... no [21:04:27.217] checking execinfo.h presence... no [21:04:27.238] checking for execinfo.h... no [21:04:27.242] checking getopt.h usability... yes [21:04:27.250] checking getopt.h presence... yes [21:04:27.267] checking for getopt.h... yes [21:04:27.274] checking ifaddrs.h usability... no [21:04:27.332] checking ifaddrs.h presence... no [21:04:27.352] checking for ifaddrs.h... no [21:04:27.356] checking mbarrier.h usability... no [21:04:27.416] checking mbarrier.h presence... no [21:04:27.437] checking for mbarrier.h... no [21:04:27.441] checking sys/epoll.h usability... no [21:04:27.499] checking sys/epoll.h presence... no [21:04:27.521] checking for sys/epoll.h... no [21:04:27.525] checking sys/event.h usability... no [21:04:27.586] checking sys/event.h presence... no [21:04:27.608] checking for sys/event.h... no [21:04:27.612] checking sys/personality.h usability... no [21:04:27.672] checking sys/personality.h presence... no [21:04:27.693] checking for sys/personality.h... no [21:04:27.697] checking sys/prctl.h usability... no [21:04:27.756] checking sys/prctl.h presence... no [21:04:27.776] checking for sys/prctl.h... no [21:04:27.780] checking sys/procctl.h usability... no [21:04:27.840] checking sys/procctl.h presence... no [21:04:27.862] checking for sys/procctl.h... no [21:04:27.865] checking sys/signalfd.h usability... no [21:04:27.926] checking sys/signalfd.h presence... no [21:04:27.948] checking for sys/signalfd.h... no [21:04:27.951] checking sys/ucred.h usability... no [21:04:28.013] checking sys/ucred.h presence... no [21:04:28.035] checking for sys/ucred.h... no [21:04:28.038] checking termios.h usability... no [21:04:28.100] checking termios.h presence... no [21:04:28.121] checking for termios.h... no [21:04:28.125] checking ucred.h usability... no [21:04:28.184] checking ucred.h presence... no [21:04:28.205] checking for ucred.h... no [21:04:28.209] checking xlocale.h usability... no [21:04:28.270] checking xlocale.h presence... no [21:04:28.291] checking for xlocale.h... no [21:04:28.294] checking zlib.h usability... yes [21:04:28.305] checking zlib.h presence... yes [21:04:28.326] checking for zlib.h... yes [21:04:28.326] checking for lz4... /usr/bin/lz4 [21:04:28.326] checking for zstd... /usr/bin/zstd [21:04:28.327] checking for openssl... /usr/bin/openssl [21:04:28.332] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [21:04:28.333] checking crtdefs.h usability... yes [21:04:28.364] checking crtdefs.h presence... yes [21:04:28.382] checking for crtdefs.h... yes [21:04:28.383] checking whether byte ordering is bigendian... no [21:04:28.463] checking for inline... inline [21:04:28.471] checking for printf format archetype... gnu_printf [21:04:28.509] checking for _Static_assert... yes [21:04:28.555] checking for typeof... typeof [21:04:28.563] checking for __builtin_types_compatible_p... yes [21:04:28.575] checking for __builtin_constant_p... yes [21:04:28.586] checking for __builtin_mul_overflow... yes [21:04:28.639] checking for __builtin_unreachable... yes [21:04:28.685] checking for computed goto support... yes [21:04:28.694] checking for struct tm.tm_zone... no [21:04:28.783] checking for union semun... no [21:04:28.822] checking for socklen_t... yes [21:04:30.048] checking for struct sockaddr.sa_len... no [21:04:32.221] checking for C/C++ restrict keyword... __restrict [21:04:32.236] checking for struct option... yes [21:04:32.282] checking whether assembler supports x86_64 popcntq... yes [21:04:32.290] checking size of off_t... 4 [21:04:32.505] 0 [21:04:32.505] checking for int timezone... yes [21:04:32.558] checking for backtrace_symbols... no [21:04:32.611] checking for copyfile... no [21:04:32.662] checking for copy_file_range... no [21:04:32.715] checking for elf_aux_info... no [21:04:32.769] checking for getauxval... no [21:04:32.824] checking for getifaddrs... no [21:04:32.877] checking for getpeerucred... no [21:04:32.929] checking for inet_pton... yes [21:04:32.982] checking for kqueue... no [21:04:33.033] checking for mbstowcs_l... no [21:04:33.082] checking for memset_s... no [21:04:33.131] checking for posix_fallocate... no [21:04:33.182] checking for ppoll... no [21:04:33.234] checking for pthread_is_threaded_np... no [21:04:33.285] checking for setproctitle... no [21:04:33.337] checking for setproctitle_fast... no [21:04:33.388] checking for strchrnul... no [21:04:33.440] checking for strsignal... no [21:04:33.493] checking for syncfs... no [21:04:33.553] checking for sync_file_range... no [21:04:33.612] checking for uselocale... no [21:04:33.671] checking for wcstombs_l... no [21:04:33.723] checking for __builtin_bswap16... yes [21:04:33.782] checking for __builtin_bswap32... yes [21:04:33.834] checking for __builtin_bswap64... yes [21:04:33.883] checking for __builtin_clz... yes [21:04:33.934] checking for __builtin_ctz... yes [21:04:33.983] checking for __builtin_popcount... yes [21:04:34.031] checking for __builtin_frame_address... yes [21:04:34.080] checking for _LARGEFILE_SOURCE value needed for large files... no [21:04:34.134] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:04:34.168] checking for posix_fadvise... no [21:04:34.224] checking whether posix_fadvise is declared... no [21:04:34.273] checking whether fdatasync is declared... no [21:04:34.323] checking whether strlcat is declared... no [21:04:34.391] checking whether strlcpy is declared... no [21:04:34.461] checking whether strnlen is declared... yes [21:04:34.475] checking whether strsep is declared... no [21:04:34.541] checking whether preadv is declared... no [21:04:34.578] checking whether pwritev is declared... no [21:04:34.618] checking whether F_FULLFSYNC is declared... no [21:04:34.660] checking for explicit_bzero... no [21:04:34.708] checking for getopt... yes [21:04:34.753] checking for getpeereid... no [21:04:34.801] checking for inet_aton... no [21:04:34.849] checking for mkdtemp... no [21:04:34.905] checking for strlcat... no [21:04:34.962] checking for strlcpy... no [21:04:35.018] checking for strnlen... yes [21:04:35.075] checking for strsep... no [21:04:35.133] checking for pthread_barrier_wait... yes [21:04:35.185] configure: On mingw32 we will use our strtof wrapper. [21:04:35.185] checking for getopt_long... yes [21:04:35.237] checking for syslog... no [21:04:35.291] checking for opterr... yes [21:04:35.346] checking for optreset... no [21:04:35.403] checking test program... cross-compiling [21:04:35.404] checking size of void *... 8 [21:04:35.703] checking size of size_t... 8 [21:04:36.125] checking size of long... 4 [21:04:36.354] checking size of long long... 8 [21:04:36.666] checking alignment of short... 2 [21:04:36.824] checking alignment of int... 4 [21:04:37.059] checking alignment of long... 4 [21:04:37.380] checking alignment of int64_t... 8 [21:04:37.748] checking alignment of double... 8 [21:04:38.058] checking for __int128... yes [21:04:38.119] checking for __int128 alignment bug... assuming ok [21:04:38.119] checking alignment of PG_INT128_TYPE... 16 [21:04:38.571] checking for builtin __sync char locking functions... yes [21:04:38.618] checking for builtin __sync int32 locking functions... yes [21:04:38.666] checking for builtin __sync int32 atomic operations... yes [21:04:38.713] checking for builtin __sync int64 atomic operations... yes [21:04:38.763] checking for builtin __atomic int32 atomic operations... yes [21:04:38.811] checking for builtin __atomic int64 atomic operations... yes [21:04:38.861] checking for __get_cpuid... yes [21:04:38.914] checking for __get_cpuid_count... yes [21:04:38.965] checking for __cpuid... no [21:04:39.387] checking for __cpuidex... no [21:04:39.834] checking for _xgetbv... yes [21:04:40.267] checking for _mm512_popcnt_epi64... yes [21:04:40.720] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [21:04:40.835] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:04:40.862] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [21:04:40.885] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:04:40.907] 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 [21:04:40.970] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:04:40.970] checking which random number source to use... Windows native [21:04:40.973] checking for xmllint... /usr/bin/xmllint [21:04:40.973] checking for xsltproc... /usr/bin/xsltproc [21:04:40.973] checking for fop... /usr/bin/fop [21:04:40.973] checking for dbtoepub... no [21:04:40.974] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:04:40.974] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:04:40.974] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:04:40.986] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:04:40.986] 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 [21:04:40.986] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:04:40.986] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:04:41.084] configure: creating ./config.status [21:04:41.186] config.status: creating GNUmakefile [21:04:41.201] config.status: creating src/Makefile.global [21:04:41.220] config.status: creating src/include/pg_config.h [21:04:41.236] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:04:41.254] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:04:41.263] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:04:41.272] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:04:41.281] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:04:41.290] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:04:41.294] config.status: executing check_win32_symlinks commands [21:04:41.333] [21:04:41.333] real 0m17.519s [21:04:41.333] user 0m11.443s [21:04:41.333] sys 0m5.736s [21:04:41.333] make -s -j${BUILD_JOBS} clean [21:04:41.874] time make -s -j${BUILD_JOBS} world-bin [21:05:45.545] postgres_fdw.c: In function ‘postgresExplainForeignScan’: [21:05:45.545] postgres_fdw.c:3112:37: error: ‘relname’ may be used uninitialized [-Werror=maybe-uninitialized] [21:05:45.545] 3112 | if (strcmp(refname, relname) != 0) [21:05:45.545] | ^~~~~~~~~~~~~~~~~~~~~~~~ [21:05:45.545] postgres_fdw.c:3043:45: note: ‘relname’ was declared here [21:05:45.545] 3043 | char *relname; [21:05:45.545] | ^~~~~~~ [21:05:45.545] In file included from ../../src/include/postgres.h:48, [21:05:45.545] from postgres_fdw.c:13: [21:05:45.545] ../../src/include/c.h: In function ‘postgresBeginForeignScan’: [21:05:45.545] ../../src/include/c.h:832:20: error: ‘rte’ may be used uninitialized [-Werror=maybe-uninitialized] [21:05:45.545] 832 | if (!(condition)) \ [21:05:45.545] | ^ [21:05:45.545] postgres_fdw.c:1623:24: note: ‘rte’ was declared here [21:05:45.545] 1623 | RangeTblEntry *rte; [21:05:45.545] | ^~~ [21:05:45.545] cc1: all warnings being treated as errors [21:05:45.547] make[2]: *** [: postgres_fdw.o] Error 1 [21:05:45.547] make[1]: *** [Makefile:95: all-postgres_fdw-recurse] Error 2 [21:05:45.548] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [21:05:45.548] [21:05:45.548] real 1m3.674s [21:05:45.548] user 2m56.150s [21:05:45.548] sys 0m41.847s [21:05:45.548] [21:05:45.548] Exit status: 2