[09:24:47.575] time ./configure \ [09:24:47.575] --host=x86_64-w64-mingw32 \ [09:24:47.575] --enable-cassert \ [09:24:47.575] --without-icu \ [09:24:47.575] CC="ccache x86_64-w64-mingw32-gcc" \ [09:24:47.575] CXX="ccache x86_64-w64-mingw32-g++" [09:24:47.691] checking build system type... x86_64-pc-linux-gnu [09:24:47.896] checking host system type... x86_64-w64-mingw32 [09:24:47.902] checking which template to use... win32 [09:24:47.902] checking whether NLS is wanted... no [09:24:47.902] checking for default port number... 5432 [09:24:47.909] checking for block size... 8kB [09:24:47.910] checking for segment size... 1GB [09:24:47.912] checking for WAL block size... 8kB [09:24:47.913] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:24:47.947] checking whether the C compiler works... yes [09:24:48.110] checking for C compiler default output file name... a.exe [09:24:48.111] checking for suffix of executables... .exe [09:24:48.152] checking whether we are cross compiling... yes [09:24:48.233] checking for suffix of object files... o [09:24:48.241] checking whether we are using the GNU C compiler... yes [09:24:48.248] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:24:48.255] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:24:48.266] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:24:48.331] checking whether we are using the GNU C++ compiler... yes [09:24:48.338] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:24:48.404] checking for gawk... no [09:24:48.404] checking for mawk... mawk [09:24:48.407] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:24:48.413] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:24:48.420] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:24:48.463] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:24:48.645] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:24:48.652] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:24:48.658] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:24:48.664] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:24:48.671] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:24:48.677] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:24:48.683] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:24:48.690] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:24:48.697] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:24:48.703] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:24:48.710] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:24:48.717] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:24:48.725] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:24:48.762] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:24:48.769] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:24:48.776] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:24:48.783] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:24:48.790] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:24:48.796] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:24:48.819] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:24:48.825] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:24:48.832] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:24:48.871] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:24:48.910] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:24:48.917] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:24:48.924] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:24:48.959] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:24:48.966] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:24:48.973] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:24:48.982] checking whether the C compiler still works... yes [09:24:49.049] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:24:49.126] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:24:49.126] checking pkg-config is at least version 0.9.0... yes [09:24:49.142] checking whether to build with ICU support... no [09:24:49.142] checking whether to build with Tcl... no [09:24:49.142] checking whether to build Perl modules... no [09:24:49.142] checking whether to build Python modules... no [09:24:49.142] checking whether to build with GSSAPI support... no [09:24:49.144] checking whether to build with PAM support... no [09:24:49.144] checking whether to build with BSD Authentication support... no [09:24:49.144] checking whether to build with LDAP support... no [09:24:49.144] checking whether to build with Bonjour support... no [09:24:49.144] checking whether to build with SELinux support... no [09:24:49.144] checking whether to build with systemd support... no [09:24:49.144] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:24:49.144] checking whether to build with XML support... no [09:24:49.145] checking whether to build with LZ4 support... no [09:24:49.145] checking whether to build with ZSTD support... no [09:24:49.145] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:24:49.145] checking whether it is possible to strip libraries... yes [09:24:49.154] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:24:49.154] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:24:49.154] checking for a BSD-compatible install... /usr/bin/install -c [09:24:49.163] checking for tar... /usr/bin/tar [09:24:49.163] checking whether ln -s works... yes [09:24:49.163] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:24:49.166] checking for bison... /usr/bin/bison [09:24:49.168] configure: using bison (GNU Bison) 3.8.2 [09:24:49.171] checking for flex... /usr/bin/flex [09:24:49.184] configure: using flex 2.6.4 [09:24:49.184] checking for perl... /usr/bin/perl [09:24:49.187] configure: using perl 5.36.0 [09:24:49.190] checking for zic... /usr/sbin/zic [09:24:49.190] checking for a sed that does not truncate output... /usr/bin/sed [09:24:49.195] checking for grep that handles long lines and -e... /usr/bin/grep [09:24:49.197] checking for egrep... /usr/bin/grep -E [09:24:49.198] checking for ANSI C header files... yes [09:24:49.244] checking for sys/types.h... yes [09:24:49.262] checking for sys/stat.h... yes [09:24:49.279] checking for stdlib.h... yes [09:24:49.292] checking for string.h... yes [09:24:49.306] checking for memory.h... yes [09:24:49.321] checking for strings.h... yes [09:24:49.335] checking for inttypes.h... yes [09:24:49.350] checking for stdint.h... yes [09:24:49.364] checking for unistd.h... yes [09:24:49.379] checking for main in -lm... yes [09:24:49.426] checking for library containing setproctitle... no [09:24:49.517] checking for library containing dlsym... no [09:24:49.604] checking for library containing socket... -lws2_32 [09:24:49.735] checking for library containing getopt_long... none required [09:24:49.782] checking for library containing shm_open... no [09:24:49.871] checking for library containing shm_unlink... no [09:24:49.959] checking for library containing clock_gettime... no [09:24:50.044] checking for library containing shmget... no [09:24:50.130] checking for library containing backtrace_symbols... no [09:24:50.217] checking for library containing pthread_barrier_wait... -lpthread [09:24:50.306] checking for inflate in -lz... yes [09:24:50.351] checking for stdbool.h that conforms to C99... yes [09:24:50.361] checking for _Bool... yes [09:24:50.433] checking atomic.h usability... no [09:24:50.488] checking atomic.h presence... no [09:24:50.506] checking for atomic.h... no [09:24:50.509] checking copyfile.h usability... no [09:24:50.563] checking copyfile.h presence... no [09:24:50.584] checking for copyfile.h... no [09:24:50.588] checking execinfo.h usability... no [09:24:50.642] checking execinfo.h presence... no [09:24:50.660] checking for execinfo.h... no [09:24:50.663] checking getopt.h usability... yes [09:24:50.670] checking getopt.h presence... yes [09:24:50.686] checking for getopt.h... yes [09:24:50.694] checking ifaddrs.h usability... no [09:24:50.750] checking ifaddrs.h presence... no [09:24:50.769] checking for ifaddrs.h... no [09:24:50.772] checking mbarrier.h usability... no [09:24:50.828] checking mbarrier.h presence... no [09:24:50.846] checking for mbarrier.h... no [09:24:50.849] checking sys/epoll.h usability... no [09:24:50.905] checking sys/epoll.h presence... no [09:24:50.924] checking for sys/epoll.h... no [09:24:50.928] checking sys/event.h usability... no [09:24:50.986] checking sys/event.h presence... no [09:24:51.007] checking for sys/event.h... no [09:24:51.010] checking sys/personality.h usability... no [09:24:51.068] checking sys/personality.h presence... no [09:24:51.088] checking for sys/personality.h... no [09:24:51.092] checking sys/prctl.h usability... no [09:24:51.148] checking sys/prctl.h presence... no [09:24:51.167] checking for sys/prctl.h... no [09:24:51.170] checking sys/procctl.h usability... no [09:24:51.226] checking sys/procctl.h presence... no [09:24:51.246] checking for sys/procctl.h... no [09:24:51.249] checking sys/signalfd.h usability... no [09:24:51.304] checking sys/signalfd.h presence... no [09:24:51.323] checking for sys/signalfd.h... no [09:24:51.326] checking sys/ucred.h usability... no [09:24:51.382] checking sys/ucred.h presence... no [09:24:51.402] checking for sys/ucred.h... no [09:24:51.405] checking termios.h usability... no [09:24:51.463] checking termios.h presence... no [09:24:51.483] checking for termios.h... no [09:24:51.486] checking ucred.h usability... no [09:24:51.542] checking ucred.h presence... no [09:24:51.562] checking for ucred.h... no [09:24:51.565] checking zlib.h usability... yes [09:24:51.574] checking zlib.h presence... yes [09:24:51.593] checking for zlib.h... yes [09:24:51.593] checking for lz4... /usr/bin/lz4 [09:24:51.594] checking for zstd... /usr/bin/zstd [09:24:51.594] checking for openssl... /usr/bin/openssl [09:24:51.598] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [09:24:51.599] checking crtdefs.h usability... yes [09:24:51.606] checking crtdefs.h presence... yes [09:24:51.622] checking for crtdefs.h... yes [09:24:51.623] checking whether byte ordering is bigendian... no [09:24:51.694] checking for inline... inline [09:24:51.701] checking for printf format archetype... gnu_printf [09:24:51.709] checking for _Static_assert... yes [09:24:51.752] checking for typeof... typeof [09:24:51.759] checking for __builtin_types_compatible_p... yes [09:24:51.769] checking for __builtin_constant_p... yes [09:24:51.779] checking for __builtin_unreachable... yes [09:24:51.820] checking for computed goto support... yes [09:24:51.827] checking for struct tm.tm_zone... no [09:24:51.902] checking for union semun... no [09:24:51.935] checking for socklen_t... yes [09:24:53.156] checking for struct sockaddr.sa_len... no [09:24:55.229] checking for locale_t... no [09:24:55.291] checking for C/C++ restrict keyword... __restrict [09:24:55.303] checking for struct option... yes [09:24:55.343] checking whether assembler supports x86_64 popcntq... yes [09:24:55.349] checking size of off_t... 4 [09:24:55.551] 0 [09:24:55.552] checking size of bool... 1 [09:24:55.598] checking for int timezone... yes [09:24:55.648] checking for wcstombs_l declaration... no [09:24:55.738] checking for backtrace_symbols... no [09:24:55.788] checking for copyfile... no [09:24:55.840] checking for copy_file_range... no [09:24:55.890] checking for getifaddrs... no [09:24:55.940] checking for getpeerucred... no [09:24:55.991] checking for inet_pton... yes [09:24:56.041] checking for kqueue... no [09:24:56.091] checking for mbstowcs_l... no [09:24:56.142] checking for memset_s... no [09:24:56.192] checking for posix_fallocate... no [09:24:56.243] checking for ppoll... no [09:24:56.293] checking for pthread_is_threaded_np... no [09:24:56.343] checking for setproctitle... no [09:24:56.392] checking for setproctitle_fast... no [09:24:56.442] checking for strchrnul... no [09:24:56.494] checking for strsignal... no [09:24:56.544] checking for syncfs... no [09:24:56.595] checking for sync_file_range... no [09:24:56.644] checking for uselocale... no [09:24:56.694] checking for wcstombs_l... no [09:24:56.742] checking for __builtin_bswap16... yes [09:24:56.792] checking for __builtin_bswap32... yes [09:24:56.841] checking for __builtin_bswap64... yes [09:24:56.891] checking for __builtin_clz... yes [09:24:56.942] checking for __builtin_ctz... yes [09:24:56.990] checking for __builtin_popcount... yes [09:24:57.038] checking for __builtin_frame_address... yes [09:24:57.085] checking for _LARGEFILE_SOURCE value needed for large files... no [09:24:57.137] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:24:57.168] checking for posix_fadvise... no [09:24:57.218] checking whether posix_fadvise is declared... no [09:24:57.263] checking whether fdatasync is declared... no [09:24:57.307] checking whether strlcat is declared... no [09:24:57.369] checking whether strlcpy is declared... no [09:24:57.432] checking whether strnlen is declared... yes [09:24:57.444] checking whether strsep is declared... no [09:24:57.509] checking whether preadv is declared... no [09:24:57.546] checking whether pwritev is declared... no [09:24:57.582] checking whether F_FULLFSYNC is declared... no [09:24:57.622] checking for explicit_bzero... no [09:24:57.670] checking for getopt... yes [09:24:57.714] checking for getpeereid... no [09:24:57.761] checking for inet_aton... no [09:24:57.807] checking for mkdtemp... no [09:24:57.854] checking for strlcat... no [09:24:57.902] checking for strlcpy... no [09:24:57.946] checking for strnlen... yes [09:24:57.996] checking for strsep... no [09:24:58.043] checking for pthread_barrier_wait... yes [09:24:58.088] configure: On mingw32 we will use our strtof wrapper. [09:24:58.088] checking for getopt_long... yes [09:24:58.135] checking for _configthreadlocale... yes [09:24:58.179] checking for syslog... no [09:24:58.229] checking for opterr... yes [09:24:58.280] checking for optreset... no [09:24:58.332] checking test program... cross-compiling [09:24:58.332] checking whether long int is 64 bits... no [09:24:58.363] checking whether long long int is 64 bits... yes [09:24:58.372] checking for __builtin_mul_overflow... yes [09:24:58.416] checking size of void *... 8 [09:24:58.681] checking size of size_t... 8 [09:24:58.949] checking size of long... 4 [09:24:59.152] checking alignment of short... 2 [09:24:59.287] checking alignment of int... 4 [09:24:59.490] checking alignment of long... 4 [09:24:59.692] checking alignment of long long int... 8 [09:24:59.962] checking alignment of double... 8 [09:25:00.237] checking for int8... no [09:25:00.281] checking for uint8... no [09:25:00.324] checking for int64... no [09:25:00.366] checking for uint64... no [09:25:00.408] checking for __int128... yes [09:25:00.457] checking for __int128 alignment bug... assuming ok [09:25:00.457] checking alignment of PG_INT128_TYPE... 16 [09:25:00.788] checking for builtin __sync char locking functions... yes [09:25:00.830] checking for builtin __sync int32 locking functions... yes [09:25:00.873] checking for builtin __sync int32 atomic operations... yes [09:25:00.915] checking for builtin __sync int64 atomic operations... yes [09:25:00.958] checking for builtin __atomic int32 atomic operations... yes [09:25:01.002] checking for builtin __atomic int64 atomic operations... yes [09:25:01.047] checking for __get_cpuid... yes [09:25:01.097] checking for __get_cpuid_count... yes [09:25:01.143] checking for __cpuid... no [09:25:01.540] checking for __cpuidex... no [09:25:01.959] checking for _xgetbv with CFLAGS=... no [09:25:02.339] checking for _xgetbv with CFLAGS=-mxsave... yes [09:25:02.734] checking for _mm512_popcnt_epi64 with CFLAGS=... no [09:25:03.119] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [09:25:03.467] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:25:03.514] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:25:03.604] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:25:03.628] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:25:03.649] 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 [09:25:03.706] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:25:03.707] checking which random number source to use... Windows native [09:25:03.709] checking for xmllint... /usr/bin/xmllint [09:25:03.709] checking for xsltproc... /usr/bin/xsltproc [09:25:03.709] checking for fop... /usr/bin/fop [09:25:03.709] checking for dbtoepub... no [09:25:03.710] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:25:03.710] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:25:03.710] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:25:03.721] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:25:03.721] 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 [09:25:03.721] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:25:03.721] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:25:03.810] configure: creating ./config.status [09:25:03.899] config.status: creating GNUmakefile [09:25:03.911] config.status: creating src/Makefile.global [09:25:03.927] config.status: creating src/include/pg_config.h [09:25:03.939] config.status: creating src/include/pg_config_ext.h [09:25:03.951] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:25:03.968] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:25:03.976] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:25:03.984] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:25:03.992] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:25:04.000] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:25:04.003] config.status: executing check_win32_symlinks commands [09:25:04.037] [09:25:04.037] real 0m16.463s [09:25:04.037] user 0m11.100s [09:25:04.037] sys 0m4.956s [09:25:04.037] make -s -j${BUILD_JOBS} clean [09:25:04.542] time make -s -j${BUILD_JOBS} world-bin [09:25:24.835] smgr.c: In function ‘smgrdestroy’: [09:25:24.835] smgr.c:279:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [09:25:24.835] 279 | ForkNumber forknum; [09:25:24.835] | ^~~~~~~ [09:25:24.835] smgr.c: In function ‘smgrdounlinkall’: [09:25:24.835] smgr.c:484:41: error: unused variable ‘which’ [-Werror=unused-variable] [09:25:24.835] 484 | int which = rels[i]->smgr_which; [09:25:24.835] | ^~~~~ [09:25:24.835] cc1: all warnings being treated as errors [09:25:24.836] make[4]: *** [: smgr.o] Error 1 [09:25:24.836] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [09:25:24.836] make[2]: *** [common.mk:37: storage-recursive] Error 2 [09:25:24.836] make[2]: *** Waiting for unfinished jobs.... [09:25:41.140] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:25:41.140] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:25:41.140] [09:25:41.140] real 0m36.598s [09:25:41.140] user 1m50.909s [09:25:41.140] sys 0m25.063s [09:25:41.141] [09:25:41.141] Exit status: 2