[18:03:36.066] time ./configure \ [18:03:36.066] --host=x86_64-w64-mingw32 \ [18:03:36.066] --enable-cassert \ [18:03:36.066] --without-icu \ [18:03:36.066] CC="ccache x86_64-w64-mingw32-gcc" \ [18:03:36.066] CXX="ccache x86_64-w64-mingw32-g++" [18:03:36.186] checking build system type... x86_64-pc-linux-gnu [18:03:36.357] checking host system type... x86_64-w64-mingw32 [18:03:36.362] checking which template to use... win32 [18:03:36.363] checking whether NLS is wanted... no [18:03:36.363] checking for default port number... 5432 [18:03:36.370] checking for block size... 8kB [18:03:36.371] checking for segment size... 1GB [18:03:36.374] checking for WAL block size... 8kB [18:03:36.375] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:03:36.411] checking whether the C compiler works... yes [18:03:36.537] checking for C compiler default output file name... a.exe [18:03:36.538] checking for suffix of executables... .exe [18:03:36.581] checking whether we are cross compiling... yes [18:03:36.658] checking for suffix of object files... o [18:03:36.667] checking whether we are using the GNU C compiler... yes [18:03:36.674] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:03:36.682] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:03:36.692] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:03:36.754] checking whether we are using the GNU C++ compiler... yes [18:03:36.761] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:03:37.005] checking for gawk... no [18:03:37.005] checking for mawk... mawk [18:03:37.008] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:03:37.025] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:03:37.033] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:03:37.082] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:03:37.129] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:03:37.137] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:03:37.144] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:03:37.179] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:03:37.186] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:03:37.194] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:03:37.211] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:03:37.226] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:03:37.233] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:03:37.241] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:03:37.278] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:03:37.286] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:03:37.295] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:03:37.333] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:03:37.341] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:03:37.377] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:03:37.385] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:03:37.392] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:03:37.400] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:03:37.426] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:03:37.434] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:03:37.442] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:03:37.482] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:03:37.523] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:03:37.531] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:03:37.539] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:03:37.575] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:03:37.583] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:03:37.591] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:03:37.600] checking whether the C compiler still works... yes [18:03:37.666] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:03:37.746] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:03:37.746] checking pkg-config is at least version 0.9.0... yes [18:03:37.763] checking whether to build with ICU support... no [18:03:37.763] checking whether to build with Tcl... no [18:03:37.763] checking whether to build Perl modules... no [18:03:37.763] checking whether to build Python modules... no [18:03:37.764] checking whether to build with GSSAPI support... no [18:03:37.765] checking whether to build with PAM support... no [18:03:37.765] checking whether to build with BSD Authentication support... no [18:03:37.765] checking whether to build with LDAP support... no [18:03:37.765] checking whether to build with Bonjour support... no [18:03:37.765] checking whether to build with SELinux support... no [18:03:37.765] checking whether to build with systemd support... no [18:03:37.766] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:03:37.766] checking whether to build with XML support... no [18:03:37.766] checking whether to build with LZ4 support... no [18:03:37.766] checking whether to build with ZSTD support... no [18:03:37.766] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:03:37.767] checking whether it is possible to strip libraries... yes [18:03:37.774] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:03:37.775] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:03:37.775] checking for a BSD-compatible install... /usr/bin/install -c [18:03:37.785] checking for tar... /usr/bin/tar [18:03:37.786] checking whether ln -s works... yes [18:03:37.786] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:03:37.788] checking for bison... /usr/bin/bison [18:03:37.791] configure: using bison (GNU Bison) 3.8.2 [18:03:37.794] checking for flex... /usr/bin/flex [18:03:37.796] configure: using flex 2.6.4 [18:03:37.796] checking for perl... /usr/bin/perl [18:03:37.799] configure: using perl 5.36.0 [18:03:37.801] checking for zic... /usr/sbin/zic [18:03:37.802] checking for a sed that does not truncate output... /usr/bin/sed [18:03:37.807] checking for grep that handles long lines and -e... /usr/bin/grep [18:03:37.809] checking for egrep... /usr/bin/grep -E [18:03:37.811] checking for ANSI C header files... yes [18:03:37.860] checking for sys/types.h... yes [18:03:37.878] checking for sys/stat.h... yes [18:03:37.895] checking for stdlib.h... yes [18:03:37.932] checking for string.h... yes [18:03:37.948] checking for memory.h... yes [18:03:37.963] checking for strings.h... yes [18:03:37.979] checking for inttypes.h... yes [18:03:38.048] checking for stdint.h... yes [18:03:38.064] checking for unistd.h... yes [18:03:38.081] checking for main in -lm... yes [18:03:38.132] checking for library containing setproctitle... no [18:03:38.228] checking for library containing dlsym... no [18:03:38.320] checking for library containing socket... -lws2_32 [18:03:38.458] checking for library containing getopt_long... none required [18:03:38.508] checking for library containing shm_open... no [18:03:38.600] checking for library containing shm_unlink... no [18:03:38.693] checking for library containing clock_gettime... no [18:03:38.786] checking for library containing shmget... no [18:03:38.880] checking for library containing backtrace_symbols... no [18:03:38.974] checking for library containing pthread_barrier_wait... -lpthread [18:03:39.069] checking for inflate in -lz... yes [18:03:39.120] checking atomic.h usability... no [18:03:39.182] checking atomic.h presence... no [18:03:39.203] checking for atomic.h... no [18:03:39.206] checking copyfile.h usability... no [18:03:39.266] checking copyfile.h presence... no [18:03:39.286] checking for copyfile.h... no [18:03:39.290] checking execinfo.h usability... no [18:03:39.349] checking execinfo.h presence... no [18:03:39.370] checking for execinfo.h... no [18:03:39.374] checking getopt.h usability... yes [18:03:39.382] checking getopt.h presence... yes [18:03:39.399] checking for getopt.h... yes [18:03:39.408] checking ifaddrs.h usability... no [18:03:39.467] checking ifaddrs.h presence... no [18:03:39.489] checking for ifaddrs.h... no [18:03:39.492] checking mbarrier.h usability... no [18:03:39.551] checking mbarrier.h presence... no [18:03:39.571] checking for mbarrier.h... no [18:03:39.574] checking sys/epoll.h usability... no [18:03:39.631] checking sys/epoll.h presence... no [18:03:39.652] checking for sys/epoll.h... no [18:03:39.656] checking sys/event.h usability... no [18:03:39.712] checking sys/event.h presence... no [18:03:39.732] checking for sys/event.h... no [18:03:39.736] checking sys/personality.h usability... no [18:03:39.790] checking sys/personality.h presence... no [18:03:39.809] checking for sys/personality.h... no [18:03:39.813] checking sys/prctl.h usability... no [18:03:39.872] checking sys/prctl.h presence... no [18:03:39.893] checking for sys/prctl.h... no [18:03:39.897] checking sys/procctl.h usability... no [18:03:39.973] checking sys/procctl.h presence... no [18:03:39.994] checking for sys/procctl.h... no [18:03:39.998] checking sys/signalfd.h usability... no [18:03:40.058] checking sys/signalfd.h presence... no [18:03:40.078] checking for sys/signalfd.h... no [18:03:40.082] checking sys/ucred.h usability... no [18:03:40.140] checking sys/ucred.h presence... no [18:03:40.161] checking for sys/ucred.h... no [18:03:40.164] checking termios.h usability... no [18:03:40.224] checking termios.h presence... no [18:03:40.246] checking for termios.h... no [18:03:40.249] checking ucred.h usability... no [18:03:40.308] checking ucred.h presence... no [18:03:40.329] checking for ucred.h... no [18:03:40.332] checking xlocale.h usability... no [18:03:40.391] checking xlocale.h presence... no [18:03:40.412] checking for xlocale.h... no [18:03:40.415] checking zlib.h usability... yes [18:03:40.426] checking zlib.h presence... yes [18:03:40.447] checking for zlib.h... yes [18:03:40.447] checking for lz4... /usr/bin/lz4 [18:03:40.447] checking for zstd... /usr/bin/zstd [18:03:40.448] checking for openssl... /usr/bin/openssl [18:03:40.452] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [18:03:40.453] checking crtdefs.h usability... yes [18:03:40.461] checking crtdefs.h presence... yes [18:03:40.479] checking for crtdefs.h... yes [18:03:40.480] checking whether byte ordering is bigendian... no [18:03:40.562] checking for inline... inline [18:03:40.570] checking for printf format archetype... gnu_printf [18:03:40.589] checking for _Static_assert... yes [18:03:40.633] checking for typeof... typeof [18:03:40.641] checking for __builtin_types_compatible_p... yes [18:03:40.652] checking for __builtin_constant_p... yes [18:03:40.674] checking for __builtin_mul_overflow... yes [18:03:40.723] checking for __builtin_unreachable... yes [18:03:40.765] checking for computed goto support... yes [18:03:40.802] checking for struct tm.tm_zone... no [18:03:40.884] checking for union semun... no [18:03:40.921] checking for socklen_t... yes [18:03:42.549] checking for struct sockaddr.sa_len... no [18:03:44.625] checking for C/C++ restrict keyword... __restrict [18:03:44.640] checking for struct option... yes [18:03:44.720] checking whether assembler supports x86_64 popcntq... yes [18:03:44.729] checking size of off_t... 4 [18:03:45.003] 0 [18:03:45.004] checking for int timezone... yes [18:03:45.058] checking for backtrace_symbols... no [18:03:45.113] checking for copyfile... no [18:03:45.166] checking for copy_file_range... no [18:03:45.221] checking for elf_aux_info... no [18:03:45.277] checking for getauxval... no [18:03:45.330] checking for getifaddrs... no [18:03:45.383] checking for getpeerucred... no [18:03:45.436] checking for inet_pton... yes [18:03:45.490] checking for kqueue... no [18:03:45.542] checking for mbstowcs_l... no [18:03:45.592] checking for memset_s... no [18:03:45.645] checking for posix_fallocate... no [18:03:45.698] checking for ppoll... no [18:03:45.750] checking for pthread_is_threaded_np... no [18:03:45.804] checking for setproctitle... no [18:03:45.859] checking for setproctitle_fast... no [18:03:45.912] checking for strchrnul... no [18:03:45.965] checking for strsignal... no [18:03:46.019] checking for syncfs... no [18:03:46.074] checking for sync_file_range... no [18:03:46.128] checking for uselocale... no [18:03:46.180] checking for wcstombs_l... no [18:03:46.228] checking for __builtin_bswap16... yes [18:03:46.282] checking for __builtin_bswap32... yes [18:03:46.331] checking for __builtin_bswap64... yes [18:03:46.383] checking for __builtin_clz... yes [18:03:46.434] checking for __builtin_ctz... yes [18:03:46.484] checking for __builtin_popcount... yes [18:03:46.536] checking for __builtin_frame_address... yes [18:03:46.587] checking for _LARGEFILE_SOURCE value needed for large files... no [18:03:46.644] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:03:46.680] checking for posix_fadvise... no [18:03:46.738] checking whether posix_fadvise is declared... no [18:03:46.788] checking whether fdatasync is declared... no [18:03:46.839] checking whether strlcat is declared... no [18:03:46.909] checking whether strlcpy is declared... no [18:03:46.978] checking whether strnlen is declared... yes [18:03:47.016] checking whether strsep is declared... no [18:03:47.087] checking whether preadv is declared... no [18:03:47.128] checking whether pwritev is declared... no [18:03:47.169] checking whether F_FULLFSYNC is declared... no [18:03:47.212] checking for explicit_bzero... no [18:03:47.261] checking for getopt... yes [18:03:47.306] checking for getpeereid... no [18:03:47.354] checking for inet_aton... no [18:03:47.403] checking for mkdtemp... no [18:03:47.455] checking for strlcat... no [18:03:47.506] checking for strlcpy... no [18:03:47.559] checking for strnlen... yes [18:03:47.610] checking for strsep... no [18:03:47.659] checking for pthread_barrier_wait... yes [18:03:47.705] configure: On mingw32 we will use our strtof wrapper. [18:03:47.706] checking for getopt_long... yes [18:03:47.752] checking for syslog... no [18:03:47.802] checking for opterr... yes [18:03:47.851] checking for optreset... no [18:03:47.905] checking test program... cross-compiling [18:03:47.905] checking size of void *... 8 [18:03:48.251] checking size of size_t... 8 [18:03:48.597] checking size of long... 4 [18:03:48.836] checking size of long long... 8 [18:03:49.178] checking alignment of short... 2 [18:03:49.328] checking alignment of int... 4 [18:03:49.552] checking alignment of long... 4 [18:03:49.850] checking alignment of int64_t... 8 [18:03:50.161] checking alignment of double... 8 [18:03:50.457] checking for __int128... yes [18:03:50.509] checking for __int128 alignment bug... assuming ok [18:03:50.510] checking alignment of PG_INT128_TYPE... 16 [18:03:50.869] checking for builtin __sync char locking functions... yes [18:03:50.914] checking for builtin __sync int32 locking functions... yes [18:03:50.960] checking for builtin __sync int32 atomic operations... yes [18:03:51.005] checking for builtin __sync int64 atomic operations... yes [18:03:51.052] checking for builtin __atomic int32 atomic operations... yes [18:03:51.097] checking for builtin __atomic int64 atomic operations... yes [18:03:51.145] checking for __get_cpuid... yes [18:03:51.196] checking for __get_cpuid_count... yes [18:03:51.243] checking for __cpuid... no [18:03:51.660] checking for __cpuidex... no [18:03:52.078] checking for _xgetbv... yes [18:03:52.484] checking for _mm512_popcnt_epi64... yes [18:03:52.915] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [18:03:53.018] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:03:53.042] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [18:03:53.063] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:03:53.083] 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 [18:03:53.139] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:03:53.139] checking which random number source to use... Windows native [18:03:53.141] checking for xmllint... /usr/bin/xmllint [18:03:53.142] checking for xsltproc... /usr/bin/xsltproc [18:03:53.142] checking for fop... /usr/bin/fop [18:03:53.142] checking for dbtoepub... no [18:03:53.142] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:03:53.142] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:03:53.143] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:03:53.153] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:03:53.153] 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 [18:03:53.153] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:03:53.153] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:03:53.244] configure: creating ./config.status [18:03:53.332] config.status: creating GNUmakefile [18:03:53.345] config.status: creating src/Makefile.global [18:03:53.362] config.status: creating src/include/pg_config.h [18:03:53.375] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:03:53.392] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:03:53.400] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:03:53.408] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:03:53.416] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:03:53.424] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:03:53.428] config.status: executing check_win32_symlinks commands [18:03:53.464] [18:03:53.464] real 0m17.397s [18:03:53.464] user 0m11.336s [18:03:53.464] sys 0m5.761s [18:03:53.464] make -s -j${BUILD_JOBS} clean [18:03:54.008] time make -s -j${BUILD_JOBS} world-bin [18:06:32.652] postgres_fdw.c: In function ‘postgresExplainForeignScan’: [18:06:32.652] postgres_fdw.c:3112:37: error: ‘relname’ may be used uninitialized [-Werror=maybe-uninitialized] [18:06:32.652] 3112 | if (strcmp(refname, relname) != 0) [18:06:32.652] | ^~~~~~~~~~~~~~~~~~~~~~~~ [18:06:32.652] postgres_fdw.c:3043:45: note: ‘relname’ was declared here [18:06:32.652] 3043 | char *relname; [18:06:32.652] | ^~~~~~~ [18:06:32.652] In file included from ../../src/include/postgres.h:48, [18:06:32.652] from postgres_fdw.c:13: [18:06:32.652] ../../src/include/c.h: In function ‘postgresBeginForeignScan’: [18:06:32.652] ../../src/include/c.h:832:20: error: ‘rte’ may be used uninitialized [-Werror=maybe-uninitialized] [18:06:32.652] 832 | if (!(condition)) \ [18:06:32.652] | ^ [18:06:32.652] postgres_fdw.c:1623:24: note: ‘rte’ was declared here [18:06:32.652] 1623 | RangeTblEntry *rte; [18:06:32.652] | ^~~ [18:06:32.652] cc1: all warnings being treated as errors [18:06:32.654] make[2]: *** [: postgres_fdw.o] Error 1 [18:06:32.654] make[1]: *** [Makefile:95: all-postgres_fdw-recurse] Error 2 [18:06:32.654] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [18:06:32.655] [18:06:32.655] real 2m38.648s [18:06:32.655] user 8m11.460s [18:06:32.655] sys 1m39.767s [18:06:32.655] [18:06:32.655] Exit status: 2