[18:04:48.575] time ./configure \ [18:04:48.575] --host=x86_64-w64-mingw32 \ [18:04:48.575] --enable-cassert \ [18:04:48.575] --without-icu \ [18:04:48.575] CC="ccache x86_64-w64-mingw32-gcc" \ [18:04:48.575] CXX="ccache x86_64-w64-mingw32-g++" [18:04:48.697] checking build system type... x86_64-pc-linux-gnu [18:04:48.884] checking host system type... x86_64-w64-mingw32 [18:04:48.890] checking which template to use... win32 [18:04:48.890] checking whether NLS is wanted... no [18:04:48.891] checking for default port number... 5432 [18:04:48.898] checking for block size... 8kB [18:04:48.899] checking for segment size... 1GB [18:04:48.901] checking for WAL block size... 8kB [18:04:48.903] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:04:48.938] checking whether the C compiler works... yes [18:04:49.078] checking for C compiler default output file name... a.exe [18:04:49.079] checking for suffix of executables... .exe [18:04:49.122] checking whether we are cross compiling... yes [18:04:49.201] checking for suffix of object files... o [18:04:49.210] checking whether we are using the GNU C compiler... yes [18:04:49.219] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:04:49.255] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:04:49.265] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:04:49.328] checking whether we are using the GNU C++ compiler... yes [18:04:49.335] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:04:49.605] checking for gawk... no [18:04:49.605] checking for mawk... mawk [18:04:49.607] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:04:49.637] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:04:49.652] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:04:49.695] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:04:49.737] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:04:49.743] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:04:49.750] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:04:49.780] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:04:49.811] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:04:49.818] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:04:49.825] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:04:49.840] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:04:49.847] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:04:49.853] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:04:49.860] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:04:49.866] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:04:49.873] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:04:49.909] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:04:49.926] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:04:49.957] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:04:49.972] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:04:50.003] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:04:50.010] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:04:50.032] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:04:50.038] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:04:50.045] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:04:50.080] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:04:50.118] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:04:50.125] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:04:50.133] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:04:50.169] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:04:50.176] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:04:50.183] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:04:50.191] checking whether the C compiler still works... yes [18:04:50.256] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:04:50.330] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:04:50.330] checking pkg-config is at least version 0.9.0... yes [18:04:50.346] checking whether to build with ICU support... no [18:04:50.347] checking whether to build with Tcl... no [18:04:50.347] checking whether to build Perl modules... no [18:04:50.347] checking whether to build Python modules... no [18:04:50.347] checking whether to build with GSSAPI support... no [18:04:50.348] checking whether to build with PAM support... no [18:04:50.348] checking whether to build with BSD Authentication support... no [18:04:50.348] checking whether to build with LDAP support... no [18:04:50.348] checking whether to build with Bonjour support... no [18:04:50.348] checking whether to build with SELinux support... no [18:04:50.349] checking whether to build with systemd support... no [18:04:50.349] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:04:50.349] checking whether to build with XML support... no [18:04:50.349] checking whether to build with LZ4 support... no [18:04:50.349] checking whether to build with ZSTD support... no [18:04:50.350] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:04:50.350] checking whether it is possible to strip libraries... yes [18:04:50.357] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:04:50.357] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:04:50.358] checking for a BSD-compatible install... /usr/bin/install -c [18:04:50.367] checking for tar... /usr/bin/tar [18:04:50.367] checking whether ln -s works... yes [18:04:50.367] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:04:50.369] checking for bison... /usr/bin/bison [18:04:50.372] configure: using bison (GNU Bison) 3.8.2 [18:04:50.375] checking for flex... /usr/bin/flex [18:04:50.387] configure: using flex 2.6.4 [18:04:50.387] checking for perl... /usr/bin/perl [18:04:50.390] configure: using perl 5.36.0 [18:04:50.392] checking for zic... /usr/sbin/zic [18:04:50.392] checking for a sed that does not truncate output... /usr/bin/sed [18:04:50.397] checking for grep that handles long lines and -e... /usr/bin/grep [18:04:50.399] checking for egrep... /usr/bin/grep -E [18:04:50.400] checking for ANSI C header files... yes [18:04:50.448] checking for sys/types.h... yes [18:04:50.465] checking for sys/stat.h... yes [18:04:50.481] checking for stdlib.h... yes [18:04:50.496] checking for string.h... yes [18:04:50.512] checking for memory.h... yes [18:04:50.548] checking for strings.h... yes [18:04:50.563] checking for inttypes.h... yes [18:04:50.580] checking for stdint.h... yes [18:04:50.594] checking for unistd.h... yes [18:04:50.609] checking for main in -lm... yes [18:04:50.657] checking for library containing setproctitle... no [18:04:50.748] checking for library containing dlsym... no [18:04:50.837] checking for library containing socket... -lws2_32 [18:04:50.968] checking for library containing getopt_long... none required [18:04:51.015] checking for library containing shm_open... no [18:04:51.106] checking for library containing shm_unlink... no [18:04:51.197] checking for library containing clock_gettime... no [18:04:51.290] checking for library containing shmget... no [18:04:51.380] checking for library containing backtrace_symbols... no [18:04:51.470] checking for library containing pthread_barrier_wait... -lpthread [18:04:51.563] checking for inflate in -lz... yes [18:04:51.610] checking for stdbool.h that conforms to C99... yes [18:04:51.621] checking for _Bool... yes [18:04:51.718] checking atomic.h usability... no [18:04:51.773] checking atomic.h presence... no [18:04:51.793] checking for atomic.h... no [18:04:51.796] checking copyfile.h usability... no [18:04:51.851] checking copyfile.h presence... no [18:04:51.872] checking for copyfile.h... no [18:04:51.876] checking execinfo.h usability... no [18:04:51.932] checking execinfo.h presence... no [18:04:51.952] checking for execinfo.h... no [18:04:51.956] checking getopt.h usability... yes [18:04:51.964] checking getopt.h presence... yes [18:04:51.981] checking for getopt.h... yes [18:04:51.989] checking ifaddrs.h usability... no [18:04:52.045] checking ifaddrs.h presence... no [18:04:52.065] checking for ifaddrs.h... no [18:04:52.069] checking mbarrier.h usability... no [18:04:52.125] checking mbarrier.h presence... no [18:04:52.144] checking for mbarrier.h... no [18:04:52.148] checking sys/epoll.h usability... no [18:04:52.205] checking sys/epoll.h presence... no [18:04:52.224] checking for sys/epoll.h... no [18:04:52.227] checking sys/event.h usability... no [18:04:52.281] checking sys/event.h presence... no [18:04:52.300] checking for sys/event.h... no [18:04:52.303] checking sys/personality.h usability... no [18:04:52.356] checking sys/personality.h presence... no [18:04:52.375] checking for sys/personality.h... no [18:04:52.378] checking sys/prctl.h usability... no [18:04:52.433] checking sys/prctl.h presence... no [18:04:52.451] checking for sys/prctl.h... no [18:04:52.454] checking sys/procctl.h usability... no [18:04:52.509] checking sys/procctl.h presence... no [18:04:52.528] checking for sys/procctl.h... no [18:04:52.531] checking sys/signalfd.h usability... no [18:04:52.589] checking sys/signalfd.h presence... no [18:04:52.610] checking for sys/signalfd.h... no [18:04:52.613] checking sys/ucred.h usability... no [18:04:52.668] checking sys/ucred.h presence... no [18:04:52.689] checking for sys/ucred.h... no [18:04:52.693] checking termios.h usability... no [18:04:52.749] checking termios.h presence... no [18:04:52.769] checking for termios.h... no [18:04:52.772] checking ucred.h usability... no [18:04:52.826] checking ucred.h presence... no [18:04:52.843] checking for ucred.h... no [18:04:52.846] checking zlib.h usability... yes [18:04:52.856] checking zlib.h presence... yes [18:04:52.875] checking for zlib.h... yes [18:04:52.876] checking for lz4... /usr/bin/lz4 [18:04:52.876] checking for zstd... /usr/bin/zstd [18:04:52.876] checking for openssl... /usr/bin/openssl [18:04:52.881] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [18:04:52.882] checking crtdefs.h usability... yes [18:04:52.889] checking crtdefs.h presence... yes [18:04:52.905] checking for crtdefs.h... yes [18:04:52.907] checking whether byte ordering is bigendian... no [18:04:52.981] checking for inline... inline [18:04:52.988] checking for printf format archetype... gnu_printf [18:04:52.996] checking for _Static_assert... yes [18:04:53.037] checking for typeof... typeof [18:04:53.044] checking for __builtin_types_compatible_p... yes [18:04:53.057] checking for __builtin_constant_p... yes [18:04:53.068] checking for __builtin_unreachable... yes [18:04:53.110] checking for computed goto support... yes [18:04:53.127] checking for struct tm.tm_zone... no [18:04:53.205] checking for union semun... no [18:04:53.240] checking for socklen_t... yes [18:04:54.413] checking for struct sockaddr.sa_len... no [18:04:56.468] checking for locale_t... no [18:04:56.536] checking for C/C++ restrict keyword... __restrict [18:04:56.549] checking for struct option... yes [18:04:56.602] checking whether assembler supports x86_64 popcntq... yes [18:04:56.609] checking size of off_t... 4 [18:04:56.810] 0 [18:04:56.810] checking size of bool... 1 [18:04:56.853] checking for int timezone... yes [18:04:56.900] checking for wcstombs_l declaration... no [18:04:56.982] checking for backtrace_symbols... no [18:04:57.032] checking for copyfile... no [18:04:57.084] checking for copy_file_range... no [18:04:57.134] checking for getifaddrs... no [18:04:57.183] checking for getpeerucred... no [18:04:57.234] checking for inet_pton... yes [18:04:57.285] checking for kqueue... no [18:04:57.334] checking for mbstowcs_l... no [18:04:57.384] checking for memset_s... no [18:04:57.437] checking for posix_fallocate... no [18:04:57.491] checking for ppoll... no [18:04:57.543] checking for pthread_barrier_wait... yes [18:04:57.596] checking for pthread_is_threaded_np... no [18:04:57.650] checking for setproctitle... no [18:04:57.704] checking for setproctitle_fast... no [18:04:57.758] checking for strchrnul... no [18:04:57.811] checking for strsignal... no [18:04:57.862] checking for syncfs... no [18:04:57.911] checking for sync_file_range... no [18:04:57.962] checking for uselocale... no [18:04:58.011] checking for wcstombs_l... no [18:04:58.058] checking for __builtin_bswap16... yes [18:04:58.107] checking for __builtin_bswap32... yes [18:04:58.154] checking for __builtin_bswap64... yes [18:04:58.201] checking for __builtin_clz... yes [18:04:58.249] checking for __builtin_ctz... yes [18:04:58.297] checking for __builtin_popcount... yes [18:04:58.345] checking for __builtin_frame_address... yes [18:04:58.392] checking for _LARGEFILE_SOURCE value needed for large files... no [18:04:58.445] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:04:58.477] checking for posix_fadvise... no [18:04:58.531] checking whether posix_fadvise is declared... no [18:04:58.575] checking whether fdatasync is declared... no [18:04:58.621] checking whether strlcat is declared... no [18:04:58.685] checking whether strlcpy is declared... no [18:04:58.749] checking whether strnlen is declared... yes [18:04:58.816] checking whether strsep is declared... no [18:04:58.883] checking whether preadv is declared... no [18:04:58.925] checking whether pwritev is declared... no [18:04:58.968] checking whether F_FULLFSYNC is declared... no [18:04:59.012] checking for explicit_bzero... no [18:04:59.061] checking for getopt... yes [18:04:59.109] checking for getpeereid... no [18:04:59.158] checking for inet_aton... no [18:04:59.206] checking for mkdtemp... no [18:04:59.254] checking for strlcat... no [18:04:59.303] checking for strlcpy... no [18:04:59.351] checking for strnlen... yes [18:04:59.399] checking for strsep... no [18:04:59.445] configure: On mingw32 we will use our strtof wrapper. [18:04:59.445] checking for getopt_long... yes [18:04:59.490] checking for _configthreadlocale... yes [18:04:59.533] checking for syslog... no [18:04:59.582] checking for opterr... yes [18:04:59.631] checking for optreset... no [18:04:59.682] checking test program... cross-compiling [18:04:59.682] checking whether long int is 64 bits... no [18:04:59.715] checking whether long long int is 64 bits... yes [18:04:59.751] checking for __builtin_mul_overflow... yes [18:04:59.795] checking size of void *... 8 [18:05:00.214] checking size of size_t... 8 [18:05:00.635] checking size of long... 4 [18:05:00.932] checking alignment of short... 2 [18:05:01.173] checking alignment of int... 4 [18:05:01.475] checking alignment of long... 4 [18:05:01.808] checking alignment of long long int... 8 [18:05:02.208] checking alignment of double... 8 [18:05:02.630] checking for int8... no [18:05:02.673] checking for uint8... no [18:05:02.714] checking for int64... no [18:05:02.757] checking for uint64... no [18:05:02.800] checking for __int128... yes [18:05:02.850] checking for __int128 alignment bug... assuming ok [18:05:02.850] checking alignment of PG_INT128_TYPE... 16 [18:05:03.342] checking for builtin __sync char locking functions... yes [18:05:03.389] checking for builtin __sync int32 locking functions... yes [18:05:03.435] checking for builtin __sync int32 atomic operations... yes [18:05:03.480] checking for builtin __sync int64 atomic operations... yes [18:05:03.525] checking for builtin __atomic int32 atomic operations... yes [18:05:03.569] checking for builtin __atomic int64 atomic operations... yes [18:05:03.613] checking for __get_cpuid... yes [18:05:03.664] checking for __get_cpuid_count... yes [18:05:03.713] checking for __cpuid... no [18:05:04.116] checking for __cpuidex... no [18:05:04.538] checking for _xgetbv with CFLAGS=... no [18:05:04.918] checking for _xgetbv with CFLAGS=-mxsave... yes [18:05:05.321] checking for _mm512_popcnt_epi64 with CFLAGS=... no [18:05:05.713] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [18:05:06.052] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [18:05:06.101] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [18:05:06.192] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:05:06.215] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:05:06.234] 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 [18:05:06.289] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:05:06.289] checking which random number source to use... Windows native [18:05:06.291] checking for xmllint... /usr/bin/xmllint [18:05:06.291] checking for xsltproc... /usr/bin/xsltproc [18:05:06.291] checking for fop... /usr/bin/fop [18:05:06.292] checking for dbtoepub... no [18:05:06.292] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:05:06.292] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:05:06.292] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:05:06.303] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:05:06.303] 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 [18:05:06.303] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:05:06.303] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:05:06.388] configure: creating ./config.status [18:05:06.474] config.status: creating GNUmakefile [18:05:06.486] config.status: creating src/Makefile.global [18:05:06.502] config.status: creating src/include/pg_config.h [18:05:06.515] config.status: creating src/include/pg_config_ext.h [18:05:06.527] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:05:06.542] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:05:06.550] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:05:06.558] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:05:06.566] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:05:06.574] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:05:06.578] config.status: executing check_win32_symlinks commands [18:05:06.612] [18:05:06.612] real 0m18.037s [18:05:06.612] user 0m11.904s [18:05:06.612] sys 0m5.763s [18:05:06.612] make -s -j${BUILD_JOBS} clean [18:05:07.118] time make -s -j${BUILD_JOBS} world-bin [18:05:13.457] In file included from pg_threads.c:14: [18:05:13.457] ../../src/include/port/pg_threads.h: In function ‘pg_thrd_current’: [18:05:13.457] ../../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] [18:05:13.457] 126 | return GetCurrentThreadId(); [18:05:13.457] | ^~~~~~~~~~~~~~~~~~~~ [18:05:13.457] cc1: all warnings being treated as errors [18:05:13.458] make[2]: *** [: pg_threads.o] Error 1 [18:05:13.458] make[2]: *** Waiting for unfinished jobs.... [18:05:13.464] make[1]: *** [Makefile:42: all-port-recurse] Error 2 [18:05:13.464] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:05:13.464] [18:05:13.464] real 0m6.346s [18:05:13.464] user 0m15.795s [18:05:13.464] sys 0m3.937s [18:05:13.464] [18:05:13.464] Exit status: 2