[06:33:52.983] time ./configure \ [06:33:52.983] --host=x86_64-w64-mingw32 \ [06:33:52.983] --enable-cassert \ [06:33:52.983] --without-icu \ [06:33:52.983] CC="ccache x86_64-w64-mingw32-gcc" \ [06:33:52.983] CXX="ccache x86_64-w64-mingw32-g++" [06:33:53.108] checking build system type... x86_64-pc-linux-gnu [06:33:53.281] checking host system type... x86_64-w64-mingw32 [06:33:53.286] checking which template to use... win32 [06:33:53.286] checking whether NLS is wanted... no [06:33:53.287] checking for default port number... 5432 [06:33:53.294] checking for block size... 8kB [06:33:53.295] checking for segment size... 1GB [06:33:53.298] checking for WAL block size... 8kB [06:33:53.299] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:33:53.335] checking whether the C compiler works... yes [06:33:53.457] checking for C compiler default output file name... a.exe [06:33:53.459] checking for suffix of executables... .exe [06:33:53.500] checking whether we are cross compiling... yes [06:33:53.574] checking for suffix of object files... o [06:33:53.582] checking whether we are using the GNU C compiler... yes [06:33:53.589] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:33:53.596] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:33:53.605] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:33:53.662] checking whether we are using the GNU C++ compiler... yes [06:33:53.669] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:33:53.741] checking for gawk... no [06:33:53.742] checking for mawk... mawk [06:33:53.744] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:33:53.751] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:33:53.758] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:33:53.805] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:33:53.967] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:33:53.974] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:33:53.981] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:33:53.987] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:33:53.994] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:33:54.000] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:33:54.007] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:33:54.013] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:33:54.020] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:33:54.026] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:33:54.033] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:33:54.039] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:33:54.047] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [06:33:54.084] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:33:54.091] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:33:54.098] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:33:54.104] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:33:54.111] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:33:54.117] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:33:54.140] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:33:54.147] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:33:54.153] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:33:54.190] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:33:54.228] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:33:54.235] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:33:54.241] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:33:54.278] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:33:54.285] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:33:54.292] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:33:54.300] checking whether the C compiler still works... yes [06:33:54.363] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:33:54.436] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:33:54.436] checking pkg-config is at least version 0.9.0... yes [06:33:54.452] checking whether to build with ICU support... no [06:33:54.453] checking whether to build with Tcl... no [06:33:54.453] checking whether to build Perl modules... no [06:33:54.453] checking whether to build Python modules... no [06:33:54.453] checking whether to build with GSSAPI support... no [06:33:54.454] checking whether to build with PAM support... no [06:33:54.454] checking whether to build with BSD Authentication support... no [06:33:54.454] checking whether to build with LDAP support... no [06:33:54.455] checking whether to build with Bonjour support... no [06:33:54.455] checking whether to build with SELinux support... no [06:33:54.455] checking whether to build with systemd support... no [06:33:54.455] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:33:54.455] checking whether to build with XML support... no [06:33:54.455] checking whether to build with LZ4 support... no [06:33:54.455] checking whether to build with ZSTD support... no [06:33:54.456] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:33:54.456] checking whether it is possible to strip libraries... yes [06:33:54.463] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:33:54.463] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:33:54.463] checking for a BSD-compatible install... /usr/bin/install -c [06:33:54.472] checking for tar... /usr/bin/tar [06:33:54.472] checking whether ln -s works... yes [06:33:54.472] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:33:54.474] checking for bison... /usr/bin/bison [06:33:54.477] configure: using bison (GNU Bison) 3.8.2 [06:33:54.480] checking for flex... /usr/bin/flex [06:33:54.492] configure: using flex 2.6.4 [06:33:54.492] checking for perl... /usr/bin/perl [06:33:54.495] configure: using perl 5.36.0 [06:33:54.497] checking for zic... /usr/sbin/zic [06:33:54.497] checking for a sed that does not truncate output... /usr/bin/sed [06:33:54.502] checking for grep that handles long lines and -e... /usr/bin/grep [06:33:54.505] checking for egrep... /usr/bin/grep -E [06:33:54.506] checking for ANSI C header files... yes [06:33:54.555] checking for sys/types.h... yes [06:33:54.572] checking for sys/stat.h... yes [06:33:54.588] checking for stdlib.h... yes [06:33:54.604] checking for string.h... yes [06:33:54.618] checking for memory.h... yes [06:33:54.634] checking for strings.h... yes [06:33:54.650] checking for inttypes.h... yes [06:33:54.666] checking for stdint.h... yes [06:33:54.681] checking for unistd.h... yes [06:33:54.697] checking for main in -lm... yes [06:33:54.748] checking for library containing setproctitle... no [06:33:54.838] checking for library containing dlsym... no [06:33:54.925] checking for library containing socket... -lws2_32 [06:33:55.053] checking for library containing getopt_long... none required [06:33:55.102] checking for library containing shm_open... no [06:33:55.191] checking for library containing shm_unlink... no [06:33:55.279] checking for library containing clock_gettime... no [06:33:55.368] checking for library containing shmget... no [06:33:55.456] checking for library containing backtrace_symbols... no [06:33:55.544] checking for library containing pthread_barrier_wait... -lpthread [06:33:55.633] checking for inflate in -lz... yes [06:33:55.682] checking atomic.h usability... no [06:33:55.740] checking atomic.h presence... no [06:33:55.758] checking for atomic.h... no [06:33:55.761] checking copyfile.h usability... no [06:33:55.815] checking copyfile.h presence... no [06:33:55.834] checking for copyfile.h... no [06:33:55.837] checking execinfo.h usability... no [06:33:55.892] checking execinfo.h presence... no [06:33:55.911] checking for execinfo.h... no [06:33:55.914] checking getopt.h usability... yes [06:33:55.922] checking getopt.h presence... yes [06:33:55.937] checking for getopt.h... yes [06:33:55.944] checking ifaddrs.h usability... no [06:33:55.998] checking ifaddrs.h presence... no [06:33:56.017] checking for ifaddrs.h... no [06:33:56.020] checking mbarrier.h usability... no [06:33:56.074] checking mbarrier.h presence... no [06:33:56.093] checking for mbarrier.h... no [06:33:56.096] checking sys/epoll.h usability... no [06:33:56.150] checking sys/epoll.h presence... no [06:33:56.169] checking for sys/epoll.h... no [06:33:56.172] checking sys/event.h usability... no [06:33:56.225] checking sys/event.h presence... no [06:33:56.243] checking for sys/event.h... no [06:33:56.246] checking sys/personality.h usability... no [06:33:56.301] checking sys/personality.h presence... no [06:33:56.319] checking for sys/personality.h... no [06:33:56.322] checking sys/prctl.h usability... no [06:33:56.377] checking sys/prctl.h presence... no [06:33:56.395] checking for sys/prctl.h... no [06:33:56.399] checking sys/procctl.h usability... no [06:33:56.454] checking sys/procctl.h presence... no [06:33:56.474] checking for sys/procctl.h... no [06:33:56.477] checking sys/signalfd.h usability... no [06:33:56.532] checking sys/signalfd.h presence... no [06:33:56.551] checking for sys/signalfd.h... no [06:33:56.555] checking sys/ucred.h usability... no [06:33:56.609] checking sys/ucred.h presence... no [06:33:56.629] checking for sys/ucred.h... no [06:33:56.633] checking termios.h usability... no [06:33:56.688] checking termios.h presence... no [06:33:56.708] checking for termios.h... no [06:33:56.711] checking ucred.h usability... no [06:33:56.766] checking ucred.h presence... no [06:33:56.785] checking for ucred.h... no [06:33:56.789] checking xlocale.h usability... no [06:33:56.844] checking xlocale.h presence... no [06:33:56.863] checking for xlocale.h... no [06:33:56.865] checking zlib.h usability... yes [06:33:56.876] checking zlib.h presence... yes [06:33:56.895] checking for zlib.h... yes [06:33:56.895] checking for lz4... /usr/bin/lz4 [06:33:56.895] checking for zstd... /usr/bin/zstd [06:33:56.895] checking for openssl... /usr/bin/openssl [06:33:56.900] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [06:33:56.900] checking crtdefs.h usability... yes [06:33:56.907] checking crtdefs.h presence... yes [06:33:56.923] checking for crtdefs.h... yes [06:33:56.924] checking whether byte ordering is bigendian... no [06:33:56.995] checking for inline... inline [06:33:57.003] checking for printf format archetype... gnu_printf [06:33:57.011] checking for _Static_assert... yes [06:33:57.052] checking for typeof... typeof [06:33:57.059] checking for __builtin_types_compatible_p... yes [06:33:57.069] checking for __builtin_constant_p... yes [06:33:57.079] checking for __builtin_mul_overflow... yes [06:33:57.126] checking for __builtin_unreachable... yes [06:33:57.167] checking for computed goto support... yes [06:33:57.174] checking for struct tm.tm_zone... no [06:33:57.249] checking for union semun... no [06:33:57.283] checking for socklen_t... yes [06:33:58.445] checking for struct sockaddr.sa_len... no [06:34:00.527] checking for C/C++ restrict keyword... __restrict [06:34:00.540] checking for struct option... yes [06:34:00.583] checking whether assembler supports x86_64 popcntq... yes [06:34:00.590] checking size of off_t... 4 [06:34:00.795] 0 [06:34:00.795] checking for int timezone... yes [06:34:00.847] checking for backtrace_symbols... no [06:34:00.897] checking for copyfile... no [06:34:00.948] checking for copy_file_range... no [06:34:00.998] checking for elf_aux_info... no [06:34:01.048] checking for getauxval... no [06:34:01.097] checking for getifaddrs... no [06:34:01.145] checking for getpeerucred... no [06:34:01.194] checking for inet_pton... yes [06:34:01.243] checking for kqueue... no [06:34:01.292] checking for mbstowcs_l... no [06:34:01.340] checking for memset_s... no [06:34:01.390] checking for posix_fallocate... no [06:34:01.440] checking for ppoll... no [06:34:01.490] checking for pthread_is_threaded_np... no [06:34:01.538] checking for setproctitle... no [06:34:01.587] checking for setproctitle_fast... no [06:34:01.636] checking for strchrnul... no [06:34:01.685] checking for strsignal... no [06:34:01.733] checking for syncfs... no [06:34:01.781] checking for sync_file_range... no [06:34:01.830] checking for uselocale... no [06:34:01.880] checking for wcstombs_l... no [06:34:01.928] checking for __builtin_bswap16... yes [06:34:01.977] checking for __builtin_bswap32... yes [06:34:02.025] checking for __builtin_bswap64... yes [06:34:02.073] checking for __builtin_clz... yes [06:34:02.120] checking for __builtin_ctz... yes [06:34:02.168] checking for __builtin_popcount... yes [06:34:02.216] checking for __builtin_frame_address... yes [06:34:02.263] checking for _LARGEFILE_SOURCE value needed for large files... no [06:34:02.315] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:34:02.346] checking for posix_fadvise... no [06:34:02.398] checking whether posix_fadvise is declared... no [06:34:02.444] checking whether fdatasync is declared... no [06:34:02.491] checking whether strlcat is declared... no [06:34:02.557] checking whether strlcpy is declared... no [06:34:02.622] checking whether strnlen is declared... yes [06:34:02.635] checking whether strsep is declared... no [06:34:02.700] checking whether preadv is declared... no [06:34:02.737] checking whether pwritev is declared... no [06:34:02.775] checking whether F_FULLFSYNC is declared... no [06:34:02.816] checking for explicit_bzero... no [06:34:02.864] checking for getopt... yes [06:34:02.909] checking for getpeereid... no [06:34:02.959] checking for inet_aton... no [06:34:03.007] checking for mkdtemp... no [06:34:03.056] checking for strlcat... no [06:34:03.103] checking for strlcpy... no [06:34:03.150] checking for strnlen... yes [06:34:03.198] checking for strsep... no [06:34:03.245] checking for pthread_barrier_wait... yes [06:34:03.290] configure: On mingw32 we will use our strtof wrapper. [06:34:03.290] checking for getopt_long... yes [06:34:03.334] checking for syslog... no [06:34:03.381] checking for opterr... yes [06:34:03.428] checking for optreset... no [06:34:03.479] checking test program... cross-compiling [06:34:03.479] checking size of void *... 8 [06:34:03.753] checking size of size_t... 8 [06:34:04.023] checking size of long... 4 [06:34:04.226] checking size of long long... 8 [06:34:04.496] checking alignment of short... 2 [06:34:04.637] checking alignment of int... 4 [06:34:04.849] checking alignment of long... 4 [06:34:05.053] checking alignment of int64_t... 8 [06:34:05.327] checking alignment of double... 8 [06:34:05.604] checking for __int128... yes [06:34:05.657] checking for __int128 alignment bug... assuming ok [06:34:05.657] checking alignment of PG_INT128_TYPE... 16 [06:34:05.992] checking for builtin __sync char locking functions... yes [06:34:06.033] checking for builtin __sync int32 locking functions... yes [06:34:06.074] checking for builtin __sync int32 atomic operations... yes [06:34:06.116] checking for builtin __sync int64 atomic operations... yes [06:34:06.159] checking for builtin __atomic int32 atomic operations... yes [06:34:06.199] checking for builtin __atomic int64 atomic operations... yes [06:34:06.242] checking for __get_cpuid... yes [06:34:06.287] checking for __get_cpuid_count... yes [06:34:06.329] checking for __cpuid... no [06:34:06.721] checking for __cpuidex... no [06:34:07.144] checking for _xgetbv... yes [06:34:07.545] checking for _mm512_popcnt_epi64... yes [06:34:07.966] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [06:34:08.068] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:34:08.091] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [06:34:08.111] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:34:08.130] 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 [06:34:08.187] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:34:08.188] checking which random number source to use... Windows native [06:34:08.189] checking for xmllint... /usr/bin/xmllint [06:34:08.190] checking for xsltproc... /usr/bin/xsltproc [06:34:08.190] checking for fop... /usr/bin/fop [06:34:08.190] checking for dbtoepub... no [06:34:08.191] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:34:08.191] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:34:08.191] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [06:34:08.201] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [06:34:08.202] 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 [06:34:08.202] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [06:34:08.202] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:34:08.282] configure: creating ./config.status [06:34:08.364] config.status: creating GNUmakefile [06:34:08.376] config.status: creating src/Makefile.global [06:34:08.391] config.status: creating src/include/pg_config.h [06:34:08.403] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:34:08.418] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:34:08.425] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:34:08.432] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:34:08.439] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:34:08.447] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:34:08.451] config.status: executing check_win32_symlinks commands [06:34:08.485] [06:34:08.485] real 0m15.502s [06:34:08.485] user 0m10.260s [06:34:08.485] sys 0m4.951s [06:34:08.485] make -s -j${BUILD_JOBS} clean [06:34:08.985] time make -s -j${BUILD_JOBS} world-bin [06:34:16.194] tablecmds.c: In function ‘tryAttachPartitionForeignKey’: [06:34:16.194] tablecmds.c:11575:9: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] [06:34:16.194] 11575 | if (parentConstrIsValid && !partConstrIsValid); [06:34:16.194] | ^~ [06:34:16.194] tablecmds.c:11576:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ [06:34:16.194] 11576 | { [06:34:16.194] | ^ [06:34:16.194] cc1: all warnings being treated as errors [06:34:16.196] make[3]: *** [: tablecmds.o] Error 1 [06:34:16.196] make[2]: *** [common.mk:37: commands-recursive] Error 2 [06:34:16.196] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:34:16.197] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:34:16.197] [06:34:16.197] real 0m7.212s [06:34:16.197] user 0m12.008s [06:34:16.197] sys 0m6.531s [06:34:16.197] [06:34:16.197] Exit status: 2