[19:01:45.432] time ./configure \ [19:01:45.432] --host=x86_64-w64-mingw32 \ [19:01:45.432] --enable-cassert \ [19:01:45.432] --without-icu \ [19:01:45.432] CC="ccache x86_64-w64-mingw32-gcc" \ [19:01:45.432] CXX="ccache x86_64-w64-mingw32-g++" [19:01:45.551] checking build system type... x86_64-pc-linux-gnu [19:01:45.752] checking host system type... x86_64-w64-mingw32 [19:01:45.757] checking which template to use... win32 [19:01:45.757] checking whether NLS is wanted... no [19:01:45.757] checking for default port number... 5432 [19:01:45.764] checking for block size... 8kB [19:01:45.765] checking for segment size... 1GB [19:01:45.768] checking for WAL block size... 8kB [19:01:45.769] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:01:45.804] checking whether the C compiler works... yes [19:01:45.940] checking for C compiler default output file name... a.exe [19:01:45.941] checking for suffix of executables... .exe [19:01:45.983] checking whether we are cross compiling... yes [19:01:46.063] checking for suffix of object files... o [19:01:46.071] checking whether we are using the GNU C compiler... yes [19:01:46.078] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:01:46.084] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:01:46.094] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:01:46.154] checking whether we are using the GNU C++ compiler... yes [19:01:46.161] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:01:46.222] checking for gawk... no [19:01:46.222] checking for mawk... mawk [19:01:46.224] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:01:46.231] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:01:46.237] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:01:46.280] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:01:46.437] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:01:46.444] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:01:46.450] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:01:46.457] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:01:46.463] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:01:46.469] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:01:46.475] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:01:46.481] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:01:46.488] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:01:46.495] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:01:46.502] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:01:46.508] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:01:46.516] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:01:46.553] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:01:46.560] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:01:46.568] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:01:46.575] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:01:46.582] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:01:46.588] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:01:46.609] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:01:46.615] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:01:46.622] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:01:46.658] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:01:46.694] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:01:46.700] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:01:46.707] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:01:46.740] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:01:46.746] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:01:46.752] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:01:46.760] checking whether the C compiler still works... yes [19:01:46.821] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:01:46.887] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:01:46.887] checking pkg-config is at least version 0.9.0... yes [19:01:46.902] checking whether to build with ICU support... no [19:01:46.903] checking whether to build with Tcl... no [19:01:46.903] checking whether to build Perl modules... no [19:01:46.903] checking whether to build Python modules... no [19:01:46.903] checking whether to build with GSSAPI support... no [19:01:46.904] checking whether to build with PAM support... no [19:01:46.904] checking whether to build with BSD Authentication support... no [19:01:46.904] checking whether to build with LDAP support... no [19:01:46.904] checking whether to build with Bonjour support... no [19:01:46.904] checking whether to build with SELinux support... no [19:01:46.905] checking whether to build with systemd support... no [19:01:46.905] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:01:46.905] checking whether to build with XML support... no [19:01:46.905] checking whether to build with LZ4 support... no [19:01:46.905] checking whether to build with ZSTD support... no [19:01:46.906] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:01:46.906] checking whether it is possible to strip libraries... yes [19:01:46.913] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:01:46.913] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:01:46.914] checking for a BSD-compatible install... /usr/bin/install -c [19:01:46.922] checking for tar... /usr/bin/tar [19:01:46.922] checking whether ln -s works... yes [19:01:46.922] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:01:46.924] checking for bison... /usr/bin/bison [19:01:46.926] configure: using bison (GNU Bison) 3.8.2 [19:01:46.929] checking for flex... /usr/bin/flex [19:01:46.931] configure: using flex 2.6.4 [19:01:46.931] checking for perl... /usr/bin/perl [19:01:46.933] configure: using perl 5.36.0 [19:01:46.936] checking for zic... /usr/sbin/zic [19:01:46.936] checking for a sed that does not truncate output... /usr/bin/sed [19:01:46.940] checking for grep that handles long lines and -e... /usr/bin/grep [19:01:46.942] checking for egrep... /usr/bin/grep -E [19:01:46.944] checking for ANSI C header files... yes [19:01:46.987] checking for sys/types.h... yes [19:01:47.002] checking for sys/stat.h... yes [19:01:47.017] checking for stdlib.h... yes [19:01:47.030] checking for string.h... yes [19:01:47.044] checking for memory.h... yes [19:01:47.058] checking for strings.h... yes [19:01:47.071] checking for inttypes.h... yes [19:01:47.087] checking for stdint.h... yes [19:01:47.100] checking for unistd.h... yes [19:01:47.114] checking for main in -lm... yes [19:01:47.160] checking for library containing setproctitle... no [19:01:47.245] checking for library containing dlsym... no [19:01:47.330] checking for library containing socket... -lws2_32 [19:01:47.455] checking for library containing getopt_long... none required [19:01:47.500] checking for library containing shm_open... no [19:01:47.589] checking for library containing shm_unlink... no [19:01:47.679] checking for library containing clock_gettime... no [19:01:47.767] checking for library containing shmget... no [19:01:47.861] checking for library containing backtrace_symbols... no [19:01:47.949] checking for library containing pthread_barrier_wait... -lpthread [19:01:48.041] checking for inflate in -lz... yes [19:01:48.094] checking atomic.h usability... no [19:01:48.158] checking atomic.h presence... no [19:01:48.180] checking for atomic.h... no [19:01:48.183] checking copyfile.h usability... no [19:01:48.243] checking copyfile.h presence... no [19:01:48.266] checking for copyfile.h... no [19:01:48.270] checking execinfo.h usability... no [19:01:48.337] checking execinfo.h presence... no [19:01:48.358] checking for execinfo.h... no [19:01:48.362] checking getopt.h usability... yes [19:01:48.370] checking getopt.h presence... yes [19:01:48.387] checking for getopt.h... yes [19:01:48.395] checking ifaddrs.h usability... no [19:01:48.457] checking ifaddrs.h presence... no [19:01:48.478] checking for ifaddrs.h... no [19:01:48.482] checking mbarrier.h usability... no [19:01:48.544] checking mbarrier.h presence... no [19:01:48.567] checking for mbarrier.h... no [19:01:48.570] checking sys/epoll.h usability... no [19:01:48.631] checking sys/epoll.h presence... no [19:01:48.652] checking for sys/epoll.h... no [19:01:48.656] checking sys/event.h usability... no [19:01:48.717] checking sys/event.h presence... no [19:01:48.740] checking for sys/event.h... no [19:01:48.744] checking sys/personality.h usability... no [19:01:48.807] checking sys/personality.h presence... no [19:01:48.828] checking for sys/personality.h... no [19:01:48.832] checking sys/prctl.h usability... no [19:01:48.894] checking sys/prctl.h presence... no [19:01:48.916] checking for sys/prctl.h... no [19:01:48.919] checking sys/procctl.h usability... no [19:01:48.982] checking sys/procctl.h presence... no [19:01:49.003] checking for sys/procctl.h... no [19:01:49.007] checking sys/signalfd.h usability... no [19:01:49.070] checking sys/signalfd.h presence... no [19:01:49.093] checking for sys/signalfd.h... no [19:01:49.097] checking sys/ucred.h usability... no [19:01:49.159] checking sys/ucred.h presence... no [19:01:49.181] checking for sys/ucred.h... no [19:01:49.185] checking termios.h usability... no [19:01:49.248] checking termios.h presence... no [19:01:49.270] checking for termios.h... no [19:01:49.274] checking ucred.h usability... no [19:01:49.335] checking ucred.h presence... no [19:01:49.357] checking for ucred.h... no [19:01:49.361] checking xlocale.h usability... no [19:01:49.421] checking xlocale.h presence... no [19:01:49.442] checking for xlocale.h... no [19:01:49.445] checking zlib.h usability... yes [19:01:49.456] checking zlib.h presence... yes [19:01:49.478] checking for zlib.h... yes [19:01:49.478] checking for lz4... /usr/bin/lz4 [19:01:49.478] checking for zstd... /usr/bin/zstd [19:01:49.478] checking for openssl... /usr/bin/openssl [19:01:49.484] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [19:01:49.484] checking crtdefs.h usability... yes [19:01:49.493] checking crtdefs.h presence... yes [19:01:49.512] checking for crtdefs.h... yes [19:01:49.513] checking whether byte ordering is bigendian... no [19:01:49.595] checking for inline... inline [19:01:49.602] checking for printf format archetype... gnu_printf [19:01:49.610] checking for _Static_assert... yes [19:01:49.654] checking for typeof... typeof [19:01:49.662] checking for __builtin_types_compatible_p... yes [19:01:49.673] checking for __builtin_constant_p... yes [19:01:49.685] checking for __builtin_mul_overflow... yes [19:01:49.736] checking for __builtin_unreachable... yes [19:01:49.781] checking for computed goto support... yes [19:01:49.789] checking for struct tm.tm_zone... no [19:01:49.873] checking for union semun... no [19:01:49.910] checking for socklen_t... yes [19:01:51.081] checking for struct sockaddr.sa_len... no [19:01:53.100] checking for C/C++ restrict keyword... __restrict [19:01:53.114] checking for struct option... yes [19:01:53.163] checking whether assembler supports x86_64 popcntq... yes [19:01:53.172] checking size of off_t... 4 [19:01:53.393] 0 [19:01:53.394] checking for int timezone... yes [19:01:53.450] checking for backtrace_symbols... no [19:01:53.505] checking for copyfile... no [19:01:53.561] checking for copy_file_range... no [19:01:53.613] checking for elf_aux_info... no [19:01:53.669] checking for getauxval... no [19:01:53.724] checking for getifaddrs... no [19:01:53.778] checking for getpeerucred... no [19:01:53.832] checking for inet_pton... yes [19:01:53.887] checking for kqueue... no [19:01:53.941] checking for mbstowcs_l... no [19:01:53.995] checking for memset_s... no [19:01:54.050] checking for posix_fallocate... no [19:01:54.105] checking for ppoll... no [19:01:54.159] checking for pthread_is_threaded_np... no [19:01:54.214] checking for setproctitle... no [19:01:54.268] checking for setproctitle_fast... no [19:01:54.321] checking for strchrnul... no [19:01:54.374] checking for strsignal... no [19:01:54.428] checking for syncfs... no [19:01:54.483] checking for sync_file_range... no [19:01:54.538] checking for uselocale... no [19:01:54.593] checking for wcstombs_l... no [19:01:54.641] checking for __builtin_bswap16... yes [19:01:54.689] checking for __builtin_bswap32... yes [19:01:54.736] checking for __builtin_bswap64... yes [19:01:54.783] checking for __builtin_clz... yes [19:01:54.831] checking for __builtin_ctz... yes [19:01:54.878] checking for __builtin_popcount... yes [19:01:54.926] checking for __builtin_frame_address... yes [19:01:54.975] checking for _LARGEFILE_SOURCE value needed for large files... no [19:01:55.029] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:01:55.061] checking for posix_fadvise... no [19:01:55.115] checking whether posix_fadvise is declared... no [19:01:55.166] checking whether fdatasync is declared... no [19:01:55.217] checking whether strlcat is declared... no [19:01:55.282] checking whether strlcpy is declared... no [19:01:55.344] checking whether strnlen is declared... yes [19:01:55.356] checking whether strsep is declared... no [19:01:55.418] checking whether preadv is declared... no [19:01:55.453] checking whether pwritev is declared... no [19:01:55.487] checking whether F_FULLFSYNC is declared... no [19:01:55.527] checking for explicit_bzero... no [19:01:55.572] checking for getopt... yes [19:01:55.615] checking for getpeereid... no [19:01:55.662] checking for inet_aton... no [19:01:55.707] checking for mkdtemp... no [19:01:55.751] checking for strlcat... no [19:01:55.798] checking for strlcpy... no [19:01:55.845] checking for strnlen... yes [19:01:55.894] checking for strsep... no [19:01:55.941] checking for pthread_barrier_wait... yes [19:01:55.984] configure: On mingw32 we will use our strtof wrapper. [19:01:55.984] checking for getopt_long... yes [19:01:56.029] checking for syslog... no [19:01:56.078] checking for opterr... yes [19:01:56.126] checking for optreset... no [19:01:56.176] checking test program... cross-compiling [19:01:56.177] checking size of void *... 8 [19:01:56.430] checking size of size_t... 8 [19:01:56.680] checking size of long... 4 [19:01:56.868] checking size of long long... 8 [19:01:57.118] checking alignment of short... 2 [19:01:57.249] checking alignment of int... 4 [19:01:57.461] checking alignment of long... 4 [19:01:57.685] checking alignment of int64_t... 8 [19:01:57.967] checking alignment of double... 8 [19:01:58.255] checking for __int128... yes [19:01:58.308] checking for __int128 alignment bug... assuming ok [19:01:58.308] checking alignment of PG_INT128_TYPE... 16 [19:01:58.661] checking for builtin __sync char locking functions... yes [19:01:58.704] checking for builtin __sync int32 locking functions... yes [19:01:58.746] checking for builtin __sync int32 atomic operations... yes [19:01:58.787] checking for builtin __sync int64 atomic operations... yes [19:01:58.830] checking for builtin __atomic int32 atomic operations... yes [19:01:58.870] checking for builtin __atomic int64 atomic operations... yes [19:01:58.912] checking for __get_cpuid... yes [19:01:58.956] checking for __get_cpuid_count... yes [19:01:58.998] checking for __cpuid... no [19:01:59.386] checking for __cpuidex... no [19:01:59.803] checking for _xgetbv... yes [19:02:00.204] checking for _mm512_popcnt_epi64... yes [19:02:00.627] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [19:02:00.731] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:02:00.756] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [19:02:00.776] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:02:00.795] 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:02:00.851] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:02:00.852] checking which random number source to use... Windows native [19:02:00.854] checking for xmllint... /usr/bin/xmllint [19:02:00.854] checking for xsltproc... /usr/bin/xsltproc [19:02:00.854] checking for fop... /usr/bin/fop [19:02:00.855] checking for dbtoepub... no [19:02:00.855] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:02:00.855] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:02:00.855] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:02:00.865] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [19:02:00.865] 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:02:00.866] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:02:00.866] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:02:00.947] configure: creating ./config.status [19:02:01.031] config.status: creating GNUmakefile [19:02:01.043] config.status: creating src/Makefile.global [19:02:01.059] config.status: creating src/include/pg_config.h [19:02:01.071] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:02:01.086] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:02:01.093] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:02:01.100] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:02:01.107] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:02:01.114] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:02:01.117] config.status: executing check_win32_symlinks commands [19:02:01.150] [19:02:01.150] real 0m15.719s [19:02:01.150] user 0m10.341s [19:02:01.150] sys 0m5.032s [19:02:01.150] make -s -j${BUILD_JOBS} clean [19:02:01.670] time make -s -j${BUILD_JOBS} world-bin [19:02:41.518] postgres_fdw.c: In function ‘postgresExplainForeignScan’: [19:02:41.518] postgres_fdw.c:3112:37: error: ‘relname’ may be used uninitialized [-Werror=maybe-uninitialized] [19:02:41.518] 3112 | if (strcmp(refname, relname) != 0) [19:02:41.518] | ^~~~~~~~~~~~~~~~~~~~~~~~ [19:02:41.518] postgres_fdw.c:3043:45: note: ‘relname’ was declared here [19:02:41.518] 3043 | char *relname; [19:02:41.518] | ^~~~~~~ [19:02:41.518] In file included from ../../src/include/postgres.h:48, [19:02:41.518] from postgres_fdw.c:13: [19:02:41.518] ../../src/include/c.h: In function ‘postgresBeginForeignScan’: [19:02:41.518] ../../src/include/c.h:832:20: error: ‘rte’ may be used uninitialized [-Werror=maybe-uninitialized] [19:02:41.518] 832 | if (!(condition)) \ [19:02:41.518] | ^ [19:02:41.518] postgres_fdw.c:1623:24: note: ‘rte’ was declared here [19:02:41.518] 1623 | RangeTblEntry *rte; [19:02:41.518] | ^~~ [19:02:41.518] cc1: all warnings being treated as errors [19:02:41.520] make[2]: *** [: postgres_fdw.o] Error 1 [19:02:41.520] make[1]: *** [Makefile:95: all-postgres_fdw-recurse] Error 2 [19:02:41.521] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [19:02:41.521] [19:02:41.521] real 0m39.851s [19:02:41.521] user 1m46.799s [19:02:41.521] sys 0m26.726s [19:02:41.521] [19:02:41.521] Exit status: 2