[18:22:34.902] time ./configure \ [18:22:34.902] --host=x86_64-w64-mingw32 \ [18:22:34.902] --enable-cassert \ [18:22:34.902] --without-icu \ [18:22:34.902] CC="ccache x86_64-w64-mingw32-gcc" \ [18:22:34.902] CXX="ccache x86_64-w64-mingw32-g++" [18:22:35.026] checking build system type... x86_64-pc-linux-gnu [18:22:35.227] checking host system type... x86_64-w64-mingw32 [18:22:35.233] checking which template to use... win32 [18:22:35.233] checking whether NLS is wanted... no [18:22:35.233] checking for default port number... 5432 [18:22:35.240] checking for block size... 8kB [18:22:35.242] checking for segment size... 1GB [18:22:35.244] checking for WAL block size... 8kB [18:22:35.246] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:22:35.283] checking whether the C compiler works... yes [18:22:35.418] checking for C compiler default output file name... a.exe [18:22:35.419] checking for suffix of executables... .exe [18:22:35.462] checking whether we are cross compiling... yes [18:22:35.538] checking for suffix of object files... o [18:22:35.558] checking whether we are using the GNU C compiler... yes [18:22:35.565] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:22:35.572] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:22:35.583] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:22:35.647] checking whether we are using the GNU C++ compiler... yes [18:22:35.655] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:22:35.731] checking for gawk... no [18:22:35.731] checking for mawk... mawk [18:22:35.733] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:22:35.741] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:22:35.748] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:22:35.798] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:22:35.966] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:22:35.974] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:22:35.981] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:22:35.989] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:22:35.997] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:22:36.004] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:22:36.011] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:22:36.046] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:22:36.053] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:22:36.060] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:22:36.067] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:22:36.101] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:22:36.109] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:22:36.146] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:22:36.152] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:22:36.159] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:22:36.166] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:22:36.172] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:22:36.178] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:22:36.201] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:22:36.208] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:22:36.242] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:22:36.282] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:22:36.323] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:22:36.340] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:22:36.348] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:22:36.385] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:22:36.392] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:22:36.400] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:22:36.409] checking whether the C compiler still works... yes [18:22:36.475] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:22:36.552] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:22:36.553] checking pkg-config is at least version 0.9.0... yes [18:22:36.569] checking whether to build with ICU support... no [18:22:36.570] checking whether to build with Tcl... no [18:22:36.570] checking whether to build Perl modules... no [18:22:36.570] checking whether to build Python modules... no [18:22:36.570] checking whether to build with GSSAPI support... no [18:22:36.571] checking whether to build with PAM support... no [18:22:36.571] checking whether to build with BSD Authentication support... no [18:22:36.571] checking whether to build with LDAP support... no [18:22:36.571] checking whether to build with Bonjour support... no [18:22:36.572] checking whether to build with SELinux support... no [18:22:36.572] checking whether to build with systemd support... no [18:22:36.572] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:22:36.572] checking whether to build with XML support... no [18:22:36.572] checking whether to build with LZ4 support... no [18:22:36.572] checking whether to build with ZSTD support... no [18:22:36.573] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:22:36.573] checking whether it is possible to strip libraries... yes [18:22:36.580] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:22:36.580] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:22:36.581] checking for a BSD-compatible install... /usr/bin/install -c [18:22:36.591] checking for tar... /usr/bin/tar [18:22:36.591] checking whether ln -s works... yes [18:22:36.591] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:22:36.593] checking for bison... /usr/bin/bison [18:22:36.596] configure: using bison (GNU Bison) 3.8.2 [18:22:36.599] checking for flex... /usr/bin/flex [18:22:36.612] configure: using flex 2.6.4 [18:22:36.613] checking for perl... /usr/bin/perl [18:22:36.616] configure: using perl 5.36.0 [18:22:36.618] checking for zic... /usr/sbin/zic [18:22:36.618] checking for a sed that does not truncate output... /usr/bin/sed [18:22:36.624] checking for grep that handles long lines and -e... /usr/bin/grep [18:22:36.626] checking for egrep... /usr/bin/grep -E [18:22:36.628] checking for ANSI C header files... yes [18:22:36.681] checking for sys/types.h... yes [18:22:36.698] checking for sys/stat.h... yes [18:22:36.715] checking for stdlib.h... yes [18:22:36.731] checking for string.h... yes [18:22:36.746] checking for memory.h... yes [18:22:36.763] checking for strings.h... yes [18:22:36.780] checking for inttypes.h... yes [18:22:36.798] checking for stdint.h... yes [18:22:36.815] checking for unistd.h... yes [18:22:36.887] checking for main in -lm... yes [18:22:36.937] checking for library containing setproctitle... no [18:22:37.032] checking for library containing dlsym... no [18:22:37.122] checking for library containing socket... -lws2_32 [18:22:37.254] checking for library containing getopt_long... none required [18:22:37.301] checking for library containing shm_open... no [18:22:37.389] checking for library containing shm_unlink... no [18:22:37.480] checking for library containing clock_gettime... no [18:22:37.570] checking for library containing shmget... no [18:22:37.660] checking for library containing backtrace_symbols... no [18:22:37.749] checking for library containing pthread_barrier_wait... -lpthread [18:22:37.839] checking for inflate in -lz... yes [18:22:37.887] checking atomic.h usability... no [18:22:37.942] checking atomic.h presence... no [18:22:37.963] checking for atomic.h... no [18:22:37.966] checking copyfile.h usability... no [18:22:38.025] checking copyfile.h presence... no [18:22:38.046] checking for copyfile.h... no [18:22:38.049] checking execinfo.h usability... no [18:22:38.106] checking execinfo.h presence... no [18:22:38.125] checking for execinfo.h... no [18:22:38.129] checking getopt.h usability... yes [18:22:38.137] checking getopt.h presence... yes [18:22:38.152] checking for getopt.h... yes [18:22:38.160] checking ifaddrs.h usability... no [18:22:38.216] checking ifaddrs.h presence... no [18:22:38.236] checking for ifaddrs.h... no [18:22:38.240] checking mbarrier.h usability... no [18:22:38.298] checking mbarrier.h presence... no [18:22:38.318] checking for mbarrier.h... no [18:22:38.322] checking sys/epoll.h usability... no [18:22:38.380] checking sys/epoll.h presence... no [18:22:38.401] checking for sys/epoll.h... no [18:22:38.404] checking sys/event.h usability... no [18:22:38.458] checking sys/event.h presence... no [18:22:38.479] checking for sys/event.h... no [18:22:38.482] checking sys/personality.h usability... no [18:22:38.539] checking sys/personality.h presence... no [18:22:38.559] checking for sys/personality.h... no [18:22:38.563] checking sys/prctl.h usability... no [18:22:38.622] checking sys/prctl.h presence... no [18:22:38.641] checking for sys/prctl.h... no [18:22:38.644] checking sys/procctl.h usability... no [18:22:38.701] checking sys/procctl.h presence... no [18:22:38.723] checking for sys/procctl.h... no [18:22:38.727] checking sys/signalfd.h usability... no [18:22:38.784] checking sys/signalfd.h presence... no [18:22:38.805] checking for sys/signalfd.h... no [18:22:38.809] checking sys/ucred.h usability... no [18:22:38.868] checking sys/ucred.h presence... no [18:22:38.889] checking for sys/ucred.h... no [18:22:38.893] checking termios.h usability... no [18:22:38.951] checking termios.h presence... no [18:22:38.972] checking for termios.h... no [18:22:38.976] checking ucred.h usability... no [18:22:39.032] checking ucred.h presence... no [18:22:39.052] checking for ucred.h... no [18:22:39.055] checking xlocale.h usability... no [18:22:39.113] checking xlocale.h presence... no [18:22:39.133] checking for xlocale.h... no [18:22:39.136] checking zlib.h usability... yes [18:22:39.147] checking zlib.h presence... yes [18:22:39.167] checking for zlib.h... yes [18:22:39.167] checking for lz4... /usr/bin/lz4 [18:22:39.167] checking for zstd... /usr/bin/zstd [18:22:39.167] checking for openssl... /usr/bin/openssl [18:22:39.171] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [18:22:39.172] checking crtdefs.h usability... yes [18:22:39.180] checking crtdefs.h presence... yes [18:22:39.196] checking for crtdefs.h... yes [18:22:39.197] checking whether byte ordering is bigendian... no [18:22:39.276] checking for inline... inline [18:22:39.283] checking for printf format archetype... gnu_printf [18:22:39.292] checking for _Static_assert... yes [18:22:39.334] checking for typeof... typeof [18:22:39.342] checking for __builtin_types_compatible_p... yes [18:22:39.354] checking for __builtin_constant_p... yes [18:22:39.365] checking for __builtin_mul_overflow... yes [18:22:39.413] checking for __builtin_unreachable... yes [18:22:39.455] checking for computed goto support... yes [18:22:39.462] checking for struct tm.tm_zone... no [18:22:39.538] checking for union semun... no [18:22:39.574] checking for socklen_t... yes [18:22:40.811] checking for struct sockaddr.sa_len... no [18:22:42.844] checking for C/C++ restrict keyword... __restrict [18:22:42.858] checking for struct option... yes [18:22:42.902] checking whether assembler supports x86_64 popcntq... yes [18:22:42.909] checking size of off_t... 4 [18:22:43.116] 0 [18:22:43.116] checking for int timezone... yes [18:22:43.171] checking for backtrace_symbols... no [18:22:43.224] checking for copyfile... no [18:22:43.276] checking for copy_file_range... no [18:22:43.327] checking for elf_aux_info... no [18:22:43.378] checking for getauxval... no [18:22:43.429] checking for getifaddrs... no [18:22:43.480] checking for getpeerucred... no [18:22:43.532] checking for inet_pton... yes [18:22:43.583] checking for kqueue... no [18:22:43.636] checking for mbstowcs_l... no [18:22:43.689] checking for memset_s... no [18:22:43.741] checking for posix_fallocate... no [18:22:43.793] checking for ppoll... no [18:22:43.846] checking for pthread_is_threaded_np... no [18:22:43.899] checking for setproctitle... no [18:22:43.952] checking for setproctitle_fast... no [18:22:44.005] checking for strchrnul... no [18:22:44.056] checking for strsignal... no [18:22:44.111] checking for syncfs... no [18:22:44.162] checking for sync_file_range... no [18:22:44.214] checking for uselocale... no [18:22:44.268] checking for wcstombs_l... no [18:22:44.317] checking for __builtin_bswap16... yes [18:22:44.368] checking for __builtin_bswap32... yes [18:22:44.420] checking for __builtin_bswap64... yes [18:22:44.468] checking for __builtin_clz... yes [18:22:44.517] checking for __builtin_ctz... yes [18:22:44.566] checking for __builtin_popcount... yes [18:22:44.617] checking for __builtin_frame_address... yes [18:22:44.667] checking for _LARGEFILE_SOURCE value needed for large files... no [18:22:44.720] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:22:44.752] checking for posix_fadvise... no [18:22:44.804] checking whether posix_fadvise is declared... no [18:22:44.853] checking whether fdatasync is declared... no [18:22:44.901] checking whether strlcat is declared... no [18:22:44.970] checking whether strlcpy is declared... no [18:22:45.037] checking whether strnlen is declared... yes [18:22:45.107] checking whether strsep is declared... no [18:22:45.173] checking whether preadv is declared... no [18:22:45.214] checking whether pwritev is declared... no [18:22:45.254] checking whether F_FULLFSYNC is declared... no [18:22:45.297] checking for explicit_bzero... no [18:22:45.348] checking for getopt... yes [18:22:45.393] checking for getpeereid... no [18:22:45.443] checking for inet_aton... no [18:22:45.492] checking for mkdtemp... no [18:22:45.541] checking for strlcat... no [18:22:45.590] checking for strlcpy... no [18:22:45.639] checking for strnlen... yes [18:22:45.688] checking for strsep... no [18:22:45.738] checking for pthread_barrier_wait... yes [18:22:45.783] configure: On mingw32 we will use our strtof wrapper. [18:22:45.783] checking for getopt_long... yes [18:22:45.831] checking for syslog... no [18:22:45.882] checking for opterr... yes [18:22:45.931] checking for optreset... no [18:22:45.983] checking test program... cross-compiling [18:22:45.983] checking size of void *... 8 [18:22:46.337] checking size of size_t... 8 [18:22:46.669] checking size of long... 4 [18:22:46.902] checking size of long long... 8 [18:22:47.194] checking alignment of short... 2 [18:22:47.339] checking alignment of int... 4 [18:22:47.546] checking alignment of long... 4 [18:22:47.757] checking alignment of int64_t... 8 [18:22:48.031] checking alignment of double... 8 [18:22:48.415] checking for __int128... yes [18:22:48.466] checking for __int128 alignment bug... assuming ok [18:22:48.466] checking alignment of PG_INT128_TYPE... 16 [18:22:48.859] checking for builtin __sync char locking functions... yes [18:22:48.902] checking for builtin __sync int32 locking functions... yes [18:22:48.944] checking for builtin __sync int32 atomic operations... yes [18:22:48.986] checking for builtin __sync int64 atomic operations... yes [18:22:49.029] checking for builtin __atomic int32 atomic operations... yes [18:22:49.071] checking for builtin __atomic int64 atomic operations... yes [18:22:49.116] checking for __get_cpuid... yes [18:22:49.162] checking for __get_cpuid_count... yes [18:22:49.206] checking for __cpuid... no [18:22:49.602] checking for __cpuidex... no [18:22:50.018] checking for _xgetbv... yes [18:22:50.423] checking for _mm512_popcnt_epi64... yes [18:22:50.836] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [18:22:50.941] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:22:50.965] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [18:22:50.985] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:22:51.006] 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:22:51.062] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:22:51.063] checking which random number source to use... Windows native [18:22:51.065] checking for xmllint... /usr/bin/xmllint [18:22:51.065] checking for xsltproc... /usr/bin/xsltproc [18:22:51.065] checking for fop... /usr/bin/fop [18:22:51.065] checking for dbtoepub... no [18:22:51.065] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:22:51.066] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:22:51.066] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:22:51.077] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:22:51.077] 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:22:51.077] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:22:51.077] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:22:51.164] configure: creating ./config.status [18:22:51.255] config.status: creating GNUmakefile [18:22:51.268] config.status: creating src/Makefile.global [18:22:51.286] config.status: creating src/include/pg_config.h [18:22:51.300] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:22:51.317] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:22:51.325] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:22:51.333] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:22:51.340] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:22:51.348] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:22:51.352] config.status: executing check_win32_symlinks commands [18:22:51.387] [18:22:51.387] real 0m16.485s [18:22:51.387] user 0m10.754s [18:22:51.387] sys 0m5.403s [18:22:51.387] make -s -j${BUILD_JOBS} clean [18:22:51.918] time make -s -j${BUILD_JOBS} world-bin [18:23:57.980] postgres_fdw.c: In function ‘postgresExplainForeignScan’: [18:23:57.980] postgres_fdw.c:3112:37: error: ‘relname’ may be used uninitialized [-Werror=maybe-uninitialized] [18:23:57.980] 3112 | if (strcmp(refname, relname) != 0) [18:23:57.980] | ^~~~~~~~~~~~~~~~~~~~~~~~ [18:23:57.980] postgres_fdw.c:3043:45: note: ‘relname’ was declared here [18:23:57.980] 3043 | char *relname; [18:23:57.980] | ^~~~~~~ [18:23:57.980] In file included from ../../src/include/postgres.h:45, [18:23:57.980] from postgres_fdw.c:13: [18:23:57.980] ../../src/include/c.h: In function ‘postgresBeginForeignScan’: [18:23:57.980] ../../src/include/c.h:829:20: error: ‘rte’ may be used uninitialized [-Werror=maybe-uninitialized] [18:23:57.980] 829 | if (!(condition)) \ [18:23:57.980] | ^ [18:23:57.980] postgres_fdw.c:1623:24: note: ‘rte’ was declared here [18:23:57.980] 1623 | RangeTblEntry *rte; [18:23:57.980] | ^~~ [18:23:57.980] cc1: all warnings being treated as errors [18:23:57.982] make[2]: *** [: postgres_fdw.o] Error 1 [18:23:57.982] make[1]: *** [Makefile:95: all-postgres_fdw-recurse] Error 2 [18:23:57.983] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [18:23:57.983] [18:23:57.983] real 1m6.065s [18:23:57.983] user 3m1.098s [18:23:57.983] sys 0m42.903s [18:23:57.983] [18:23:57.983] Exit status: 2