[18:15:46.122] time ./configure \ [18:15:46.122] --host=x86_64-w64-mingw32 \ [18:15:46.122] --enable-cassert \ [18:15:46.122] --without-icu \ [18:15:46.122] CC="ccache x86_64-w64-mingw32-gcc" \ [18:15:46.122] CXX="ccache x86_64-w64-mingw32-g++" [18:15:46.184] checking build system type... x86_64-pc-linux-gnu [18:15:46.370] checking host system type... x86_64-w64-mingw32 [18:15:46.373] checking which template to use... win32 [18:15:46.374] checking whether NLS is wanted... no [18:15:46.374] checking for default port number... 5432 [18:15:46.377] checking for block size... 8kB [18:15:46.378] checking for segment size... 1GB [18:15:46.379] checking for WAL block size... 8kB [18:15:46.380] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:15:46.400] checking whether the C compiler works... yes [18:15:46.529] checking for C compiler default output file name... a.exe [18:15:46.529] checking for suffix of executables... .exe [18:15:46.556] checking whether we are cross compiling... yes [18:15:46.613] checking for suffix of object files... o [18:15:46.623] checking whether we are using the GNU C compiler... yes [18:15:46.627] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:15:46.630] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:15:46.637] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:15:46.678] checking whether we are using the GNU C++ compiler... yes [18:15:46.682] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:15:46.719] checking for gawk... no [18:15:46.719] checking for mawk... mawk [18:15:46.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:15:46.725] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:15:46.728] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:15:46.757] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:15:46.903] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:15:46.923] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:15:46.927] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:15:46.930] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:15:46.934] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:15:46.953] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:15:46.957] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:15:46.960] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:15:46.964] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:15:46.968] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:15:46.971] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:15:46.975] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:15:46.978] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:15:46.986] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:15:46.990] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:15:46.993] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:15:46.997] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:15:47.000] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:15:47.013] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:15:47.032] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:15:47.036] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:15:47.058] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:15:47.080] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:15:47.083] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:15:47.087] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:15:47.106] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:15:47.110] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:15:47.114] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:15:47.118] checking whether the C compiler still works... yes [18:15:47.160] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:15:47.199] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:15:47.199] checking pkg-config is at least version 0.9.0... yes [18:15:47.214] checking whether to build with ICU support... no [18:15:47.214] checking whether to build with Tcl... no [18:15:47.214] checking whether to build Perl modules... no [18:15:47.214] checking whether to build Python modules... no [18:15:47.214] checking whether to build with GSSAPI support... no [18:15:47.215] checking whether to build with PAM support... no [18:15:47.215] checking whether to build with BSD Authentication support... no [18:15:47.215] checking whether to build with LDAP support... no [18:15:47.215] checking whether to build with Bonjour support... no [18:15:47.215] checking whether to build with SELinux support... no [18:15:47.215] checking whether to build with systemd support... no [18:15:47.215] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:15:47.215] checking whether to build with XML support... no [18:15:47.216] checking whether to build with LZ4 support... no [18:15:47.216] checking whether to build with ZSTD support... no [18:15:47.216] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:15:47.216] checking whether it is possible to strip libraries... yes [18:15:47.222] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:15:47.223] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:15:47.223] checking for a BSD-compatible install... /usr/bin/install -c [18:15:47.228] checking for tar... /usr/bin/tar [18:15:47.228] checking whether ln -s works... yes [18:15:47.228] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:15:47.229] checking for bison... /usr/bin/bison [18:15:47.230] configure: using bison (GNU Bison) 3.7.5 [18:15:47.232] checking for flex... /usr/bin/flex [18:15:47.239] configure: using flex 2.6.4 [18:15:47.239] checking for perl... /usr/bin/perl [18:15:47.241] configure: using perl 5.32.1 [18:15:47.242] checking for zic... /usr/sbin/zic [18:15:47.242] checking for a sed that does not truncate output... /usr/bin/sed [18:15:47.245] checking for grep that handles long lines and -e... /usr/bin/grep [18:15:47.246] checking for egrep... /usr/bin/grep -E [18:15:47.247] checking for ANSI C header files... yes [18:15:47.275] checking for sys/types.h... yes [18:15:47.285] checking for sys/stat.h... yes [18:15:47.293] checking for stdlib.h... yes [18:15:47.301] checking for string.h... yes [18:15:47.308] checking for memory.h... yes [18:15:47.316] checking for strings.h... yes [18:15:47.324] checking for inttypes.h... yes [18:15:47.332] checking for stdint.h... yes [18:15:47.340] checking for unistd.h... yes [18:15:47.350] checking for main in -lm... yes [18:15:47.378] checking for library containing setproctitle... no [18:15:47.432] checking for library containing dlsym... no [18:15:47.483] checking for library containing socket... -lws2_32 [18:15:47.562] checking for library containing getopt_long... none required [18:15:47.593] checking for library containing shm_open... no [18:15:47.654] checking for library containing shm_unlink... no [18:15:47.712] checking for library containing clock_gettime... no [18:15:47.774] checking for library containing shmget... no [18:15:47.826] checking for library containing backtrace_symbols... no [18:15:47.883] checking for library containing pthread_barrier_wait... -lpthread [18:15:47.939] checking for inflate in -lz... yes [18:15:47.972] checking for stdbool.h that conforms to C99... yes [18:15:47.978] checking for _Bool... yes [18:15:48.026] checking atomic.h usability... no [18:15:48.065] checking atomic.h presence... no [18:15:48.075] checking for atomic.h... no [18:15:48.076] checking copyfile.h usability... no [18:15:48.112] checking copyfile.h presence... no [18:15:48.122] checking for copyfile.h... no [18:15:48.124] checking execinfo.h usability... no [18:15:48.159] checking execinfo.h presence... no [18:15:48.169] checking for execinfo.h... no [18:15:48.171] checking getopt.h usability... yes [18:15:48.175] checking getopt.h presence... yes [18:15:48.183] checking for getopt.h... yes [18:15:48.186] checking ifaddrs.h usability... no [18:15:48.221] checking ifaddrs.h presence... no [18:15:48.231] checking for ifaddrs.h... no [18:15:48.233] checking langinfo.h usability... no [18:15:48.268] checking langinfo.h presence... no [18:15:48.279] checking for langinfo.h... no [18:15:48.280] checking mbarrier.h usability... no [18:15:48.315] checking mbarrier.h presence... no [18:15:48.325] checking for mbarrier.h... no [18:15:48.327] checking sys/epoll.h usability... no [18:15:48.361] checking sys/epoll.h presence... no [18:15:48.371] checking for sys/epoll.h... no [18:15:48.373] checking sys/event.h usability... no [18:15:48.408] checking sys/event.h presence... no [18:15:48.418] checking for sys/event.h... no [18:15:48.420] checking sys/personality.h usability... no [18:15:48.455] checking sys/personality.h presence... no [18:15:48.465] checking for sys/personality.h... no [18:15:48.467] checking sys/prctl.h usability... no [18:15:48.502] checking sys/prctl.h presence... no [18:15:48.513] checking for sys/prctl.h... no [18:15:48.515] checking sys/procctl.h usability... no [18:15:48.551] checking sys/procctl.h presence... no [18:15:48.562] checking for sys/procctl.h... no [18:15:48.564] checking sys/signalfd.h usability... no [18:15:48.600] checking sys/signalfd.h presence... no [18:15:48.611] checking for sys/signalfd.h... no [18:15:48.613] checking sys/ucred.h usability... no [18:15:48.649] checking sys/ucred.h presence... no [18:15:48.660] checking for sys/ucred.h... no [18:15:48.662] checking termios.h usability... no [18:15:48.697] checking termios.h presence... no [18:15:48.709] checking for termios.h... no [18:15:48.711] checking ucred.h usability... no [18:15:48.747] checking ucred.h presence... no [18:15:48.757] checking for ucred.h... no [18:15:48.759] checking zlib.h usability... yes [18:15:48.799] checking zlib.h presence... yes [18:15:48.810] checking for zlib.h... yes [18:15:48.810] checking for lz4... /usr/bin/lz4 [18:15:48.810] checking for zstd... /usr/bin/zstd [18:15:48.811] checking for openssl... /usr/bin/openssl [18:15:48.814] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [18:15:48.814] checking crtdefs.h usability... yes [18:15:48.818] checking crtdefs.h presence... yes [18:15:48.826] checking for crtdefs.h... yes [18:15:48.827] checking whether byte ordering is bigendian... no [18:15:48.867] checking for inline... inline [18:15:48.871] checking for printf format archetype... gnu_printf [18:15:48.875] checking for _Static_assert... yes [18:15:48.901] checking for typeof... typeof [18:15:48.905] checking for __builtin_types_compatible_p... yes [18:15:48.911] checking for __builtin_constant_p... yes [18:15:48.916] checking for __builtin_unreachable... yes [18:15:48.943] checking for computed goto support... yes [18:15:48.946] checking for struct tm.tm_zone... no [18:15:48.991] checking for union semun... no [18:15:49.010] checking for socklen_t... yes [18:15:49.799] checking for struct sockaddr.sa_len... no [18:15:51.125] checking for locale_t... no [18:15:51.162] checking for C/C++ restrict keyword... __restrict [18:15:51.169] checking for struct option... yes [18:15:51.192] checking whether assembler supports x86_64 popcntq... yes [18:15:51.196] checking size of off_t... 4 [18:15:51.319] 0 [18:15:51.319] checking size of bool... 1 [18:15:51.343] checking for int timezone... yes [18:15:51.374] checking for wcstombs_l declaration... no [18:15:51.422] checking for backtrace_symbols... no [18:15:51.451] checking for copyfile... no [18:15:51.482] checking for copy_file_range... no [18:15:51.512] checking for getifaddrs... no [18:15:51.543] checking for getpeerucred... no [18:15:51.572] checking for inet_pton... yes [18:15:51.603] checking for kqueue... no [18:15:51.634] checking for mbstowcs_l... no [18:15:51.663] checking for memset_s... no [18:15:51.694] checking for posix_fallocate... no [18:15:51.723] checking for ppoll... no [18:15:51.754] checking for pthread_is_threaded_np... no [18:15:51.787] checking for setproctitle... no [18:15:51.820] checking for setproctitle_fast... no [18:15:51.856] checking for strchrnul... no [18:15:51.891] checking for strsignal... no [18:15:51.923] checking for syncfs... no [18:15:51.955] checking for sync_file_range... no [18:15:51.989] checking for uselocale... no [18:15:52.022] checking for wcstombs_l... no [18:15:52.052] checking for __builtin_bswap16... yes [18:15:52.082] checking for __builtin_bswap32... yes [18:15:52.112] checking for __builtin_bswap64... yes [18:15:52.142] checking for __builtin_clz... yes [18:15:52.171] checking for __builtin_ctz... yes [18:15:52.200] checking for __builtin_popcount... yes [18:15:52.230] checking for __builtin_frame_address... yes [18:15:52.259] checking for _LARGEFILE_SOURCE value needed for large files... no [18:15:52.299] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:15:52.319] checking for posix_fadvise... no [18:15:52.352] checking whether posix_fadvise is declared... no [18:15:52.378] checking whether fdatasync is declared... no [18:15:52.405] checking whether strlcat is declared... no [18:15:52.445] checking whether strlcpy is declared... no [18:15:52.484] checking whether strnlen is declared... yes [18:15:52.492] checking whether preadv is declared... no [18:15:52.512] checking whether pwritev is declared... no [18:15:52.531] checking whether F_FULLFSYNC is declared... no [18:15:52.554] checking for explicit_bzero... no [18:15:52.584] checking for getopt... yes [18:15:52.613] checking for getpeereid... no [18:15:52.641] checking for inet_aton... no [18:15:52.670] checking for mkdtemp... no [18:15:52.699] checking for strlcat... no [18:15:52.729] checking for strlcpy... no [18:15:52.758] checking for strnlen... yes [18:15:52.788] checking for pthread_barrier_wait... yes [18:15:52.815] configure: On mingw32 we will use our strtof wrapper. [18:15:52.816] checking for getopt_long... yes [18:15:52.844] checking for _configthreadlocale... yes [18:15:52.872] checking for syslog... no [18:15:52.901] checking for opterr... yes [18:15:52.932] checking for optreset... no [18:15:52.963] checking test program... cross-compiling [18:15:52.964] checking whether long int is 64 bits... no [18:15:52.981] checking whether long long int is 64 bits... yes [18:15:52.986] checking for __builtin_mul_overflow... yes [18:15:53.014] checking size of void *... 8 [18:15:53.177] checking size of size_t... 8 [18:15:53.341] checking size of long... 4 [18:15:53.465] checking alignment of short... 2 [18:15:53.549] checking alignment of int... 4 [18:15:53.673] checking alignment of long... 4 [18:15:53.799] checking alignment of long long int... 8 [18:15:53.964] checking alignment of double... 8 [18:15:54.165] checking for int8... no [18:15:54.191] checking for uint8... no [18:15:54.216] checking for int64... no [18:15:54.241] checking for uint64... no [18:15:54.267] checking for __int128... yes [18:15:54.298] checking for __int128 alignment bug... assuming ok [18:15:54.298] checking alignment of PG_INT128_TYPE... 16 [18:15:54.523] checking for builtin __sync char locking functions... yes [18:15:54.551] checking for builtin __sync int32 locking functions... yes [18:15:54.577] checking for builtin __sync int32 atomic operations... yes [18:15:54.604] checking for builtin __sync int64 atomic operations... yes [18:15:54.631] checking for builtin __atomic int32 atomic operations... yes [18:15:54.658] checking for builtin __atomic int64 atomic operations... yes [18:15:54.684] checking for __get_cpuid... yes [18:15:54.714] checking for __cpuid... no [18:15:54.941] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [18:15:54.972] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [18:15:55.030] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:15:55.043] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:15:55.053] 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 [18:15:55.092] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:15:55.093] checking which random number source to use... Windows native [18:15:55.094] checking for xmllint... /usr/bin/xmllint [18:15:55.094] checking for xsltproc... /usr/bin/xsltproc [18:15:55.094] checking for fop... /usr/bin/fop [18:15:55.095] checking for dbtoepub... no [18:15:55.095] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:15:55.095] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:15:55.102] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [18:15:55.102] 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 [18:15:55.102] configure: using CPPFLAGS= -I./src/include/port/win32 [18:15:55.102] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:15:55.163] configure: creating ./config.status [18:15:55.213] config.status: creating GNUmakefile [18:15:55.220] config.status: creating src/Makefile.global [18:15:55.230] config.status: creating src/include/pg_config.h [18:15:55.238] config.status: creating src/include/pg_config_ext.h [18:15:55.244] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:15:55.252] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:15:55.256] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:15:55.260] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:15:55.264] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:15:55.268] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:15:55.270] config.status: executing check_win32_symlinks commands [18:15:55.293] [18:15:55.293] real 0m9.171s [18:15:55.293] user 0m6.799s [18:15:55.293] sys 0m1.982s [18:15:55.293] make -s -j${BUILD_JOBS} clean [18:15:55.626] time make -s -j${BUILD_JOBS} world-bin [18:16:52.440] planner.c: In function ‘markTargetEntryNullable’: [18:16:52.440] planner.c:2282:14: error: implicit declaration of function ‘add_nulling_relids’ [-Werror=implicit-function-declaration] [18:16:52.440] 2282 | newnode = add_nulling_relids(newnode, [18:16:52.440] | ^~~~~~~~~~~~~~~~~~ [18:16:52.440] planner.c:2282:12: error: assignment to ‘Node *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [18:16:52.440] 2282 | newnode = add_nulling_relids(newnode, [18:16:52.440] | ^ [18:16:52.440] planner.c: In function ‘make_group_input_target’: [18:16:52.440] planner.c:5437:21: error: implicit declaration of function ‘remove_nulling_relids’ [-Werror=implicit-function-declaration] [18:16:52.440] 5437 | expr = (Expr *) remove_nulling_relids((Node *) expr, [18:16:52.440] | ^~~~~~~~~~~~~~~~~~~~~ [18:16:52.440] planner.c:5437:12: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] [18:16:52.440] 5437 | expr = (Expr *) remove_nulling_relids((Node *) expr, [18:16:52.440] | ^ [18:16:52.440] cc1: all warnings being treated as errors [18:16:52.441] make[4]: *** [: planner.o] Error 1 [18:16:52.441] make[3]: *** [../../../src/backend/common.mk:37: plan-recursive] Error 2 [18:16:52.441] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [18:16:52.441] make[2]: *** Waiting for unfinished jobs.... [18:16:57.579] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:16:57.580] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:16:57.580] [18:16:57.580] real 1m1.954s [18:16:57.580] user 3m34.786s [18:16:57.580] sys 0m24.750s [18:16:57.580] [18:16:57.580] Exit status: 2