[13:25:51.746] time ./configure \ [13:25:51.746] --host=x86_64-w64-mingw32 \ [13:25:51.746] --enable-cassert \ [13:25:51.746] --without-icu \ [13:25:51.746] CC="ccache x86_64-w64-mingw32-gcc" \ [13:25:51.746] CXX="ccache x86_64-w64-mingw32-g++" [13:25:51.862] checking build system type... x86_64-pc-linux-gnu [13:25:52.064] checking host system type... x86_64-w64-mingw32 [13:25:52.069] checking which template to use... win32 [13:25:52.070] checking whether NLS is wanted... no [13:25:52.070] checking for default port number... 5432 [13:25:52.077] checking for block size... 8kB [13:25:52.078] checking for segment size... 1GB [13:25:52.080] checking for WAL block size... 8kB [13:25:52.082] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:25:52.115] checking whether the C compiler works... yes [13:25:52.279] checking for C compiler default output file name... a.exe [13:25:52.280] checking for suffix of executables... .exe [13:25:52.321] checking whether we are cross compiling... yes [13:25:52.393] checking for suffix of object files... o [13:25:52.400] checking whether we are using the GNU C compiler... yes [13:25:52.407] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:25:52.413] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:25:52.423] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:25:52.483] checking whether we are using the GNU C++ compiler... yes [13:25:52.489] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:25:52.557] checking for gawk... no [13:25:52.557] checking for mawk... mawk [13:25:52.559] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:25:52.566] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:25:52.573] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:25:52.618] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:25:52.791] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:25:52.797] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:25:52.804] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:25:52.811] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:25:52.818] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:25:52.825] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:25:52.832] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:25:52.838] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:25:52.845] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:25:52.852] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:25:52.859] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:25:52.866] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:25:52.872] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:25:52.909] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:25:52.917] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:25:52.924] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:25:52.930] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:25:52.937] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:25:52.944] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:25:52.967] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:25:52.974] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:25:52.981] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:25:53.018] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:25:53.057] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:25:53.064] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:25:53.070] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:25:53.105] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:25:53.112] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:25:53.119] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:25:53.127] checking whether the C compiler still works... yes [13:25:53.191] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:25:53.264] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:25:53.264] checking pkg-config is at least version 0.9.0... yes [13:25:53.282] checking whether to build with ICU support... no [13:25:53.282] checking whether to build with Tcl... no [13:25:53.282] checking whether to build Perl modules... no [13:25:53.282] checking whether to build Python modules... no [13:25:53.282] checking whether to build with GSSAPI support... no [13:25:53.283] checking whether to build with PAM support... no [13:25:53.283] checking whether to build with BSD Authentication support... no [13:25:53.283] checking whether to build with LDAP support... no [13:25:53.283] checking whether to build with Bonjour support... no [13:25:53.284] checking whether to build with SELinux support... no [13:25:53.284] checking whether to build with systemd support... no [13:25:53.284] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:25:53.284] checking whether to build with XML support... no [13:25:53.284] checking whether to build with LZ4 support... no [13:25:53.284] checking whether to build with ZSTD support... no [13:25:53.284] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:25:53.285] checking whether it is possible to strip libraries... yes [13:25:53.293] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:25:53.293] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:25:53.293] checking for a BSD-compatible install... /usr/bin/install -c [13:25:53.302] checking for tar... /usr/bin/tar [13:25:53.303] checking whether ln -s works... yes [13:25:53.303] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:25:53.305] checking for bison... /usr/bin/bison [13:25:53.307] configure: using bison (GNU Bison) 3.8.2 [13:25:53.310] checking for flex... /usr/bin/flex [13:25:53.323] configure: using flex 2.6.4 [13:25:53.323] checking for perl... /usr/bin/perl [13:25:53.326] configure: using perl 5.36.0 [13:25:53.328] checking for zic... /usr/sbin/zic [13:25:53.329] checking for a sed that does not truncate output... /usr/bin/sed [13:25:53.334] checking for grep that handles long lines and -e... /usr/bin/grep [13:25:53.336] checking for egrep... /usr/bin/grep -E [13:25:53.338] checking for ANSI C header files... yes [13:25:53.386] checking for sys/types.h... yes [13:25:53.403] checking for sys/stat.h... yes [13:25:53.418] checking for stdlib.h... yes [13:25:53.432] checking for string.h... yes [13:25:53.445] checking for memory.h... yes [13:25:53.459] checking for strings.h... yes [13:25:53.474] checking for inttypes.h... yes [13:25:53.490] checking for stdint.h... yes [13:25:53.505] checking for unistd.h... yes [13:25:53.520] checking for main in -lm... yes [13:25:53.568] checking for library containing setproctitle... no [13:25:53.658] checking for library containing dlsym... no [13:25:53.746] checking for library containing socket... -lws2_32 [13:25:53.877] checking for library containing getopt_long... none required [13:25:53.925] checking for library containing shm_open... no [13:25:54.015] checking for library containing shm_unlink... no [13:25:54.103] checking for library containing clock_gettime... no [13:25:54.192] checking for library containing shmget... no [13:25:54.280] checking for library containing backtrace_symbols... no [13:25:54.366] checking for library containing pthread_barrier_wait... -lpthread [13:25:54.455] checking for inflate in -lz... yes [13:25:54.500] checking for stdbool.h that conforms to C99... yes [13:25:54.512] checking for _Bool... yes [13:25:54.585] checking atomic.h usability... no [13:25:54.641] checking atomic.h presence... no [13:25:54.661] checking for atomic.h... no [13:25:54.664] checking copyfile.h usability... no [13:25:54.720] checking copyfile.h presence... no [13:25:54.739] checking for copyfile.h... no [13:25:54.742] checking execinfo.h usability... no [13:25:54.796] checking execinfo.h presence... no [13:25:54.814] checking for execinfo.h... no [13:25:54.818] checking getopt.h usability... yes [13:25:54.825] checking getopt.h presence... yes [13:25:54.840] checking for getopt.h... yes [13:25:54.847] checking ifaddrs.h usability... no [13:25:54.903] checking ifaddrs.h presence... no [13:25:54.923] checking for ifaddrs.h... no [13:25:54.927] checking mbarrier.h usability... no [13:25:54.983] checking mbarrier.h presence... no [13:25:55.003] checking for mbarrier.h... no [13:25:55.007] checking sys/epoll.h usability... no [13:25:55.065] checking sys/epoll.h presence... no [13:25:55.085] checking for sys/epoll.h... no [13:25:55.089] checking sys/event.h usability... no [13:25:55.145] checking sys/event.h presence... no [13:25:55.165] checking for sys/event.h... no [13:25:55.169] checking sys/personality.h usability... no [13:25:55.225] checking sys/personality.h presence... no [13:25:55.244] checking for sys/personality.h... no [13:25:55.248] checking sys/prctl.h usability... no [13:25:55.303] checking sys/prctl.h presence... no [13:25:55.323] checking for sys/prctl.h... no [13:25:55.326] checking sys/procctl.h usability... no [13:25:55.382] checking sys/procctl.h presence... no [13:25:55.401] checking for sys/procctl.h... no [13:25:55.405] checking sys/signalfd.h usability... no [13:25:55.461] checking sys/signalfd.h presence... no [13:25:55.481] checking for sys/signalfd.h... no [13:25:55.485] checking sys/ucred.h usability... no [13:25:55.543] checking sys/ucred.h presence... no [13:25:55.563] checking for sys/ucred.h... no [13:25:55.566] checking termios.h usability... no [13:25:55.623] checking termios.h presence... no [13:25:55.644] checking for termios.h... no [13:25:55.647] checking ucred.h usability... no [13:25:55.704] checking ucred.h presence... no [13:25:55.723] checking for ucred.h... no [13:25:55.726] checking zlib.h usability... yes [13:25:55.736] checking zlib.h presence... yes [13:25:55.755] checking for zlib.h... yes [13:25:55.756] checking for lz4... /usr/bin/lz4 [13:25:55.756] checking for zstd... /usr/bin/zstd [13:25:55.756] checking for openssl... /usr/bin/openssl [13:25:55.761] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [13:25:55.761] checking crtdefs.h usability... yes [13:25:55.769] checking crtdefs.h presence... yes [13:25:55.784] checking for crtdefs.h... yes [13:25:55.785] checking whether byte ordering is bigendian... no [13:25:55.859] checking for inline... inline [13:25:55.866] checking for printf format archetype... gnu_printf [13:25:55.874] checking for _Static_assert... yes [13:25:55.915] checking for typeof... typeof [13:25:55.922] checking for __builtin_types_compatible_p... yes [13:25:55.932] checking for __builtin_constant_p... yes [13:25:55.943] checking for __builtin_unreachable... yes [13:25:55.983] checking for computed goto support... yes [13:25:55.990] checking for struct tm.tm_zone... no [13:25:56.064] checking for union semun... no [13:25:56.096] checking for socklen_t... yes [13:25:57.257] checking for struct sockaddr.sa_len... no [13:25:59.335] checking for locale_t... no [13:25:59.402] checking for C/C++ restrict keyword... __restrict [13:25:59.415] checking for struct option... yes [13:25:59.457] checking whether assembler supports x86_64 popcntq... yes [13:25:59.465] checking size of off_t... 4 [13:25:59.672] 0 [13:25:59.672] checking size of bool... 1 [13:25:59.719] checking for int timezone... yes [13:25:59.768] checking for wcstombs_l declaration... no [13:25:59.852] checking for backtrace_symbols... no [13:25:59.902] checking for copyfile... no [13:25:59.952] checking for copy_file_range... no [13:26:00.003] checking for getifaddrs... no [13:26:00.053] checking for getpeerucred... no [13:26:00.101] checking for inet_pton... yes [13:26:00.152] checking for kqueue... no [13:26:00.201] checking for mbstowcs_l... no [13:26:00.251] checking for memset_s... no [13:26:00.300] checking for posix_fallocate... no [13:26:00.350] checking for ppoll... no [13:26:00.400] checking for pthread_barrier_wait... yes [13:26:00.449] checking for pthread_is_threaded_np... no [13:26:00.501] checking for setproctitle... no [13:26:00.551] checking for setproctitle_fast... no [13:26:00.601] checking for strchrnul... no [13:26:00.651] checking for strsignal... no [13:26:00.703] checking for syncfs... no [13:26:00.754] checking for sync_file_range... no [13:26:00.805] checking for uselocale... no [13:26:00.855] checking for wcstombs_l... no [13:26:00.902] checking for __builtin_bswap16... yes [13:26:00.950] checking for __builtin_bswap32... yes [13:26:00.998] checking for __builtin_bswap64... yes [13:26:01.045] checking for __builtin_clz... yes [13:26:01.093] checking for __builtin_ctz... yes [13:26:01.140] checking for __builtin_popcount... yes [13:26:01.189] checking for __builtin_frame_address... yes [13:26:01.237] checking for _LARGEFILE_SOURCE value needed for large files... no [13:26:01.291] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:26:01.323] checking for posix_fadvise... no [13:26:01.375] checking whether posix_fadvise is declared... no [13:26:01.421] checking whether fdatasync is declared... no [13:26:01.470] checking whether strlcat is declared... no [13:26:01.534] checking whether strlcpy is declared... no [13:26:01.599] checking whether strnlen is declared... yes [13:26:01.667] checking whether strsep is declared... no [13:26:01.732] checking whether preadv is declared... no [13:26:01.770] checking whether pwritev is declared... no [13:26:01.807] checking whether F_FULLFSYNC is declared... no [13:26:01.849] checking for explicit_bzero... no [13:26:01.899] checking for getopt... yes [13:26:01.945] checking for getpeereid... no [13:26:01.993] checking for inet_aton... no [13:26:02.040] checking for mkdtemp... no [13:26:02.087] checking for strlcat... no [13:26:02.134] checking for strlcpy... no [13:26:02.180] checking for strnlen... yes [13:26:02.225] checking for strsep... no [13:26:02.273] configure: On mingw32 we will use our strtof wrapper. [13:26:02.273] checking for getopt_long... yes [13:26:02.316] checking for _configthreadlocale... yes [13:26:02.359] checking for syslog... no [13:26:02.406] checking for opterr... yes [13:26:02.452] checking for optreset... no [13:26:02.502] checking test program... cross-compiling [13:26:02.502] checking whether long int is 64 bits... no [13:26:02.532] checking whether long long int is 64 bits... yes [13:26:02.549] checking for __builtin_mul_overflow... yes [13:26:02.591] checking size of void *... 8 [13:26:02.962] checking size of size_t... 8 [13:26:03.342] checking size of long... 4 [13:26:03.632] checking alignment of short... 2 [13:26:03.836] checking alignment of int... 4 [13:26:04.137] checking alignment of long... 4 [13:26:04.433] checking alignment of long long int... 8 [13:26:04.807] checking alignment of double... 8 [13:26:05.187] checking for int8... no [13:26:05.231] checking for uint8... no [13:26:05.274] checking for int64... no [13:26:05.318] checking for uint64... no [13:26:05.362] checking for __int128... yes [13:26:05.413] checking for __int128 alignment bug... assuming ok [13:26:05.413] checking alignment of PG_INT128_TYPE... 16 [13:26:05.838] checking for builtin __sync char locking functions... yes [13:26:05.881] checking for builtin __sync int32 locking functions... yes [13:26:05.922] checking for builtin __sync int32 atomic operations... yes [13:26:05.963] checking for builtin __sync int64 atomic operations... yes [13:26:06.007] checking for builtin __atomic int32 atomic operations... yes [13:26:06.050] checking for builtin __atomic int64 atomic operations... yes [13:26:06.093] checking for __get_cpuid... yes [13:26:06.140] checking for __get_cpuid_count... yes [13:26:06.184] checking for __cpuid... no [13:26:06.589] checking for __cpuidex... no [13:26:07.018] checking for _xgetbv with CFLAGS=... no [13:26:07.409] checking for _xgetbv with CFLAGS=-mxsave... yes [13:26:07.824] checking for _mm512_popcnt_epi64 with CFLAGS=... no [13:26:08.214] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [13:26:08.563] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [13:26:08.610] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [13:26:08.698] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:26:08.721] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:26:08.741] 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:26:08.798] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:26:08.798] checking which random number source to use... Windows native [13:26:08.800] checking for xmllint... /usr/bin/xmllint [13:26:08.800] checking for xsltproc... /usr/bin/xsltproc [13:26:08.801] checking for fop... /usr/bin/fop [13:26:08.801] checking for dbtoepub... no [13:26:08.801] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:26:08.801] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:26:08.802] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:26:08.813] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:26:08.813] 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:26:08.813] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:26:08.813] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:26:08.895] configure: creating ./config.status [13:26:08.979] config.status: creating GNUmakefile [13:26:08.992] config.status: creating src/Makefile.global [13:26:09.008] config.status: creating src/include/pg_config.h [13:26:09.021] config.status: creating src/include/pg_config_ext.h [13:26:09.032] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:26:09.048] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:26:09.056] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:26:09.064] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:26:09.071] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:26:09.078] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:26:09.082] config.status: executing check_win32_symlinks commands [13:26:09.117] [13:26:09.117] real 0m17.371s [13:26:09.117] user 0m11.341s [13:26:09.117] sys 0m5.636s [13:26:09.117] make -s -j${BUILD_JOBS} clean [13:26:09.626] time make -s -j${BUILD_JOBS} world-bin [13:26:12.549] In file included from pg_threads.c:14: [13:26:12.549] ../../src/include/port/pg_threads.h: In function ‘pg_thrd_current’: [13:26:12.549] ../../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:26:12.549] 126 | return GetCurrentThreadId(); [13:26:12.549] | ^~~~~~~~~~~~~~~~~~~~ [13:26:12.549] cc1: all warnings being treated as errors [13:26:12.550] make[2]: *** [: pg_threads.o] Error 1 [13:26:12.550] make[1]: *** [Makefile:42: all-port-recurse] Error 2 [13:26:12.551] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:26:12.551] [13:26:12.551] real 0m2.925s [13:26:12.551] user 0m4.594s [13:26:12.551] sys 0m1.801s [13:26:12.551] [13:26:12.551] Exit status: 2