[09:17:08.030] time ./configure \ [09:17:08.030] --host=x86_64-w64-mingw32 \ [09:17:08.030] --enable-cassert \ [09:17:08.030] --without-icu \ [09:17:08.030] CC="ccache x86_64-w64-mingw32-gcc" \ [09:17:08.030] CXX="ccache x86_64-w64-mingw32-g++" [09:17:08.101] checking build system type... x86_64-pc-linux-gnu [09:17:08.275] checking host system type... x86_64-w64-mingw32 [09:17:08.279] checking which template to use... win32 [09:17:08.279] checking whether NLS is wanted... no [09:17:08.279] checking for default port number... 5432 [09:17:08.283] checking for block size... 8kB [09:17:08.284] checking for segment size... 1GB [09:17:08.285] checking for WAL block size... 8kB [09:17:08.286] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:17:08.307] checking whether the C compiler works... yes [09:17:08.436] checking for C compiler default output file name... a.exe [09:17:08.436] checking for suffix of executables... .exe [09:17:08.468] checking whether we are cross compiling... yes [09:17:08.529] checking for suffix of object files... o [09:17:08.535] checking whether we are using the GNU C compiler... yes [09:17:08.540] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:17:08.544] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:17:08.552] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:17:08.612] checking whether we are using the GNU C++ compiler... yes [09:17:08.617] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:17:08.796] checking for gawk... no [09:17:08.796] checking for mawk... mawk [09:17:08.799] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:17:08.804] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:17:08.826] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:17:08.856] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:17:08.885] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:17:08.906] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:17:08.910] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:17:08.930] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:17:08.935] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:17:08.959] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:17:09.018] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:17:09.022] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:17:09.027] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:17:09.031] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:17:09.043] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:17:09.055] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:17:09.059] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:17:09.064] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:17:09.076] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:17:09.080] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:17:09.085] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:17:09.089] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:17:09.104] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:17:09.108] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:17:09.112] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:17:09.135] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:17:09.159] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:17:09.163] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:17:09.167] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:17:09.187] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:17:09.191] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:17:09.195] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:17:09.199] checking whether the C compiler still works... yes [09:17:09.242] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:17:09.285] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:17:09.285] checking pkg-config is at least version 0.9.0... yes [09:17:09.299] checking whether to build with ICU support... no [09:17:09.299] checking whether to build with Tcl... no [09:17:09.299] checking whether to build Perl modules... no [09:17:09.299] checking whether to build Python modules... no [09:17:09.299] checking whether to build with GSSAPI support... no [09:17:09.300] checking whether to build with PAM support... no [09:17:09.300] checking whether to build with BSD Authentication support... no [09:17:09.300] checking whether to build with LDAP support... no [09:17:09.300] checking whether to build with Bonjour support... no [09:17:09.300] checking whether to build with SELinux support... no [09:17:09.300] checking whether to build with systemd support... no [09:17:09.300] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:17:09.300] checking whether to build with XML support... no [09:17:09.301] checking whether to build with LZ4 support... no [09:17:09.301] checking whether to build with ZSTD support... no [09:17:09.301] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:17:09.301] checking whether it is possible to strip libraries... yes [09:17:09.310] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:17:09.310] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:17:09.310] checking for a BSD-compatible install... /usr/bin/install -c [09:17:09.316] checking for tar... /usr/bin/tar [09:17:09.316] checking whether ln -s works... yes [09:17:09.316] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:17:09.318] checking for bison... /usr/bin/bison [09:17:09.320] configure: using bison (GNU Bison) 3.7.5 [09:17:09.322] checking for flex... /usr/bin/flex [09:17:09.331] configure: using flex 2.6.4 [09:17:09.331] checking for perl... /usr/bin/perl [09:17:09.333] configure: using perl 5.32.1 [09:17:09.334] checking for zic... /usr/sbin/zic [09:17:09.335] checking for a sed that does not truncate output... /usr/bin/sed [09:17:09.338] checking for grep that handles long lines and -e... /usr/bin/grep [09:17:09.339] checking for egrep... /usr/bin/grep -E [09:17:09.340] checking for ANSI C header files... yes [09:17:09.385] checking for sys/types.h... yes [09:17:09.397] checking for sys/stat.h... yes [09:17:09.406] checking for stdlib.h... yes [09:17:09.429] checking for string.h... yes [09:17:09.438] checking for memory.h... yes [09:17:09.446] checking for strings.h... yes [09:17:09.488] checking for inttypes.h... yes [09:17:09.511] checking for stdint.h... yes [09:17:09.519] checking for unistd.h... yes [09:17:09.529] checking for main in -lm... yes [09:17:09.557] checking for library containing setproctitle... no [09:17:09.615] checking for library containing dlsym... no [09:17:09.673] checking for library containing socket... -lws2_32 [09:17:09.755] checking for library containing getopt_long... none required [09:17:09.787] checking for library containing shm_open... no [09:17:09.845] checking for library containing shm_unlink... no [09:17:09.909] checking for library containing clock_gettime... no [09:17:09.969] checking for library containing shmget... no [09:17:10.030] checking for library containing backtrace_symbols... no [09:17:10.095] checking for library containing pthread_barrier_wait... -lpthread [09:17:10.162] checking for inflate in -lz... yes [09:17:10.194] checking for stdbool.h that conforms to C99... yes [09:17:10.201] checking for _Bool... yes [09:17:10.251] checking atomic.h usability... no [09:17:10.289] checking atomic.h presence... no [09:17:10.301] checking for atomic.h... no [09:17:10.302] checking copyfile.h usability... no [09:17:10.341] checking copyfile.h presence... no [09:17:10.352] checking for copyfile.h... no [09:17:10.354] checking execinfo.h usability... no [09:17:10.392] checking execinfo.h presence... no [09:17:10.405] checking for execinfo.h... no [09:17:10.407] checking getopt.h usability... yes [09:17:10.412] checking getopt.h presence... yes [09:17:10.423] checking for getopt.h... yes [09:17:10.427] checking ifaddrs.h usability... no [09:17:10.466] checking ifaddrs.h presence... no [09:17:10.478] checking for ifaddrs.h... no [09:17:10.480] checking langinfo.h usability... no [09:17:10.522] checking langinfo.h presence... no [09:17:10.535] checking for langinfo.h... no [09:17:10.538] checking mbarrier.h usability... no [09:17:10.579] checking mbarrier.h presence... no [09:17:10.592] checking for mbarrier.h... no [09:17:10.595] checking sys/epoll.h usability... no [09:17:10.636] checking sys/epoll.h presence... no [09:17:10.648] checking for sys/epoll.h... no [09:17:10.650] checking sys/event.h usability... no [09:17:10.689] checking sys/event.h presence... no [09:17:10.699] checking for sys/event.h... no [09:17:10.701] checking sys/personality.h usability... no [09:17:10.739] checking sys/personality.h presence... no [09:17:10.751] checking for sys/personality.h... no [09:17:10.753] checking sys/prctl.h usability... no [09:17:10.793] checking sys/prctl.h presence... no [09:17:10.805] checking for sys/prctl.h... no [09:17:10.807] checking sys/procctl.h usability... no [09:17:10.843] checking sys/procctl.h presence... no [09:17:10.854] checking for sys/procctl.h... no [09:17:10.856] checking sys/signalfd.h usability... no [09:17:10.892] checking sys/signalfd.h presence... no [09:17:10.903] checking for sys/signalfd.h... no [09:17:10.905] checking sys/ucred.h usability... no [09:17:10.943] checking sys/ucred.h presence... no [09:17:10.956] checking for sys/ucred.h... no [09:17:10.958] checking termios.h usability... no [09:17:10.999] checking termios.h presence... no [09:17:11.012] checking for termios.h... no [09:17:11.015] checking ucred.h usability... no [09:17:11.053] checking ucred.h presence... no [09:17:11.065] checking for ucred.h... no [09:17:11.067] checking zlib.h usability... yes [09:17:11.091] checking zlib.h presence... yes [09:17:11.103] checking for zlib.h... yes [09:17:11.103] checking for lz4... /usr/bin/lz4 [09:17:11.104] checking for zstd... /usr/bin/zstd [09:17:11.104] checking for openssl... /usr/bin/openssl [09:17:11.107] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [09:17:11.107] checking crtdefs.h usability... yes [09:17:11.111] checking crtdefs.h presence... yes [09:17:11.120] checking for crtdefs.h... yes [09:17:11.121] checking whether byte ordering is bigendian... no [09:17:11.168] checking for inline... inline [09:17:11.172] checking for printf format archetype... gnu_printf [09:17:11.176] checking for _Static_assert... yes [09:17:11.204] checking for typeof... typeof [09:17:11.209] checking for __builtin_types_compatible_p... yes [09:17:11.215] checking for __builtin_constant_p... yes [09:17:11.239] checking for __builtin_unreachable... yes [09:17:11.266] checking for computed goto support... yes [09:17:11.271] checking for struct tm.tm_zone... no [09:17:11.324] checking for union semun... no [09:17:11.346] checking for socklen_t... yes [09:17:12.149] checking for struct sockaddr.sa_len... no [09:17:13.526] checking for locale_t... no [09:17:13.572] checking for C/C++ restrict keyword... __restrict [09:17:13.581] checking for struct option... yes [09:17:13.609] checking whether assembler supports x86_64 popcntq... yes [09:17:13.614] checking size of off_t... 4 [09:17:13.804] 0 [09:17:13.804] checking size of bool... 1 [09:17:13.831] checking for int timezone... yes [09:17:13.865] checking for wcstombs_l declaration... no [09:17:13.921] checking for backtrace_symbols... no [09:17:13.954] checking for copyfile... no [09:17:13.988] checking for getifaddrs... no [09:17:14.023] checking for getpeerucred... no [09:17:14.057] checking for inet_pton... yes [09:17:14.092] checking for kqueue... no [09:17:14.133] checking for mbstowcs_l... no [09:17:14.167] checking for memset_s... no [09:17:14.202] checking for posix_fallocate... no [09:17:14.238] checking for ppoll... no [09:17:14.275] checking for pthread_is_threaded_np... no [09:17:14.311] checking for setproctitle... no [09:17:14.347] checking for setproctitle_fast... no [09:17:14.386] checking for strchrnul... no [09:17:14.423] checking for strsignal... no [09:17:14.458] checking for syncfs... no [09:17:14.493] checking for sync_file_range... no [09:17:14.526] checking for uselocale... no [09:17:14.557] checking for wcstombs_l... no [09:17:14.588] checking for __builtin_bswap16... yes [09:17:14.623] checking for __builtin_bswap32... yes [09:17:14.657] checking for __builtin_bswap64... yes [09:17:14.691] checking for __builtin_clz... yes [09:17:14.725] checking for __builtin_ctz... yes [09:17:14.757] checking for __builtin_popcount... yes [09:17:14.793] checking for __builtin_frame_address... yes [09:17:14.828] checking for _LARGEFILE_SOURCE value needed for large files... no [09:17:14.870] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:17:14.891] checking for posix_fadvise... no [09:17:14.926] checking whether posix_fadvise is declared... no [09:17:14.955] checking whether fdatasync is declared... no [09:17:14.982] checking whether strlcat is declared... no [09:17:15.027] checking whether strlcpy is declared... no [09:17:15.071] checking whether strnlen is declared... yes [09:17:15.079] checking whether preadv is declared... no [09:17:15.101] checking whether pwritev is declared... no [09:17:15.121] checking whether F_FULLFSYNC is declared... no [09:17:15.148] checking for explicit_bzero... no [09:17:15.179] checking for getopt... yes [09:17:15.210] checking for getpeereid... no [09:17:15.241] checking for inet_aton... no [09:17:15.272] checking for mkdtemp... no [09:17:15.306] checking for strlcat... no [09:17:15.338] checking for strlcpy... no [09:17:15.372] checking for strnlen... yes [09:17:15.408] checking for pthread_barrier_wait... yes [09:17:15.441] configure: On mingw32 we will use our strtof wrapper. [09:17:15.441] checking for getopt_long... yes [09:17:15.473] checking for _configthreadlocale... yes [09:17:15.505] checking for syslog... no [09:17:15.534] checking for opterr... yes [09:17:15.566] checking for optreset... no [09:17:15.601] checking test program... cross-compiling [09:17:15.601] checking whether long int is 64 bits... no [09:17:15.623] checking whether long long int is 64 bits... yes [09:17:15.635] checking for __builtin_mul_overflow... yes [09:17:15.668] checking size of void *... 8 [09:17:15.895] checking size of size_t... 8 [09:17:16.108] checking size of long... 4 [09:17:16.285] checking alignment of short... 2 [09:17:16.453] checking alignment of int... 4 [09:17:16.606] checking alignment of long... 4 [09:17:16.763] checking alignment of long long int... 8 [09:17:16.990] checking alignment of double... 8 [09:17:17.290] checking for int8... no [09:17:17.318] checking for uint8... no [09:17:17.345] checking for int64... no [09:17:17.372] checking for uint64... no [09:17:17.399] checking for __int128... yes [09:17:17.433] checking for __int128 alignment bug... assuming ok [09:17:17.433] checking alignment of PG_INT128_TYPE... 16 [09:17:17.695] checking for builtin __sync char locking functions... yes [09:17:17.725] checking for builtin __sync int32 locking functions... yes [09:17:17.755] checking for builtin __sync int32 atomic operations... yes [09:17:17.783] checking for builtin __sync int64 atomic operations... yes [09:17:17.815] checking for builtin __atomic int32 atomic operations... yes [09:17:17.847] checking for builtin __atomic int64 atomic operations... yes [09:17:17.880] checking for __get_cpuid... yes [09:17:17.916] checking for __cpuid... no [09:17:18.153] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:17:18.187] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:17:18.250] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:17:18.265] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:17:18.277] 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:17:18.318] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:17:18.319] checking which random number source to use... Windows native [09:17:18.320] checking for xmllint... /usr/bin/xmllint [09:17:18.320] checking for xsltproc... /usr/bin/xsltproc [09:17:18.320] checking for fop... /usr/bin/fop [09:17:18.321] checking for dbtoepub... no [09:17:18.321] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:17:18.321] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:17:18.328] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [09:17:18.328] 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:17:18.329] configure: using CPPFLAGS= -I./src/include/port/win32 [09:17:18.329] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:17:18.383] configure: creating ./config.status [09:17:18.436] config.status: creating GNUmakefile [09:17:18.442] config.status: creating src/Makefile.global [09:17:18.452] config.status: creating src/include/pg_config.h [09:17:18.459] config.status: creating src/include/pg_config_ext.h [09:17:18.465] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:17:18.473] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:17:18.477] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:17:18.481] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:17:18.485] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:17:18.489] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:17:18.490] config.status: executing check_win32_symlinks commands [09:17:18.513] [09:17:18.513] real 0m10.483s [09:17:18.513] user 0m7.578s [09:17:18.513] sys 0m2.549s [09:17:18.513] make -s -j${BUILD_JOBS} clean [09:17:18.861] time make -s -j${BUILD_JOBS} world-bin [09:18:23.486] planner.c: In function ‘markTargetEntryNullable’: [09:18:23.486] planner.c:2282:14: error: implicit declaration of function ‘add_nulling_relids’ [-Werror=implicit-function-declaration] [09:18:23.486] 2282 | newnode = add_nulling_relids(newnode, [09:18:23.486] | ^~~~~~~~~~~~~~~~~~ [09:18:23.486] planner.c:2282:12: error: assignment to ‘Node *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [09:18:23.486] 2282 | newnode = add_nulling_relids(newnode, [09:18:23.486] | ^ [09:18:23.486] planner.c: In function ‘make_group_input_target’: [09:18:23.486] planner.c:5437:21: error: implicit declaration of function ‘remove_nulling_relids’ [-Werror=implicit-function-declaration] [09:18:23.486] 5437 | expr = (Expr *) remove_nulling_relids((Node *) expr, [09:18:23.486] | ^~~~~~~~~~~~~~~~~~~~~ [09:18:23.486] planner.c:5437:12: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] [09:18:23.486] 5437 | expr = (Expr *) remove_nulling_relids((Node *) expr, [09:18:23.486] | ^ [09:18:23.486] cc1: all warnings being treated as errors [09:18:23.487] make[4]: *** [: planner.o] Error 1 [09:18:23.487] make[3]: *** [../../../src/backend/common.mk:37: plan-recursive] Error 2 [09:18:23.487] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [09:18:23.487] make[2]: *** Waiting for unfinished jobs.... [09:18:29.224] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:18:29.224] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:18:29.225] [09:18:29.225] real 1m10.364s [09:18:29.225] user 4m4.016s [09:18:29.225] sys 0m28.620s [09:18:29.225] [09:18:29.225] Exit status: 2