[16:14:05.771] time ./configure \ [16:14:05.771] --host=x86_64-w64-mingw32 \ [16:14:05.771] --enable-cassert \ [16:14:05.771] --without-icu \ [16:14:05.771] CC="ccache x86_64-w64-mingw32-gcc" \ [16:14:05.771] CXX="ccache x86_64-w64-mingw32-g++" [16:14:05.925] checking build system type... x86_64-pc-linux-gnu [16:14:06.159] checking host system type... x86_64-w64-mingw32 [16:14:06.166] checking which template to use... win32 [16:14:06.167] checking whether NLS is wanted... no [16:14:06.167] checking for default port number... 5432 [16:14:06.176] checking for block size... 8kB [16:14:06.177] checking for segment size... 1GB [16:14:06.181] checking for WAL block size... 8kB [16:14:06.183] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [16:14:06.228] checking whether the C compiler works... yes [16:14:06.401] checking for C compiler default output file name... a.exe [16:14:06.402] checking for suffix of executables... .exe [16:14:06.452] checking whether we are cross compiling... yes [16:14:06.550] checking for suffix of object files... o [16:14:06.561] checking whether we are using the GNU C compiler... yes [16:14:06.570] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [16:14:06.579] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [16:14:06.593] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [16:14:06.665] checking whether we are using the GNU C++ compiler... yes [16:14:06.673] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [16:14:06.756] checking for gawk... no [16:14:06.756] checking for mawk... mawk [16:14:06.759] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:14:06.768] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [16:14:06.776] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:14:06.832] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:14:07.034] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [16:14:07.042] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:14:07.049] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:14:07.056] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:14:07.063] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:14:07.070] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:14:07.077] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [16:14:07.084] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:14:07.091] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:14:07.098] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:14:07.104] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [16:14:07.111] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [16:14:07.117] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [16:14:07.154] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:14:07.161] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:14:07.168] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [16:14:07.175] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [16:14:07.182] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:14:07.189] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [16:14:07.212] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:14:07.219] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:14:07.226] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:14:07.270] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:14:07.316] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:14:07.325] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:14:07.334] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:14:07.376] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:14:07.386] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:14:07.395] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:14:07.405] checking whether the C compiler still works... yes [16:14:07.484] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [16:14:07.580] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [16:14:07.581] checking pkg-config is at least version 0.9.0... yes [16:14:07.600] checking whether to build with ICU support... no [16:14:07.600] checking whether to build with Tcl... no [16:14:07.600] checking whether to build Perl modules... no [16:14:07.600] checking whether to build Python modules... no [16:14:07.600] checking whether to build with GSSAPI support... no [16:14:07.602] checking whether to build with PAM support... no [16:14:07.602] checking whether to build with BSD Authentication support... no [16:14:07.602] checking whether to build with LDAP support... no [16:14:07.602] checking whether to build with Bonjour support... no [16:14:07.602] checking whether to build with SELinux support... no [16:14:07.603] checking whether to build with systemd support... no [16:14:07.603] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:14:07.603] checking whether to build with XML support... no [16:14:07.603] checking whether to build with LZ4 support... no [16:14:07.603] checking whether to build with ZSTD support... no [16:14:07.604] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [16:14:07.604] checking whether it is possible to strip libraries... yes [16:14:07.612] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [16:14:07.613] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [16:14:07.613] checking for a BSD-compatible install... /usr/bin/install -c [16:14:07.626] checking for tar... /usr/bin/tar [16:14:07.626] checking whether ln -s works... yes [16:14:07.626] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:14:07.630] checking for bison... /usr/bin/bison [16:14:07.633] configure: using bison (GNU Bison) 3.8.2 [16:14:07.637] checking for flex... /usr/bin/flex [16:14:07.654] configure: using flex 2.6.4 [16:14:07.654] checking for perl... /usr/bin/perl [16:14:07.658] configure: using perl 5.36.0 [16:14:07.661] checking for zic... /usr/sbin/zic [16:14:07.661] checking for a sed that does not truncate output... /usr/bin/sed [16:14:07.668] checking for grep that handles long lines and -e... /usr/bin/grep [16:14:07.671] checking for egrep... /usr/bin/grep -E [16:14:07.673] checking for ANSI C header files... yes [16:14:07.734] checking for sys/types.h... yes [16:14:07.758] checking for sys/stat.h... yes [16:14:07.780] checking for stdlib.h... yes [16:14:07.798] checking for string.h... yes [16:14:07.818] checking for memory.h... yes [16:14:07.839] checking for strings.h... yes [16:14:07.860] checking for inttypes.h... yes [16:14:07.882] checking for stdint.h... yes [16:14:07.902] checking for unistd.h... yes [16:14:07.926] checking for main in -lm... yes [16:14:07.985] checking for library containing setproctitle... no [16:14:08.094] checking for library containing dlsym... no [16:14:08.213] checking for library containing socket... -lws2_32 [16:14:08.373] checking for library containing getopt_long... none required [16:14:08.429] checking for library containing shm_open... no [16:14:08.538] checking for library containing shm_unlink... no [16:14:08.646] checking for library containing clock_gettime... no [16:14:08.758] checking for library containing shmget... no [16:14:08.862] checking for library containing backtrace_symbols... no [16:14:08.972] checking for library containing pthread_barrier_wait... -lpthread [16:14:09.085] checking for inflate in -lz... yes [16:14:09.142] checking for stdbool.h that conforms to C99... yes [16:14:09.156] checking for _Bool... yes [16:14:09.246] checking atomic.h usability... no [16:14:09.310] checking atomic.h presence... no [16:14:09.334] checking for atomic.h... no [16:14:09.338] checking copyfile.h usability... no [16:14:09.407] checking copyfile.h presence... no [16:14:09.432] checking for copyfile.h... no [16:14:09.437] checking execinfo.h usability... no [16:14:09.505] checking execinfo.h presence... no [16:14:09.530] checking for execinfo.h... no [16:14:09.535] checking getopt.h usability... yes [16:14:09.544] checking getopt.h presence... yes [16:14:09.565] checking for getopt.h... yes [16:14:09.575] checking ifaddrs.h usability... no [16:14:09.644] checking ifaddrs.h presence... no [16:14:09.668] checking for ifaddrs.h... no [16:14:09.672] checking mbarrier.h usability... no [16:14:09.739] checking mbarrier.h presence... no [16:14:09.764] checking for mbarrier.h... no [16:14:09.768] checking sys/epoll.h usability... no [16:14:09.834] checking sys/epoll.h presence... no [16:14:09.860] checking for sys/epoll.h... no [16:14:09.865] checking sys/event.h usability... no [16:14:09.930] checking sys/event.h presence... no [16:14:09.954] checking for sys/event.h... no [16:14:09.958] checking sys/personality.h usability... no [16:14:10.025] checking sys/personality.h presence... no [16:14:10.048] checking for sys/personality.h... no [16:14:10.053] checking sys/prctl.h usability... no [16:14:10.120] checking sys/prctl.h presence... no [16:14:10.143] checking for sys/prctl.h... no [16:14:10.146] checking sys/procctl.h usability... no [16:14:10.210] checking sys/procctl.h presence... no [16:14:10.233] checking for sys/procctl.h... no [16:14:10.238] checking sys/signalfd.h usability... no [16:14:10.303] checking sys/signalfd.h presence... no [16:14:10.329] checking for sys/signalfd.h... no [16:14:10.334] checking sys/ucred.h usability... no [16:14:10.402] checking sys/ucred.h presence... no [16:14:10.426] checking for sys/ucred.h... no [16:14:10.431] checking termios.h usability... no [16:14:10.499] checking termios.h presence... no [16:14:10.525] checking for termios.h... no [16:14:10.529] checking ucred.h usability... no [16:14:10.596] checking ucred.h presence... no [16:14:10.618] checking for ucred.h... no [16:14:10.622] checking zlib.h usability... yes [16:14:10.635] checking zlib.h presence... yes [16:14:10.658] checking for zlib.h... yes [16:14:10.658] checking for lz4... /usr/bin/lz4 [16:14:10.658] checking for zstd... /usr/bin/zstd [16:14:10.659] checking for openssl... /usr/bin/openssl [16:14:10.664] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [16:14:10.665] checking crtdefs.h usability... yes [16:14:10.674] checking crtdefs.h presence... yes [16:14:10.692] checking for crtdefs.h... yes [16:14:10.694] checking whether byte ordering is bigendian... no [16:14:10.783] checking for inline... inline [16:14:10.792] checking for printf format archetype... gnu_printf [16:14:10.800] checking for _Static_assert... yes [16:14:10.841] checking for typeof... typeof [16:14:10.848] checking for __builtin_types_compatible_p... yes [16:14:10.858] checking for __builtin_constant_p... yes [16:14:10.869] checking for __builtin_unreachable... yes [16:14:10.908] checking for computed goto support... yes [16:14:10.914] checking for struct tm.tm_zone... no [16:14:10.986] checking for union semun... no [16:14:11.017] checking for socklen_t... yes [16:14:12.381] checking for struct sockaddr.sa_len... no [16:14:14.699] checking for locale_t... no [16:14:14.767] checking for C/C++ restrict keyword... __restrict [16:14:14.783] checking for struct option... yes [16:14:14.835] checking whether assembler supports x86_64 popcntq... yes [16:14:14.844] checking size of off_t... 4 [16:14:15.103] 0 [16:14:15.104] checking size of bool... 1 [16:14:15.159] checking for int timezone... yes [16:14:15.219] checking for wcstombs_l declaration... no [16:14:15.332] checking for backtrace_symbols... no [16:14:15.393] checking for copyfile... no [16:14:15.461] checking for copy_file_range... no [16:14:15.528] checking for getifaddrs... no [16:14:15.593] checking for getpeerucred... no [16:14:15.658] checking for inet_pton... yes [16:14:15.724] checking for kqueue... no [16:14:15.787] checking for mbstowcs_l... no [16:14:15.850] checking for memset_s... no [16:14:15.914] checking for posix_fallocate... no [16:14:15.980] checking for ppoll... no [16:14:16.042] checking for pthread_is_threaded_np... no [16:14:16.111] checking for setproctitle... no [16:14:16.177] checking for setproctitle_fast... no [16:14:16.239] checking for strchrnul... no [16:14:16.304] checking for strsignal... no [16:14:16.371] checking for syncfs... no [16:14:16.434] checking for sync_file_range... no [16:14:16.500] checking for uselocale... no [16:14:16.566] checking for wcstombs_l... no [16:14:16.626] checking for __builtin_bswap16... yes [16:14:16.691] checking for __builtin_bswap32... yes [16:14:16.752] checking for __builtin_bswap64... yes [16:14:16.813] checking for __builtin_clz... yes [16:14:16.877] checking for __builtin_ctz... yes [16:14:16.939] checking for __builtin_popcount... yes [16:14:17.002] checking for __builtin_frame_address... yes [16:14:17.061] checking for _LARGEFILE_SOURCE value needed for large files... no [16:14:17.126] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [16:14:17.166] checking for posix_fadvise... no [16:14:17.232] checking whether posix_fadvise is declared... no [16:14:17.292] checking whether fdatasync is declared... no [16:14:17.356] checking whether strlcat is declared... no [16:14:17.438] checking whether strlcpy is declared... no [16:14:17.523] checking whether strnlen is declared... yes [16:14:17.545] checking whether strsep is declared... no [16:14:17.627] checking whether preadv is declared... no [16:14:17.677] checking whether pwritev is declared... no [16:14:17.725] checking whether F_FULLFSYNC is declared... no [16:14:17.775] checking for explicit_bzero... no [16:14:17.833] checking for getopt... yes [16:14:17.885] checking for getpeereid... no [16:14:17.940] checking for inet_aton... no [16:14:17.999] checking for mkdtemp... no [16:14:18.058] checking for strlcat... no [16:14:18.116] checking for strlcpy... no [16:14:18.174] checking for strnlen... yes [16:14:18.231] checking for strsep... no [16:14:18.287] checking for pthread_barrier_wait... yes [16:14:18.342] configure: On mingw32 we will use our strtof wrapper. [16:14:18.342] checking for getopt_long... yes [16:14:18.395] checking for _configthreadlocale... yes [16:14:18.444] checking for syslog... no [16:14:18.493] checking for opterr... yes [16:14:18.539] checking for optreset... no [16:14:18.595] checking test program... cross-compiling [16:14:18.595] checking whether long int is 64 bits... no [16:14:18.626] checking whether long long int is 64 bits... yes [16:14:18.636] checking for __builtin_mul_overflow... yes [16:14:18.685] checking size of void *... 8 [16:14:19.005] checking size of size_t... 8 [16:14:19.329] checking size of long... 4 [16:14:19.569] checking alignment of short... 2 [16:14:19.733] checking alignment of int... 4 [16:14:19.976] checking alignment of long... 4 [16:14:20.223] checking alignment of long long int... 8 [16:14:20.551] checking alignment of double... 8 [16:14:20.887] checking for int8... no [16:14:20.941] checking for uint8... no [16:14:20.995] checking for int64... no [16:14:21.045] checking for uint64... no [16:14:21.098] checking for __int128... yes [16:14:21.157] checking for __int128 alignment bug... assuming ok [16:14:21.157] checking alignment of PG_INT128_TYPE... 16 [16:14:21.562] checking for builtin __sync char locking functions... yes [16:14:21.612] checking for builtin __sync int32 locking functions... yes [16:14:21.662] checking for builtin __sync int32 atomic operations... yes [16:14:21.713] checking for builtin __sync int64 atomic operations... yes [16:14:21.764] checking for builtin __atomic int32 atomic operations... yes [16:14:21.814] checking for builtin __atomic int64 atomic operations... yes [16:14:21.865] checking for __get_cpuid... yes [16:14:21.921] checking for __get_cpuid_count... yes [16:14:21.974] checking for __cpuid... no [16:14:22.396] checking for __cpuidex... no [16:14:22.864] checking for _xgetbv with CFLAGS=... no [16:14:23.280] checking for _xgetbv with CFLAGS=-mxsave... yes [16:14:23.726] checking for _mm512_popcnt_epi64 with CFLAGS=... no [16:14:24.156] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [16:14:24.538] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [16:14:24.594] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [16:14:24.700] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:14:24.729] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:14:24.752] 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 [16:14:24.822] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:14:24.822] checking which random number source to use... Windows native [16:14:24.825] checking for xmllint... /usr/bin/xmllint [16:14:24.825] checking for xsltproc... /usr/bin/xsltproc [16:14:24.825] checking for fop... /usr/bin/fop [16:14:24.825] checking for dbtoepub... no [16:14:24.826] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:14:24.826] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:14:24.826] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:14:24.839] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [16:14:24.839] 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 [16:14:24.839] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [16:14:24.840] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:14:24.957] configure: creating ./config.status [16:14:25.076] config.status: creating GNUmakefile [16:14:25.091] config.status: creating src/Makefile.global [16:14:25.110] config.status: creating src/include/pg_config.h [16:14:25.124] config.status: creating src/include/pg_config_ext.h [16:14:25.139] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:14:25.157] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [16:14:25.167] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:14:25.178] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:14:25.188] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:14:25.200] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:14:25.205] config.status: executing check_win32_symlinks commands [16:14:25.251] [16:14:25.251] real 0m19.479s [16:14:25.251] user 0m12.852s [16:14:25.251] sys 0m6.222s [16:14:25.251] make -s -j${BUILD_JOBS} clean [16:14:25.871] time make -s -j${BUILD_JOBS} world-bin [16:14:51.830] smgr.c: In function ‘smgrdestroy’: [16:14:51.830] smgr.c:279:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [16:14:51.830] 279 | ForkNumber forknum; [16:14:51.830] | ^~~~~~~ [16:14:51.830] smgr.c: In function ‘smgrdounlinkall’: [16:14:51.830] smgr.c:484:41: error: unused variable ‘which’ [-Werror=unused-variable] [16:14:51.830] 484 | int which = rels[i]->smgr_which; [16:14:51.830] | ^~~~~ [16:14:51.830] cc1: all warnings being treated as errors [16:14:51.830] make[4]: *** [: smgr.o] Error 1 [16:14:51.831] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [16:14:51.831] make[2]: *** [common.mk:37: storage-recursive] Error 2 [16:14:51.831] make[2]: *** Waiting for unfinished jobs.... [16:15:05.017] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [16:15:05.018] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:15:05.018] [16:15:05.018] real 0m39.147s [16:15:05.018] user 1m59.491s [16:15:05.018] sys 0m28.147s [16:15:05.018] [16:15:05.018] Exit status: 2