[00:26:42.252] time ./configure \ [00:26:42.252] --host=x86_64-w64-mingw32 \ [00:26:42.252] --enable-cassert \ [00:26:42.252] --without-icu \ [00:26:42.252] CC="ccache x86_64-w64-mingw32-gcc" \ [00:26:42.252] CXX="ccache x86_64-w64-mingw32-g++" [00:26:42.357] checking build system type... x86_64-pc-linux-gnu [00:26:42.555] checking host system type... x86_64-w64-mingw32 [00:26:42.560] checking which template to use... win32 [00:26:42.561] checking whether NLS is wanted... no [00:26:42.561] checking for default port number... 5432 [00:26:42.568] checking for block size... 8kB [00:26:42.569] checking for segment size... 1GB [00:26:42.572] checking for WAL block size... 8kB [00:26:42.573] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:26:42.608] checking whether the C compiler works... yes [00:26:42.742] checking for C compiler default output file name... a.exe [00:26:42.743] checking for suffix of executables... .exe [00:26:42.783] checking whether we are cross compiling... yes [00:26:42.858] checking for suffix of object files... o [00:26:42.866] checking whether we are using the GNU C compiler... yes [00:26:42.873] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:26:42.880] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:26:42.890] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:26:42.950] checking whether we are using the GNU C++ compiler... yes [00:26:42.957] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:26:43.025] checking for gawk... no [00:26:43.025] checking for mawk... mawk [00:26:43.028] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:26:43.034] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:26:43.041] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:26:43.085] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:26:43.253] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:26:43.260] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:26:43.267] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:26:43.274] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:26:43.280] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:26:43.286] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:26:43.293] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:26:43.299] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:26:43.305] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:26:43.312] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:26:43.318] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:26:43.324] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:26:43.331] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:26:43.366] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:26:43.372] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:26:43.379] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:26:43.385] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:26:43.392] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:26:43.398] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:26:43.420] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:26:43.427] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:26:43.434] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:26:43.472] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:26:43.511] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:26:43.518] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:26:43.525] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:26:43.560] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:26:43.567] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:26:43.575] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:26:43.582] checking whether the C compiler still works... yes [00:26:43.645] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:26:43.717] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:26:43.717] checking pkg-config is at least version 0.9.0... yes [00:26:43.734] checking whether to build with ICU support... no [00:26:43.734] checking whether to build with Tcl... no [00:26:43.734] checking whether to build Perl modules... no [00:26:43.734] checking whether to build Python modules... no [00:26:43.734] checking whether to build with GSSAPI support... no [00:26:43.736] checking whether to build with PAM support... no [00:26:43.736] checking whether to build with BSD Authentication support... no [00:26:43.736] checking whether to build with LDAP support... no [00:26:43.736] checking whether to build with Bonjour support... no [00:26:43.736] checking whether to build with SELinux support... no [00:26:43.736] checking whether to build with systemd support... no [00:26:43.736] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:26:43.736] checking whether to build with XML support... no [00:26:43.737] checking whether to build with LZ4 support... no [00:26:43.737] checking whether to build with ZSTD support... no [00:26:43.737] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:26:43.737] checking whether it is possible to strip libraries... yes [00:26:43.746] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:26:43.746] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:26:43.746] checking for a BSD-compatible install... /usr/bin/install -c [00:26:43.755] checking for tar... /usr/bin/tar [00:26:43.756] checking whether ln -s works... yes [00:26:43.756] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:26:43.758] checking for bison... /usr/bin/bison [00:26:43.760] configure: using bison (GNU Bison) 3.8.2 [00:26:43.763] checking for flex... /usr/bin/flex [00:26:43.775] configure: using flex 2.6.4 [00:26:43.776] checking for perl... /usr/bin/perl [00:26:43.778] configure: using perl 5.36.0 [00:26:43.781] checking for zic... /usr/sbin/zic [00:26:43.781] checking for a sed that does not truncate output... /usr/bin/sed [00:26:43.786] checking for grep that handles long lines and -e... /usr/bin/grep [00:26:43.788] checking for egrep... /usr/bin/grep -E [00:26:43.790] checking for ANSI C header files... yes [00:26:43.835] checking for sys/types.h... yes [00:26:43.851] checking for sys/stat.h... yes [00:26:43.868] checking for stdlib.h... yes [00:26:43.882] checking for string.h... yes [00:26:43.897] checking for memory.h... yes [00:26:43.913] checking for strings.h... yes [00:26:43.928] checking for inttypes.h... yes [00:26:43.944] checking for stdint.h... yes [00:26:43.958] checking for unistd.h... yes [00:26:43.974] checking for main in -lm... yes [00:26:44.021] checking for library containing setproctitle... no [00:26:44.108] checking for library containing dlsym... no [00:26:44.195] checking for library containing socket... -lws2_32 [00:26:44.323] checking for library containing getopt_long... none required [00:26:44.369] checking for library containing shm_open... no [00:26:44.457] checking for library containing shm_unlink... no [00:26:44.545] checking for library containing clock_gettime... no [00:26:44.633] checking for library containing shmget... no [00:26:44.720] checking for library containing backtrace_symbols... no [00:26:44.806] checking for library containing pthread_barrier_wait... -lpthread [00:26:44.896] checking for inflate in -lz... yes [00:26:44.943] checking for stdbool.h that conforms to C99... yes [00:26:44.955] checking for _Bool... yes [00:26:45.028] checking atomic.h usability... no [00:26:45.084] checking atomic.h presence... no [00:26:45.103] checking for atomic.h... no [00:26:45.106] checking copyfile.h usability... no [00:26:45.162] checking copyfile.h presence... no [00:26:45.181] checking for copyfile.h... no [00:26:45.184] checking execinfo.h usability... no [00:26:45.240] checking execinfo.h presence... no [00:26:45.259] checking for execinfo.h... no [00:26:45.262] checking getopt.h usability... yes [00:26:45.269] checking getopt.h presence... yes [00:26:45.283] checking for getopt.h... yes [00:26:45.290] checking ifaddrs.h usability... no [00:26:45.344] checking ifaddrs.h presence... no [00:26:45.364] checking for ifaddrs.h... no [00:26:45.367] checking mbarrier.h usability... no [00:26:45.421] checking mbarrier.h presence... no [00:26:45.439] checking for mbarrier.h... no [00:26:45.442] checking sys/epoll.h usability... no [00:26:45.494] checking sys/epoll.h presence... no [00:26:45.511] checking for sys/epoll.h... no [00:26:45.514] checking sys/event.h usability... no [00:26:45.567] checking sys/event.h presence... no [00:26:45.585] checking for sys/event.h... no [00:26:45.588] checking sys/personality.h usability... no [00:26:45.640] checking sys/personality.h presence... no [00:26:45.657] checking for sys/personality.h... no [00:26:45.660] checking sys/prctl.h usability... no [00:26:45.713] checking sys/prctl.h presence... no [00:26:45.731] checking for sys/prctl.h... no [00:26:45.734] checking sys/procctl.h usability... no [00:26:45.786] checking sys/procctl.h presence... no [00:26:45.803] checking for sys/procctl.h... no [00:26:45.806] checking sys/signalfd.h usability... no [00:26:45.859] checking sys/signalfd.h presence... no [00:26:45.876] checking for sys/signalfd.h... no [00:26:45.879] checking sys/ucred.h usability... no [00:26:45.930] checking sys/ucred.h presence... no [00:26:45.947] checking for sys/ucred.h... no [00:26:45.950] checking termios.h usability... no [00:26:46.002] checking termios.h presence... no [00:26:46.019] checking for termios.h... no [00:26:46.022] checking ucred.h usability... no [00:26:46.074] checking ucred.h presence... no [00:26:46.091] checking for ucred.h... no [00:26:46.094] checking zlib.h usability... yes [00:26:46.103] checking zlib.h presence... yes [00:26:46.121] checking for zlib.h... yes [00:26:46.121] checking for lz4... /usr/bin/lz4 [00:26:46.122] checking for zstd... /usr/bin/zstd [00:26:46.122] checking for openssl... /usr/bin/openssl [00:26:46.126] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [00:26:46.127] checking crtdefs.h usability... yes [00:26:46.134] checking crtdefs.h presence... yes [00:26:46.148] checking for crtdefs.h... yes [00:26:46.149] checking whether byte ordering is bigendian... no [00:26:46.216] checking for inline... inline [00:26:46.223] checking for printf format archetype... gnu_printf [00:26:46.230] checking for _Static_assert... yes [00:26:46.269] checking for typeof... typeof [00:26:46.276] checking for __builtin_types_compatible_p... yes [00:26:46.286] checking for __builtin_constant_p... yes [00:26:46.296] checking for __builtin_unreachable... yes [00:26:46.335] checking for computed goto support... yes [00:26:46.342] checking for struct tm.tm_zone... no [00:26:46.419] checking for union semun... no [00:26:46.453] checking for socklen_t... yes [00:26:47.597] checking for struct sockaddr.sa_len... no [00:26:49.648] checking for locale_t... no [00:26:49.714] checking for C/C++ restrict keyword... __restrict [00:26:49.728] checking for struct option... yes [00:26:49.770] checking whether assembler supports x86_64 popcntq... yes [00:26:49.778] checking size of off_t... 4 [00:26:49.984] 0 [00:26:49.984] checking size of bool... 1 [00:26:50.029] checking for int timezone... yes [00:26:50.075] checking for wcstombs_l declaration... no [00:26:50.154] checking for backtrace_symbols... no [00:26:50.201] checking for copyfile... no [00:26:50.249] checking for copy_file_range... no [00:26:50.296] checking for getifaddrs... no [00:26:50.343] checking for getpeerucred... no [00:26:50.391] checking for inet_pton... yes [00:26:50.439] checking for kqueue... no [00:26:50.487] checking for mbstowcs_l... no [00:26:50.534] checking for memset_s... no [00:26:50.582] checking for posix_fallocate... no [00:26:50.630] checking for ppoll... no [00:26:50.677] checking for pthread_is_threaded_np... no [00:26:50.725] checking for setproctitle... no [00:26:50.773] checking for setproctitle_fast... no [00:26:50.821] checking for strchrnul... no [00:26:50.870] checking for strsignal... no [00:26:50.918] checking for syncfs... no [00:26:50.965] checking for sync_file_range... no [00:26:51.014] checking for uselocale... no [00:26:51.062] checking for wcstombs_l... no [00:26:51.107] checking for __builtin_bswap16... yes [00:26:51.153] checking for __builtin_bswap32... yes [00:26:51.198] checking for __builtin_bswap64... yes [00:26:51.244] checking for __builtin_clz... yes [00:26:51.290] checking for __builtin_ctz... yes [00:26:51.336] checking for __builtin_popcount... yes [00:26:51.381] checking for __builtin_frame_address... yes [00:26:51.426] checking for _LARGEFILE_SOURCE value needed for large files... no [00:26:51.476] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:26:51.504] checking for posix_fadvise... no [00:26:51.552] checking whether posix_fadvise is declared... no [00:26:51.593] checking whether fdatasync is declared... no [00:26:51.635] checking whether strlcat is declared... no [00:26:51.695] checking whether strlcpy is declared... no [00:26:51.755] checking whether strnlen is declared... yes [00:26:51.767] checking whether strsep is declared... no [00:26:51.827] checking whether preadv is declared... no [00:26:51.861] checking whether pwritev is declared... no [00:26:51.895] checking whether F_FULLFSYNC is declared... no [00:26:51.932] checking for explicit_bzero... no [00:26:51.976] checking for getopt... yes [00:26:52.018] checking for getpeereid... no [00:26:52.063] checking for inet_aton... no [00:26:52.107] checking for mkdtemp... no [00:26:52.151] checking for strlcat... no [00:26:52.195] checking for strlcpy... no [00:26:52.238] checking for strnlen... yes [00:26:52.283] checking for strsep... no [00:26:52.328] checking for pthread_barrier_wait... yes [00:26:52.371] configure: On mingw32 we will use our strtof wrapper. [00:26:52.371] checking for getopt_long... yes [00:26:52.414] checking for _configthreadlocale... yes [00:26:52.458] checking for syslog... no [00:26:52.503] checking for opterr... yes [00:26:52.549] checking for optreset... no [00:26:52.598] checking test program... cross-compiling [00:26:52.598] checking whether long int is 64 bits... no [00:26:52.628] checking whether long long int is 64 bits... yes [00:26:52.636] checking for __builtin_mul_overflow... yes [00:26:52.677] checking size of void *... 8 [00:26:52.934] checking size of size_t... 8 [00:26:53.186] checking size of long... 4 [00:26:53.379] checking alignment of short... 2 [00:26:53.511] checking alignment of int... 4 [00:26:53.706] checking alignment of long... 4 [00:26:53.897] checking alignment of long long int... 8 [00:26:54.154] checking alignment of double... 8 [00:26:54.419] checking for int8... no [00:26:54.460] checking for uint8... no [00:26:54.500] checking for int64... no [00:26:54.541] checking for uint64... no [00:26:54.582] checking for __int128... yes [00:26:54.635] checking for __int128 alignment bug... assuming ok [00:26:54.635] checking alignment of PG_INT128_TYPE... 16 [00:26:54.966] checking for builtin __sync char locking functions... yes [00:26:55.006] checking for builtin __sync int32 locking functions... yes [00:26:55.046] checking for builtin __sync int32 atomic operations... yes [00:26:55.086] checking for builtin __sync int64 atomic operations... yes [00:26:55.126] checking for builtin __atomic int32 atomic operations... yes [00:26:55.167] checking for builtin __atomic int64 atomic operations... yes [00:26:55.207] checking for __get_cpuid... yes [00:26:55.251] checking for __get_cpuid_count... yes [00:26:55.293] checking for __cpuid... no [00:26:55.691] checking for __cpuidex... no [00:26:56.105] checking for _xgetbv with CFLAGS=... no [00:26:56.478] checking for _xgetbv with CFLAGS=-mxsave... yes [00:26:56.857] checking for _mm512_popcnt_epi64 with CFLAGS=... no [00:26:57.230] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [00:26:57.562] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [00:26:57.606] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [00:26:57.690] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:26:57.711] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:26:57.729] 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 [00:26:57.781] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:26:57.782] checking which random number source to use... Windows native [00:26:57.783] checking for xmllint... /usr/bin/xmllint [00:26:57.784] checking for xsltproc... /usr/bin/xsltproc [00:26:57.784] checking for fop... /usr/bin/fop [00:26:57.784] checking for dbtoepub... no [00:26:57.784] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:26:57.785] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:26:57.785] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:26:57.795] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:26:57.795] 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 [00:26:57.795] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:26:57.795] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:26:57.876] configure: creating ./config.status [00:26:57.961] config.status: creating GNUmakefile [00:26:57.973] config.status: creating src/Makefile.global [00:26:57.989] config.status: creating src/include/pg_config.h [00:26:58.001] config.status: creating src/include/pg_config_ext.h [00:26:58.013] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:26:58.028] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:26:58.035] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:26:58.042] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:26:58.049] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:26:58.056] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:26:58.060] config.status: executing check_win32_symlinks commands [00:26:58.092] [00:26:58.092] real 0m15.840s [00:26:58.092] user 0m10.578s [00:26:58.092] sys 0m4.903s [00:26:58.092] make -s -j${BUILD_JOBS} clean [00:26:58.591] time make -s -j${BUILD_JOBS} world-bin [00:27:03.620] smgr.c: In function ‘smgrdestroy’: [00:27:03.620] smgr.c:279:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [00:27:03.620] 279 | ForkNumber forknum; [00:27:03.620] | ^~~~~~~ [00:27:03.620] smgr.c: In function ‘smgrdounlinkall’: [00:27:03.620] smgr.c:484:41: error: unused variable ‘which’ [-Werror=unused-variable] [00:27:03.620] 484 | int which = rels[i]->smgr_which; [00:27:03.620] | ^~~~~ [00:27:03.620] cc1: all warnings being treated as errors [00:27:03.622] make[4]: *** [: smgr.o] Error 1 [00:27:03.622] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [00:27:03.622] make[2]: *** [common.mk:37: storage-recursive] Error 2 [00:27:03.622] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:27:03.623] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:27:03.623] [00:27:03.623] real 0m5.032s [00:27:03.623] user 0m8.435s [00:27:03.623] sys 0m6.043s [00:27:03.623] [00:27:03.623] Exit status: 2