[19:41:28.142] time ./configure \ [19:41:28.142] --host=x86_64-w64-mingw32 \ [19:41:28.142] --enable-cassert \ [19:41:28.142] --without-icu \ [19:41:28.142] CC="ccache x86_64-w64-mingw32-gcc" \ [19:41:28.142] CXX="ccache x86_64-w64-mingw32-g++" [19:41:28.269] checking build system type... x86_64-pc-linux-gnu [19:41:28.439] checking host system type... x86_64-w64-mingw32 [19:41:28.445] checking which template to use... win32 [19:41:28.446] checking whether NLS is wanted... no [19:41:28.446] checking for default port number... 5432 [19:41:28.453] checking for block size... 8kB [19:41:28.454] checking for segment size... 1GB [19:41:28.457] checking for WAL block size... 8kB [19:41:28.458] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:41:28.495] checking whether the C compiler works... yes [19:41:28.622] checking for C compiler default output file name... a.exe [19:41:28.623] checking for suffix of executables... .exe [19:41:28.670] checking whether we are cross compiling... yes [19:41:28.751] checking for suffix of object files... o [19:41:28.760] checking whether we are using the GNU C compiler... yes [19:41:28.768] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:41:28.776] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:41:28.787] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:41:28.848] checking whether we are using the GNU C++ compiler... yes [19:41:28.856] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:41:29.123] checking for gawk... no [19:41:29.123] checking for mawk... mawk [19:41:29.127] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:41:29.146] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:41:29.153] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:41:29.207] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:41:29.262] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:41:29.270] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:41:29.279] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:41:29.287] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:41:29.295] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:41:29.303] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:41:29.312] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:41:29.320] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:41:29.328] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:41:29.337] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:41:29.345] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:41:29.352] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:41:29.360] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:41:29.401] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:41:29.409] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:41:29.449] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:41:29.457] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:41:29.465] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:41:29.473] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:41:29.501] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:41:29.509] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:41:29.517] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:41:29.560] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:41:29.603] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:41:29.611] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:41:29.619] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:41:29.657] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:41:29.666] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:41:29.674] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:41:29.684] checking whether the C compiler still works... yes [19:41:29.753] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:41:29.831] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:41:29.832] checking pkg-config is at least version 0.9.0... yes [19:41:29.849] checking whether to build with ICU support... no [19:41:29.849] checking whether to build with Tcl... no [19:41:29.849] checking whether to build Perl modules... no [19:41:29.849] checking whether to build Python modules... no [19:41:29.849] checking whether to build with GSSAPI support... no [19:41:29.851] checking whether to build with PAM support... no [19:41:29.851] checking whether to build with BSD Authentication support... no [19:41:29.851] checking whether to build with LDAP support... no [19:41:29.851] checking whether to build with Bonjour support... no [19:41:29.851] checking whether to build with SELinux support... no [19:41:29.851] checking whether to build with systemd support... no [19:41:29.851] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:41:29.852] checking whether to build with XML support... no [19:41:29.852] checking whether to build with LZ4 support... no [19:41:29.852] checking whether to build with ZSTD support... no [19:41:29.852] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:41:29.853] checking whether it is possible to strip libraries... yes [19:41:29.860] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:41:29.861] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:41:29.861] checking for a BSD-compatible install... /usr/bin/install -c [19:41:29.872] checking for tar... /usr/bin/tar [19:41:29.872] checking whether ln -s works... yes [19:41:29.872] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:41:29.875] checking for bison... /usr/bin/bison [19:41:29.878] configure: using bison (GNU Bison) 3.8.2 [19:41:29.881] checking for flex... /usr/bin/flex [19:41:29.883] configure: using flex 2.6.4 [19:41:29.883] checking for perl... /usr/bin/perl [19:41:29.886] configure: using perl 5.36.0 [19:41:29.889] checking for zic... /usr/sbin/zic [19:41:29.889] checking for a sed that does not truncate output... /usr/bin/sed [19:41:29.895] checking for grep that handles long lines and -e... /usr/bin/grep [19:41:29.898] checking for egrep... /usr/bin/grep -E [19:41:29.899] checking for ANSI C header files... yes [19:41:29.953] checking for sys/types.h... yes [19:41:29.971] checking for sys/stat.h... yes [19:41:29.988] checking for stdlib.h... yes [19:41:30.004] checking for string.h... yes [19:41:30.020] checking for memory.h... yes [19:41:30.037] checking for strings.h... yes [19:41:30.055] checking for inttypes.h... yes [19:41:30.074] checking for stdint.h... yes [19:41:30.090] checking for unistd.h... yes [19:41:30.107] checking for main in -lm... yes [19:41:30.160] checking for library containing setproctitle... no [19:41:30.260] checking for library containing dlsym... no [19:41:30.358] checking for library containing socket... -lws2_32 [19:41:30.504] checking for library containing getopt_long... none required [19:41:30.556] checking for library containing shm_open... no [19:41:30.654] checking for library containing shm_unlink... no [19:41:30.754] checking for library containing clock_gettime... no [19:41:30.853] checking for library containing shmget... no [19:41:30.955] checking for library containing backtrace_symbols... no [19:41:31.054] checking for library containing pthread_barrier_wait... -lpthread [19:41:31.154] checking for inflate in -lz... yes [19:41:31.208] checking atomic.h usability... no [19:41:31.273] checking atomic.h presence... no [19:41:31.294] checking for atomic.h... no [19:41:31.297] checking copyfile.h usability... no [19:41:31.358] checking copyfile.h presence... no [19:41:31.379] checking for copyfile.h... no [19:41:31.382] checking execinfo.h usability... no [19:41:31.442] checking execinfo.h presence... no [19:41:31.463] checking for execinfo.h... no [19:41:31.467] checking getopt.h usability... yes [19:41:31.476] checking getopt.h presence... yes [19:41:31.494] checking for getopt.h... yes [19:41:31.503] checking ifaddrs.h usability... no [19:41:31.564] checking ifaddrs.h presence... no [19:41:31.587] checking for ifaddrs.h... no [19:41:31.590] checking mbarrier.h usability... no [19:41:31.651] checking mbarrier.h presence... no [19:41:31.672] checking for mbarrier.h... no [19:41:31.676] checking sys/epoll.h usability... no [19:41:31.737] checking sys/epoll.h presence... no [19:41:31.758] checking for sys/epoll.h... no [19:41:31.762] checking sys/event.h usability... no [19:41:31.822] checking sys/event.h presence... no [19:41:31.843] checking for sys/event.h... no [19:41:31.847] checking sys/personality.h usability... no [19:41:31.906] checking sys/personality.h presence... no [19:41:31.928] checking for sys/personality.h... no [19:41:31.931] checking sys/prctl.h usability... no [19:41:31.992] checking sys/prctl.h presence... no [19:41:32.012] checking for sys/prctl.h... no [19:41:32.016] checking sys/procctl.h usability... no [19:41:32.077] checking sys/procctl.h presence... no [19:41:32.098] checking for sys/procctl.h... no [19:41:32.102] checking sys/signalfd.h usability... no [19:41:32.164] checking sys/signalfd.h presence... no [19:41:32.186] checking for sys/signalfd.h... no [19:41:32.190] checking sys/ucred.h usability... no [19:41:32.251] checking sys/ucred.h presence... no [19:41:32.272] checking for sys/ucred.h... no [19:41:32.276] checking termios.h usability... no [19:41:32.338] checking termios.h presence... no [19:41:32.360] checking for termios.h... no [19:41:32.364] checking ucred.h usability... no [19:41:32.426] checking ucred.h presence... no [19:41:32.447] checking for ucred.h... no [19:41:32.451] checking xlocale.h usability... no [19:41:32.513] checking xlocale.h presence... no [19:41:32.534] checking for xlocale.h... no [19:41:32.537] checking zlib.h usability... yes [19:41:32.548] checking zlib.h presence... yes [19:41:32.570] checking for zlib.h... yes [19:41:32.570] checking for lz4... /usr/bin/lz4 [19:41:32.570] checking for zstd... /usr/bin/zstd [19:41:32.571] checking for openssl... /usr/bin/openssl [19:41:32.575] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [19:41:32.576] checking crtdefs.h usability... yes [19:41:32.585] checking crtdefs.h presence... yes [19:41:32.602] checking for crtdefs.h... yes [19:41:32.603] checking whether byte ordering is bigendian... no [19:41:32.690] checking for inline... inline [19:41:32.699] checking for printf format archetype... gnu_printf [19:41:32.708] checking for _Static_assert... yes [19:41:32.756] checking for typeof... typeof [19:41:32.765] checking for __builtin_types_compatible_p... yes [19:41:32.778] checking for __builtin_constant_p... yes [19:41:32.791] checking for __builtin_mul_overflow... yes [19:41:32.845] checking for __builtin_unreachable... yes [19:41:32.892] checking for computed goto support... yes [19:41:32.901] checking for struct tm.tm_zone... no [19:41:32.990] checking for union semun... no [19:41:33.030] checking for socklen_t... yes [19:41:34.235] checking for struct sockaddr.sa_len... no [19:41:36.434] checking for C/C++ restrict keyword... __restrict [19:41:36.448] checking for struct option... yes [19:41:36.495] checking whether assembler supports x86_64 popcntq... yes [19:41:36.503] checking size of off_t... 4 [19:41:36.731] 0 [19:41:36.731] checking for int timezone... yes [19:41:36.788] checking for backtrace_symbols... no [19:41:36.845] checking for copyfile... no [19:41:36.901] checking for copy_file_range... no [19:41:36.956] checking for elf_aux_info... no [19:41:37.011] checking for getauxval... no [19:41:37.066] checking for getifaddrs... no [19:41:37.122] checking for getpeerucred... no [19:41:37.177] checking for inet_pton... yes [19:41:37.231] checking for kqueue... no [19:41:37.287] checking for mbstowcs_l... no [19:41:37.344] checking for memset_s... no [19:41:37.402] checking for posix_fallocate... no [19:41:37.460] checking for ppoll... no [19:41:37.516] checking for pthread_is_threaded_np... no [19:41:37.574] checking for setproctitle... no [19:41:37.631] checking for setproctitle_fast... no [19:41:37.688] checking for strchrnul... no [19:41:37.742] checking for strsignal... no [19:41:37.797] checking for syncfs... no [19:41:37.851] checking for sync_file_range... no [19:41:37.907] checking for uselocale... no [19:41:37.962] checking for wcstombs_l... no [19:41:38.013] checking for __builtin_bswap16... yes [19:41:38.067] checking for __builtin_bswap32... yes [19:41:38.120] checking for __builtin_bswap64... yes [19:41:38.172] checking for __builtin_clz... yes [19:41:38.226] checking for __builtin_ctz... yes [19:41:38.282] checking for __builtin_popcount... yes [19:41:38.338] checking for __builtin_frame_address... yes [19:41:38.402] checking for _LARGEFILE_SOURCE value needed for large files... no [19:41:38.462] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:41:38.500] checking for posix_fadvise... no [19:41:38.559] checking whether posix_fadvise is declared... no [19:41:38.615] checking whether fdatasync is declared... no [19:41:38.669] checking whether strlcat is declared... no [19:41:38.741] checking whether strlcpy is declared... no [19:41:38.814] checking whether strnlen is declared... yes [19:41:38.829] checking whether strsep is declared... no [19:41:38.902] checking whether preadv is declared... no [19:41:38.942] checking whether pwritev is declared... no [19:41:38.982] checking whether F_FULLFSYNC is declared... no [19:41:39.027] checking for explicit_bzero... no [19:41:39.080] checking for getopt... yes [19:41:39.130] checking for getpeereid... no [19:41:39.183] checking for inet_aton... no [19:41:39.238] checking for mkdtemp... no [19:41:39.291] checking for strlcat... no [19:41:39.344] checking for strlcpy... no [19:41:39.398] checking for strnlen... yes [19:41:39.452] checking for strsep... no [19:41:39.505] checking for pthread_barrier_wait... yes [19:41:39.554] configure: On mingw32 we will use our strtof wrapper. [19:41:39.554] checking for getopt_long... yes [19:41:39.603] checking for syslog... no [19:41:39.657] checking for opterr... yes [19:41:39.709] checking for optreset... no [19:41:39.765] checking test program... cross-compiling [19:41:39.765] checking size of void *... 8 [19:41:40.055] checking size of size_t... 8 [19:41:40.351] checking size of long... 4 [19:41:40.578] checking size of long long... 8 [19:41:40.869] checking alignment of short... 2 [19:41:41.017] checking alignment of int... 4 [19:41:41.243] checking alignment of long... 4 [19:41:41.549] checking alignment of int64_t... 8 [19:41:41.838] checking alignment of double... 8 [19:41:42.129] checking for __int128... yes [19:41:42.185] checking for __int128 alignment bug... assuming ok [19:41:42.185] checking alignment of PG_INT128_TYPE... 16 [19:41:42.547] checking for builtin __sync char locking functions... yes [19:41:42.595] checking for builtin __sync int32 locking functions... yes [19:41:42.642] checking for builtin __sync int32 atomic operations... yes [19:41:42.691] checking for builtin __sync int64 atomic operations... yes [19:41:42.742] checking for builtin __atomic int32 atomic operations... yes [19:41:42.790] checking for builtin __atomic int64 atomic operations... yes [19:41:42.840] checking for __get_cpuid... yes [19:41:42.892] checking for __get_cpuid_count... yes [19:41:42.943] checking for __cpuid... no [19:41:43.370] checking for __cpuidex... no [19:41:43.815] checking for _xgetbv... yes [19:41:44.237] checking for _mm512_popcnt_epi64... yes [19:41:44.675] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [19:41:44.786] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:41:44.812] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [19:41:44.835] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:41:44.856] 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:41:44.918] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:41:44.918] checking which random number source to use... Windows native [19:41:44.921] checking for xmllint... /usr/bin/xmllint [19:41:44.921] checking for xsltproc... /usr/bin/xsltproc [19:41:44.921] checking for fop... /usr/bin/fop [19:41:44.921] checking for dbtoepub... no [19:41:44.922] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:41:44.922] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:41:44.922] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:41:44.934] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [19:41:44.934] 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:41:44.934] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:41:44.934] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:41:45.034] configure: creating ./config.status [19:41:45.132] config.status: creating GNUmakefile [19:41:45.146] config.status: creating src/Makefile.global [19:41:45.164] config.status: creating src/include/pg_config.h [19:41:45.179] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:41:45.196] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:41:45.204] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:41:45.212] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:41:45.221] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:41:45.229] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:41:45.232] config.status: executing check_win32_symlinks commands [19:41:45.270] [19:41:45.270] real 0m17.128s [19:41:45.270] user 0m11.364s [19:41:45.270] sys 0m5.499s [19:41:45.270] make -s -j${BUILD_JOBS} clean [19:41:45.826] time make -s -j${BUILD_JOBS} world-bin [19:42:23.108] postgres_fdw.c: In function ‘postgresExplainForeignScan’: [19:42:23.108] postgres_fdw.c:3112:37: error: ‘relname’ may be used uninitialized [-Werror=maybe-uninitialized] [19:42:23.108] 3112 | if (strcmp(refname, relname) != 0) [19:42:23.108] | ^~~~~~~~~~~~~~~~~~~~~~~~ [19:42:23.108] postgres_fdw.c:3043:45: note: ‘relname’ was declared here [19:42:23.108] 3043 | char *relname; [19:42:23.108] | ^~~~~~~ [19:42:23.108] In file included from ../../src/include/postgres.h:48, [19:42:23.108] from postgres_fdw.c:13: [19:42:23.108] ../../src/include/c.h: In function ‘postgresBeginForeignScan’: [19:42:23.108] ../../src/include/c.h:832:20: error: ‘rte’ may be used uninitialized [-Werror=maybe-uninitialized] [19:42:23.108] 832 | if (!(condition)) \ [19:42:23.108] | ^ [19:42:23.108] postgres_fdw.c:1623:24: note: ‘rte’ was declared here [19:42:23.108] 1623 | RangeTblEntry *rte; [19:42:23.108] | ^~~ [19:42:23.108] cc1: all warnings being treated as errors [19:42:23.110] make[2]: *** [: postgres_fdw.o] Error 1 [19:42:23.110] make[1]: *** [Makefile:95: all-postgres_fdw-recurse] Error 2 [19:42:23.110] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [19:42:23.111] [19:42:23.111] real 0m37.285s [19:42:23.111] user 1m32.992s [19:42:23.111] sys 0m26.070s [19:42:23.111] [19:42:23.111] Exit status: 2