[21:40:48.559] time ./configure \ [21:40:48.559] --host=x86_64-w64-mingw32 \ [21:40:48.559] --enable-cassert \ [21:40:48.559] --without-icu \ [21:40:48.559] CC="ccache x86_64-w64-mingw32-gcc" \ [21:40:48.559] CXX="ccache x86_64-w64-mingw32-g++" [21:40:48.691] checking build system type... x86_64-pc-linux-gnu [21:40:48.912] checking host system type... x86_64-w64-mingw32 [21:40:48.918] checking which template to use... win32 [21:40:48.918] checking whether NLS is wanted... no [21:40:48.918] checking for default port number... 5432 [21:40:48.925] checking for block size... 8kB [21:40:48.927] checking for segment size... 1GB [21:40:48.929] checking for WAL block size... 8kB [21:40:48.930] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:40:48.966] checking whether the C compiler works... yes [21:40:49.118] checking for C compiler default output file name... a.exe [21:40:49.120] checking for suffix of executables... .exe [21:40:49.161] checking whether we are cross compiling... yes [21:40:49.240] checking for suffix of object files... o [21:40:49.248] checking whether we are using the GNU C compiler... yes [21:40:49.256] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:40:49.263] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:40:49.276] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:40:49.341] checking whether we are using the GNU C++ compiler... yes [21:40:49.348] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:40:49.420] checking for gawk... no [21:40:49.420] checking for mawk... mawk [21:40:49.422] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:40:49.429] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:40:49.437] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:40:49.485] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:40:49.658] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:40:49.665] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:40:49.673] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:40:49.680] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:40:49.686] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:40:49.693] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:40:49.701] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:40:49.708] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:40:49.715] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:40:49.722] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:40:49.729] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:40:49.736] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:40:49.743] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:40:49.789] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:40:49.796] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:40:49.803] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:40:49.811] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:40:49.817] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:40:49.825] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:40:49.849] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:40:49.856] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:40:49.863] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:40:49.901] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:40:49.941] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:40:49.949] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:40:49.955] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:40:49.991] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:40:49.998] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:40:50.005] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:40:50.014] checking whether the C compiler still works... yes [21:40:50.082] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:40:50.156] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:40:50.156] checking pkg-config is at least version 0.9.0... yes [21:40:50.172] checking whether to build with ICU support... no [21:40:50.173] checking whether to build with Tcl... no [21:40:50.173] checking whether to build Perl modules... no [21:40:50.173] checking whether to build Python modules... no [21:40:50.173] checking whether to build with GSSAPI support... no [21:40:50.174] checking whether to build with PAM support... no [21:40:50.174] checking whether to build with BSD Authentication support... no [21:40:50.174] checking whether to build with LDAP support... no [21:40:50.174] checking whether to build with Bonjour support... no [21:40:50.175] checking whether to build with SELinux support... no [21:40:50.175] checking whether to build with systemd support... no [21:40:50.175] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:40:50.175] checking whether to build with XML support... no [21:40:50.175] checking whether to build with LZ4 support... no [21:40:50.176] checking whether to build with ZSTD support... no [21:40:50.176] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:40:50.176] checking whether it is possible to strip libraries... yes [21:40:50.184] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:40:50.184] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:40:50.184] checking for a BSD-compatible install... /usr/bin/install -c [21:40:50.193] checking for tar... /usr/bin/tar [21:40:50.193] checking whether ln -s works... yes [21:40:50.193] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:40:50.195] checking for bison... /usr/bin/bison [21:40:50.197] configure: using bison (GNU Bison) 3.8.2 [21:40:50.200] checking for flex... /usr/bin/flex [21:40:50.211] configure: using flex 2.6.4 [21:40:50.211] checking for perl... /usr/bin/perl [21:40:50.214] configure: using perl 5.36.0 [21:40:50.216] checking for zic... /usr/sbin/zic [21:40:50.216] checking for a sed that does not truncate output... /usr/bin/sed [21:40:50.221] checking for grep that handles long lines and -e... /usr/bin/grep [21:40:50.223] checking for egrep... /usr/bin/grep -E [21:40:50.224] checking for ANSI C header files... yes [21:40:50.271] checking for sys/types.h... yes [21:40:50.287] checking for sys/stat.h... yes [21:40:50.302] checking for stdlib.h... yes [21:40:50.316] checking for string.h... yes [21:40:50.330] checking for memory.h... yes [21:40:50.345] checking for strings.h... yes [21:40:50.360] checking for inttypes.h... yes [21:40:50.377] checking for stdint.h... yes [21:40:50.392] checking for unistd.h... yes [21:40:50.407] checking for main in -lm... yes [21:40:50.459] checking for library containing setproctitle... no [21:40:50.549] checking for library containing dlsym... no [21:40:50.637] checking for library containing socket... -lws2_32 [21:40:50.766] checking for library containing getopt_long... none required [21:40:50.815] checking for library containing shm_open... no [21:40:50.904] checking for library containing shm_unlink... no [21:40:50.996] checking for library containing clock_gettime... no [21:40:51.088] checking for library containing shmget... no [21:40:51.178] checking for library containing backtrace_symbols... no [21:40:51.265] checking for library containing pthread_barrier_wait... -lpthread [21:40:51.355] checking for inflate in -lz... yes [21:40:51.402] checking for stdbool.h that conforms to C99... yes [21:40:51.414] checking for _Bool... yes [21:40:51.490] checking atomic.h usability... no [21:40:51.548] checking atomic.h presence... no [21:40:51.569] checking for atomic.h... no [21:40:51.572] checking copyfile.h usability... no [21:40:51.630] checking copyfile.h presence... no [21:40:51.650] checking for copyfile.h... no [21:40:51.653] checking execinfo.h usability... no [21:40:51.710] checking execinfo.h presence... no [21:40:51.730] checking for execinfo.h... no [21:40:51.734] checking getopt.h usability... yes [21:40:51.742] checking getopt.h presence... yes [21:40:51.758] checking for getopt.h... yes [21:40:51.766] checking ifaddrs.h usability... no [21:40:51.824] checking ifaddrs.h presence... no [21:40:51.843] checking for ifaddrs.h... no [21:40:51.847] checking mbarrier.h usability... no [21:40:51.904] checking mbarrier.h presence... no [21:40:51.925] checking for mbarrier.h... no [21:40:51.929] checking sys/epoll.h usability... no [21:40:51.987] checking sys/epoll.h presence... no [21:40:52.008] checking for sys/epoll.h... no [21:40:52.011] checking sys/event.h usability... no [21:40:52.068] checking sys/event.h presence... no [21:40:52.088] checking for sys/event.h... no [21:40:52.091] checking sys/personality.h usability... no [21:40:52.149] checking sys/personality.h presence... no [21:40:52.169] checking for sys/personality.h... no [21:40:52.172] checking sys/prctl.h usability... no [21:40:52.230] checking sys/prctl.h presence... no [21:40:52.250] checking for sys/prctl.h... no [21:40:52.253] checking sys/procctl.h usability... no [21:40:52.311] checking sys/procctl.h presence... no [21:40:52.332] checking for sys/procctl.h... no [21:40:52.335] checking sys/signalfd.h usability... no [21:40:52.391] checking sys/signalfd.h presence... no [21:40:52.412] checking for sys/signalfd.h... no [21:40:52.415] checking sys/ucred.h usability... no [21:40:52.473] checking sys/ucred.h presence... no [21:40:52.491] checking for sys/ucred.h... no [21:40:52.495] checking termios.h usability... no [21:40:52.551] checking termios.h presence... no [21:40:52.570] checking for termios.h... no [21:40:52.574] checking ucred.h usability... no [21:40:52.634] checking ucred.h presence... no [21:40:52.654] checking for ucred.h... no [21:40:52.657] checking zlib.h usability... yes [21:40:52.668] checking zlib.h presence... yes [21:40:52.687] checking for zlib.h... yes [21:40:52.688] checking for lz4... /usr/bin/lz4 [21:40:52.688] checking for zstd... /usr/bin/zstd [21:40:52.688] checking for openssl... /usr/bin/openssl [21:40:52.693] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [21:40:52.693] checking crtdefs.h usability... yes [21:40:52.700] checking crtdefs.h presence... yes [21:40:52.716] checking for crtdefs.h... yes [21:40:52.717] checking whether byte ordering is bigendian... no [21:40:52.792] checking for inline... inline [21:40:52.799] checking for printf format archetype... gnu_printf [21:40:52.807] checking for _Static_assert... yes [21:40:52.850] checking for typeof... typeof [21:40:52.857] checking for __builtin_types_compatible_p... yes [21:40:52.868] checking for __builtin_constant_p... yes [21:40:52.878] checking for __builtin_unreachable... yes [21:40:52.920] checking for computed goto support... yes [21:40:52.928] checking for struct tm.tm_zone... no [21:40:53.005] checking for union semun... no [21:40:53.038] checking for socklen_t... yes [21:40:54.218] checking for struct sockaddr.sa_len... no [21:40:56.208] checking for locale_t... no [21:40:56.274] checking for C/C++ restrict keyword... __restrict [21:40:56.287] checking for struct option... yes [21:40:56.330] checking whether assembler supports x86_64 popcntq... yes [21:40:56.337] checking size of off_t... 4 [21:40:56.535] 0 [21:40:56.536] checking size of bool... 1 [21:40:56.579] checking for int timezone... yes [21:40:56.627] checking for wcstombs_l declaration... no [21:40:56.708] checking for backtrace_symbols... no [21:40:56.756] checking for copyfile... no [21:40:56.807] checking for copy_file_range... no [21:40:56.857] checking for getifaddrs... no [21:40:56.908] checking for getpeerucred... no [21:40:56.961] checking for inet_pton... yes [21:40:57.014] checking for kqueue... no [21:40:57.061] checking for mbstowcs_l... no [21:40:57.111] checking for memset_s... no [21:40:57.160] checking for posix_fallocate... no [21:40:57.210] checking for ppoll... no [21:40:57.259] checking for pthread_barrier_wait... yes [21:40:57.308] checking for pthread_is_threaded_np... no [21:40:57.357] checking for setproctitle... no [21:40:57.405] checking for setproctitle_fast... no [21:40:57.455] checking for strchrnul... no [21:40:57.505] checking for strsignal... no [21:40:57.555] checking for syncfs... no [21:40:57.605] checking for sync_file_range... no [21:40:57.654] checking for uselocale... no [21:40:57.703] checking for wcstombs_l... no [21:40:57.749] checking for __builtin_bswap16... yes [21:40:57.798] checking for __builtin_bswap32... yes [21:40:57.845] checking for __builtin_bswap64... yes [21:40:57.893] checking for __builtin_clz... yes [21:40:57.941] checking for __builtin_ctz... yes [21:40:57.989] checking for __builtin_popcount... yes [21:40:58.036] checking for __builtin_frame_address... yes [21:40:58.083] checking for _LARGEFILE_SOURCE value needed for large files... no [21:40:58.136] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:40:58.166] checking for posix_fadvise... no [21:40:58.216] checking whether posix_fadvise is declared... no [21:40:58.260] checking whether fdatasync is declared... no [21:40:58.304] checking whether strlcat is declared... no [21:40:58.367] checking whether strlcpy is declared... no [21:40:58.430] checking whether strnlen is declared... yes [21:40:58.496] checking whether strsep is declared... no [21:40:58.559] checking whether preadv is declared... no [21:40:58.593] checking whether pwritev is declared... no [21:40:58.627] checking whether F_FULLFSYNC is declared... no [21:40:58.665] checking for explicit_bzero... no [21:40:58.712] checking for getopt... yes [21:40:58.756] checking for getpeereid... no [21:40:58.804] checking for inet_aton... no [21:40:58.850] checking for mkdtemp... no [21:40:58.898] checking for strlcat... no [21:40:58.945] checking for strlcpy... no [21:40:58.993] checking for strnlen... yes [21:40:59.040] checking for strsep... no [21:40:59.087] configure: On mingw32 we will use our strtof wrapper. [21:40:59.087] checking for getopt_long... yes [21:40:59.131] checking for _configthreadlocale... yes [21:40:59.175] checking for syslog... no [21:40:59.221] checking for opterr... yes [21:40:59.268] checking for optreset... no [21:40:59.319] checking test program... cross-compiling [21:40:59.319] checking whether long int is 64 bits... no [21:40:59.350] checking whether long long int is 64 bits... yes [21:40:59.368] checking for __builtin_mul_overflow... yes [21:40:59.413] checking size of void *... 8 [21:40:59.795] checking size of size_t... 8 [21:41:00.165] checking size of long... 4 [21:41:00.452] checking alignment of short... 2 [21:41:00.655] checking alignment of int... 4 [21:41:00.944] checking alignment of long... 4 [21:41:01.245] checking alignment of long long int... 8 [21:41:01.633] checking alignment of double... 8 [21:41:02.015] checking for int8... no [21:41:02.056] checking for uint8... no [21:41:02.096] checking for int64... no [21:41:02.139] checking for uint64... no [21:41:02.183] checking for __int128... yes [21:41:02.236] checking for __int128 alignment bug... assuming ok [21:41:02.236] checking alignment of PG_INT128_TYPE... 16 [21:41:02.664] checking for builtin __sync char locking functions... yes [21:41:02.707] checking for builtin __sync int32 locking functions... yes [21:41:02.750] checking for builtin __sync int32 atomic operations... yes [21:41:02.793] checking for builtin __sync int64 atomic operations... yes [21:41:02.837] checking for builtin __atomic int32 atomic operations... yes [21:41:02.881] checking for builtin __atomic int64 atomic operations... yes [21:41:02.924] checking for __get_cpuid... yes [21:41:02.973] checking for __get_cpuid_count... yes [21:41:03.018] checking for __cpuid... no [21:41:03.426] checking for __cpuidex... no [21:41:03.860] checking for _xgetbv with CFLAGS=... no [21:41:04.248] checking for _xgetbv with CFLAGS=-mxsave... yes [21:41:04.660] checking for _mm512_popcnt_epi64 with CFLAGS=... no [21:41:05.047] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [21:41:05.395] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [21:41:05.443] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [21:41:05.536] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:41:05.560] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:41:05.582] 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 [21:41:05.640] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:41:05.640] checking which random number source to use... Windows native [21:41:05.642] checking for xmllint... /usr/bin/xmllint [21:41:05.642] checking for xsltproc... /usr/bin/xsltproc [21:41:05.643] checking for fop... /usr/bin/fop [21:41:05.643] checking for dbtoepub... no [21:41:05.643] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:41:05.643] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:41:05.644] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:41:05.655] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:41:05.655] 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 [21:41:05.655] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:41:05.655] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:41:05.746] configure: creating ./config.status [21:41:05.837] config.status: creating GNUmakefile [21:41:05.850] config.status: creating src/Makefile.global [21:41:05.867] config.status: creating src/include/pg_config.h [21:41:05.881] config.status: creating src/include/pg_config_ext.h [21:41:05.894] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:41:05.911] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:41:05.919] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:41:05.927] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:41:05.934] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:41:05.942] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:41:05.946] config.status: executing check_win32_symlinks commands [21:41:05.982] [21:41:05.982] real 0m17.423s [21:41:05.982] user 0m11.626s [21:41:05.982] sys 0m5.394s [21:41:05.982] make -s -j${BUILD_JOBS} clean [21:41:06.512] time make -s -j${BUILD_JOBS} world-bin [21:41:09.487] In file included from pg_threads.c:14: [21:41:09.487] ../../src/include/port/pg_threads.h: In function ‘pg_thrd_current’: [21:41:09.487] ../../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] [21:41:09.487] 126 | return GetCurrentThreadId(); [21:41:09.487] | ^~~~~~~~~~~~~~~~~~~~ [21:41:09.487] cc1: all warnings being treated as errors [21:41:09.488] make[2]: *** [: pg_threads.o] Error 1 [21:41:09.489] make[1]: *** [Makefile:42: all-port-recurse] Error 2 [21:41:09.489] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:41:09.489] [21:41:09.489] real 0m2.977s [21:41:09.489] user 0m4.571s [21:41:09.489] sys 0m1.982s [21:41:09.490] [21:41:09.490] Exit status: 2