[22:51:23.472] time ./configure \ [22:51:23.472] --host=x86_64-w64-mingw32 \ [22:51:23.472] --enable-cassert \ [22:51:23.472] --without-icu \ [22:51:23.472] CC="ccache x86_64-w64-mingw32-gcc" \ [22:51:23.472] CXX="ccache x86_64-w64-mingw32-g++" [22:51:23.590] checking build system type... x86_64-pc-linux-gnu [22:51:23.818] checking host system type... x86_64-w64-mingw32 [22:51:23.823] checking which template to use... win32 [22:51:23.824] checking whether NLS is wanted... no [22:51:23.824] checking for default port number... 5432 [22:51:23.831] checking for block size... 8kB [22:51:23.832] checking for segment size... 1GB [22:51:23.835] checking for WAL block size... 8kB [22:51:23.837] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:51:23.874] checking whether the C compiler works... yes [22:51:24.039] checking for C compiler default output file name... a.exe [22:51:24.040] checking for suffix of executables... .exe [22:51:24.084] checking whether we are cross compiling... yes [22:51:24.172] checking for suffix of object files... o [22:51:24.181] checking whether we are using the GNU C compiler... yes [22:51:24.218] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:51:24.226] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:51:24.317] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:51:24.462] checking whether we are using the GNU C++ compiler... yes [22:51:24.640] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:51:24.783] checking for gawk... no [22:51:24.783] checking for mawk... mawk [22:51:24.786] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:51:24.820] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:51:24.855] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:51:24.903] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:51:24.950] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:51:24.968] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:51:24.976] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:51:25.011] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:51:25.018] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:51:25.054] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:51:25.061] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:51:25.068] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:51:25.104] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:51:25.140] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:51:25.148] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:51:25.165] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:51:25.199] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:51:25.234] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:51:25.271] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:51:25.307] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:51:25.342] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:51:25.379] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:51:25.408] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:51:25.426] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:51:25.444] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:51:25.484] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:51:25.523] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:51:25.557] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:51:25.591] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:51:25.627] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:51:25.645] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:51:25.652] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:51:25.687] checking whether the C compiler still works... yes [22:51:25.766] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:51:25.841] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:51:25.841] checking pkg-config is at least version 0.9.0... yes [22:51:25.860] checking whether to build with ICU support... no [22:51:25.860] checking whether to build with Tcl... no [22:51:25.860] checking whether to build Perl modules... no [22:51:25.861] checking whether to build Python modules... no [22:51:25.861] checking whether to build with GSSAPI support... no [22:51:25.862] checking whether to build with PAM support... no [22:51:25.862] checking whether to build with BSD Authentication support... no [22:51:25.862] checking whether to build with LDAP support... no [22:51:25.862] checking whether to build with Bonjour support... no [22:51:25.862] checking whether to build with SELinux support... no [22:51:25.862] checking whether to build with systemd support... no [22:51:25.862] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:51:25.863] checking whether to build with XML support... no [22:51:25.863] checking whether to build with LZ4 support... no [22:51:25.863] checking whether to build with ZSTD support... no [22:51:25.863] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:51:25.864] checking whether it is possible to strip libraries... yes [22:51:25.872] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:51:25.873] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:51:25.873] checking for a BSD-compatible install... /usr/bin/install -c [22:51:25.882] checking for tar... /usr/bin/tar [22:51:25.882] checking whether ln -s works... yes [22:51:25.882] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:51:25.885] checking for bison... /usr/bin/bison [22:51:25.887] configure: using bison (GNU Bison) 3.8.2 [22:51:25.890] checking for flex... /usr/bin/flex [22:51:25.902] configure: using flex 2.6.4 [22:51:25.902] checking for perl... /usr/bin/perl [22:51:25.905] configure: using perl 5.36.0 [22:51:25.907] checking for zic... /usr/sbin/zic [22:51:25.908] checking for a sed that does not truncate output... /usr/bin/sed [22:51:25.913] checking for grep that handles long lines and -e... /usr/bin/grep [22:51:25.915] checking for egrep... /usr/bin/grep -E [22:51:25.917] checking for ANSI C header files... yes [22:51:26.010] checking for sys/types.h... yes [22:51:26.028] checking for sys/stat.h... yes [22:51:26.095] checking for stdlib.h... yes [22:51:26.155] checking for string.h... yes [22:51:26.190] checking for memory.h... yes [22:51:26.251] checking for strings.h... yes [22:51:26.312] checking for inttypes.h... yes [22:51:26.330] checking for stdint.h... yes [22:51:26.395] checking for unistd.h... yes [22:51:26.461] checking for main in -lm... yes [22:51:26.510] checking for library containing setproctitle... no [22:51:26.601] checking for library containing dlsym... no [22:51:26.690] checking for library containing socket... -lws2_32 [22:51:26.825] checking for library containing getopt_long... none required [22:51:26.875] checking for library containing shm_open... no [22:51:26.968] checking for library containing shm_unlink... no [22:51:27.062] checking for library containing clock_gettime... no [22:51:27.155] checking for library containing shmget... no [22:51:27.249] checking for library containing backtrace_symbols... no [22:51:27.343] checking for library containing pthread_barrier_wait... -lpthread [22:51:27.443] checking for inflate in -lz... yes [22:51:27.492] checking for stdbool.h that conforms to C99... yes [22:51:27.504] checking for _Bool... yes [22:51:27.637] checking atomic.h usability... no [22:51:27.695] checking atomic.h presence... no [22:51:27.715] checking for atomic.h... no [22:51:27.719] checking copyfile.h usability... no [22:51:27.775] checking copyfile.h presence... no [22:51:27.796] checking for copyfile.h... no [22:51:27.799] checking execinfo.h usability... no [22:51:27.858] checking execinfo.h presence... no [22:51:27.880] checking for execinfo.h... no [22:51:27.883] checking getopt.h usability... yes [22:51:27.913] checking getopt.h presence... yes [22:51:27.930] checking for getopt.h... yes [22:51:27.938] checking ifaddrs.h usability... no [22:51:27.997] checking ifaddrs.h presence... no [22:51:28.017] checking for ifaddrs.h... no [22:51:28.021] checking langinfo.h usability... no [22:51:28.078] checking langinfo.h presence... no [22:51:28.099] checking for langinfo.h... no [22:51:28.102] checking mbarrier.h usability... no [22:51:28.160] checking mbarrier.h presence... no [22:51:28.181] checking for mbarrier.h... no [22:51:28.184] checking sys/epoll.h usability... no [22:51:28.242] checking sys/epoll.h presence... no [22:51:28.262] checking for sys/epoll.h... no [22:51:28.266] checking sys/event.h usability... no [22:51:28.323] checking sys/event.h presence... no [22:51:28.343] checking for sys/event.h... no [22:51:28.346] checking sys/personality.h usability... no [22:51:28.404] checking sys/personality.h presence... no [22:51:28.424] checking for sys/personality.h... no [22:51:28.428] checking sys/prctl.h usability... no [22:51:28.485] checking sys/prctl.h presence... no [22:51:28.505] checking for sys/prctl.h... no [22:51:28.508] checking sys/procctl.h usability... no [22:51:28.567] checking sys/procctl.h presence... no [22:51:28.587] checking for sys/procctl.h... no [22:51:28.591] checking sys/signalfd.h usability... no [22:51:28.647] checking sys/signalfd.h presence... no [22:51:28.667] checking for sys/signalfd.h... no [22:51:28.670] checking sys/ucred.h usability... no [22:51:28.727] checking sys/ucred.h presence... no [22:51:28.748] checking for sys/ucred.h... no [22:51:28.751] checking termios.h usability... no [22:51:28.808] checking termios.h presence... no [22:51:28.827] checking for termios.h... no [22:51:28.830] checking ucred.h usability... no [22:51:28.887] checking ucred.h presence... no [22:51:28.907] checking for ucred.h... no [22:51:28.910] checking zlib.h usability... yes [22:51:28.974] checking zlib.h presence... yes [22:51:28.994] checking for zlib.h... yes [22:51:28.995] checking for lz4... /usr/bin/lz4 [22:51:28.995] checking for zstd... /usr/bin/zstd [22:51:28.995] checking for openssl... /usr/bin/openssl [22:51:28.999] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [22:51:29.000] checking crtdefs.h usability... yes [22:51:29.030] checking crtdefs.h presence... yes [22:51:29.046] checking for crtdefs.h... yes [22:51:29.048] checking whether byte ordering is bigendian... no [22:51:29.160] checking for inline... inline [22:51:29.190] checking for printf format archetype... gnu_printf [22:51:29.210] checking for _Static_assert... yes [22:51:29.253] checking for typeof... typeof [22:51:29.290] checking for __builtin_types_compatible_p... yes [22:51:29.330] checking for __builtin_constant_p... yes [22:51:29.363] checking for __builtin_unreachable... yes [22:51:29.406] checking for computed goto support... yes [22:51:29.441] checking for struct tm.tm_zone... no [22:51:29.522] checking for union semun... no [22:51:29.558] checking for socklen_t... yes [22:51:31.911] checking for struct sockaddr.sa_len... no [22:51:34.017] checking for locale_t... no [22:51:34.089] checking for C/C++ restrict keyword... __restrict [22:51:34.133] checking for struct option... yes [22:51:34.191] checking whether assembler supports x86_64 popcntq... yes [22:51:34.210] checking size of off_t... 4 [22:51:34.588] 0 [22:51:34.588] checking size of bool... 1 [22:51:34.651] checking for int timezone... yes [22:51:34.703] checking for wcstombs_l declaration... no [22:51:34.798] checking for backtrace_symbols... no [22:51:34.852] checking for copyfile... no [22:51:34.907] checking for copy_file_range... no [22:51:34.960] checking for getifaddrs... no [22:51:35.015] checking for getpeerucred... no [22:51:35.069] checking for inet_pton... yes [22:51:35.124] checking for kqueue... no [22:51:35.178] checking for mbstowcs_l... no [22:51:35.232] checking for memset_s... no [22:51:35.286] checking for posix_fallocate... no [22:51:35.338] checking for ppoll... no [22:51:35.389] checking for pthread_is_threaded_np... no [22:51:35.442] checking for setproctitle... no [22:51:35.495] checking for setproctitle_fast... no [22:51:35.548] checking for strchrnul... no [22:51:35.602] checking for strsignal... no [22:51:35.656] checking for syncfs... no [22:51:35.708] checking for sync_file_range... no [22:51:35.762] checking for uselocale... no [22:51:35.815] checking for wcstombs_l... no [22:51:35.866] checking for __builtin_bswap16... yes [22:51:35.917] checking for __builtin_bswap32... yes [22:51:35.966] checking for __builtin_bswap64... yes [22:51:36.016] checking for __builtin_clz... yes [22:51:36.069] checking for __builtin_ctz... yes [22:51:36.122] checking for __builtin_popcount... yes [22:51:36.171] checking for __builtin_frame_address... yes [22:51:36.222] checking for _LARGEFILE_SOURCE value needed for large files... no [22:51:36.276] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:51:36.312] checking for posix_fadvise... no [22:51:36.366] checking whether posix_fadvise is declared... no [22:51:36.413] checking whether fdatasync is declared... no [22:51:36.463] checking whether strlcat is declared... no [22:51:36.533] checking whether strlcpy is declared... no [22:51:36.602] checking whether strnlen is declared... yes [22:51:36.671] checking whether strsep is declared... no [22:51:36.739] checking whether preadv is declared... no [22:51:36.778] checking whether pwritev is declared... no [22:51:36.815] checking whether F_FULLFSYNC is declared... no [22:51:36.859] checking for explicit_bzero... no [22:51:36.910] checking for getopt... yes [22:51:36.956] checking for getpeereid... no [22:51:37.008] checking for inet_aton... no [22:51:37.059] checking for mkdtemp... no [22:51:37.109] checking for strlcat... no [22:51:37.160] checking for strlcpy... no [22:51:37.211] checking for strnlen... yes [22:51:37.263] checking for strsep... no [22:51:37.315] checking for pthread_barrier_wait... yes [22:51:37.360] configure: On mingw32 we will use our strtof wrapper. [22:51:37.360] checking for getopt_long... yes [22:51:37.408] checking for _configthreadlocale... yes [22:51:37.458] checking for syslog... no [22:51:37.509] checking for opterr... yes [22:51:37.561] checking for optreset... no [22:51:37.617] checking test program... cross-compiling [22:51:37.617] checking whether long int is 64 bits... no [22:51:37.651] checking whether long long int is 64 bits... yes [22:51:37.662] checking for __builtin_mul_overflow... yes [22:51:37.708] checking size of void *... 8 [22:51:38.220] checking size of size_t... 8 [22:51:38.721] checking size of long... 4 [22:51:39.130] checking alignment of short... 2 [22:51:39.379] checking alignment of int... 4 [22:51:39.828] checking alignment of long... 4 [22:51:40.147] checking alignment of long long int... 8 [22:51:40.583] checking alignment of double... 8 [22:51:41.035] checking for int8... no [22:51:41.083] checking for uint8... no [22:51:41.129] checking for int64... no [22:51:41.175] checking for uint64... no [22:51:41.222] checking for __int128... yes [22:51:41.273] checking for __int128 alignment bug... assuming ok [22:51:41.273] checking alignment of PG_INT128_TYPE... 16 [22:51:41.823] checking for builtin __sync char locking functions... yes [22:51:41.866] checking for builtin __sync int32 locking functions... yes [22:51:41.910] checking for builtin __sync int32 atomic operations... yes [22:51:41.954] checking for builtin __sync int64 atomic operations... yes [22:51:41.998] checking for builtin __atomic int32 atomic operations... yes [22:51:42.042] checking for builtin __atomic int64 atomic operations... yes [22:51:42.086] checking for __get_cpuid... yes [22:51:42.133] checking for __get_cpuid_count... yes [22:51:42.180] checking for __cpuid... no [22:51:42.597] checking for __cpuidex... no [22:51:43.031] checking for _xgetbv with CFLAGS=... no [22:51:43.421] checking for _xgetbv with CFLAGS=-mxsave... yes [22:51:43.833] checking for _mm512_popcnt_epi64 with CFLAGS=... no [22:51:44.232] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [22:51:44.568] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [22:51:44.618] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [22:51:44.713] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:51:44.738] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:51:44.759] 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 [22:51:44.819] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:51:44.819] checking which random number source to use... Windows native [22:51:44.821] checking for xmllint... /usr/bin/xmllint [22:51:44.822] checking for xsltproc... /usr/bin/xsltproc [22:51:44.822] checking for fop... /usr/bin/fop [22:51:44.822] checking for dbtoepub... no [22:51:44.822] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:51:44.823] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:51:44.835] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:51:44.835] 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 [22:51:44.835] configure: using CPPFLAGS= -I./src/include/port/win32 [22:51:44.835] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:51:44.933] configure: creating ./config.status [22:51:45.029] config.status: creating GNUmakefile [22:51:45.043] config.status: creating src/Makefile.global [22:51:45.060] config.status: creating src/include/pg_config.h [22:51:45.075] config.status: creating src/include/pg_config_ext.h [22:51:45.090] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:51:45.107] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:51:45.116] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:51:45.125] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:51:45.133] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:51:45.141] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:51:45.145] config.status: executing check_win32_symlinks commands [22:51:45.183] [22:51:45.183] real 0m21.710s [22:51:45.183] user 0m14.296s [22:51:45.183] sys 0m6.916s [22:51:45.183] make -s -j${BUILD_JOBS} clean [22:51:45.728] time make -s -j${BUILD_JOBS} world-bin [22:56:36.894] bench.c: In function ‘bench_oid_sort’: [22:56:36.894] bench.c:36:29: error: implicit declaration of function ‘random’; did you mean ‘drandom’? [-Werror=implicit-function-declaration] [22:56:36.894] 36 | random_oid = (Oid) (random() % (UINT_MAX - 1) + 1); [22:56:36.894] | ^~~~~~ [22:56:36.894] | drandom [22:56:36.894] cc1: all warnings being treated as errors [22:56:36.895] make[2]: *** [: bench.o] Error 1 [22:56:36.895] make[1]: *** [Makefile:95: all-bench_sort_improvements-recurse] Error 2 [22:56:36.895] make[1]: *** Waiting for unfinished jobs.... [22:56:38.537] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [22:56:38.537] [22:56:38.537] real 4m52.809s [22:56:38.537] user 15m31.571s [22:56:38.537] sys 2m51.587s [22:56:38.537] [22:56:38.537] Exit status: 2