[07:41:14.791] time ./configure \ [07:41:14.791] --host=x86_64-w64-mingw32 \ [07:41:14.791] --enable-cassert \ [07:41:14.791] --without-icu \ [07:41:14.791] CC="ccache x86_64-w64-mingw32-gcc" \ [07:41:14.791] CXX="ccache x86_64-w64-mingw32-g++" [07:41:14.911] checking build system type... x86_64-pc-linux-gnu [07:41:15.109] checking host system type... x86_64-w64-mingw32 [07:41:15.114] checking which template to use... win32 [07:41:15.115] checking whether NLS is wanted... no [07:41:15.115] checking for default port number... 5432 [07:41:15.122] checking for block size... 8kB [07:41:15.123] checking for segment size... 1GB [07:41:15.125] checking for WAL block size... 8kB [07:41:15.126] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:41:15.162] checking whether the C compiler works... yes [07:41:15.308] checking for C compiler default output file name... a.exe [07:41:15.309] checking for suffix of executables... .exe [07:41:15.350] checking whether we are cross compiling... yes [07:41:15.428] checking for suffix of object files... o [07:41:15.436] checking whether we are using the GNU C compiler... yes [07:41:15.443] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:41:15.450] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:41:15.461] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:41:15.523] checking whether we are using the GNU C++ compiler... yes [07:41:15.531] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:41:15.599] checking for gawk... no [07:41:15.599] checking for mawk... mawk [07:41:15.602] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:41:15.609] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:41:15.615] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:41:15.660] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:41:15.839] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:41:15.846] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:41:15.853] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:41:15.859] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:41:15.866] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:41:15.873] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:41:15.880] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:41:15.887] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:41:15.894] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:41:15.901] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:41:15.908] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:41:15.915] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:41:15.922] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:41:15.959] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:41:15.967] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:41:15.974] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:41:15.981] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:41:15.988] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:41:15.995] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:41:16.019] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:41:16.026] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:41:16.033] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:41:16.071] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:41:16.111] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:41:16.118] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:41:16.126] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:41:16.161] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:41:16.168] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:41:16.177] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:41:16.186] checking whether the C compiler still works... yes [07:41:16.255] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:41:16.333] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:41:16.333] checking pkg-config is at least version 0.9.0... yes [07:41:16.349] checking whether to build with ICU support... no [07:41:16.349] checking whether to build with Tcl... no [07:41:16.349] checking whether to build Perl modules... no [07:41:16.349] checking whether to build Python modules... no [07:41:16.349] checking whether to build with GSSAPI support... no [07:41:16.351] checking whether to build with PAM support... no [07:41:16.351] checking whether to build with BSD Authentication support... no [07:41:16.351] checking whether to build with LDAP support... no [07:41:16.351] checking whether to build with Bonjour support... no [07:41:16.351] checking whether to build with SELinux support... no [07:41:16.351] checking whether to build with systemd support... no [07:41:16.351] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:41:16.351] checking whether to build with XML support... no [07:41:16.352] checking whether to build with LZ4 support... no [07:41:16.352] checking whether to build with ZSTD support... no [07:41:16.352] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:41:16.352] checking whether it is possible to strip libraries... yes [07:41:16.360] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:41:16.361] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:41:16.361] checking for a BSD-compatible install... /usr/bin/install -c [07:41:16.371] checking for tar... /usr/bin/tar [07:41:16.371] checking whether ln -s works... yes [07:41:16.371] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:41:16.374] checking for bison... /usr/bin/bison [07:41:16.377] configure: using bison (GNU Bison) 3.8.2 [07:41:16.380] checking for flex... /usr/bin/flex [07:41:16.394] configure: using flex 2.6.4 [07:41:16.394] checking for perl... /usr/bin/perl [07:41:16.397] configure: using perl 5.36.0 [07:41:16.400] checking for zic... /usr/sbin/zic [07:41:16.400] checking for a sed that does not truncate output... /usr/bin/sed [07:41:16.406] checking for grep that handles long lines and -e... /usr/bin/grep [07:41:16.408] checking for egrep... /usr/bin/grep -E [07:41:16.410] checking for ANSI C header files... yes [07:41:16.461] checking for sys/types.h... yes [07:41:16.479] checking for sys/stat.h... yes [07:41:16.496] checking for stdlib.h... yes [07:41:16.511] checking for string.h... yes [07:41:16.526] checking for memory.h... yes [07:41:16.541] checking for strings.h... yes [07:41:16.556] checking for inttypes.h... yes [07:41:16.573] checking for stdint.h... yes [07:41:16.589] checking for unistd.h... yes [07:41:16.604] checking for main in -lm... yes [07:41:16.651] checking for library containing setproctitle... no [07:41:16.743] checking for library containing dlsym... no [07:41:16.837] checking for library containing socket... -lws2_32 [07:41:16.971] checking for library containing getopt_long... none required [07:41:17.019] checking for library containing shm_open... no [07:41:17.109] checking for library containing shm_unlink... no [07:41:17.199] checking for library containing clock_gettime... no [07:41:17.288] checking for library containing shmget... no [07:41:17.378] checking for library containing backtrace_symbols... no [07:41:17.468] checking for library containing pthread_barrier_wait... -lpthread [07:41:17.561] checking for inflate in -lz... yes [07:41:17.610] checking for stdbool.h that conforms to C99... yes [07:41:17.621] checking for _Bool... yes [07:41:17.696] checking atomic.h usability... no [07:41:17.754] checking atomic.h presence... no [07:41:17.774] checking for atomic.h... no [07:41:17.777] checking copyfile.h usability... no [07:41:17.833] checking copyfile.h presence... no [07:41:17.853] checking for copyfile.h... no [07:41:17.857] checking execinfo.h usability... no [07:41:17.914] checking execinfo.h presence... no [07:41:17.933] checking for execinfo.h... no [07:41:17.937] checking getopt.h usability... yes [07:41:17.945] checking getopt.h presence... yes [07:41:17.961] checking for getopt.h... yes [07:41:17.969] checking ifaddrs.h usability... no [07:41:18.025] checking ifaddrs.h presence... no [07:41:18.045] checking for ifaddrs.h... no [07:41:18.048] checking mbarrier.h usability... no [07:41:18.104] checking mbarrier.h presence... no [07:41:18.124] checking for mbarrier.h... no [07:41:18.128] checking sys/epoll.h usability... no [07:41:18.185] checking sys/epoll.h presence... no [07:41:18.206] checking for sys/epoll.h... no [07:41:18.209] checking sys/event.h usability... no [07:41:18.265] checking sys/event.h presence... no [07:41:18.284] checking for sys/event.h... no [07:41:18.287] checking sys/personality.h usability... no [07:41:18.343] checking sys/personality.h presence... no [07:41:18.364] checking for sys/personality.h... no [07:41:18.367] checking sys/prctl.h usability... no [07:41:18.426] checking sys/prctl.h presence... no [07:41:18.447] checking for sys/prctl.h... no [07:41:18.451] checking sys/procctl.h usability... no [07:41:18.509] checking sys/procctl.h presence... no [07:41:18.530] checking for sys/procctl.h... no [07:41:18.533] checking sys/signalfd.h usability... no [07:41:18.591] checking sys/signalfd.h presence... no [07:41:18.612] checking for sys/signalfd.h... no [07:41:18.616] checking sys/ucred.h usability... no [07:41:18.672] checking sys/ucred.h presence... no [07:41:18.693] checking for sys/ucred.h... no [07:41:18.697] checking termios.h usability... no [07:41:18.755] checking termios.h presence... no [07:41:18.775] checking for termios.h... no [07:41:18.779] checking ucred.h usability... no [07:41:18.835] checking ucred.h presence... no [07:41:18.854] checking for ucred.h... no [07:41:18.857] checking zlib.h usability... yes [07:41:18.868] checking zlib.h presence... yes [07:41:18.888] checking for zlib.h... yes [07:41:18.888] checking for lz4... /usr/bin/lz4 [07:41:18.889] checking for zstd... /usr/bin/zstd [07:41:18.889] checking for openssl... /usr/bin/openssl [07:41:18.893] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [07:41:18.894] checking crtdefs.h usability... yes [07:41:18.902] checking crtdefs.h presence... yes [07:41:18.918] checking for crtdefs.h... yes [07:41:18.919] checking whether byte ordering is bigendian... no [07:41:18.998] checking for inline... inline [07:41:19.006] checking for printf format archetype... gnu_printf [07:41:19.015] checking for _Static_assert... yes [07:41:19.059] checking for typeof... typeof [07:41:19.067] checking for __builtin_types_compatible_p... yes [07:41:19.079] checking for __builtin_constant_p... yes [07:41:19.090] checking for __builtin_unreachable... yes [07:41:19.134] checking for computed goto support... yes [07:41:19.143] checking for struct tm.tm_zone... no [07:41:19.223] checking for union semun... no [07:41:19.260] checking for socklen_t... yes [07:41:20.448] checking for struct sockaddr.sa_len... no [07:41:22.509] checking for locale_t... no [07:41:22.580] checking for C/C++ restrict keyword... __restrict [07:41:22.595] checking for struct option... yes [07:41:22.639] checking whether assembler supports x86_64 popcntq... yes [07:41:22.648] checking size of off_t... 4 [07:41:22.863] 0 [07:41:22.864] checking size of bool... 1 [07:41:22.913] checking for int timezone... yes [07:41:22.965] checking for wcstombs_l declaration... no [07:41:23.058] checking for backtrace_symbols... no [07:41:23.111] checking for copyfile... no [07:41:23.164] checking for copy_file_range... no [07:41:23.217] checking for getifaddrs... no [07:41:23.270] checking for getpeerucred... no [07:41:23.323] checking for inet_pton... yes [07:41:23.376] checking for kqueue... no [07:41:23.428] checking for mbstowcs_l... no [07:41:23.481] checking for memset_s... no [07:41:23.534] checking for posix_fallocate... no [07:41:23.586] checking for ppoll... no [07:41:23.640] checking for pthread_barrier_wait... yes [07:41:23.692] checking for pthread_is_threaded_np... no [07:41:23.744] checking for setproctitle... no [07:41:23.795] checking for setproctitle_fast... no [07:41:23.846] checking for strchrnul... no [07:41:23.897] checking for strsignal... no [07:41:23.950] checking for syncfs... no [07:41:24.003] checking for sync_file_range... no [07:41:24.056] checking for uselocale... no [07:41:24.108] checking for wcstombs_l... no [07:41:24.156] checking for __builtin_bswap16... yes [07:41:24.207] checking for __builtin_bswap32... yes [07:41:24.255] checking for __builtin_bswap64... yes [07:41:24.306] checking for __builtin_clz... yes [07:41:24.358] checking for __builtin_ctz... yes [07:41:24.406] checking for __builtin_popcount... yes [07:41:24.455] checking for __builtin_frame_address... yes [07:41:24.504] checking for _LARGEFILE_SOURCE value needed for large files... no [07:41:24.559] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:41:24.589] checking for posix_fadvise... no [07:41:24.641] checking whether posix_fadvise is declared... no [07:41:24.688] checking whether fdatasync is declared... no [07:41:24.736] checking whether strlcat is declared... no [07:41:24.801] checking whether strlcpy is declared... no [07:41:24.867] checking whether strnlen is declared... yes [07:41:24.936] checking whether strsep is declared... no [07:41:25.001] checking whether preadv is declared... no [07:41:25.039] checking whether pwritev is declared... no [07:41:25.076] checking whether F_FULLFSYNC is declared... no [07:41:25.119] checking for explicit_bzero... no [07:41:25.168] checking for getopt... yes [07:41:25.214] checking for getpeereid... no [07:41:25.262] checking for inet_aton... no [07:41:25.309] checking for mkdtemp... no [07:41:25.356] checking for strlcat... no [07:41:25.404] checking for strlcpy... no [07:41:25.452] checking for strnlen... yes [07:41:25.499] checking for strsep... no [07:41:25.547] configure: On mingw32 we will use our strtof wrapper. [07:41:25.547] checking for getopt_long... yes [07:41:25.593] checking for _configthreadlocale... yes [07:41:25.638] checking for syslog... no [07:41:25.687] checking for opterr... yes [07:41:25.737] checking for optreset... no [07:41:25.791] checking test program... cross-compiling [07:41:25.791] checking whether long int is 64 bits... no [07:41:25.824] checking whether long long int is 64 bits... yes [07:41:25.844] checking for __builtin_mul_overflow... yes [07:41:25.887] checking size of void *... 8 [07:41:26.280] checking size of size_t... 8 [07:41:26.670] checking size of long... 4 [07:41:26.969] checking alignment of short... 2 [07:41:27.179] checking alignment of int... 4 [07:41:27.470] checking alignment of long... 4 [07:41:27.764] checking alignment of long long int... 8 [07:41:28.146] checking alignment of double... 8 [07:41:28.522] checking for int8... no [07:41:28.567] checking for uint8... no [07:41:28.610] checking for int64... no [07:41:28.652] checking for uint64... no [07:41:28.695] checking for __int128... yes [07:41:28.746] checking for __int128 alignment bug... assuming ok [07:41:28.746] checking alignment of PG_INT128_TYPE... 16 [07:41:29.212] checking for builtin __sync char locking functions... yes [07:41:29.254] checking for builtin __sync int32 locking functions... yes [07:41:29.296] checking for builtin __sync int32 atomic operations... yes [07:41:29.338] checking for builtin __sync int64 atomic operations... yes [07:41:29.381] checking for builtin __atomic int32 atomic operations... yes [07:41:29.425] checking for builtin __atomic int64 atomic operations... yes [07:41:29.468] checking for __get_cpuid... yes [07:41:29.516] checking for __get_cpuid_count... yes [07:41:29.562] checking for __cpuid... no [07:41:29.965] checking for __cpuidex... no [07:41:30.401] checking for _xgetbv with CFLAGS=... no [07:41:30.779] checking for _xgetbv with CFLAGS=-mxsave... yes [07:41:31.171] checking for _mm512_popcnt_epi64 with CFLAGS=... no [07:41:31.559] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [07:41:31.901] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [07:41:31.948] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [07:41:32.041] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:41:32.064] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:41:32.084] 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 [07:41:32.141] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:41:32.141] checking which random number source to use... Windows native [07:41:32.143] checking for xmllint... /usr/bin/xmllint [07:41:32.143] checking for xsltproc... /usr/bin/xsltproc [07:41:32.144] checking for fop... /usr/bin/fop [07:41:32.144] checking for dbtoepub... no [07:41:32.144] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:41:32.144] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:41:32.145] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:41:32.156] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:41:32.156] 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 [07:41:32.156] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:41:32.156] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:41:32.246] configure: creating ./config.status [07:41:32.335] config.status: creating GNUmakefile [07:41:32.348] config.status: creating src/Makefile.global [07:41:32.364] config.status: creating src/include/pg_config.h [07:41:32.378] config.status: creating src/include/pg_config_ext.h [07:41:32.390] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:41:32.406] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:41:32.414] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:41:32.421] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:41:32.429] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:41:32.437] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:41:32.440] config.status: executing check_win32_symlinks commands [07:41:32.476] [07:41:32.476] real 0m17.685s [07:41:32.476] user 0m11.802s [07:41:32.476] sys 0m5.506s [07:41:32.476] make -s -j${BUILD_JOBS} clean [07:41:32.989] time make -s -j${BUILD_JOBS} world-bin [07:41:35.940] In file included from pg_threads.c:14: [07:41:35.940] ../../src/include/port/pg_threads.h: In function ‘pg_thrd_current’: [07:41:35.940] ../../src/include/port/pg_threads.h:126:16: error: returning ‘DWORD’ {aka ‘long unsigned int’} from a function with return type ‘pg_thrd_t’ {aka ‘void *’} makes pointer from integer without a cast [-Werror=int-conversion] [07:41:35.940] 126 | return GetCurrentThreadId(); [07:41:35.940] | ^~~~~~~~~~~~~~~~~~~~ [07:41:35.940] cc1: all warnings being treated as errors [07:41:35.942] make[2]: *** [: pg_threads.o] Error 1 [07:41:35.942] make[1]: *** [Makefile:42: all-port-recurse] Error 2 [07:41:35.942] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:41:35.943] [07:41:35.943] real 0m2.954s [07:41:35.943] user 0m4.505s [07:41:35.943] sys 0m2.006s [07:41:35.943] [07:41:35.943] Exit status: 2