[00:19:48.727] time ./configure \ [00:19:48.727] --host=x86_64-w64-mingw32 \ [00:19:48.727] --enable-cassert \ [00:19:48.727] --without-icu \ [00:19:48.727] CC="ccache x86_64-w64-mingw32-gcc" \ [00:19:48.727] CXX="ccache x86_64-w64-mingw32-g++" [00:19:48.850] checking build system type... x86_64-pc-linux-gnu [00:19:49.036] checking host system type... x86_64-w64-mingw32 [00:19:49.042] checking which template to use... win32 [00:19:49.042] checking whether NLS is wanted... no [00:19:49.042] checking for default port number... 5432 [00:19:49.049] checking for block size... 8kB [00:19:49.050] checking for segment size... 1GB [00:19:49.053] checking for WAL block size... 8kB [00:19:49.054] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:19:49.090] checking whether the C compiler works... yes [00:19:49.238] checking for C compiler default output file name... a.exe [00:19:49.240] checking for suffix of executables... .exe [00:19:49.283] checking whether we are cross compiling... yes [00:19:49.363] checking for suffix of object files... o [00:19:49.371] checking whether we are using the GNU C compiler... yes [00:19:49.406] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:19:49.413] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:19:49.495] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:19:49.561] checking whether we are using the GNU C++ compiler... yes [00:19:49.750] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:19:49.819] checking for gawk... no [00:19:49.820] checking for mawk... mawk [00:19:49.822] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:19:49.829] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:19:49.862] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:19:49.907] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:19:49.952] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:19:49.969] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:19:49.976] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:19:49.983] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:19:49.990] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:19:50.006] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:19:50.014] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:19:50.021] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:19:50.055] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:19:50.073] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:19:50.109] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:19:50.117] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:19:50.124] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:19:50.163] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:19:50.197] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:19:50.215] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:19:50.222] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:19:50.229] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:19:50.236] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:19:50.262] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:19:50.270] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:19:50.287] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:19:50.325] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:19:50.364] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:19:50.372] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:19:50.406] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:19:50.442] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:19:50.449] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:19:50.456] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:19:50.464] checking whether the C compiler still works... yes [00:19:50.523] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:19:50.596] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:19:50.596] checking pkg-config is at least version 0.9.0... yes [00:19:50.612] checking whether to build with ICU support... no [00:19:50.613] checking whether to build with Tcl... no [00:19:50.613] checking whether to build Perl modules... no [00:19:50.613] checking whether to build Python modules... no [00:19:50.613] checking whether to build with GSSAPI support... no [00:19:50.614] checking whether to build with PAM support... no [00:19:50.614] checking whether to build with BSD Authentication support... no [00:19:50.614] checking whether to build with LDAP support... no [00:19:50.614] checking whether to build with Bonjour support... no [00:19:50.615] checking whether to build with SELinux support... no [00:19:50.615] checking whether to build with systemd support... no [00:19:50.615] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:19:50.615] checking whether to build with XML support... no [00:19:50.615] checking whether to build with LZ4 support... no [00:19:50.615] checking whether to build with ZSTD support... no [00:19:50.616] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:19:50.616] checking whether it is possible to strip libraries... yes [00:19:50.626] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:19:50.626] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:19:50.626] checking for a BSD-compatible install... /usr/bin/install -c [00:19:50.636] checking for tar... /usr/bin/tar [00:19:50.636] checking whether ln -s works... yes [00:19:50.636] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:19:50.639] checking for bison... /usr/bin/bison [00:19:50.641] configure: using bison (GNU Bison) 3.8.2 [00:19:50.644] checking for flex... /usr/bin/flex [00:19:50.646] configure: using flex 2.6.4 [00:19:50.646] checking for perl... /usr/bin/perl [00:19:50.649] configure: using perl 5.36.0 [00:19:50.651] checking for zic... /usr/sbin/zic [00:19:50.652] checking for a sed that does not truncate output... /usr/bin/sed [00:19:50.657] checking for grep that handles long lines and -e... /usr/bin/grep [00:19:50.659] checking for egrep... /usr/bin/grep -E [00:19:50.661] checking for ANSI C header files... yes [00:19:50.723] checking for sys/types.h... yes [00:19:50.784] checking for sys/stat.h... yes [00:19:50.846] checking for stdlib.h... yes [00:19:50.904] checking for string.h... yes [00:19:50.962] checking for memory.h... yes [00:19:50.977] checking for strings.h... yes [00:19:51.012] checking for inttypes.h... yes [00:19:51.075] checking for stdint.h... yes [00:19:51.135] checking for unistd.h... yes [00:19:51.201] checking for main in -lm... yes [00:19:51.247] checking for library containing setproctitle... no [00:19:51.339] checking for library containing dlsym... no [00:19:51.425] checking for library containing socket... -lws2_32 [00:19:51.555] checking for library containing getopt_long... none required [00:19:51.602] checking for library containing shm_open... no [00:19:51.688] checking for library containing shm_unlink... no [00:19:51.774] checking for library containing clock_gettime... no [00:19:51.861] checking for library containing shmget... no [00:19:51.947] checking for library containing backtrace_symbols... no [00:19:52.037] checking for library containing pthread_barrier_wait... -lpthread [00:19:52.127] checking for inflate in -lz... yes [00:19:52.178] checking atomic.h usability... no [00:19:52.232] checking atomic.h presence... no [00:19:52.251] checking for atomic.h... no [00:19:52.254] checking copyfile.h usability... no [00:19:52.309] checking copyfile.h presence... no [00:19:52.329] checking for copyfile.h... no [00:19:52.332] checking execinfo.h usability... no [00:19:52.387] checking execinfo.h presence... no [00:19:52.405] checking for execinfo.h... no [00:19:52.409] checking getopt.h usability... yes [00:19:52.437] checking getopt.h presence... yes [00:19:52.452] checking for getopt.h... yes [00:19:52.459] checking ifaddrs.h usability... no [00:19:52.512] checking ifaddrs.h presence... no [00:19:52.531] checking for ifaddrs.h... no [00:19:52.534] checking mbarrier.h usability... no [00:19:52.589] checking mbarrier.h presence... no [00:19:52.608] checking for mbarrier.h... no [00:19:52.612] checking sys/epoll.h usability... no [00:19:52.666] checking sys/epoll.h presence... no [00:19:52.685] checking for sys/epoll.h... no [00:19:52.689] checking sys/event.h usability... no [00:19:52.743] checking sys/event.h presence... no [00:19:52.763] checking for sys/event.h... no [00:19:52.766] checking sys/personality.h usability... no [00:19:52.821] checking sys/personality.h presence... no [00:19:52.841] checking for sys/personality.h... no [00:19:52.845] checking sys/prctl.h usability... no [00:19:52.902] checking sys/prctl.h presence... no [00:19:52.921] checking for sys/prctl.h... no [00:19:52.924] checking sys/procctl.h usability... no [00:19:52.978] checking sys/procctl.h presence... no [00:19:52.997] checking for sys/procctl.h... no [00:19:53.000] checking sys/signalfd.h usability... no [00:19:53.056] checking sys/signalfd.h presence... no [00:19:53.075] checking for sys/signalfd.h... no [00:19:53.078] checking sys/ucred.h usability... no [00:19:53.135] checking sys/ucred.h presence... no [00:19:53.154] checking for sys/ucred.h... no [00:19:53.157] checking termios.h usability... no [00:19:53.211] checking termios.h presence... no [00:19:53.231] checking for termios.h... no [00:19:53.234] checking ucred.h usability... no [00:19:53.287] checking ucred.h presence... no [00:19:53.306] checking for ucred.h... no [00:19:53.309] checking xlocale.h usability... no [00:19:53.365] checking xlocale.h presence... no [00:19:53.383] checking for xlocale.h... no [00:19:53.386] checking zlib.h usability... yes [00:19:53.397] checking zlib.h presence... yes [00:19:53.417] checking for zlib.h... yes [00:19:53.417] checking for lz4... /usr/bin/lz4 [00:19:53.417] checking for zstd... /usr/bin/zstd [00:19:53.417] checking for openssl... /usr/bin/openssl [00:19:53.422] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [00:19:53.422] checking crtdefs.h usability... yes [00:19:53.450] checking crtdefs.h presence... yes [00:19:53.465] checking for crtdefs.h... yes [00:19:53.466] checking whether byte ordering is bigendian... no [00:19:53.567] checking for inline... inline [00:19:53.574] checking for printf format archetype... gnu_printf [00:19:53.591] checking for _Static_assert... yes [00:19:53.634] checking for typeof... typeof [00:19:53.641] checking for __builtin_types_compatible_p... yes [00:19:53.662] checking for __builtin_constant_p... yes [00:19:53.681] checking for __builtin_mul_overflow... yes [00:19:53.726] checking for __builtin_unreachable... yes [00:19:53.769] checking for computed goto support... yes [00:19:53.803] checking for struct tm.tm_zone... no [00:19:53.882] checking for union semun... no [00:19:53.916] checking for socklen_t... yes [00:19:55.420] checking for struct sockaddr.sa_len... no [00:19:57.388] checking for C/C++ restrict keyword... __restrict [00:19:57.402] checking for struct option... yes [00:19:57.461] checking whether assembler supports x86_64 popcntq... yes [00:19:57.495] checking size of off_t... 4 [00:19:57.872] 0 [00:19:57.873] checking for int timezone... yes [00:19:57.927] checking for backtrace_symbols... no [00:19:57.979] checking for copyfile... no [00:19:58.034] checking for copy_file_range... no [00:19:58.084] checking for elf_aux_info... no [00:19:58.141] checking for getauxval... no [00:19:58.192] checking for getifaddrs... no [00:19:58.245] checking for getpeerucred... no [00:19:58.297] checking for inet_pton... yes [00:19:58.349] checking for kqueue... no [00:19:58.400] checking for mbstowcs_l... no [00:19:58.451] checking for memset_s... no [00:19:58.502] checking for posix_fallocate... no [00:19:58.554] checking for ppoll... no [00:19:58.605] checking for pthread_is_threaded_np... no [00:19:58.656] checking for setproctitle... no [00:19:58.707] checking for setproctitle_fast... no [00:19:58.757] checking for strchrnul... no [00:19:58.807] checking for strsignal... no [00:19:58.858] checking for syncfs... no [00:19:58.908] checking for sync_file_range... no [00:19:58.959] checking for uselocale... no [00:19:59.009] checking for wcstombs_l... no [00:19:59.057] checking for __builtin_bswap16... yes [00:19:59.106] checking for __builtin_bswap32... yes [00:19:59.154] checking for __builtin_bswap64... yes [00:19:59.203] checking for __builtin_clz... yes [00:19:59.252] checking for __builtin_ctz... yes [00:19:59.299] checking for __builtin_popcount... yes [00:19:59.348] checking for __builtin_frame_address... yes [00:19:59.398] checking for _LARGEFILE_SOURCE value needed for large files... no [00:19:59.449] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:19:59.480] checking for posix_fadvise... no [00:19:59.533] checking whether posix_fadvise is declared... no [00:19:59.580] checking whether fdatasync is declared... no [00:19:59.629] checking whether strlcat is declared... no [00:19:59.693] checking whether strlcpy is declared... no [00:19:59.759] checking whether strnlen is declared... yes [00:19:59.795] checking whether strsep is declared... no [00:19:59.860] checking whether preadv is declared... no [00:19:59.900] checking whether pwritev is declared... no [00:19:59.941] checking whether F_FULLFSYNC is declared... no [00:19:59.982] checking for explicit_bzero... no [00:20:00.030] checking for getopt... yes [00:20:00.077] checking for getpeereid... no [00:20:00.126] checking for inet_aton... no [00:20:00.175] checking for mkdtemp... no [00:20:00.224] checking for strlcat... no [00:20:00.272] checking for strlcpy... no [00:20:00.321] checking for strnlen... yes [00:20:00.368] checking for strsep... no [00:20:00.418] checking for pthread_barrier_wait... yes [00:20:00.463] configure: On mingw32 we will use our strtof wrapper. [00:20:00.463] checking for getopt_long... yes [00:20:00.507] checking for syslog... no [00:20:00.556] checking for opterr... yes [00:20:00.607] checking for optreset... no [00:20:00.659] checking test program... cross-compiling [00:20:00.659] checking size of void *... 8 [00:20:01.122] checking size of size_t... 8 [00:20:01.475] checking size of long... 4 [00:20:01.809] checking size of long long... 8 [00:20:02.233] checking alignment of short... 2 [00:20:02.449] checking alignment of int... 4 [00:20:02.756] checking alignment of long... 4 [00:20:03.037] checking alignment of int64_t... 8 [00:20:03.419] checking alignment of double... 8 [00:20:03.734] checking for __int128... yes [00:20:03.785] checking for __int128 alignment bug... assuming ok [00:20:03.785] checking alignment of PG_INT128_TYPE... 16 [00:20:04.326] checking for builtin __sync char locking functions... yes [00:20:04.368] checking for builtin __sync int32 locking functions... yes [00:20:04.410] checking for builtin __sync int32 atomic operations... yes [00:20:04.452] checking for builtin __sync int64 atomic operations... yes [00:20:04.497] checking for builtin __atomic int32 atomic operations... yes [00:20:04.541] checking for builtin __atomic int64 atomic operations... yes [00:20:04.586] checking for __get_cpuid... yes [00:20:04.634] checking for __get_cpuid_count... yes [00:20:04.678] checking for __cpuid... no [00:20:05.076] checking for __cpuidex... no [00:20:05.498] checking for _xgetbv... yes [00:20:05.904] checking for _mm512_popcnt_epi64... yes [00:20:06.322] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [00:20:06.422] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:20:06.444] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [00:20:06.462] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:20:06.480] 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 [00:20:06.535] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:20:06.536] checking which random number source to use... Windows native [00:20:06.538] checking for xmllint... /usr/bin/xmllint [00:20:06.538] checking for xsltproc... /usr/bin/xsltproc [00:20:06.538] checking for fop... /usr/bin/fop [00:20:06.538] checking for dbtoepub... no [00:20:06.539] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:20:06.539] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:20:06.539] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:20:06.551] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:20:06.551] 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 [00:20:06.551] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:20:06.552] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:20:06.642] configure: creating ./config.status [00:20:06.732] config.status: creating GNUmakefile [00:20:06.745] config.status: creating src/Makefile.global [00:20:06.760] config.status: creating src/include/pg_config.h [00:20:06.772] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:20:06.788] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:20:06.795] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:20:06.802] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:20:06.811] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:20:06.819] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:20:06.823] config.status: executing check_win32_symlinks commands [00:20:06.862] [00:20:06.862] real 0m18.135s [00:20:06.862] user 0m12.032s [00:20:06.862] sys 0m5.724s [00:20:06.862] make -s -j${BUILD_JOBS} clean [00:20:07.395] time make -s -j${BUILD_JOBS} world-bin [00:20:52.731] In file included from ../../../src/include/jit/jit.h:16, [00:20:52.731] from explain.c:22: [00:20:52.731] ../../../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] [00:20:52.731] 58 | int add_library(struct dl_phdr_info *info, size_t size, void *data); [00:20:52.731] | ^~~~~~~~~~~~ [00:20:52.731] cc1: all warnings being treated as errors [00:20:52.732] make[3]: *** [: explain.o] Error 1 [00:20:52.732] make[2]: *** [common.mk:37: commands-recursive] Error 2 [00:20:52.732] make[2]: *** Waiting for unfinished jobs.... [00:21:11.312] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:21:11.312] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:21:11.313] [00:21:11.313] real 1m3.917s [00:21:11.313] user 3m21.661s [00:21:11.313] sys 0m42.006s [00:21:11.313] [00:21:11.313] Exit status: 2