[12:19:24.284] time ./configure \ [12:19:24.284] --host=x86_64-w64-mingw32 \ [12:19:24.284] --enable-cassert \ [12:19:24.284] --without-icu \ [12:19:24.284] CC="ccache x86_64-w64-mingw32-gcc" \ [12:19:24.284] CXX="ccache x86_64-w64-mingw32-g++" [12:19:24.395] checking build system type... x86_64-pc-linux-gnu [12:19:24.582] checking host system type... x86_64-w64-mingw32 [12:19:24.587] checking which template to use... win32 [12:19:24.587] checking whether NLS is wanted... no [12:19:24.587] checking for default port number... 5432 [12:19:24.593] checking for block size... 8kB [12:19:24.595] checking for segment size... 1GB [12:19:24.597] checking for WAL block size... 8kB [12:19:24.598] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [12:19:24.632] checking whether the C compiler works... yes [12:19:24.767] checking for C compiler default output file name... a.exe [12:19:24.768] checking for suffix of executables... .exe [12:19:24.807] checking whether we are cross compiling... yes [12:19:24.884] checking for suffix of object files... o [12:19:24.892] checking whether we are using the GNU C compiler... yes [12:19:24.899] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [12:19:24.906] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [12:19:24.915] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [12:19:24.973] checking whether we are using the GNU C++ compiler... yes [12:19:24.980] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [12:19:25.046] checking for gawk... no [12:19:25.046] checking for mawk... mawk [12:19:25.049] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [12:19:25.055] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [12:19:25.062] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [12:19:25.106] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [12:19:25.261] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [12:19:25.268] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [12:19:25.274] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [12:19:25.280] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [12:19:25.287] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [12:19:25.293] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [12:19:25.299] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [12:19:25.314] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [12:19:25.320] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [12:19:25.326] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [12:19:25.333] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [12:19:25.348] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [12:19:25.355] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [12:19:25.391] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [12:19:25.398] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [12:19:25.404] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [12:19:25.411] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [12:19:25.418] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [12:19:25.424] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [12:19:25.447] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [12:19:25.454] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [12:19:25.460] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [12:19:25.497] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [12:19:25.535] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [12:19:25.542] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [12:19:25.549] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [12:19:25.583] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [12:19:25.590] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [12:19:25.597] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [12:19:25.605] checking whether the C compiler still works... yes [12:19:25.670] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [12:19:25.741] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [12:19:25.741] checking pkg-config is at least version 0.9.0... yes [12:19:25.757] checking whether to build with ICU support... no [12:19:25.757] checking whether to build with Tcl... no [12:19:25.757] checking whether to build Perl modules... no [12:19:25.757] checking whether to build Python modules... no [12:19:25.757] checking whether to build with GSSAPI support... no [12:19:25.759] checking whether to build with PAM support... no [12:19:25.759] checking whether to build with BSD Authentication support... no [12:19:25.759] checking whether to build with LDAP support... no [12:19:25.759] checking whether to build with Bonjour support... no [12:19:25.759] checking whether to build with SELinux support... no [12:19:25.759] checking whether to build with systemd support... no [12:19:25.759] configure: WARNING: *** Readline does not work on MinGW --- disabling [12:19:25.759] checking whether to build with XML support... no [12:19:25.760] checking whether to build with LZ4 support... no [12:19:25.760] checking whether to build with ZSTD support... no [12:19:25.760] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [12:19:25.760] checking whether it is possible to strip libraries... yes [12:19:25.767] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [12:19:25.767] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [12:19:25.768] checking for a BSD-compatible install... /usr/bin/install -c [12:19:25.777] checking for tar... /usr/bin/tar [12:19:25.777] checking whether ln -s works... yes [12:19:25.777] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [12:19:25.780] checking for bison... /usr/bin/bison [12:19:25.782] configure: using bison (GNU Bison) 3.8.2 [12:19:25.785] checking for flex... /usr/bin/flex [12:19:25.787] configure: using flex 2.6.4 [12:19:25.787] checking for perl... /usr/bin/perl [12:19:25.789] configure: using perl 5.36.0 [12:19:25.791] checking for zic... /usr/sbin/zic [12:19:25.792] checking for a sed that does not truncate output... /usr/bin/sed [12:19:25.796] checking for grep that handles long lines and -e... /usr/bin/grep [12:19:25.798] checking for egrep... /usr/bin/grep -E [12:19:25.800] checking for ANSI C header files... yes [12:19:25.846] checking for sys/types.h... yes [12:19:25.861] checking for sys/stat.h... yes [12:19:25.875] checking for stdlib.h... yes [12:19:25.888] checking for string.h... yes [12:19:25.901] checking for memory.h... yes [12:19:25.914] checking for strings.h... yes [12:19:25.928] checking for inttypes.h... yes [12:19:25.942] checking for stdint.h... yes [12:19:25.954] checking for unistd.h... yes [12:19:25.993] checking for main in -lm... yes [12:19:26.040] checking for library containing setproctitle... no [12:19:26.129] checking for library containing dlsym... no [12:19:26.212] checking for library containing socket... -lws2_32 [12:19:26.334] checking for library containing getopt_long... none required [12:19:26.379] checking for library containing shm_open... no [12:19:26.461] checking for library containing shm_unlink... no [12:19:26.546] checking for library containing clock_gettime... no [12:19:26.634] checking for library containing shmget... no [12:19:26.722] checking for library containing backtrace_symbols... no [12:19:26.809] checking for library containing pthread_barrier_wait... -lpthread [12:19:26.899] checking for inflate in -lz... yes [12:19:26.948] checking atomic.h usability... no [12:19:27.005] checking atomic.h presence... no [12:19:27.023] checking for atomic.h... no [12:19:27.026] checking copyfile.h usability... no [12:19:27.080] checking copyfile.h presence... no [12:19:27.098] checking for copyfile.h... no [12:19:27.101] checking execinfo.h usability... no [12:19:27.154] checking execinfo.h presence... no [12:19:27.171] checking for execinfo.h... no [12:19:27.174] checking getopt.h usability... yes [12:19:27.226] checking getopt.h presence... yes [12:19:27.240] checking for getopt.h... yes [12:19:27.247] checking ifaddrs.h usability... no [12:19:27.300] checking ifaddrs.h presence... no [12:19:27.318] checking for ifaddrs.h... no [12:19:27.320] checking mbarrier.h usability... no [12:19:27.377] checking mbarrier.h presence... no [12:19:27.398] checking for mbarrier.h... no [12:19:27.402] checking sys/epoll.h usability... no [12:19:27.459] checking sys/epoll.h presence... no [12:19:27.480] checking for sys/epoll.h... no [12:19:27.484] checking sys/event.h usability... no [12:19:27.544] checking sys/event.h presence... no [12:19:27.565] checking for sys/event.h... no [12:19:27.569] checking sys/personality.h usability... no [12:19:27.628] checking sys/personality.h presence... no [12:19:27.650] checking for sys/personality.h... no [12:19:27.654] checking sys/prctl.h usability... no [12:19:27.710] checking sys/prctl.h presence... no [12:19:27.730] checking for sys/prctl.h... no [12:19:27.734] checking sys/procctl.h usability... no [12:19:27.792] checking sys/procctl.h presence... no [12:19:27.813] checking for sys/procctl.h... no [12:19:27.817] checking sys/signalfd.h usability... no [12:19:27.877] checking sys/signalfd.h presence... no [12:19:27.898] checking for sys/signalfd.h... no [12:19:27.902] checking sys/ucred.h usability... no [12:19:27.961] checking sys/ucred.h presence... no [12:19:27.982] checking for sys/ucred.h... no [12:19:27.985] checking termios.h usability... no [12:19:28.043] checking termios.h presence... no [12:19:28.064] checking for termios.h... no [12:19:28.067] checking ucred.h usability... no [12:19:28.126] checking ucred.h presence... no [12:19:28.146] checking for ucred.h... no [12:19:28.149] checking xlocale.h usability... no [12:19:28.207] checking xlocale.h presence... no [12:19:28.226] checking for xlocale.h... no [12:19:28.229] checking zlib.h usability... yes [12:19:28.240] checking zlib.h presence... yes [12:19:28.260] checking for zlib.h... yes [12:19:28.260] checking for lz4... /usr/bin/lz4 [12:19:28.260] checking for zstd... /usr/bin/zstd [12:19:28.261] checking for openssl... /usr/bin/openssl [12:19:28.265] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [12:19:28.265] checking crtdefs.h usability... yes [12:19:28.273] checking crtdefs.h presence... yes [12:19:28.290] checking for crtdefs.h... yes [12:19:28.291] checking whether byte ordering is bigendian... no [12:19:28.370] checking for inline... inline [12:19:28.378] checking for printf format archetype... gnu_printf [12:19:28.387] checking for _Static_assert... yes [12:19:28.430] checking for typeof... typeof [12:19:28.465] checking for __builtin_types_compatible_p... yes [12:19:28.478] checking for __builtin_constant_p... yes [12:19:28.490] checking for __builtin_mul_overflow... yes [12:19:28.540] checking for __builtin_unreachable... yes [12:19:28.582] checking for computed goto support... yes [12:19:28.598] checking for struct tm.tm_zone... no [12:19:28.676] checking for union semun... no [12:19:28.710] checking for socklen_t... yes [12:19:29.842] checking for struct sockaddr.sa_len... no [12:19:31.859] checking for C/C++ restrict keyword... __restrict [12:19:31.874] checking for struct option... yes [12:19:31.919] checking whether assembler supports x86_64 popcntq... yes [12:19:31.927] checking size of off_t... 4 [12:19:32.147] 0 [12:19:32.147] checking for int timezone... yes [12:19:32.202] checking for backtrace_symbols... no [12:19:32.254] checking for copyfile... no [12:19:32.305] checking for copy_file_range... no [12:19:32.357] checking for elf_aux_info... no [12:19:32.407] checking for getauxval... no [12:19:32.459] checking for getifaddrs... no [12:19:32.512] checking for getpeerucred... no [12:19:32.564] checking for inet_pton... yes [12:19:32.616] checking for kqueue... no [12:19:32.669] checking for mbstowcs_l... no [12:19:32.723] checking for memset_s... no [12:19:32.776] checking for posix_fallocate... no [12:19:32.828] checking for ppoll... no [12:19:32.880] checking for pthread_is_threaded_np... no [12:19:32.930] checking for setproctitle... no [12:19:32.980] checking for setproctitle_fast... no [12:19:33.032] checking for strchrnul... no [12:19:33.081] checking for strsignal... no [12:19:33.132] checking for syncfs... no [12:19:33.182] checking for sync_file_range... no [12:19:33.232] checking for uselocale... no [12:19:33.280] checking for wcstombs_l... no [12:19:33.326] checking for __builtin_bswap16... yes [12:19:33.373] checking for __builtin_bswap32... yes [12:19:33.420] checking for __builtin_bswap64... yes [12:19:33.467] checking for __builtin_clz... yes [12:19:33.514] checking for __builtin_ctz... yes [12:19:33.561] checking for __builtin_popcount... yes [12:19:33.607] checking for __builtin_frame_address... yes [12:19:33.653] checking for _LARGEFILE_SOURCE value needed for large files... no [12:19:33.703] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [12:19:33.732] checking for posix_fadvise... no [12:19:33.779] checking whether posix_fadvise is declared... no [12:19:33.820] checking whether fdatasync is declared... no [12:19:33.863] checking whether strlcat is declared... no [12:19:33.924] checking whether strlcpy is declared... no [12:19:33.985] checking whether strnlen is declared... yes [12:19:33.998] checking whether strsep is declared... no [12:19:34.060] checking whether preadv is declared... no [12:19:34.096] checking whether pwritev is declared... no [12:19:34.131] checking whether F_FULLFSYNC is declared... no [12:19:34.168] checking for explicit_bzero... no [12:19:34.213] checking for getopt... yes [12:19:34.255] checking for getpeereid... no [12:19:34.301] checking for inet_aton... no [12:19:34.347] checking for mkdtemp... no [12:19:34.391] checking for strlcat... no [12:19:34.438] checking for strlcpy... no [12:19:34.485] checking for strnlen... yes [12:19:34.532] checking for strsep... no [12:19:34.578] checking for pthread_barrier_wait... yes [12:19:34.621] configure: On mingw32 we will use our strtof wrapper. [12:19:34.621] checking for getopt_long... yes [12:19:34.665] checking for syslog... no [12:19:34.711] checking for opterr... yes [12:19:34.758] checking for optreset... no [12:19:34.808] checking test program... cross-compiling [12:19:34.808] checking size of void *... 8 [12:19:35.095] checking size of size_t... 8 [12:19:35.355] checking size of long... 4 [12:19:35.570] checking size of long long... 8 [12:19:35.824] checking alignment of short... 2 [12:19:35.956] checking alignment of int... 4 [12:19:36.156] checking alignment of long... 4 [12:19:36.366] checking alignment of int64_t... 8 [12:19:36.675] checking alignment of double... 8 [12:19:36.964] checking for __int128... yes [12:19:37.016] checking for __int128 alignment bug... assuming ok [12:19:37.016] checking alignment of PG_INT128_TYPE... 16 [12:19:37.369] checking for builtin __sync char locking functions... yes [12:19:37.410] checking for builtin __sync int32 locking functions... yes [12:19:37.451] checking for builtin __sync int32 atomic operations... yes [12:19:37.491] checking for builtin __sync int64 atomic operations... yes [12:19:37.534] checking for builtin __atomic int32 atomic operations... yes [12:19:37.575] checking for builtin __atomic int64 atomic operations... yes [12:19:37.617] checking for __get_cpuid... yes [12:19:37.663] checking for __get_cpuid_count... yes [12:19:37.706] checking for __cpuid... no [12:19:38.100] checking for __cpuidex... no [12:19:38.515] checking for _xgetbv... yes [12:19:38.909] checking for _mm512_popcnt_epi64... yes [12:19:39.321] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [12:19:39.419] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [12:19:39.441] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [12:19:39.460] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [12:19:39.479] 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 [12:19:39.532] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [12:19:39.532] checking which random number source to use... Windows native [12:19:39.534] checking for xmllint... /usr/bin/xmllint [12:19:39.534] checking for xsltproc... /usr/bin/xsltproc [12:19:39.534] checking for fop... /usr/bin/fop [12:19:39.535] checking for dbtoepub... no [12:19:39.535] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [12:19:39.535] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [12:19:39.535] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [12:19:39.545] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [12:19:39.545] 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 [12:19:39.545] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [12:19:39.545] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [12:19:39.624] configure: creating ./config.status [12:19:39.703] config.status: creating GNUmakefile [12:19:39.714] config.status: creating src/Makefile.global [12:19:39.729] config.status: creating src/include/pg_config.h [12:19:39.740] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [12:19:39.753] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [12:19:39.760] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [12:19:39.766] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [12:19:39.773] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [12:19:39.779] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [12:19:39.782] config.status: executing check_win32_symlinks commands [12:19:39.814] [12:19:39.814] real 0m15.529s [12:19:39.814] user 0m10.194s [12:19:39.814] sys 0m4.998s [12:19:39.814] make -s -j${BUILD_JOBS} clean [12:19:40.319] time make -s -j${BUILD_JOBS} world-bin [12:20:26.684] postgres_fdw.c: In function ‘postgresExplainForeignScan’: [12:20:26.684] postgres_fdw.c:3112:37: error: ‘relname’ may be used uninitialized [-Werror=maybe-uninitialized] [12:20:26.684] 3112 | if (strcmp(refname, relname) != 0) [12:20:26.684] | ^~~~~~~~~~~~~~~~~~~~~~~~ [12:20:26.684] postgres_fdw.c:3043:45: note: ‘relname’ was declared here [12:20:26.684] 3043 | char *relname; [12:20:26.684] | ^~~~~~~ [12:20:26.684] In file included from ../../src/include/postgres.h:48, [12:20:26.684] from postgres_fdw.c:13: [12:20:26.684] ../../src/include/c.h: In function ‘postgresBeginForeignScan’: [12:20:26.684] ../../src/include/c.h:832:20: error: ‘rte’ may be used uninitialized [-Werror=maybe-uninitialized] [12:20:26.684] 832 | if (!(condition)) \ [12:20:26.684] | ^ [12:20:26.684] postgres_fdw.c:1623:24: note: ‘rte’ was declared here [12:20:26.684] 1623 | RangeTblEntry *rte; [12:20:26.684] | ^~~ [12:20:26.684] cc1: all warnings being treated as errors [12:20:26.686] make[2]: *** [: postgres_fdw.o] Error 1 [12:20:26.686] make[1]: *** [Makefile:95: all-postgres_fdw-recurse] Error 2 [12:20:26.686] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [12:20:26.687] [12:20:26.687] real 0m46.368s [12:20:26.687] user 2m5.346s [12:20:26.687] sys 0m30.977s [12:20:26.687] [12:20:26.687] Exit status: 2