[20:02:57.757] time ./configure \ [20:02:57.757] --host=x86_64-w64-mingw32 \ [20:02:57.757] --enable-cassert \ [20:02:57.757] --without-icu \ [20:02:57.757] CC="ccache x86_64-w64-mingw32-gcc" \ [20:02:57.757] CXX="ccache x86_64-w64-mingw32-g++" [20:02:57.873] checking build system type... x86_64-pc-linux-gnu [20:02:58.047] checking host system type... x86_64-w64-mingw32 [20:02:58.052] checking which template to use... win32 [20:02:58.053] checking whether NLS is wanted... no [20:02:58.053] checking for default port number... 5432 [20:02:58.059] checking for block size... 8kB [20:02:58.061] checking for segment size... 1GB [20:02:58.063] checking for WAL block size... 8kB [20:02:58.065] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [20:02:58.095] checking whether the C compiler works... yes [20:02:58.224] checking for C compiler default output file name... a.exe [20:02:58.226] checking for suffix of executables... .exe [20:02:58.267] checking whether we are cross compiling... yes [20:02:58.346] checking for suffix of object files... o [20:02:58.354] checking whether we are using the GNU C compiler... yes [20:02:58.386] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [20:02:58.402] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [20:02:58.475] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [20:02:58.603] checking whether we are using the GNU C++ compiler... yes [20:02:58.744] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [20:02:58.870] checking for gawk... no [20:02:58.870] checking for mawk... mawk [20:02:58.872] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [20:02:58.904] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [20:02:58.935] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [20:02:58.979] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [20:02:59.024] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [20:02:59.031] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [20:02:59.038] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [20:02:59.068] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [20:02:59.084] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [20:02:59.101] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [20:02:59.107] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [20:02:59.139] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [20:02:59.146] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [20:02:59.153] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [20:02:59.159] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [20:02:59.190] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [20:02:59.221] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [20:02:59.258] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [20:02:59.264] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [20:02:59.295] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [20:02:59.327] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [20:02:59.356] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [20:02:59.362] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [20:02:59.385] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [20:02:59.400] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [20:02:59.407] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [20:02:59.443] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [20:02:59.481] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [20:02:59.514] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [20:02:59.546] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [20:02:59.579] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [20:02:59.610] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [20:02:59.626] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [20:02:59.643] checking whether the C compiler still works... yes [20:02:59.713] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [20:02:59.783] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [20:02:59.783] checking pkg-config is at least version 0.9.0... yes [20:02:59.800] checking whether to build with ICU support... no [20:02:59.800] checking whether to build with Tcl... no [20:02:59.800] checking whether to build Perl modules... no [20:02:59.800] checking whether to build Python modules... no [20:02:59.800] checking whether to build with GSSAPI support... no [20:02:59.802] checking whether to build with PAM support... no [20:02:59.802] checking whether to build with BSD Authentication support... no [20:02:59.802] checking whether to build with LDAP support... no [20:02:59.802] checking whether to build with Bonjour support... no [20:02:59.802] checking whether to build with SELinux support... no [20:02:59.802] checking whether to build with systemd support... no [20:02:59.802] configure: WARNING: *** Readline does not work on MinGW --- disabling [20:02:59.802] checking whether to build with liburing support... no [20:02:59.803] checking whether to build with libcurl support... no [20:02:59.803] checking whether to build with XML support... no [20:02:59.803] checking whether to build with LZ4 support... no [20:02:59.804] checking whether to build with ZSTD support... no [20:02:59.804] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [20:02:59.804] checking whether it is possible to strip libraries... yes [20:02:59.811] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [20:02:59.812] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [20:02:59.812] checking for a BSD-compatible install... /usr/bin/install -c [20:02:59.821] checking for tar... /usr/bin/tar [20:02:59.821] checking whether ln -s works... yes [20:02:59.821] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [20:02:59.824] checking for bison... /usr/bin/bison [20:02:59.826] configure: using bison (GNU Bison) 3.8.2 [20:02:59.829] checking for flex... /usr/bin/flex [20:02:59.831] configure: using flex 2.6.4 [20:02:59.831] checking for perl... /usr/bin/perl [20:02:59.833] configure: using perl 5.36.0 [20:02:59.836] checking for zic... /usr/sbin/zic [20:02:59.836] checking for a sed that does not truncate output... /usr/bin/sed [20:02:59.841] checking for grep that handles long lines and -e... /usr/bin/grep [20:02:59.843] checking for egrep... /usr/bin/grep -E [20:02:59.845] checking for ANSI C header files... yes [20:02:59.906] checking for sys/types.h... yes [20:02:59.922] checking for sys/stat.h... yes [20:02:59.984] checking for stdlib.h... yes [20:03:00.016] checking for string.h... yes [20:03:00.030] checking for memory.h... yes [20:03:00.089] checking for strings.h... yes [20:03:00.148] checking for inttypes.h... yes [20:03:00.183] checking for stdint.h... yes [20:03:00.196] checking for unistd.h... yes [20:03:00.210] checking for main in -lm... yes [20:03:00.255] checking for library containing setproctitle... no [20:03:00.338] checking for library containing dlsym... no [20:03:00.419] checking for library containing socket... -lws2_32 [20:03:00.540] checking for library containing getopt_long... none required [20:03:00.584] checking for library containing shm_open... no [20:03:00.667] checking for library containing shm_unlink... no [20:03:00.751] checking for library containing clock_gettime... no [20:03:00.835] checking for library containing shmget... no [20:03:00.917] checking for library containing backtrace_symbols... no [20:03:01.004] checking for library containing pthread_barrier_wait... -lpthread [20:03:01.094] checking for inflate in -lz... yes [20:03:01.142] checking atomic.h usability... no [20:03:01.195] checking atomic.h presence... no [20:03:01.212] checking for atomic.h... no [20:03:01.215] checking copyfile.h usability... no [20:03:01.267] checking copyfile.h presence... no [20:03:01.286] checking for copyfile.h... no [20:03:01.289] checking execinfo.h usability... no [20:03:01.341] checking execinfo.h presence... no [20:03:01.360] checking for execinfo.h... no [20:03:01.363] checking getopt.h usability... yes [20:03:01.416] checking getopt.h presence... yes [20:03:01.431] checking for getopt.h... yes [20:03:01.438] checking ifaddrs.h usability... no [20:03:01.491] checking ifaddrs.h presence... no [20:03:01.508] checking for ifaddrs.h... no [20:03:01.511] checking mbarrier.h usability... no [20:03:01.563] checking mbarrier.h presence... no [20:03:01.581] checking for mbarrier.h... no [20:03:01.584] checking sys/epoll.h usability... no [20:03:01.637] checking sys/epoll.h presence... no [20:03:01.656] checking for sys/epoll.h... no [20:03:01.659] checking sys/event.h usability... no [20:03:01.714] checking sys/event.h presence... no [20:03:01.733] checking for sys/event.h... no [20:03:01.736] checking sys/personality.h usability... no [20:03:01.789] checking sys/personality.h presence... no [20:03:01.807] checking for sys/personality.h... no [20:03:01.810] checking sys/prctl.h usability... no [20:03:01.865] checking sys/prctl.h presence... no [20:03:01.884] checking for sys/prctl.h... no [20:03:01.887] checking sys/procctl.h usability... no [20:03:01.940] checking sys/procctl.h presence... no [20:03:01.959] checking for sys/procctl.h... no [20:03:01.963] checking sys/signalfd.h usability... no [20:03:02.018] checking sys/signalfd.h presence... no [20:03:02.037] checking for sys/signalfd.h... no [20:03:02.040] checking sys/ucred.h usability... no [20:03:02.094] checking sys/ucred.h presence... no [20:03:02.112] checking for sys/ucred.h... no [20:03:02.115] checking termios.h usability... no [20:03:02.171] checking termios.h presence... no [20:03:02.190] checking for termios.h... no [20:03:02.193] checking ucred.h usability... no [20:03:02.248] checking ucred.h presence... no [20:03:02.267] checking for ucred.h... no [20:03:02.270] checking xlocale.h usability... no [20:03:02.325] checking xlocale.h presence... no [20:03:02.343] checking for xlocale.h... no [20:03:02.346] checking zlib.h usability... yes [20:03:02.403] checking zlib.h presence... yes [20:03:02.421] checking for zlib.h... yes [20:03:02.421] checking for lz4... /usr/bin/lz4 [20:03:02.421] checking for zstd... /usr/bin/zstd [20:03:02.422] checking for openssl... /usr/bin/openssl [20:03:02.425] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [20:03:02.426] checking crtdefs.h usability... yes [20:03:02.452] checking crtdefs.h presence... yes [20:03:02.465] checking for crtdefs.h... yes [20:03:02.467] checking whether byte ordering is bigendian... no [20:03:02.536] checking for inline... inline [20:03:02.550] checking for printf format archetype... gnu_printf [20:03:02.589] checking for _Static_assert... yes [20:03:02.629] checking for typeof... typeof [20:03:02.662] checking for __builtin_types_compatible_p... yes [20:03:02.673] checking for __builtin_constant_p... yes [20:03:02.693] checking for __builtin_mul_overflow... yes [20:03:02.738] checking for __builtin_unreachable... yes [20:03:02.779] checking for computed goto support... yes [20:03:02.787] checking for struct tm.tm_zone... no [20:03:02.863] checking for union semun... no [20:03:02.896] checking for socklen_t... yes [20:03:04.027] checking for struct sockaddr.sa_len... no [20:03:06.008] checking for C/C++ restrict keyword... __restrict [20:03:06.049] checking for struct option... yes [20:03:06.089] checking whether assembler supports x86_64 popcntq... yes [20:03:06.121] checking size of off_t... 4 [20:03:06.414] 0 [20:03:06.414] checking for int timezone... yes [20:03:06.461] checking for backtrace_symbols... no [20:03:06.507] checking for copyfile... no [20:03:06.556] checking for copy_file_range... no [20:03:06.602] checking for elf_aux_info... no [20:03:06.650] checking for getauxval... no [20:03:06.697] checking for getifaddrs... no [20:03:06.746] checking for getpeerucred... no [20:03:06.797] checking for inet_pton... yes [20:03:06.846] checking for kqueue... no [20:03:06.896] checking for localeconv_l... no [20:03:06.945] checking for mbstowcs_l... no [20:03:06.994] checking for memset_s... no [20:03:07.043] checking for posix_fallocate... no [20:03:07.090] checking for ppoll... no [20:03:07.140] checking for pthread_is_threaded_np... no [20:03:07.190] checking for setproctitle... no [20:03:07.240] checking for setproctitle_fast... no [20:03:07.292] checking for strchrnul... no [20:03:07.339] checking for strsignal... no [20:03:07.387] checking for syncfs... no [20:03:07.436] checking for sync_file_range... no [20:03:07.485] checking for uselocale... no [20:03:07.536] checking for wcstombs_l... no [20:03:07.582] checking for __builtin_bswap16... yes [20:03:07.630] checking for __builtin_bswap32... yes [20:03:07.675] checking for __builtin_bswap64... yes [20:03:07.719] checking for __builtin_clz... yes [20:03:07.765] checking for __builtin_ctz... yes [20:03:07.812] checking for __builtin_popcount... yes [20:03:07.858] checking for __builtin_frame_address... yes [20:03:07.905] checking for _LARGEFILE_SOURCE value needed for large files... no [20:03:07.957] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [20:03:07.988] checking for posix_fadvise... no [20:03:08.039] checking whether posix_fadvise is declared... no [20:03:08.082] checking whether fdatasync is declared... no [20:03:08.127] checking whether strlcat is declared... no [20:03:08.190] checking whether strlcpy is declared... no [20:03:08.253] checking whether strnlen is declared... yes [20:03:08.267] checking whether strsep is declared... no [20:03:08.329] checking whether preadv is declared... no [20:03:08.364] checking whether pwritev is declared... no [20:03:08.396] checking whether F_FULLFSYNC is declared... no [20:03:08.431] checking for explicit_bzero... no [20:03:08.475] checking for getopt... yes [20:03:08.515] checking for getpeereid... no [20:03:08.559] checking for inet_aton... no [20:03:08.606] checking for mkdtemp... no [20:03:08.654] checking for strlcat... no [20:03:08.702] checking for strlcpy... no [20:03:08.750] checking for strnlen... yes [20:03:08.797] checking for strsep... no [20:03:08.844] checking for pthread_barrier_wait... yes [20:03:08.887] configure: On mingw32 we will use our strtof wrapper. [20:03:08.887] checking for getopt_long... yes [20:03:08.930] checking for syslog... no [20:03:08.976] checking for opterr... yes [20:03:09.027] checking for optreset... no [20:03:09.079] checking test program... cross-compiling [20:03:09.079] checking size of void *... 8 [20:03:09.450] checking size of size_t... 8 [20:03:09.889] checking size of long... 4 [20:03:10.155] checking size of long long... 8 [20:03:10.595] checking alignment of short... 2 [20:03:10.776] checking alignment of int... 4 [20:03:11.078] checking alignment of long... 4 [20:03:11.485] checking alignment of int64_t... 8 [20:03:11.940] checking alignment of double... 8 [20:03:12.341] checking for __int128... yes [20:03:12.388] checking for __int128 alignment bug... assuming ok [20:03:12.388] checking alignment of PG_INT128_TYPE... 16 [20:03:12.975] checking for builtin __sync char locking functions... yes [20:03:13.018] checking for builtin __sync int32 locking functions... yes [20:03:13.059] checking for builtin __sync int32 atomic operations... yes [20:03:13.100] checking for builtin __sync int64 atomic operations... yes [20:03:13.143] checking for builtin __atomic int32 atomic operations... yes [20:03:13.184] checking for builtin __atomic int64 atomic operations... yes [20:03:13.225] checking for __get_cpuid... yes [20:03:13.271] checking for __get_cpuid_count... yes [20:03:13.313] checking for __cpuid... no [20:03:13.694] checking for __cpuidex... no [20:03:14.116] checking for _xgetbv... yes [20:03:14.512] checking for _mm512_popcnt_epi64... yes [20:03:14.919] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [20:03:15.017] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:03:15.038] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [20:03:15.056] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:03:15.076] 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:03:15.130] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:03:15.130] checking which random number source to use... Windows native [20:03:15.132] checking for xmllint... /usr/bin/xmllint [20:03:15.132] checking for xsltproc... /usr/bin/xsltproc [20:03:15.132] checking for fop... /usr/bin/fop [20:03:15.133] checking for dbtoepub... no [20:03:15.133] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:03:15.133] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:03:15.133] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [20:03:15.146] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [20:03:15.146] 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:03:15.146] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [20:03:15.146] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:03:15.231] configure: creating ./config.status [20:03:15.314] config.status: creating GNUmakefile [20:03:15.325] config.status: creating src/Makefile.global [20:03:15.340] config.status: creating src/include/pg_config.h [20:03:15.352] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:03:15.367] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [20:03:15.374] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:03:15.381] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:03:15.388] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:03:15.396] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:03:15.399] config.status: executing check_win32_symlinks commands [20:03:15.432] [20:03:15.432] real 0m17.675s [20:03:15.432] user 0m11.549s [20:03:15.432] sys 0m5.795s [20:03:15.432] make -s -j${BUILD_JOBS} clean [20:03:15.939] time make -s -j${BUILD_JOBS} world-bin [20:04:06.953] In file included from ../../../src/include/jit/jit.h:16, [20:04:06.953] from explain.c:26: [20:04:06.953] ../../../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:04:06.953] 58 | int add_library(struct dl_phdr_info *info, size_t size, void *data); [20:04:06.953] | ^~~~~~~~~~~~ [20:04:06.953] cc1: all warnings being treated as errors [20:04:06.954] make[3]: *** [: explain.o] Error 1 [20:04:06.954] make[2]: *** [common.mk:37: commands-recursive] Error 2 [20:04:06.954] make[2]: *** Waiting for unfinished jobs.... [20:04:28.247] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:04:28.247] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:04:28.247] [20:04:28.247] real 1m12.308s [20:04:28.247] user 3m48.083s [20:04:28.247] sys 0m46.921s [20:04:28.247] [20:04:28.247] Exit status: 2