[20:07:47.633] time ./configure \ [20:07:47.633] --host=x86_64-w64-mingw32 \ [20:07:47.633] --enable-cassert \ [20:07:47.633] --without-icu \ [20:07:47.633] CC="ccache x86_64-w64-mingw32-gcc" \ [20:07:47.633] CXX="ccache x86_64-w64-mingw32-g++" [20:07:47.742] checking build system type... x86_64-pc-linux-gnu [20:07:47.924] checking host system type... x86_64-w64-mingw32 [20:07:47.929] checking which template to use... win32 [20:07:47.929] checking whether NLS is wanted... no [20:07:47.929] checking for default port number... 5432 [20:07:47.935] checking for block size... 8kB [20:07:47.936] checking for segment size... 1GB [20:07:47.939] checking for WAL block size... 8kB [20:07:47.940] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [20:07:47.971] checking whether the C compiler works... yes [20:07:48.093] checking for C compiler default output file name... a.exe [20:07:48.094] checking for suffix of executables... .exe [20:07:48.133] checking whether we are cross compiling... yes [20:07:48.208] checking for suffix of object files... o [20:07:48.224] checking whether we are using the GNU C compiler... yes [20:07:48.238] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [20:07:48.244] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [20:07:48.253] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [20:07:48.308] checking whether we are using the GNU C++ compiler... yes [20:07:48.446] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [20:07:48.507] checking for gawk... no [20:07:48.507] checking for mawk... mawk [20:07:48.510] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [20:07:48.538] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [20:07:48.545] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [20:07:48.586] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [20:07:48.628] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [20:07:48.634] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [20:07:48.649] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [20:07:48.656] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [20:07:48.662] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [20:07:48.668] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [20:07:48.730] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [20:07:48.760] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [20:07:48.775] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [20:07:48.781] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [20:07:48.787] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [20:07:48.817] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [20:07:48.848] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [20:07:48.883] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [20:07:48.898] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [20:07:48.905] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [20:07:48.911] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [20:07:48.943] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [20:07:48.974] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [20:07:48.996] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [20:07:49.027] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [20:07:49.057] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [20:07:49.093] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [20:07:49.130] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [20:07:49.160] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [20:07:49.174] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [20:07:49.207] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [20:07:49.214] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [20:07:49.220] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [20:07:49.228] checking whether the C compiler still works... yes [20:07:49.288] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [20:07:49.353] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [20:07:49.353] checking pkg-config is at least version 0.9.0... yes [20:07:49.371] checking whether to build with ICU support... no [20:07:49.371] checking whether to build with Tcl... no [20:07:49.371] checking whether to build Perl modules... no [20:07:49.371] checking whether to build Python modules... no [20:07:49.371] checking whether to build with GSSAPI support... no [20:07:49.372] checking whether to build with PAM support... no [20:07:49.372] checking whether to build with BSD Authentication support... no [20:07:49.372] checking whether to build with LDAP support... no [20:07:49.372] checking whether to build with Bonjour support... no [20:07:49.373] checking whether to build with SELinux support... no [20:07:49.373] checking whether to build with systemd support... no [20:07:49.373] configure: WARNING: *** Readline does not work on MinGW --- disabling [20:07:49.373] checking whether to build with XML support... no [20:07:49.373] checking whether to build with LZ4 support... no [20:07:49.374] checking whether to build with ZSTD support... no [20:07:49.374] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [20:07:49.374] checking whether it is possible to strip libraries... yes [20:07:49.381] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [20:07:49.381] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [20:07:49.382] checking for a BSD-compatible install... /usr/bin/install -c [20:07:49.390] checking for tar... /usr/bin/tar [20:07:49.390] checking whether ln -s works... yes [20:07:49.390] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [20:07:49.392] checking for bison... /usr/bin/bison [20:07:49.394] configure: using bison (GNU Bison) 3.8.2 [20:07:49.397] checking for flex... /usr/bin/flex [20:07:49.399] configure: using flex 2.6.4 [20:07:49.399] checking for perl... /usr/bin/perl [20:07:49.402] configure: using perl 5.36.0 [20:07:49.404] checking for zic... /usr/sbin/zic [20:07:49.404] checking for a sed that does not truncate output... /usr/bin/sed [20:07:49.408] checking for grep that handles long lines and -e... /usr/bin/grep [20:07:49.410] checking for egrep... /usr/bin/grep -E [20:07:49.412] checking for ANSI C header files... yes [20:07:49.456] checking for sys/types.h... yes [20:07:49.487] checking for sys/stat.h... yes [20:07:49.519] checking for stdlib.h... yes [20:07:49.531] checking for string.h... yes [20:07:49.586] checking for memory.h... yes [20:07:49.617] checking for strings.h... yes [20:07:49.672] checking for inttypes.h... yes [20:07:49.687] checking for stdint.h... yes [20:07:49.700] checking for unistd.h... yes [20:07:49.761] checking for main in -lm... yes [20:07:49.808] checking for library containing setproctitle... no [20:07:49.892] checking for library containing dlsym... no [20:07:49.974] checking for library containing socket... -lws2_32 [20:07:50.095] checking for library containing getopt_long... none required [20:07:50.139] checking for library containing shm_open... no [20:07:50.221] checking for library containing shm_unlink... no [20:07:50.302] checking for library containing clock_gettime... no [20:07:50.384] checking for library containing shmget... no [20:07:50.466] checking for library containing backtrace_symbols... no [20:07:50.546] checking for library containing pthread_barrier_wait... -lpthread [20:07:50.628] checking for inflate in -lz... yes [20:07:50.673] checking atomic.h usability... no [20:07:50.724] checking atomic.h presence... no [20:07:50.742] checking for atomic.h... no [20:07:50.745] checking copyfile.h usability... no [20:07:50.796] checking copyfile.h presence... no [20:07:50.813] checking for copyfile.h... no [20:07:50.816] checking execinfo.h usability... no [20:07:50.867] checking execinfo.h presence... no [20:07:50.884] checking for execinfo.h... no [20:07:50.887] checking getopt.h usability... yes [20:07:50.894] checking getopt.h presence... yes [20:07:50.907] checking for getopt.h... yes [20:07:50.914] checking ifaddrs.h usability... no [20:07:50.965] checking ifaddrs.h presence... no [20:07:50.982] checking for ifaddrs.h... no [20:07:50.985] checking mbarrier.h usability... no [20:07:51.035] checking mbarrier.h presence... no [20:07:51.052] checking for mbarrier.h... no [20:07:51.055] checking sys/epoll.h usability... no [20:07:51.106] checking sys/epoll.h presence... no [20:07:51.123] checking for sys/epoll.h... no [20:07:51.126] checking sys/event.h usability... no [20:07:51.183] checking sys/event.h presence... no [20:07:51.201] checking for sys/event.h... no [20:07:51.203] checking sys/personality.h usability... no [20:07:51.255] checking sys/personality.h presence... no [20:07:51.272] checking for sys/personality.h... no [20:07:51.275] checking sys/prctl.h usability... no [20:07:51.326] checking sys/prctl.h presence... no [20:07:51.343] checking for sys/prctl.h... no [20:07:51.346] checking sys/procctl.h usability... no [20:07:51.397] checking sys/procctl.h presence... no [20:07:51.414] checking for sys/procctl.h... no [20:07:51.417] checking sys/signalfd.h usability... no [20:07:51.468] checking sys/signalfd.h presence... no [20:07:51.485] checking for sys/signalfd.h... no [20:07:51.488] checking sys/ucred.h usability... no [20:07:51.538] checking sys/ucred.h presence... no [20:07:51.555] checking for sys/ucred.h... no [20:07:51.558] checking termios.h usability... no [20:07:51.608] checking termios.h presence... no [20:07:51.625] checking for termios.h... no [20:07:51.628] checking ucred.h usability... no [20:07:51.679] checking ucred.h presence... no [20:07:51.696] checking for ucred.h... no [20:07:51.699] checking xlocale.h usability... no [20:07:51.751] checking xlocale.h presence... no [20:07:51.768] checking for xlocale.h... no [20:07:51.771] checking zlib.h usability... yes [20:07:51.779] checking zlib.h presence... yes [20:07:51.797] checking for zlib.h... yes [20:07:51.797] checking for lz4... /usr/bin/lz4 [20:07:51.798] checking for zstd... /usr/bin/zstd [20:07:51.798] checking for openssl... /usr/bin/openssl [20:07:51.802] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [20:07:51.802] checking crtdefs.h usability... yes [20:07:51.853] checking crtdefs.h presence... yes [20:07:51.866] checking for crtdefs.h... yes [20:07:51.867] checking whether byte ordering is bigendian... no [20:07:51.944] checking for inline... inline [20:07:51.950] checking for printf format archetype... gnu_printf [20:07:51.958] checking for _Static_assert... yes [20:07:51.997] checking for typeof... typeof [20:07:52.012] checking for __builtin_types_compatible_p... yes [20:07:52.022] checking for __builtin_constant_p... yes [20:07:52.033] checking for __builtin_mul_overflow... yes [20:07:52.079] checking for __builtin_unreachable... yes [20:07:52.118] checking for computed goto support... yes [20:07:52.125] checking for struct tm.tm_zone... no [20:07:52.197] checking for union semun... no [20:07:52.227] checking for socklen_t... yes [20:07:54.253] checking for struct sockaddr.sa_len... no [20:07:56.150] checking for C/C++ restrict keyword... __restrict [20:07:56.162] checking for struct option... yes [20:07:56.203] checking whether assembler supports x86_64 popcntq... yes [20:07:56.210] checking size of off_t... 4 [20:07:56.420] 0 [20:07:56.420] checking for int timezone... yes [20:07:56.470] checking for backtrace_symbols... no [20:07:56.519] checking for copyfile... no [20:07:56.566] checking for copy_file_range... no [20:07:56.614] checking for elf_aux_info... no [20:07:56.662] checking for getauxval... no [20:07:56.710] checking for getifaddrs... no [20:07:56.757] checking for getpeerucred... no [20:07:56.806] checking for inet_pton... yes [20:07:56.855] checking for kqueue... no [20:07:56.903] checking for mbstowcs_l... no [20:07:56.952] checking for memset_s... no [20:07:57.001] checking for posix_fallocate... no [20:07:57.049] checking for ppoll... no [20:07:57.097] checking for pthread_is_threaded_np... no [20:07:57.145] checking for setproctitle... no [20:07:57.194] checking for setproctitle_fast... no [20:07:57.243] checking for strchrnul... no [20:07:57.292] checking for strsignal... no [20:07:57.339] checking for syncfs... no [20:07:57.389] checking for sync_file_range... no [20:07:57.438] checking for uselocale... no [20:07:57.486] checking for wcstombs_l... no [20:07:57.532] checking for __builtin_bswap16... yes [20:07:57.578] checking for __builtin_bswap32... yes [20:07:57.623] checking for __builtin_bswap64... yes [20:07:57.670] checking for __builtin_clz... yes [20:07:57.717] checking for __builtin_ctz... yes [20:07:57.762] checking for __builtin_popcount... yes [20:07:57.808] checking for __builtin_frame_address... yes [20:07:57.855] checking for _LARGEFILE_SOURCE value needed for large files... no [20:07:57.906] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [20:07:57.934] checking for posix_fadvise... no [20:07:57.983] checking whether posix_fadvise is declared... no [20:07:58.025] checking whether fdatasync is declared... no [20:07:58.068] checking whether strlcat is declared... no [20:07:58.128] checking whether strlcpy is declared... no [20:07:58.187] checking whether strnlen is declared... yes [20:07:58.249] checking whether strsep is declared... no [20:07:58.309] checking whether preadv is declared... no [20:07:58.342] checking whether pwritev is declared... no [20:07:58.375] checking whether F_FULLFSYNC is declared... no [20:07:58.411] checking for explicit_bzero... no [20:07:58.455] checking for getopt... yes [20:07:58.497] checking for getpeereid... no [20:07:58.541] checking for inet_aton... no [20:07:58.587] checking for mkdtemp... no [20:07:58.631] checking for strlcat... no [20:07:58.675] checking for strlcpy... no [20:07:58.719] checking for strnlen... yes [20:07:58.764] checking for strsep... no [20:07:58.807] checking for pthread_barrier_wait... yes [20:07:58.849] configure: On mingw32 we will use our strtof wrapper. [20:07:58.849] checking for getopt_long... yes [20:07:58.891] checking for syslog... no [20:07:58.935] checking for opterr... yes [20:07:58.981] checking for optreset... no [20:07:59.028] checking test program... cross-compiling [20:07:59.029] checking size of void *... 8 [20:07:59.420] checking size of size_t... 8 [20:07:59.770] checking size of long... 4 [20:08:00.113] checking size of long long... 8 [20:08:00.464] checking alignment of short... 2 [20:08:00.590] checking alignment of int... 4 [20:08:00.779] checking alignment of long... 4 [20:08:01.017] checking alignment of int64_t... 8 [20:08:01.317] checking alignment of double... 8 [20:08:01.685] checking for __int128... yes [20:08:01.732] checking for __int128 alignment bug... assuming ok [20:08:01.732] checking alignment of PG_INT128_TYPE... 16 [20:08:02.211] checking for builtin __sync char locking functions... yes [20:08:02.250] checking for builtin __sync int32 locking functions... yes [20:08:02.290] checking for builtin __sync int32 atomic operations... yes [20:08:02.329] checking for builtin __sync int64 atomic operations... yes [20:08:02.370] checking for builtin __atomic int32 atomic operations... yes [20:08:02.410] checking for builtin __atomic int64 atomic operations... yes [20:08:02.453] checking for __get_cpuid... yes [20:08:02.498] checking for __get_cpuid_count... yes [20:08:02.539] checking for __cpuid... no [20:08:02.925] checking for __cpuidex... no [20:08:03.336] checking for _xgetbv... yes [20:08:03.730] checking for _mm512_popcnt_epi64... yes [20:08:04.137] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [20:08:04.233] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:08:04.254] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [20:08:04.271] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:08:04.288] 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 [20:08:04.340] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:08:04.340] checking which random number source to use... Windows native [20:08:04.342] checking for xmllint... /usr/bin/xmllint [20:08:04.342] checking for xsltproc... /usr/bin/xsltproc [20:08:04.343] checking for fop... /usr/bin/fop [20:08:04.343] checking for dbtoepub... no [20:08:04.343] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:08:04.343] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:08:04.344] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [20:08:04.355] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [20:08:04.355] 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 [20:08:04.355] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [20:08:04.355] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:08:04.434] configure: creating ./config.status [20:08:04.513] config.status: creating GNUmakefile [20:08:04.524] config.status: creating src/Makefile.global [20:08:04.538] config.status: creating src/include/pg_config.h [20:08:04.549] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:08:04.563] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [20:08:04.569] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:08:04.576] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:08:04.582] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:08:04.589] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:08:04.592] config.status: executing check_win32_symlinks commands [20:08:04.623] [20:08:04.623] real 0m16.989s [20:08:04.623] user 0m11.312s [20:08:04.623] sys 0m5.309s [20:08:04.623] make -s -j${BUILD_JOBS} clean [20:08:05.120] time make -s -j${BUILD_JOBS} world-bin [20:08:50.186] In file included from ../../../src/include/jit/jit.h:16, [20:08:50.186] from explain.c:22: [20:08:50.186] ../../../src/include/utils/system_version.h:58:24: error: ‘struct dl_phdr_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] [20:08:50.186] 58 | int add_library(struct dl_phdr_info *info, size_t size, void *data); [20:08:50.186] | ^~~~~~~~~~~~ [20:08:50.186] cc1: all warnings being treated as errors [20:08:50.186] make[3]: *** [: explain.o] Error 1 [20:08:50.187] make[2]: *** [common.mk:37: commands-recursive] Error 2 [20:08:50.187] make[2]: *** Waiting for unfinished jobs.... [20:08:50.750] In file included from ../../../src/include/jit/jit.h:16, [20:08:50.750] from execExpr.c:40: [20:08:50.750] ../../../src/include/utils/system_version.h:58:24: error: ‘struct dl_phdr_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] [20:08:50.750] 58 | int add_library(struct dl_phdr_info *info, size_t size, void *data); [20:08:50.750] | ^~~~~~~~~~~~ [20:08:50.750] cc1: all warnings being treated as errors [20:08:50.751] make[3]: *** [: execExpr.o] Error 1 [20:08:50.751] make[2]: *** [common.mk:37: executor-recursive] Error 2 [20:09:05.075] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:09:05.075] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:09:05.075] [20:09:05.075] real 0m59.955s [20:09:05.075] user 3m4.598s [20:09:05.075] sys 0m41.098s [20:09:05.076] [20:09:05.076] Exit status: 2