[22:59:52.661] time ./configure \ [22:59:52.661] --host=x86_64-w64-mingw32 \ [22:59:52.661] --enable-cassert \ [22:59:52.661] --without-icu \ [22:59:52.661] CC="ccache x86_64-w64-mingw32-gcc" \ [22:59:52.661] CXX="ccache x86_64-w64-mingw32-g++" [22:59:52.767] checking build system type... x86_64-pc-linux-gnu [22:59:52.936] checking host system type... x86_64-w64-mingw32 [22:59:52.941] checking which template to use... win32 [22:59:52.941] checking whether NLS is wanted... no [22:59:52.941] checking for default port number... 5432 [22:59:52.947] checking for block size... 8kB [22:59:52.948] checking for segment size... 1GB [22:59:52.951] checking for WAL block size... 8kB [22:59:52.952] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:59:52.982] checking whether the C compiler works... yes [22:59:53.106] checking for C compiler default output file name... a.exe [22:59:53.107] checking for suffix of executables... .exe [22:59:53.144] checking whether we are cross compiling... yes [22:59:53.216] checking for suffix of object files... o [22:59:53.224] checking whether we are using the GNU C compiler... yes [22:59:53.238] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:59:53.244] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:59:53.253] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:59:53.313] checking whether we are using the GNU C++ compiler... yes [22:59:53.319] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:59:53.382] checking for gawk... no [22:59:53.382] checking for mawk... mawk [22:59:53.384] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:59:53.390] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:59:53.404] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:59:53.446] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:59:53.604] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:59:53.611] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:59:53.641] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:59:53.648] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:59:53.654] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:59:53.661] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:59:53.667] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:59:53.674] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:59:53.689] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:59:53.705] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:59:53.767] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:59:53.774] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:59:53.806] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:59:53.842] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:59:53.849] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:59:53.865] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:59:53.872] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:59:53.878] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:59:53.909] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:59:53.931] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:59:53.937] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:59:53.944] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:59:53.980] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:59:54.017] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:59:54.047] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:59:54.054] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:59:54.087] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:59:54.094] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:59:54.101] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:59:54.117] checking whether the C compiler still works... yes [22:59:54.187] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:59:54.251] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:59:54.252] checking pkg-config is at least version 0.9.0... yes [22:59:54.267] checking whether to build with ICU support... no [22:59:54.268] checking whether to build with Tcl... no [22:59:54.268] checking whether to build Perl modules... no [22:59:54.268] checking whether to build Python modules... no [22:59:54.268] checking whether to build with GSSAPI support... no [22:59:54.269] checking whether to build with PAM support... no [22:59:54.269] checking whether to build with BSD Authentication support... no [22:59:54.269] checking whether to build with LDAP support... no [22:59:54.269] checking whether to build with Bonjour support... no [22:59:54.269] checking whether to build with SELinux support... no [22:59:54.269] checking whether to build with systemd support... no [22:59:54.269] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:59:54.270] checking whether to build with libcurl support... no [22:59:54.270] checking whether to build with XML support... no [22:59:54.270] checking whether to build with LZ4 support... no [22:59:54.270] checking whether to build with ZSTD support... no [22:59:54.271] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:59:54.271] checking whether it is possible to strip libraries... yes [22:59:54.277] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:59:54.278] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:59:54.278] checking for a BSD-compatible install... /usr/bin/install -c [22:59:54.286] checking for tar... /usr/bin/tar [22:59:54.286] checking whether ln -s works... yes [22:59:54.286] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:59:54.288] checking for bison... /usr/bin/bison [22:59:54.290] configure: using bison (GNU Bison) 3.8.2 [22:59:54.293] checking for flex... /usr/bin/flex [22:59:54.294] configure: using flex 2.6.4 [22:59:54.295] checking for perl... /usr/bin/perl [22:59:54.297] configure: using perl 5.36.0 [22:59:54.299] checking for zic... /usr/sbin/zic [22:59:54.299] checking for a sed that does not truncate output... /usr/bin/sed [22:59:54.304] checking for grep that handles long lines and -e... /usr/bin/grep [22:59:54.306] checking for egrep... /usr/bin/grep -E [22:59:54.307] checking for ANSI C header files... yes [22:59:54.365] checking for sys/types.h... yes [22:59:54.380] checking for sys/stat.h... yes [22:59:54.413] checking for stdlib.h... yes [22:59:54.426] checking for string.h... yes [22:59:54.456] checking for memory.h... yes [22:59:54.470] checking for strings.h... yes [22:59:54.525] checking for inttypes.h... yes [22:59:54.583] checking for stdint.h... yes [22:59:54.595] checking for unistd.h... yes [22:59:54.655] checking for main in -lm... yes [22:59:54.698] checking for library containing setproctitle... no [22:59:54.782] checking for library containing dlsym... no [22:59:54.862] checking for library containing socket... -lws2_32 [22:59:54.982] checking for library containing getopt_long... none required [22:59:55.026] checking for library containing shm_open... no [22:59:55.106] checking for library containing shm_unlink... no [22:59:55.186] checking for library containing clock_gettime... no [22:59:55.266] checking for library containing shmget... no [22:59:55.346] checking for library containing backtrace_symbols... no [22:59:55.426] checking for library containing pthread_barrier_wait... -lpthread [22:59:55.507] checking for inflate in -lz... yes [22:59:55.551] checking atomic.h usability... no [22:59:55.602] checking atomic.h presence... no [22:59:55.619] checking for atomic.h... no [22:59:55.622] checking copyfile.h usability... no [22:59:55.672] checking copyfile.h presence... no [22:59:55.689] checking for copyfile.h... no [22:59:55.692] checking execinfo.h usability... no [22:59:55.742] checking execinfo.h presence... no [22:59:55.758] checking for execinfo.h... no [22:59:55.761] checking getopt.h usability... yes [22:59:55.768] checking getopt.h presence... yes [22:59:55.781] checking for getopt.h... yes [22:59:55.787] checking ifaddrs.h usability... no [22:59:55.838] checking ifaddrs.h presence... no [22:59:55.856] checking for ifaddrs.h... no [22:59:55.859] checking mbarrier.h usability... no [22:59:55.909] checking mbarrier.h presence... no [22:59:55.925] checking for mbarrier.h... no [22:59:55.928] checking sys/epoll.h usability... no [22:59:55.978] checking sys/epoll.h presence... no [22:59:55.995] checking for sys/epoll.h... no [22:59:55.998] checking sys/event.h usability... no [22:59:56.049] checking sys/event.h presence... no [22:59:56.065] checking for sys/event.h... no [22:59:56.068] checking sys/personality.h usability... no [22:59:56.119] checking sys/personality.h presence... no [22:59:56.136] checking for sys/personality.h... no [22:59:56.139] checking sys/prctl.h usability... no [22:59:56.189] checking sys/prctl.h presence... no [22:59:56.205] checking for sys/prctl.h... no [22:59:56.208] checking sys/procctl.h usability... no [22:59:56.259] checking sys/procctl.h presence... no [22:59:56.278] checking for sys/procctl.h... no [22:59:56.281] checking sys/signalfd.h usability... no [22:59:56.333] checking sys/signalfd.h presence... no [22:59:56.351] checking for sys/signalfd.h... no [22:59:56.354] checking sys/ucred.h usability... no [22:59:56.406] checking sys/ucred.h presence... no [22:59:56.423] checking for sys/ucred.h... no [22:59:56.426] checking termios.h usability... no [22:59:56.477] checking termios.h presence... no [22:59:56.493] checking for termios.h... no [22:59:56.496] checking ucred.h usability... no [22:59:56.547] checking ucred.h presence... no [22:59:56.564] checking for ucred.h... no [22:59:56.567] checking xlocale.h usability... no [22:59:56.617] checking xlocale.h presence... no [22:59:56.634] checking for xlocale.h... no [22:59:56.637] checking zlib.h usability... yes [22:59:56.645] checking zlib.h presence... yes [22:59:56.662] checking for zlib.h... yes [22:59:56.663] checking for lz4... /usr/bin/lz4 [22:59:56.663] checking for zstd... /usr/bin/zstd [22:59:56.663] checking for openssl... /usr/bin/openssl [22:59:56.667] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [22:59:56.668] checking crtdefs.h usability... yes [22:59:56.674] checking crtdefs.h presence... yes [22:59:56.688] checking for crtdefs.h... yes [22:59:56.689] checking whether byte ordering is bigendian... no [22:59:56.764] checking for inline... inline [22:59:56.771] checking for printf format archetype... gnu_printf [22:59:56.804] checking for _Static_assert... yes [22:59:56.842] checking for typeof... typeof [22:59:56.857] checking for __builtin_types_compatible_p... yes [22:59:56.876] checking for __builtin_constant_p... yes [22:59:56.886] checking for __builtin_mul_overflow... yes [22:59:56.931] checking for __builtin_unreachable... yes [22:59:56.968] checking for computed goto support... yes [22:59:56.999] checking for struct tm.tm_zone... no [22:59:57.068] checking for union semun... no [22:59:57.099] checking for socklen_t... yes [22:59:58.173] checking for struct sockaddr.sa_len... no [23:00:00.068] checking for C/C++ restrict keyword... __restrict [23:00:00.089] checking for struct option... yes [23:00:00.127] checking whether assembler supports x86_64 popcntq... yes [23:00:00.133] checking size of off_t... 4 [23:00:00.429] 0 [23:00:00.430] checking for int timezone... yes [23:00:00.478] checking for backtrace_symbols... no [23:00:00.524] checking for copyfile... no [23:00:00.570] checking for copy_file_range... no [23:00:00.616] checking for elf_aux_info... no [23:00:00.662] checking for getauxval... no [23:00:00.708] checking for getifaddrs... no [23:00:00.755] checking for getpeerucred... no [23:00:00.801] checking for inet_pton... yes [23:00:00.849] checking for kqueue... no [23:00:00.896] checking for mbstowcs_l... no [23:00:00.943] checking for memset_s... no [23:00:00.990] checking for posix_fallocate... no [23:00:01.037] checking for ppoll... no [23:00:01.083] checking for pthread_is_threaded_np... no [23:00:01.129] checking for setproctitle... no [23:00:01.175] checking for setproctitle_fast... no [23:00:01.222] checking for strchrnul... no [23:00:01.268] checking for strsignal... no [23:00:01.314] checking for syncfs... no [23:00:01.360] checking for sync_file_range... no [23:00:01.407] checking for uselocale... no [23:00:01.453] checking for wcstombs_l... no [23:00:01.497] checking for __builtin_bswap16... yes [23:00:01.542] checking for __builtin_bswap32... yes [23:00:01.585] checking for __builtin_bswap64... yes [23:00:01.629] checking for __builtin_clz... yes [23:00:01.675] checking for __builtin_ctz... yes [23:00:01.718] checking for __builtin_popcount... yes [23:00:01.762] checking for __builtin_frame_address... yes [23:00:01.807] checking for _LARGEFILE_SOURCE value needed for large files... no [23:00:01.857] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [23:00:01.886] checking for posix_fadvise... no [23:00:01.932] checking whether posix_fadvise is declared... no [23:00:01.972] checking whether fdatasync is declared... no [23:00:02.014] checking whether strlcat is declared... no [23:00:02.072] checking whether strlcpy is declared... no [23:00:02.131] checking whether strnlen is declared... yes [23:00:02.143] checking whether strsep is declared... no [23:00:02.201] checking whether preadv is declared... no [23:00:02.234] checking whether pwritev is declared... no [23:00:02.266] checking whether F_FULLFSYNC is declared... no [23:00:02.301] checking for explicit_bzero... no [23:00:02.345] checking for getopt... yes [23:00:02.386] checking for getpeereid... no [23:00:02.430] checking for inet_aton... no [23:00:02.474] checking for mkdtemp... no [23:00:02.518] checking for strlcat... no [23:00:02.563] checking for strlcpy... no [23:00:02.609] checking for strnlen... yes [23:00:02.653] checking for strsep... no [23:00:02.697] checking for pthread_barrier_wait... yes [23:00:02.737] configure: On mingw32 we will use our strtof wrapper. [23:00:02.737] checking for getopt_long... yes [23:00:02.779] checking for syslog... no [23:00:02.822] checking for opterr... yes [23:00:02.867] checking for optreset... no [23:00:02.915] checking test program... cross-compiling [23:00:02.915] checking size of void *... 8 [23:00:03.282] checking size of size_t... 8 [23:00:03.684] checking size of long... 4 [23:00:03.986] checking size of long long... 8 [23:00:04.384] checking alignment of short... 2 [23:00:04.512] checking alignment of int... 4 [23:00:04.723] checking alignment of long... 4 [23:00:04.962] checking alignment of int64_t... 8 [23:00:05.309] checking alignment of double... 8 [23:00:05.597] checking for __int128... yes [23:00:05.645] checking for __int128 alignment bug... assuming ok [23:00:05.645] checking alignment of PG_INT128_TYPE... 16 [23:00:06.072] checking for builtin __sync char locking functions... yes [23:00:06.111] checking for builtin __sync int32 locking functions... yes [23:00:06.149] checking for builtin __sync int32 atomic operations... yes [23:00:06.189] checking for builtin __sync int64 atomic operations... yes [23:00:06.229] checking for builtin __atomic int32 atomic operations... yes [23:00:06.269] checking for builtin __atomic int64 atomic operations... yes [23:00:06.309] checking for __get_cpuid... yes [23:00:06.353] checking for __get_cpuid_count... yes [23:00:06.394] checking for __cpuid... no [23:00:06.783] checking for __cpuidex... no [23:00:07.198] checking for _xgetbv... yes [23:00:07.596] checking for _mm512_popcnt_epi64... yes [23:00:08.005] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [23:00:08.100] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [23:00:08.120] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [23:00:08.137] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [23:00:08.154] 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 [23:00:08.206] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [23:00:08.206] checking which random number source to use... Windows native [23:00:08.208] checking for xmllint... /usr/bin/xmllint [23:00:08.208] checking for xsltproc... /usr/bin/xsltproc [23:00:08.208] checking for fop... /usr/bin/fop [23:00:08.209] checking for dbtoepub... no [23:00:08.209] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [23:00:08.209] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [23:00:08.209] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [23:00:08.222] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [23:00:08.222] 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 [23:00:08.222] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [23:00:08.222] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [23:00:08.304] configure: creating ./config.status [23:00:08.380] config.status: creating GNUmakefile [23:00:08.391] config.status: creating src/Makefile.global [23:00:08.405] config.status: creating src/include/pg_config.h [23:00:08.417] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [23:00:08.430] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [23:00:08.436] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [23:00:08.443] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [23:00:08.450] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [23:00:08.456] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [23:00:08.459] config.status: executing check_win32_symlinks commands [23:00:08.490] [23:00:08.490] real 0m15.829s [23:00:08.490] user 0m10.412s [23:00:08.490] sys 0m5.065s [23:00:08.490] make -s -j${BUILD_JOBS} clean [23:00:08.987] time make -s -j${BUILD_JOBS} world-bin [23:00:49.738] In file included from ../../../src/include/jit/jit.h:16, [23:00:49.738] from explain.c:26: [23:00:49.738] ../../../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] [23:00:49.738] 58 | int add_library(struct dl_phdr_info *info, size_t size, void *data); [23:00:49.738] | ^~~~~~~~~~~~ [23:00:49.738] cc1: all warnings being treated as errors [23:00:49.739] make[3]: *** [: explain.o] Error 1 [23:00:49.739] make[2]: *** [common.mk:37: commands-recursive] Error 2 [23:00:49.739] make[2]: *** Waiting for unfinished jobs.... [23:00:51.560] In file included from ../../../src/include/jit/jit.h:16, [23:00:51.560] from execExpr.c:40: [23:00:51.560] ../../../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] [23:00:51.560] 58 | int add_library(struct dl_phdr_info *info, size_t size, void *data); [23:00:51.560] | ^~~~~~~~~~~~ [23:00:51.560] cc1: all warnings being treated as errors [23:00:51.560] make[3]: *** [: execExpr.o] Error 1 [23:00:51.560] make[3]: *** Waiting for unfinished jobs.... [23:00:52.886] make[2]: *** [common.mk:37: executor-recursive] Error 2 [23:01:05.731] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [23:01:05.731] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [23:01:05.732] [23:01:05.732] real 0m56.745s [23:01:05.732] user 2m54.127s [23:01:05.732] sys 0m38.601s [23:01:05.732] [23:01:05.732] Exit status: 2