[13:16:04.884] time ./configure \ [13:16:04.884] --host=x86_64-w64-mingw32 \ [13:16:04.884] --enable-cassert \ [13:16:04.884] --without-icu \ [13:16:04.884] CC="ccache x86_64-w64-mingw32-gcc" \ [13:16:04.884] CXX="ccache x86_64-w64-mingw32-g++" [13:16:05.051] checking build system type... x86_64-pc-linux-gnu [13:16:05.287] checking host system type... x86_64-w64-mingw32 [13:16:05.295] checking which template to use... win32 [13:16:05.295] checking whether NLS is wanted... no [13:16:05.295] checking for default port number... 5432 [13:16:05.305] checking for block size... 8kB [13:16:05.307] checking for segment size... 1GB [13:16:05.310] checking for WAL block size... 8kB [13:16:05.312] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:16:05.362] checking whether the C compiler works... yes [13:16:05.531] checking for C compiler default output file name... a.exe [13:16:05.533] checking for suffix of executables... .exe [13:16:05.584] checking whether we are cross compiling... yes [13:16:05.675] checking for suffix of object files... o [13:16:05.686] checking whether we are using the GNU C compiler... yes [13:16:05.696] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:16:05.706] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:16:05.721] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:16:05.800] checking whether we are using the GNU C++ compiler... yes [13:16:05.810] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:16:05.906] checking for gawk... no [13:16:05.906] checking for mawk... mawk [13:16:05.908] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:16:05.917] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:16:05.962] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:16:06.021] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:16:06.216] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:16:06.237] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:16:06.247] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:16:06.257] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:16:06.267] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:16:06.276] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:16:06.286] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:16:06.296] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:16:06.306] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:16:06.350] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:16:06.360] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:16:06.369] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:16:06.470] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:16:06.516] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:16:06.526] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:16:06.537] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:16:06.548] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:16:06.558] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:16:06.568] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:16:06.608] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:16:06.618] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:16:06.629] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:16:06.675] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:16:06.722] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:16:06.767] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:16:06.777] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:16:06.822] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:16:06.833] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:16:06.843] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:16:06.854] checking whether the C compiler still works... yes [13:16:06.937] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:16:07.043] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:16:07.044] checking pkg-config is at least version 0.9.0... yes [13:16:07.064] checking whether to build with ICU support... no [13:16:07.064] checking whether to build with Tcl... no [13:16:07.065] checking whether to build Perl modules... no [13:16:07.065] checking whether to build Python modules... no [13:16:07.065] checking whether to build with GSSAPI support... no [13:16:07.067] checking whether to build with PAM support... no [13:16:07.067] checking whether to build with BSD Authentication support... no [13:16:07.067] checking whether to build with LDAP support... no [13:16:07.067] checking whether to build with Bonjour support... no [13:16:07.067] checking whether to build with SELinux support... no [13:16:07.067] checking whether to build with systemd support... no [13:16:07.067] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:16:07.068] checking whether to build with XML support... no [13:16:07.068] checking whether to build with LZ4 support... no [13:16:07.068] checking whether to build with ZSTD support... no [13:16:07.068] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:16:07.069] checking whether it is possible to strip libraries... yes [13:16:07.078] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:16:07.079] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:16:07.079] checking for a BSD-compatible install... /usr/bin/install -c [13:16:07.094] checking for tar... /usr/bin/tar [13:16:07.094] checking whether ln -s works... yes [13:16:07.094] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:16:07.098] checking for bison... /usr/bin/bison [13:16:07.102] configure: using bison (GNU Bison) 3.8.2 [13:16:07.106] checking for flex... /usr/bin/flex [13:16:07.124] configure: using flex 2.6.4 [13:16:07.124] checking for perl... /usr/bin/perl [13:16:07.127] configure: using perl 5.36.0 [13:16:07.130] checking for zic... /usr/sbin/zic [13:16:07.131] checking for a sed that does not truncate output... /usr/bin/sed [13:16:07.137] checking for grep that handles long lines and -e... /usr/bin/grep [13:16:07.140] checking for egrep... /usr/bin/grep -E [13:16:07.142] checking for ANSI C header files... yes [13:16:07.211] checking for sys/types.h... yes [13:16:07.237] checking for sys/stat.h... yes [13:16:07.262] checking for stdlib.h... yes [13:16:07.284] checking for string.h... yes [13:16:07.306] checking for memory.h... yes [13:16:07.330] checking for strings.h... yes [13:16:07.421] checking for inttypes.h... yes [13:16:07.447] checking for stdint.h... yes [13:16:07.471] checking for unistd.h... yes [13:16:07.494] checking for main in -lm... yes [13:16:07.561] checking for library containing setproctitle... no [13:16:07.687] checking for library containing dlsym... no [13:16:07.809] checking for library containing socket... -lws2_32 [13:16:07.993] checking for library containing getopt_long... none required [13:16:08.055] checking for library containing shm_open... no [13:16:08.171] checking for library containing shm_unlink... no [13:16:08.292] checking for library containing clock_gettime... no [13:16:08.410] checking for library containing shmget... no [13:16:08.520] checking for library containing backtrace_symbols... no [13:16:08.629] checking for library containing pthread_barrier_wait... -lpthread [13:16:08.743] checking for inflate in -lz... yes [13:16:08.802] checking for stdbool.h that conforms to C99... yes [13:16:08.816] checking for _Bool... yes [13:16:08.980] checking atomic.h usability... no [13:16:09.051] checking atomic.h presence... no [13:16:09.075] checking for atomic.h... no [13:16:09.080] checking copyfile.h usability... no [13:16:09.149] checking copyfile.h presence... no [13:16:09.173] checking for copyfile.h... no [13:16:09.178] checking execinfo.h usability... no [13:16:09.250] checking execinfo.h presence... no [13:16:09.276] checking for execinfo.h... no [13:16:09.281] checking getopt.h usability... yes [13:16:09.317] checking getopt.h presence... yes [13:16:09.337] checking for getopt.h... yes [13:16:09.348] checking ifaddrs.h usability... no [13:16:09.416] checking ifaddrs.h presence... no [13:16:09.440] checking for ifaddrs.h... no [13:16:09.444] checking mbarrier.h usability... no [13:16:09.513] checking mbarrier.h presence... no [13:16:09.540] checking for mbarrier.h... no [13:16:09.544] checking sys/epoll.h usability... no [13:16:09.614] checking sys/epoll.h presence... no [13:16:09.639] checking for sys/epoll.h... no [13:16:09.643] checking sys/event.h usability... no [13:16:09.712] checking sys/event.h presence... no [13:16:09.735] checking for sys/event.h... no [13:16:09.740] checking sys/personality.h usability... no [13:16:09.810] checking sys/personality.h presence... no [13:16:09.836] checking for sys/personality.h... no [13:16:09.840] checking sys/prctl.h usability... no [13:16:09.909] checking sys/prctl.h presence... no [13:16:09.934] checking for sys/prctl.h... no [13:16:09.939] checking sys/procctl.h usability... no [13:16:10.006] checking sys/procctl.h presence... no [13:16:10.030] checking for sys/procctl.h... no [13:16:10.035] checking sys/signalfd.h usability... no [13:16:10.104] checking sys/signalfd.h presence... no [13:16:10.129] checking for sys/signalfd.h... no [13:16:10.133] checking sys/ucred.h usability... no [13:16:10.203] checking sys/ucred.h presence... no [13:16:10.228] checking for sys/ucred.h... no [13:16:10.233] checking termios.h usability... no [13:16:10.303] checking termios.h presence... no [13:16:10.327] checking for termios.h... no [13:16:10.332] checking ucred.h usability... no [13:16:10.400] checking ucred.h presence... no [13:16:10.425] checking for ucred.h... no [13:16:10.429] checking zlib.h usability... yes [13:16:10.443] checking zlib.h presence... yes [13:16:10.467] checking for zlib.h... yes [13:16:10.468] checking for lz4... /usr/bin/lz4 [13:16:10.468] checking for zstd... /usr/bin/zstd [13:16:10.468] checking for openssl... /usr/bin/openssl [13:16:10.473] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [13:16:10.474] checking crtdefs.h usability... yes [13:16:10.484] checking crtdefs.h presence... yes [13:16:10.504] checking for crtdefs.h... yes [13:16:10.506] checking whether byte ordering is bigendian... no [13:16:10.602] checking for inline... inline [13:16:10.637] checking for printf format archetype... gnu_printf [13:16:10.649] checking for _Static_assert... yes [13:16:10.702] checking for typeof... typeof [13:16:10.711] checking for __builtin_types_compatible_p... yes [13:16:10.726] checking for __builtin_constant_p... yes [13:16:10.741] checking for __builtin_unreachable... yes [13:16:10.795] checking for computed goto support... yes [13:16:10.805] checking for struct tm.tm_zone... no [13:16:10.906] checking for union semun... no [13:16:10.948] checking for socklen_t... yes [13:16:12.313] checking for struct sockaddr.sa_len... no [13:16:14.819] checking for locale_t... no [13:16:14.903] checking for C/C++ restrict keyword... __restrict [13:16:14.920] checking for struct option... yes [13:16:14.977] checking whether assembler supports x86_64 popcntq... yes [13:16:14.987] checking size of off_t... 4 [13:16:15.236] 0 [13:16:15.236] checking size of bool... 1 [13:16:15.334] checking for int timezone... yes [13:16:15.396] checking for wcstombs_l declaration... no [13:16:15.498] checking for backtrace_symbols... no [13:16:15.560] checking for copyfile... no [13:16:15.625] checking for copy_file_range... no [13:16:15.686] checking for getifaddrs... no [13:16:15.747] checking for getpeerucred... no [13:16:15.808] checking for inet_pton... yes [13:16:15.869] checking for kqueue... no [13:16:15.931] checking for mbstowcs_l... no [13:16:15.991] checking for memset_s... no [13:16:16.052] checking for posix_fallocate... no [13:16:16.113] checking for ppoll... no [13:16:16.176] checking for pthread_barrier_wait... yes [13:16:16.239] checking for pthread_is_threaded_np... no [13:16:16.302] checking for setproctitle... no [13:16:16.366] checking for setproctitle_fast... no [13:16:16.430] checking for strchrnul... no [13:16:16.492] checking for strsignal... no [13:16:16.553] checking for syncfs... no [13:16:16.614] checking for sync_file_range... no [13:16:16.676] checking for uselocale... no [13:16:16.738] checking for wcstombs_l... no [13:16:16.795] checking for __builtin_bswap16... yes [13:16:16.855] checking for __builtin_bswap32... yes [13:16:16.914] checking for __builtin_bswap64... yes [13:16:16.972] checking for __builtin_clz... yes [13:16:17.031] checking for __builtin_ctz... yes [13:16:17.088] checking for __builtin_popcount... yes [13:16:17.146] checking for __builtin_frame_address... yes [13:16:17.204] checking for _LARGEFILE_SOURCE value needed for large files... no [13:16:17.263] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:16:17.303] checking for posix_fadvise... no [13:16:17.367] checking whether posix_fadvise is declared... no [13:16:17.424] checking whether fdatasync is declared... no [13:16:17.485] checking whether strlcat is declared... no [13:16:17.560] checking whether strlcpy is declared... no [13:16:17.638] checking whether strnlen is declared... yes [13:16:17.721] checking whether strsep is declared... no [13:16:17.797] checking whether preadv is declared... no [13:16:17.844] checking whether pwritev is declared... no [13:16:17.891] checking whether F_FULLFSYNC is declared... no [13:16:17.941] checking for explicit_bzero... no [13:16:18.001] checking for getopt... yes [13:16:18.056] checking for getpeereid... no [13:16:18.112] checking for inet_aton... no [13:16:18.172] checking for mkdtemp... no [13:16:18.230] checking for strlcat... no [13:16:18.290] checking for strlcpy... no [13:16:18.349] checking for strnlen... yes [13:16:18.406] checking for strsep... no [13:16:18.464] configure: On mingw32 we will use our strtof wrapper. [13:16:18.465] checking for getopt_long... yes [13:16:18.516] checking for _configthreadlocale... yes [13:16:18.570] checking for syslog... no [13:16:18.630] checking for opterr... yes [13:16:18.688] checking for optreset... no [13:16:18.751] checking test program... cross-compiling [13:16:18.751] checking whether long int is 64 bits... no [13:16:18.794] checking whether long long int is 64 bits... yes [13:16:18.817] checking for __builtin_mul_overflow... yes [13:16:18.869] checking size of void *... 8 [13:16:19.333] checking size of size_t... 8 [13:16:19.799] checking size of long... 4 [13:16:20.145] checking alignment of short... 2 [13:16:20.424] checking alignment of int... 4 [13:16:20.812] checking alignment of long... 4 [13:16:21.202] checking alignment of long long int... 8 [13:16:21.664] checking alignment of double... 8 [13:16:22.113] checking for int8... no [13:16:22.164] checking for uint8... no [13:16:22.218] checking for int64... no [13:16:22.272] checking for uint64... no [13:16:22.329] checking for __int128... yes [13:16:22.391] checking for __int128 alignment bug... assuming ok [13:16:22.391] checking alignment of PG_INT128_TYPE... 16 [13:16:22.990] checking for builtin __sync char locking functions... yes [13:16:23.041] checking for builtin __sync int32 locking functions... yes [13:16:23.093] checking for builtin __sync int32 atomic operations... yes [13:16:23.144] checking for builtin __sync int64 atomic operations... yes [13:16:23.197] checking for builtin __atomic int32 atomic operations... yes [13:16:23.249] checking for builtin __atomic int64 atomic operations... yes [13:16:23.301] checking for __get_cpuid... yes [13:16:23.357] checking for __get_cpuid_count... yes [13:16:23.412] checking for __cpuid... no [13:16:23.858] checking for __cpuidex... no [13:16:24.336] checking for _xgetbv with CFLAGS=... no [13:16:24.765] checking for _xgetbv with CFLAGS=-mxsave... yes [13:16:25.225] checking for _mm512_popcnt_epi64 with CFLAGS=... no [13:16:25.667] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [13:16:26.069] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [13:16:26.128] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [13:16:26.247] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:16:26.281] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:16:26.309] 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 [13:16:26.380] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:16:26.381] checking which random number source to use... Windows native [13:16:26.384] checking for xmllint... /usr/bin/xmllint [13:16:26.384] checking for xsltproc... /usr/bin/xsltproc [13:16:26.385] checking for fop... /usr/bin/fop [13:16:26.385] checking for dbtoepub... no [13:16:26.386] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:16:26.386] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:16:26.386] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:16:26.402] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:16:26.402] 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 [13:16:26.402] configure: using CPPFLAGS= -I./src/include/port/win32 [13:16:26.402] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:16:26.539] configure: creating ./config.status [13:16:26.676] config.status: creating GNUmakefile [13:16:26.699] config.status: creating src/Makefile.global [13:16:26.723] config.status: creating src/include/pg_config.h [13:16:26.744] config.status: creating src/include/pg_config_ext.h [13:16:26.764] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:16:26.789] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:16:26.800] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:16:26.810] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:16:26.821] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:16:26.833] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:16:26.840] config.status: executing check_win32_symlinks commands [13:16:26.890] [13:16:26.890] real 0m22.006s [13:16:26.890] user 0m14.087s [13:16:26.890] sys 0m7.559s [13:16:26.890] make -s -j${BUILD_JOBS} clean [13:16:27.582] time make -s -j${BUILD_JOBS} world-bin [13:16:34.466] In file included from pg_threads.c:14: [13:16:34.466] ../../src/include/port/pg_threads.h: In function ‘pg_thrd_current’: [13:16:34.466] ../../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] [13:16:34.466] 126 | return GetCurrentThreadId(); [13:16:34.466] | ^~~~~~~~~~~~~~~~~~~~ [13:16:34.466] cc1: all warnings being treated as errors [13:16:34.467] make[2]: *** [: pg_threads.o] Error 1 [13:16:34.467] make[2]: *** Waiting for unfinished jobs.... [13:16:35.117] make[1]: *** [Makefile:42: all-port-recurse] Error 2 [13:16:35.117] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:16:35.118] [13:16:35.118] real 0m7.536s [13:16:35.118] user 0m17.269s [13:16:35.118] sys 0m4.905s [13:16:35.119] [13:16:35.119] Exit status: 2