[19:55:42.737] time ./configure \ [19:55:42.737] --host=x86_64-w64-mingw32 \ [19:55:42.737] --enable-cassert \ [19:55:42.737] --without-icu \ [19:55:42.737] CC="ccache x86_64-w64-mingw32-gcc" \ [19:55:42.737] CXX="ccache x86_64-w64-mingw32-g++" [19:55:42.847] checking build system type... x86_64-pc-linux-gnu [19:55:43.040] checking host system type... x86_64-w64-mingw32 [19:55:43.045] checking which template to use... win32 [19:55:43.045] checking whether NLS is wanted... no [19:55:43.045] checking for default port number... 5432 [19:55:43.052] checking for block size... 8kB [19:55:43.053] checking for segment size... 1GB [19:55:43.056] checking for WAL block size... 8kB [19:55:43.057] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:55:43.091] checking whether the C compiler works... yes [19:55:43.230] checking for C compiler default output file name... a.exe [19:55:43.231] checking for suffix of executables... .exe [19:55:43.274] checking whether we are cross compiling... yes [19:55:43.356] checking for suffix of object files... o [19:55:43.365] checking whether we are using the GNU C compiler... yes [19:55:43.372] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:55:43.379] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:55:43.389] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:55:43.452] checking whether we are using the GNU C++ compiler... yes [19:55:43.459] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:55:43.531] checking for gawk... no [19:55:43.532] checking for mawk... mawk [19:55:43.534] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:55:43.541] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:55:43.548] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:55:43.595] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:55:43.773] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:55:43.780] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:55:43.787] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:55:43.794] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:55:43.801] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:55:43.807] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:55:43.815] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:55:43.821] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:55:43.828] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:55:43.835] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:55:43.842] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:55:43.850] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:55:43.857] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:55:43.895] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:55:43.903] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:55:43.910] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:55:43.918] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:55:43.925] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:55:43.932] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:55:43.957] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:55:43.964] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:55:43.971] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:55:44.008] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:55:44.046] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:55:44.053] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:55:44.059] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:55:44.093] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:55:44.100] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:55:44.107] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:55:44.115] checking whether the C compiler still works... yes [19:55:44.179] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:55:44.249] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:55:44.249] checking pkg-config is at least version 0.9.0... yes [19:55:44.265] checking whether to build with ICU support... no [19:55:44.265] checking whether to build with Tcl... no [19:55:44.265] checking whether to build Perl modules... no [19:55:44.265] checking whether to build Python modules... no [19:55:44.266] checking whether to build with GSSAPI support... no [19:55:44.267] checking whether to build with PAM support... no [19:55:44.267] checking whether to build with BSD Authentication support... no [19:55:44.267] checking whether to build with LDAP support... no [19:55:44.267] checking whether to build with Bonjour support... no [19:55:44.267] checking whether to build with SELinux support... no [19:55:44.267] checking whether to build with systemd support... no [19:55:44.267] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:55:44.267] checking whether to build with XML support... no [19:55:44.268] checking whether to build with LZ4 support... no [19:55:44.268] checking whether to build with ZSTD support... no [19:55:44.268] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:55:44.268] checking whether it is possible to strip libraries... yes [19:55:44.276] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:55:44.276] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:55:44.276] checking for a BSD-compatible install... /usr/bin/install -c [19:55:44.285] checking for tar... /usr/bin/tar [19:55:44.285] checking whether ln -s works... yes [19:55:44.285] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:55:44.287] checking for bison... /usr/bin/bison [19:55:44.290] configure: using bison (GNU Bison) 3.8.2 [19:55:44.293] checking for flex... /usr/bin/flex [19:55:44.304] configure: using flex 2.6.4 [19:55:44.304] checking for perl... /usr/bin/perl [19:55:44.307] configure: using perl 5.36.0 [19:55:44.309] checking for zic... /usr/sbin/zic [19:55:44.309] checking for a sed that does not truncate output... /usr/bin/sed [19:55:44.314] checking for grep that handles long lines and -e... /usr/bin/grep [19:55:44.316] checking for egrep... /usr/bin/grep -E [19:55:44.318] checking for ANSI C header files... yes [19:55:44.363] checking for sys/types.h... yes [19:55:44.379] checking for sys/stat.h... yes [19:55:44.395] checking for stdlib.h... yes [19:55:44.409] checking for string.h... yes [19:55:44.423] checking for memory.h... yes [19:55:44.437] checking for strings.h... yes [19:55:44.451] checking for inttypes.h... yes [19:55:44.468] checking for stdint.h... yes [19:55:44.484] checking for unistd.h... yes [19:55:44.500] checking for main in -lm... yes [19:55:44.547] checking for library containing setproctitle... no [19:55:44.635] checking for library containing dlsym... no [19:55:44.720] checking for library containing socket... -lws2_32 [19:55:44.846] checking for library containing getopt_long... none required [19:55:44.896] checking for library containing shm_open... no [19:55:44.987] checking for library containing shm_unlink... no [19:55:45.080] checking for library containing clock_gettime... no [19:55:45.172] checking for library containing shmget... no [19:55:45.261] checking for library containing backtrace_symbols... no [19:55:45.349] checking for library containing pthread_barrier_wait... -lpthread [19:55:45.439] checking for inflate in -lz... yes [19:55:45.484] checking for stdbool.h that conforms to C99... yes [19:55:45.496] checking for _Bool... yes [19:55:45.572] checking atomic.h usability... no [19:55:45.630] checking atomic.h presence... no [19:55:45.649] checking for atomic.h... no [19:55:45.652] checking copyfile.h usability... no [19:55:45.708] checking copyfile.h presence... no [19:55:45.728] checking for copyfile.h... no [19:55:45.732] checking execinfo.h usability... no [19:55:45.787] checking execinfo.h presence... no [19:55:45.808] checking for execinfo.h... no [19:55:45.812] checking getopt.h usability... yes [19:55:45.821] checking getopt.h presence... yes [19:55:45.838] checking for getopt.h... yes [19:55:45.846] checking ifaddrs.h usability... no [19:55:45.905] checking ifaddrs.h presence... no [19:55:45.926] checking for ifaddrs.h... no [19:55:45.930] checking mbarrier.h usability... no [19:55:45.990] checking mbarrier.h presence... no [19:55:46.010] checking for mbarrier.h... no [19:55:46.014] checking sys/epoll.h usability... no [19:55:46.072] checking sys/epoll.h presence... no [19:55:46.093] checking for sys/epoll.h... no [19:55:46.096] checking sys/event.h usability... no [19:55:46.158] checking sys/event.h presence... no [19:55:46.181] checking for sys/event.h... no [19:55:46.184] checking sys/personality.h usability... no [19:55:46.241] checking sys/personality.h presence... no [19:55:46.260] checking for sys/personality.h... no [19:55:46.263] checking sys/prctl.h usability... no [19:55:46.320] checking sys/prctl.h presence... no [19:55:46.341] checking for sys/prctl.h... no [19:55:46.345] checking sys/procctl.h usability... no [19:55:46.406] checking sys/procctl.h presence... no [19:55:46.426] checking for sys/procctl.h... no [19:55:46.430] checking sys/signalfd.h usability... no [19:55:46.489] checking sys/signalfd.h presence... no [19:55:46.511] checking for sys/signalfd.h... no [19:55:46.515] checking sys/ucred.h usability... no [19:55:46.575] checking sys/ucred.h presence... no [19:55:46.596] checking for sys/ucred.h... no [19:55:46.600] checking termios.h usability... no [19:55:46.660] checking termios.h presence... no [19:55:46.681] checking for termios.h... no [19:55:46.684] checking ucred.h usability... no [19:55:46.746] checking ucred.h presence... no [19:55:46.767] checking for ucred.h... no [19:55:46.771] checking zlib.h usability... yes [19:55:46.781] checking zlib.h presence... yes [19:55:46.802] checking for zlib.h... yes [19:55:46.802] checking for lz4... /usr/bin/lz4 [19:55:46.802] checking for zstd... /usr/bin/zstd [19:55:46.803] checking for openssl... /usr/bin/openssl [19:55:46.808] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [19:55:46.809] checking crtdefs.h usability... yes [19:55:46.817] checking crtdefs.h presence... yes [19:55:46.834] checking for crtdefs.h... yes [19:55:46.836] checking whether byte ordering is bigendian... no [19:55:46.920] checking for inline... inline [19:55:46.928] checking for printf format archetype... gnu_printf [19:55:46.937] checking for _Static_assert... yes [19:55:46.983] checking for typeof... typeof [19:55:46.991] checking for __builtin_types_compatible_p... yes [19:55:47.003] checking for __builtin_constant_p... yes [19:55:47.015] checking for __builtin_unreachable... yes [19:55:47.059] checking for computed goto support... yes [19:55:47.067] checking for struct tm.tm_zone... no [19:55:47.156] checking for union semun... no [19:55:47.195] checking for socklen_t... yes [19:55:48.485] checking for struct sockaddr.sa_len... no [19:55:50.742] checking for locale_t... no [19:55:50.812] checking for C/C++ restrict keyword... __restrict [19:55:50.826] checking for struct option... yes [19:55:50.872] checking whether assembler supports x86_64 popcntq... yes [19:55:50.881] checking size of off_t... 4 [19:55:51.096] 0 [19:55:51.096] checking size of bool... 1 [19:55:51.148] checking for int timezone... yes [19:55:51.199] checking for wcstombs_l declaration... no [19:55:51.292] checking for backtrace_symbols... no [19:55:51.346] checking for copyfile... no [19:55:51.399] checking for copy_file_range... no [19:55:51.452] checking for getifaddrs... no [19:55:51.507] checking for getpeerucred... no [19:55:51.560] checking for inet_pton... yes [19:55:51.614] checking for kqueue... no [19:55:51.669] checking for mbstowcs_l... no [19:55:51.722] checking for memset_s... no [19:55:51.776] checking for posix_fallocate... no [19:55:51.828] checking for ppoll... no [19:55:51.882] checking for pthread_is_threaded_np... no [19:55:51.938] checking for setproctitle... no [19:55:51.992] checking for setproctitle_fast... no [19:55:52.047] checking for strchrnul... no [19:55:52.100] checking for strsignal... no [19:55:52.153] checking for syncfs... no [19:55:52.207] checking for sync_file_range... no [19:55:52.263] checking for uselocale... no [19:55:52.318] checking for wcstombs_l... no [19:55:52.369] checking for __builtin_bswap16... yes [19:55:52.423] checking for __builtin_bswap32... yes [19:55:52.472] checking for __builtin_bswap64... yes [19:55:52.523] checking for __builtin_clz... yes [19:55:52.576] checking for __builtin_ctz... yes [19:55:52.627] checking for __builtin_popcount... yes [19:55:52.679] checking for __builtin_frame_address... yes [19:55:52.729] checking for _LARGEFILE_SOURCE value needed for large files... no [19:55:52.784] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:55:52.820] checking for posix_fadvise... no [19:55:52.877] checking whether posix_fadvise is declared... no [19:55:52.927] checking whether fdatasync is declared... no [19:55:52.979] checking whether strlcat is declared... no [19:55:53.052] checking whether strlcpy is declared... no [19:55:53.124] checking whether strnlen is declared... yes [19:55:53.140] checking whether strsep is declared... no [19:55:53.211] checking whether preadv is declared... no [19:55:53.254] checking whether pwritev is declared... no [19:55:53.298] checking whether F_FULLFSYNC is declared... no [19:55:53.343] checking for explicit_bzero... no [19:55:53.393] checking for getopt... yes [19:55:53.441] checking for getpeereid... no [19:55:53.492] checking for inet_aton... no [19:55:53.543] checking for mkdtemp... no [19:55:53.595] checking for strlcat... no [19:55:53.646] checking for strlcpy... no [19:55:53.697] checking for strnlen... yes [19:55:53.748] checking for strsep... no [19:55:53.800] checking for pthread_barrier_wait... yes [19:55:53.845] configure: On mingw32 we will use our strtof wrapper. [19:55:53.845] checking for getopt_long... yes [19:55:53.894] checking for _configthreadlocale... yes [19:55:53.941] checking for syslog... no [19:55:53.992] checking for opterr... yes [19:55:54.044] checking for optreset... no [19:55:54.102] checking test program... cross-compiling [19:55:54.102] checking whether long int is 64 bits... no [19:55:54.137] checking whether long long int is 64 bits... yes [19:55:54.147] checking for __builtin_mul_overflow... yes [19:55:54.192] checking size of void *... 8 [19:55:54.487] checking size of size_t... 8 [19:55:54.790] checking size of long... 4 [19:55:55.013] checking alignment of short... 2 [19:55:55.170] checking alignment of int... 4 [19:55:55.400] checking alignment of long... 4 [19:55:55.623] checking alignment of long long int... 8 [19:55:55.932] checking alignment of double... 8 [19:55:56.233] checking for int8... no [19:55:56.281] checking for uint8... no [19:55:56.329] checking for int64... no [19:55:56.377] checking for uint64... no [19:55:56.425] checking for __int128... yes [19:55:56.478] checking for __int128 alignment bug... assuming ok [19:55:56.478] checking alignment of PG_INT128_TYPE... 16 [19:55:56.858] checking for builtin __sync char locking functions... yes [19:55:56.905] checking for builtin __sync int32 locking functions... yes [19:55:56.949] checking for builtin __sync int32 atomic operations... yes [19:55:56.995] checking for builtin __sync int64 atomic operations... yes [19:55:57.040] checking for builtin __atomic int32 atomic operations... yes [19:55:57.084] checking for builtin __atomic int64 atomic operations... yes [19:55:57.129] checking for __get_cpuid... yes [19:55:57.175] checking for __get_cpuid_count... yes [19:55:57.222] checking for __cpuid... no [19:55:57.634] checking for __cpuidex... no [19:55:58.088] checking for _xgetbv with CFLAGS=... no [19:55:58.475] checking for _xgetbv with CFLAGS=-mxsave... yes [19:55:58.877] checking for _mm512_popcnt_epi64 with CFLAGS=... no [19:55:59.269] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [19:55:59.622] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [19:55:59.670] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [19:55:59.761] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:55:59.785] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:55:59.805] 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 [19:55:59.862] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:55:59.863] checking which random number source to use... Windows native [19:55:59.865] checking for xmllint... /usr/bin/xmllint [19:55:59.865] checking for xsltproc... /usr/bin/xsltproc [19:55:59.865] checking for fop... /usr/bin/fop [19:55:59.866] checking for dbtoepub... no [19:55:59.866] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:55:59.866] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:55:59.866] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:55:59.878] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [19:55:59.878] 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 [19:55:59.878] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:55:59.878] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:55:59.967] configure: creating ./config.status [19:56:00.061] config.status: creating GNUmakefile [19:56:00.074] config.status: creating src/Makefile.global [19:56:00.092] config.status: creating src/include/pg_config.h [19:56:00.107] config.status: creating src/include/pg_config_ext.h [19:56:00.120] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:56:00.137] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:56:00.145] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:56:00.153] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:56:00.161] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:56:00.170] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:56:00.173] config.status: executing check_win32_symlinks commands [19:56:00.213] [19:56:00.213] real 0m17.475s [19:56:00.213] user 0m11.526s [19:56:00.213] sys 0m5.580s [19:56:00.213] make -s -j${BUILD_JOBS} clean [19:56:00.728] time make -s -j${BUILD_JOBS} world-bin [19:56:08.917] smgr.c: In function ‘smgrdestroy’: [19:56:08.917] smgr.c:279:25: error: unused variable ‘forknum’ [-Werror=unused-variable] [19:56:08.917] 279 | ForkNumber forknum; [19:56:08.917] | ^~~~~~~ [19:56:08.917] smgr.c: In function ‘smgrdounlinkall’: [19:56:08.917] smgr.c:484:41: error: unused variable ‘which’ [-Werror=unused-variable] [19:56:08.917] 484 | int which = rels[i]->smgr_which; [19:56:08.917] | ^~~~~ [19:56:08.917] cc1: all warnings being treated as errors [19:56:08.918] make[4]: *** [: smgr.o] Error 1 [19:56:08.918] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [19:56:08.918] make[2]: *** [common.mk:37: storage-recursive] Error 2 [19:56:08.918] make[2]: *** Waiting for unfinished jobs.... [19:56:10.313] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [19:56:10.313] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [19:56:10.313] [19:56:10.313] real 0m9.586s [19:56:10.313] user 0m22.782s [19:56:10.313] sys 0m7.693s [19:56:10.314] [19:56:10.314] Exit status: 2