checking whether memmem is declared... yes checking for memmem... yes checking whether memmem works... guessing yes checking whether memrchr is declared... yes checking for O_CLOEXEC... yes checking for promoted mode_t type... mode_t checking whether setenv is declared... yes checking search.h usability... yes checking search.h presence... yes checking for search.h... yes checking for tsearch... yes checking for sigset_t... yes checking for uid_t in sys/types.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking whether strdup is declared... yes checking whether strerror(0) succeeds... (cached) yes checking for strerror_r with POSIX signature... no checking whether __xpg_strerror_r works... guessing no checking whether strerror_r is declared... (cached) yes checking whether strtok_r is declared... yes checking for struct timespec in ... yes checking whether unsetenv is declared... yes checking whether uses 'inline' correctly... yes checking for alloca as a compiler built-in... yes checking for __builtin_expect... yes checking whether this system has an arbitrary file name length limit... yes checking for closedir... yes checking for d_ino member in directory struct... guessing no checking for d_type member in directory struct... yes checking for dirfd... yes checking whether dirfd is declared... yes checking whether dirfd is a macro... no checking whether // is distinct from /... (cached) unknown, assuming no checking whether dup works... guessing yes checking whether dup2 works... guessing yes checking for error_at_line... yes checking whether fcntl handles F_DUPFD correctly... guessing yes checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check checking whether fdopendir is declared... yes checking whether fdopendir works... guessing no checking for flexible array member... yes checking whether conversion from 'int' to 'long double' works... guessing yes checking for working GNU fnmatch... guessing no checking whether isblank is declared... yes checking whether isblank is declared... (cached) yes checking whether fstatat (..., 0) works... guessing yes checking whether getcwd handles long file names properly... guessing no, but it is partly working checking whether getdtablesize works... guessing yes checking whether getlogin_r works with small buffers... guessing yes checking whether program_invocation_name is declared... yes checking whether program_invocation_short_name is declared... yes checking whether __argv is declared... no checking whether gettimeofday clobbers localtime buffer... (cached) no checking for gettimeofday with POSIX signature... almost checking for GNU glob interface version 1 or 2... yes checking whether glob lists broken symlinks... guessing no checking for library containing inet_ntop... none required checking whether inet_ntop is declared... yes checking whether INT32_MAX < INTMAX_MAX... yes checking whether INT64_MAX == LONG_MAX... no checking whether UINT32_MAX < UINTMAX_MAX... yes checking whether UINT64_MAX == ULONG_MAX... no checking whether isnan(double) can be used without linking with libm... yes checking whether isnan(long double) can be used without linking with libm... yes checking whether isnanl works... guessing yes checking whether the compiler supports the __inline keyword... yes checking whether locale.h conforms to POSIX:2001... yes checking whether struct lconv is properly defined... yes checking for pthread_rwlock_t... yes checking whether pthread_rwlock_rdlock prefers a writer to a reader... guessing no checking whether NAN macro works... yes checking whether HUGE_VAL works... yes checking whether mbrtowc is declared... no checking whether imported symbols can be declared weak... (cached) guessing yes checking whether the -Werror option is usable... yes checking for simple visibility declarations... yes checking whether mbsinit is declared... no checking whether mbsrtowcs is declared... no checking bp-sym.h usability... no checking bp-sym.h presence... no checking for bp-sym.h... no checking whether memmem works in linear time... guessing no checking for memmem... (cached) yes checking whether memmem works... (cached) guessing yes checking for mempcpy... (cached) yes checking for memrchr... yes checking whether mkdir handles trailing slash... guessing yes checking whether mkdir handles trailing dot... guessing no checking for mkdtemp... yes checking whether is self-contained... yes checking whether open recognizes a trailing slash... guessing yes checking for opendir... yes checking for rawmemchr... yes checking for readdir... yes checking whether readlink signature is correct... yes checking whether readlink handles trailing slash correctly... guessing yes checking whether rename honors trailing slash on destination... guessing yes checking whether rename honors trailing slash on source... guessing yes checking whether rename manages hard links correctly... guessing yes checking whether rename manages existing destinations correctly... guessing yes checking for rewinddir... yes checking whether rmdir works... guessing yes checking whether setenv validates arguments... guessing no checking whether setlocale (LC_ALL, NULL) is multithread-safe... (cached) guessing no checking whether setlocale (category, NULL) is multithread-safe... (cached) guessing no checking whether imported symbols can be declared weak... (cached) guessing yes checking whether the -Werror option is usable... (cached) yes checking for simple visibility declarations... (cached) yes checking for volatile sig_atomic_t... yes checking for sighandler_t... yes checking for socklen_t... yes checking for ssize_t... yes checking whether stat handles trailing slashes on files... guessing yes checking for struct stat.st_atim.tv_nsec... yes checking whether struct stat.st_atim is of type struct timespec... yes checking for struct stat.st_birthtimespec.tv_nsec... no checking for struct stat.st_birthtimensec... no checking for struct stat.st_birthtim.tv_nsec... no checking for working stdalign.h... yes checking for good max_align_t... (cached) yes checking whether NULL can be used in arbitrary expressions... (cached) yes checking which flavor of printf attribute matches inttypes macros... system checking for strchrnul... yes checking whether strchrnul works... guessing yes checking for working strerror function... (cached) yes checking for strtok_r... yes checking whether strtok_r works... guessing yes checking for nlink_t... (cached) yes checking whether localtime_r is declared... yes checking whether localtime_r is compatible with its POSIX signature... yes checking for unsetenv... yes checking for unsetenv() return type... int checking whether unsetenv obeys POSIX... guessing no checking for wctype_t... no checking for wctrans_t... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arc-buildroot-linux-uclibc-strip... arc-buildroot-linux-uclibc-strip checking for gawk... gawk checking whether /home/autobuild/make/make sets $(MAKE)... yes checking for style of include used by /home/autobuild/make/make... GNU checking whether /home/autobuild/make/make supports nested variables... yes checking dependency style of /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc... none checking whether /home/autobuild/make/make supports nested variables... (cached) yes checking whether ln -s works... yes checking for arc-buildroot-linux-uclibc-ranlib... /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ranlib checking for arc-buildroot-linux-uclibc-ar... (cached) /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ar configure: updating cache ./config.cache checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating import/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default commands make[3]: Entering directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gnulib' /home/autobuild/make/make all-recursive make[4]: Entering directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gnulib' Making all in import make[5]: Entering directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gnulib/import' GEN alloca.h GEN arpa/inet.h GEN dirent.h GEN fcntl.h GEN fnmatch.h GEN glob.h GEN inttypes.h GEN limits.h GEN locale.h GEN math.h GEN signal.h GEN stdint.h GEN stdio.h GEN stdlib.h GEN string.h GEN sys/socket.h GEN sys/stat.h GEN sys/time.h GEN sys/types.h GEN sys/uio.h GEN time.h GEN unistd.h GEN wchar.h GEN wctype.h /home/autobuild/make/make all-recursive make[6]: Entering directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gnulib/import' make[7]: Entering directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gnulib/import' CC openat-proc.o CC cloexec.o CC count-one-bits.o CC dirname-lgpl.o CC basename-lgpl.o CC stripslash.o CC exitfail.o CC fd-hook.o CC fd-safer-flag.o CC dup-safer-flag.o CC filenamecat-lgpl.o CC getprogname.o CC hard-locale.o CC localcharset.o CC glthread/lock.o CC malloca.o CC math.o CC openat-die.o CC save-cwd.o CC malloc/scratch_buffer_grow.o CC malloc/scratch_buffer_grow_preserve.o CC malloc/scratch_buffer_set_array_size.o CC setlocale_null.o CC stat-time.o CC strnlen1.o CC sys_socket.o CC tempname.o CC glthread/threadlib.o CC unistd.o CC dup-safer.o CC fd-safer.o CC pipe-safer.o CC wctype-h.o CC canonicalize-lgpl.o CC chdir-long.o CC fcntl.o CC fdopendir.o CC fnmatch.o CC getcwd.o CC getcwd-lgpl.o CC glob.o In file included from ../../../gnulib/import/libc-config.h:33, from ../../../gnulib/import/scratch_buffer.h:4, from ../../../gnulib/import/glob.c:93: ../config.h:1354: warning: "mbstate_t" redefined 1354 | #define mbstate_t int | In file included from ./stdint.h:590, from ../../../gnulib/import/glob.c:35: ./wchar.h:620: note: this is the location of the previous definition 620 | # define mbstate_t rpl_mbstate_t | CC glob_pattern_p.o CC globfree.o CC lc-charset-dispatch.o CC localtime-buffer.o CC mbrtowc.o In file included from ../../../gnulib/import/mbrtowc.c:55: ../../../gnulib/import/mbtowc-lock.h: In function 'mbtowc_unlocked': ../../../gnulib/import/mbtowc-lock.h:27:3: warning: implicit declaration of function 'mbtowc'; did you mean 'mbrtowc'? [-Wimplicit-function-declaration] 27 | mbtowc (NULL, NULL, 0); | ^~~~~~ | mbrtowc CC mbsinit.o CC mbsrtowcs.o CC mbsrtowcs-state.o CC mbtowc-lock.o CC memchr.o CC memmem.o CC mkdir.o CC setenv.o CC setlocale-lock.o CC strerror.o CC strerror_r.o CC strstr.o CC unsetenv.o AR libgnu.a make[7]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gnulib/import' make[6]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gnulib/import' make[5]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gnulib/import' make[5]: Entering directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gnulib' make[5]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gnulib' make[4]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gnulib' make[3]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gnulib' mkdir -p -- ./gdbsupport Configuring in ./gdbsupport configure: creating cache ./config.cache checking build system type... aarch64-unknown-linux-gnu checking host system type... arc-buildroot-linux-uclibc checking target system type... arc-buildroot-linux-uclibc checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arc-buildroot-linux-uclibc-strip... arc-buildroot-linux-uclibc-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether /home/autobuild/make/make sets $(MAKE)... yes checking whether /home/autobuild/make/make supports nested variables... yes checking whether /home/autobuild/make/make supports nested variables... (cached) yes checking for arc-buildroot-linux-uclibc-gcc... /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc accepts -g... yes checking for /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc option to accept ISO C89... none needed checking whether /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc understands -c and -o together... yes checking for style of include used by /home/autobuild/make/make... GNU checking dependency style of /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc... none checking whether we are using the GNU C++ compiler... yes checking whether /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-g++ accepts -g... yes checking dependency style of /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-g++... none checking for arc-buildroot-linux-uclibc-ranlib... /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ranlib checking how to run the C preprocessor... /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for dlfcn.h... yes checking for windows.h... no checking for library containing dlsym... none required checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for arc-buildroot-linux-uclibc-gcc... (cached) /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc accepts -g... (cached) yes checking for /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc option to accept ISO C89... (cached) none needed checking whether /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc understands -c and -o together... (cached) yes checking dependency style of /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc... (cached) none checking whether /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-g++ supports C++11 features by default... yes checking whether NLS is requested... no checking for long long... yes checking size of long long... 8 checking whether basename is declared... yes checking whether ffs is declared... yes checking whether asprintf is declared... yes checking whether vasprintf is declared... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking whether strtol is declared... yes checking whether strtoul is declared... yes checking whether strtoll is declared... yes checking whether strtoull is declared... yes checking whether strverscmp is declared... yes checking for size_t... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for pid_t... yes checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by GCC... /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-ld checking if the linker (/home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-ld) is GNU ld... egrep: warning: egrep is obsolescent; using grep -E yes checking for shared library run path origin... egrep: warning: egrep is obsolescent; using grep -E done checking for ANSI C header files... (cached) yes checking for working alloca.h... yes checking for alloca... yes checking for nl_langinfo and CODESET... yes checking linux/perf_event.h usability... yes checking linux/perf_event.h presence... yes checking for linux/perf_event.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for memory.h... (cached) yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking thread_db.h usability... yes checking thread_db.h presence... yes checking for thread_db.h... yes checking wait.h usability... yes checking wait.h presence... yes checking for wait.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for dlfcn.h... (cached) yes checking linux/elf.h usability... yes checking linux/elf.h presence... yes checking for linux/elf.h... yes checking sys/procfs.h usability... yes checking sys/procfs.h presence... yes checking for sys/procfs.h... yes checking proc_service.h usability... no checking proc_service.h presence... no checking for proc_service.h... no checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for getpagesize... yes checking for working mmap... no checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... cross configure: WARNING: result yes guessed because of cross compilation checking for working vfork... (cached) yes checking for fdwalk... no checking for getrlimit... yes checking for pipe... yes checking for pipe2... yes checking for poll... yes checking for socketpair... yes checking for sigaction... yes checking for ptrace64... no checking for sbrk... yes checking for setns... yes checking for sigaltstack... yes checking for sigprocmask... yes checking for setpgid... yes checking for setpgrp... yes checking for getrusage... yes checking for getauxval... yes checking whether ADDR_NO_RANDOMIZE is declared... yes checking whether strstr is declared... yes checking for struct stat.st_blocks... yes checking for struct stat.st_blksize... yes checking for library containing kinfo_getfile... no checking whether /home/autobuild/autobuild/instance-5/output-1/host/bin/arc-buildroot-linux-uclibc-gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for std::thread... yes checking for pthread_sigmask... yes checking for pthread_setname_np... yes checking for sigsetjmp... yes checking whether to use intel pt... auto checking for libipt... no configure: WARNING: libipt is missing or unusable; some features may be unavailable. checking for gregset_t in sys/procfs.h... no checking for fpregset_t in sys/procfs.h... no checking for prgregset_t in sys/procfs.h... yes checking for prfpregset_t in sys/procfs.h... yes checking for prgregset32_t in sys/procfs.h... no checking for lwpid_t in sys/procfs.h... yes checking for psaddr_t in sys/procfs.h... yes checking for elf_fpregset_t in sys/procfs.h... yes checking sys/ptrace.h usability... yes checking sys/ptrace.h presence... yes checking for sys/ptrace.h... yes checking ptrace.h usability... no checking ptrace.h presence... no checking for ptrace.h... no checking return type of ptrace... long checking types of arguments for ptrace... enum __ptrace_request,int,long,long checking compiler warning flags... -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral configure: updating cache ./config.cache checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands make[3]: Entering directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gdbsupport' /home/autobuild/make/make all-am make[4]: Entering directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gdbsupport' CXX agent.o In file included from ../gnulib/import/stdint.h:590, from ../../gdbsupport/common-defs.h:94, from ../../gdbsupport/agent.cc:20: /home/autobuild/autobuild/instance-5/output-1/host/arc-buildroot-linux-uclibc/include/c++/12.2.0/cwchar:58:5: error: conflicting declaration 'typedef struct rpl_mbstate_t rpl_mbstate_t' 58 | } mbstate_t; | ^~~~~~~~~ ../gnulib/import/wchar.h:618:13: note: previous declaration as 'typedef int rpl_mbstate_t' 618 | typedef int rpl_mbstate_t; | ^~~~~~~~~~~~~ make[4]: *** [Makefile:505: agent.o] Error 1 make[4]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gdbsupport' make[3]: *** [Makefile:397: all] Error 2 make[3]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build/gdbsupport' make[2]: *** [Makefile:8966: all-gdbsupport] Error 2 make[2]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build' make[1]: *** [Makefile:854: all] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/build' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-5/output-1/build/gdb-arc-2020.09-release-gdb/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-5/buildroot'