checking whether frexp() can be used without linking with libm... yes checking whether alarm is declared... yes checking whether long double and double are the same... yes checking whether stat file-mode macros are broken... no checking for nlink_t... yes checking whether fchmodat is declared without a macro... yes checking whether fstat is declared without a macro... yes checking whether fstatat is declared without a macro... yes checking whether futimens is declared without a macro... yes checking whether lchmod is declared without a macro... yes checking whether lstat is declared without a macro... yes checking whether mkdirat is declared without a macro... yes checking whether mkfifo is declared without a macro... yes checking whether mkfifoat is declared without a macro... yes checking whether mknod is declared without a macro... yes checking whether mknodat is declared without a macro... yes checking whether stat is declared without a macro... yes checking whether utimensat is declared without a macro... yes checking whether lstat correctly handles trailing slash... guessing yes checking whether getcwd (NULL, 0) allocates memory for result... guessing yes checking for getcwd with POSIX signature... yes checking whether getcwd is declared... yes checking whether getdtablesize is declared... yes checking whether getlogin_r is declared... yes checking whether getlogin is declared... yes checking for C/C++ restrict keyword... __restrict checking for struct timeval... yes checking for wide-enough struct timeval.tv_sec member... yes checking whether gettimeofday is declared without a macro... yes checking whether is self-contained... yes checking for shutdown... yes checking whether defines the SHUT_* macros... yes checking for struct sockaddr_storage... yes checking for sa_family_t... yes checking for struct sockaddr_storage.ss_family... yes checking whether socket is declared without a macro... yes checking whether connect is declared without a macro... yes checking whether accept is declared without a macro... yes checking whether bind is declared without a macro... yes checking whether getpeername is declared without a macro... yes checking whether getsockname is declared without a macro... yes checking whether getsockopt is declared without a macro... yes checking whether listen is declared without a macro... yes checking whether recv is declared without a macro... yes checking whether send is declared without a macro... yes checking whether recvfrom is declared without a macro... yes checking whether sendto is declared without a macro... yes checking whether setsockopt is declared without a macro... yes checking whether shutdown is declared without a macro... yes checking whether accept4 is declared without a macro... yes checking for IPv4 sockets... yes checking for IPv6 sockets... yes checking whether limits.h has ULLONG_WIDTH etc.... yes checking for unsigned long long int... yes checking for long long int... yes checking whether stdint.h conforms to C99... yes checking whether stdint.h predates C++11... no checking whether stdint.h has UINTMAX_WIDTH etc.... yes checking whether imaxabs is declared without a macro... yes checking whether imaxdiv is declared without a macro... yes checking whether strtoimax is declared without a macro... yes checking whether strtoumax is declared without a macro... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking where to find the exponent in a 'double'... word 1 bit 20 checking whether byte ordering is bigendian... (cached) no checking for nl_langinfo and CODESET... yes checking whether getc_unlocked is declared... yes checking whether we are using the GNU C Library >= 2.1 or uClibc... yes checking whether malloc, realloc, calloc are POSIX compliant... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for a traditional japanese locale... none checking for a transitional chinese locale... none checking for a french Unicode locale... none checking for a traditional french locale... none checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... guessing no checking whether memmem is declared... yes checking for memmem... yes checking whether memmem works... guessing yes checking whether memrchr is declared... 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 for wchar_t... yes checking whether strdup is declared... yes checking whether strerror(0) succeeds... (cached) yes checking whether ffsl is declared without a macro... yes checking whether ffsll is declared without a macro... yes checking whether memmem is declared without a macro... yes checking whether mempcpy is declared without a macro... yes checking whether memrchr is declared without a macro... yes checking whether rawmemchr is declared without a macro... yes checking whether stpcpy is declared without a macro... yes checking whether stpncpy is declared without a macro... yes checking whether strchrnul is declared without a macro... yes checking whether strdup is declared without a macro... yes checking whether strncat is declared without a macro... yes checking whether strndup is declared without a macro... yes checking whether strnlen is declared without a macro... yes checking whether strpbrk is declared without a macro... yes checking whether strsep is declared without a macro... yes checking whether strcasestr is declared without a macro... yes checking whether strtok_r is declared without a macro... yes checking whether strerror_r is declared without a macro... yes checking whether strsignal is declared without a macro... yes checking whether strverscmp is declared without a macro... yes checking whether strtok_r is declared... (cached) yes checking for struct timespec in ... yes checking whether unsetenv is declared... yes checking whether uses 'inline' correctly... yes checking for wint_t... yes checking for alloca as a compiler built-in... yes checking whether inet_ntop is declared without a macro... yes checking whether inet_pton is declared without a macro... 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 yes checking for d_type member in directory struct... yes checking whether alphasort is declared without a macro... yes checking whether closedir is declared without a macro... yes checking whether dirfd is declared without a macro... yes checking whether fdopendir is declared without a macro... yes checking whether opendir is declared without a macro... yes checking whether readdir is declared without a macro... yes checking whether rewinddir is declared without a macro... yes checking whether scandir is declared without a macro... yes checking for dirfd... yes checking whether dirfd is declared... (cached) 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 fcntl is declared without a macro... yes checking whether openat is declared without a macro... yes checking whether fdopendir is declared... (cached) yes checking whether fdopendir works... guessing yes 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 frexp works... guessing yes checking whether frexpl is declared... yes checking whether frexpl() can be used without linking with libm... yes checking whether frexpl works... guessing yes checking whether fstatat (..., 0) works... guessing yes checking whether getcwd handles long file names properly... no, but it is partly working checking for getpagesize... yes checking whether getcwd aborts when 4k < cwd_length < 16k... yes 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 glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking for GNU glob interface version 1... no checking for library containing inet_ntop... none required checking whether inet_ntop is declared... (cached) 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 NAN macro works... yes checking whether HUGE_VAL works... yes checking whether acosf is declared without a macro... yes checking whether acosl is declared without a macro... yes checking whether asinf is declared without a macro... yes checking whether asinl is declared without a macro... yes checking whether atanf is declared without a macro... yes checking whether atanl is declared without a macro... yes checking whether cbrt is declared without a macro... yes checking whether cbrtf is declared without a macro... yes checking whether cbrtl is declared without a macro... yes checking whether ceilf is declared without a macro... yes checking whether ceill is declared without a macro... yes checking whether copysign is declared without a macro... yes checking whether copysignf is declared without a macro... yes checking whether copysignl is declared without a macro... yes checking whether cosf is declared without a macro... yes checking whether cosl is declared without a macro... yes checking whether coshf is declared without a macro... yes checking whether expf is declared without a macro... yes checking whether expl is declared without a macro... yes checking whether exp2 is declared without a macro... yes checking whether exp2f is declared without a macro... yes checking whether exp2l is declared without a macro... yes checking whether expm1 is declared without a macro... yes checking whether expm1f is declared without a macro... yes checking whether expm1l is declared without a macro... yes checking whether fabsf is declared without a macro... yes checking whether fabsl is declared without a macro... yes checking whether floorf is declared without a macro... yes checking whether floorl is declared without a macro... yes checking whether fma is declared without a macro... yes checking whether fmaf is declared without a macro... yes checking whether fmal is declared without a macro... yes checking whether fmod is declared without a macro... yes checking whether fmodf is declared without a macro... yes checking whether fmodl is declared without a macro... yes checking whether frexpf is declared without a macro... yes checking whether frexpl is declared without a macro... yes checking whether hypotf is declared without a macro... yes checking whether hypotl is declared without a macro... yes checking whether ilogb is declared without a macro... yes checking whether ilogbf is declared without a macro... yes checking whether ilogbl is declared without a macro... yes checking whether ldexpf is declared without a macro... yes checking whether ldexpl is declared without a macro... yes checking whether log is declared without a macro... yes checking whether logf is declared without a macro... yes checking whether logl is declared without a macro... yes checking whether log10 is declared without a macro... yes checking whether log10f is declared without a macro... yes checking whether log10l is declared without a macro... yes checking whether log1p is declared without a macro... yes checking whether log1pf is declared without a macro... yes checking whether log1pl is declared without a macro... yes checking whether log2 is declared without a macro... yes checking whether log2f is declared without a macro... yes checking whether log2l is declared without a macro... yes checking whether logb is declared without a macro... yes checking whether logbf is declared without a macro... yes checking whether logbl is declared without a macro... yes checking whether modf is declared without a macro... yes checking whether modff is declared without a macro... yes checking whether modfl is declared without a macro... yes checking whether powf is declared without a macro... yes checking whether remainder is declared without a macro... yes checking whether remainderf is declared without a macro... yes checking whether remainderl is declared without a macro... yes checking whether rint is declared without a macro... yes checking whether rintf is declared without a macro... yes checking whether rintl is declared without a macro... yes checking whether round is declared without a macro... yes checking whether roundf is declared without a macro... yes checking whether roundl is declared without a macro... yes checking whether sinf is declared without a macro... yes checking whether sinl is declared without a macro... yes checking whether sinhf is declared without a macro... yes checking whether sqrtf is declared without a macro... yes checking whether sqrtl is declared without a macro... yes checking whether tanf is declared without a macro... yes checking whether tanl is declared without a macro... yes checking whether tanhf is declared without a macro... yes checking whether trunc is declared without a macro... yes checking whether truncf is declared without a macro... yes checking whether truncl is declared without a macro... yes checking whether mbrtowc handles incomplete characters... guessing yes checking whether mbrtowc works as well as mbtowc... guessing yes checking whether mbrtowc handles a NULL pwc argument... guessing yes checking whether mbrtowc handles a NULL string argument... guessing yes checking whether mbrtowc has a correct return value... guessing yes checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes checking whether mbrtowc works on empty input... guessing no checking whether the C locale is free of encoding errors... guessing no checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether mbsrtowcs works... guessing yes 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 yes 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 yes 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 yes checking for volatile sig_atomic_t... yes checking for sighandler_t... yes checking whether pthread_sigmask is declared without a macro... yes checking whether sigaction is declared without a macro... yes checking whether sigaddset is declared without a macro... yes checking whether sigdelset is declared without a macro... yes checking whether sigemptyset is declared without a macro... yes checking whether sigfillset is declared without a macro... yes checking whether sigismember is declared without a macro... yes checking whether sigpending is declared without a macro... yes checking whether sigprocmask is declared without a macro... yes checking for socklen_t... yes checking for ssize_t... yes checking whether stat handles trailing slashes on directories... guessing yes checking whether stat handles trailing slashes on files... guessing yes checking for working stdalign.h... yes checking for max_align_t... yes checking whether NULL can be used in arbitrary expressions... yes checking which flavor of printf attribute matches inttypes macros... system checking whether dprintf is declared without a macro... yes checking whether fpurge is declared without a macro... no checking whether fseeko is declared without a macro... yes checking whether ftello is declared without a macro... yes checking whether getdelim is declared without a macro... yes checking whether getline is declared without a macro... yes checking whether gets is declared without a macro... no checking whether pclose is declared without a macro... yes checking whether popen is declared without a macro... yes checking whether renameat is declared without a macro... yes checking whether snprintf is declared without a macro... yes checking whether tmpfile is declared without a macro... yes checking whether vdprintf is declared without a macro... yes checking whether vsnprintf is declared without a macro... yes checking whether _Exit is declared without a macro... yes checking whether atoll is declared without a macro... yes checking whether canonicalize_file_name is declared without a macro... yes checking whether getloadavg is declared without a macro... yes checking whether getsubopt is declared without a macro... yes checking whether grantpt is declared without a macro... yes checking whether initstate is declared without a macro... yes checking whether initstate_r is declared without a macro... yes checking whether mkdtemp is declared without a macro... yes checking whether mkostemp is declared without a macro... yes checking whether mkostemps is declared without a macro... yes checking whether mkstemp is declared without a macro... yes checking whether mkstemps is declared without a macro... yes checking whether posix_openpt is declared without a macro... yes checking whether ptsname is declared without a macro... yes checking whether ptsname_r is declared without a macro... yes checking whether qsort_r is declared without a macro... yes checking whether random is declared without a macro... yes checking whether random_r is declared without a macro... yes checking whether realpath is declared without a macro... yes checking whether rpmatch is declared without a macro... yes checking whether secure_getenv is declared without a macro... yes checking whether setenv is declared without a macro... yes checking whether setstate is declared without a macro... yes checking whether setstate_r is declared without a macro... yes checking whether srandom is declared without a macro... yes checking whether srandom_r is declared without a macro... yes checking whether strtod is declared without a macro... yes checking whether strtoll is declared without a macro... yes checking whether strtoull is declared without a macro... yes checking whether unlockpt is declared without a macro... yes checking whether unsetenv is declared without a macro... yes 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 no checking for nlink_t... (cached) yes checking whether fchmodat is declared without a macro... (cached) yes checking whether fstat is declared without a macro... (cached) yes checking whether fstatat is declared without a macro... (cached) yes checking whether futimens is declared without a macro... (cached) yes checking whether lchmod is declared without a macro... (cached) yes checking whether lstat is declared without a macro... (cached) yes checking whether mkdirat is declared without a macro... (cached) yes checking whether mkfifo is declared without a macro... (cached) yes checking whether mkfifoat is declared without a macro... (cached) yes checking whether mknod is declared without a macro... (cached) yes checking whether mknodat is declared without a macro... (cached) yes checking whether stat is declared without a macro... (cached) yes checking whether utimensat is declared without a macro... (cached) yes checking whether chdir is declared without a macro... yes checking whether chown is declared without a macro... yes checking whether dup is declared without a macro... yes checking whether dup2 is declared without a macro... yes checking whether dup3 is declared without a macro... yes checking whether environ is declared without a macro... yes checking whether euidaccess is declared without a macro... yes checking whether faccessat is declared without a macro... yes checking whether fchdir is declared without a macro... yes checking whether fchownat is declared without a macro... yes checking whether fdatasync is declared without a macro... yes checking whether fsync is declared without a macro... yes checking whether ftruncate is declared without a macro... yes checking whether getcwd is declared without a macro... yes checking whether getdomainname is declared without a macro... yes checking whether getdtablesize is declared without a macro... yes checking whether getgroups is declared without a macro... yes checking whether gethostname is declared without a macro... yes checking whether getlogin is declared without a macro... yes checking whether getlogin_r is declared without a macro... yes checking whether getpagesize is declared without a macro... yes checking whether getusershell is declared without a macro... yes checking whether setusershell is declared without a macro... yes checking whether endusershell is declared without a macro... yes checking whether group_member is declared without a macro... yes checking whether isatty is declared without a macro... yes checking whether lchown is declared without a macro... yes checking whether link is declared without a macro... yes checking whether linkat is declared without a macro... yes checking whether lseek is declared without a macro... yes checking whether pipe is declared without a macro... yes checking whether pipe2 is declared without a macro... yes checking whether pread is declared without a macro... yes checking whether pwrite is declared without a macro... yes checking whether readlink is declared without a macro... yes checking whether readlinkat is declared without a macro... yes checking whether rmdir is declared without a macro... yes checking whether sethostname is declared without a macro... yes checking whether sleep is declared without a macro... yes checking whether symlink is declared without a macro... yes checking whether symlinkat is declared without a macro... yes checking whether ttyname_r is declared without a macro... yes checking whether unlink is declared without a macro... yes checking whether unlinkat is declared without a macro... yes checking whether usleep is declared without a macro... yes checking for unsetenv... yes checking for unsetenv() return type... int checking whether unsetenv obeys POSIX... guessing yes checking whether btowc is declared without a macro... yes checking whether wctob is declared without a macro... yes checking whether mbsinit is declared without a macro... yes checking whether mbrtowc is declared without a macro... yes checking whether mbrlen is declared without a macro... yes checking whether mbsrtowcs is declared without a macro... yes checking whether mbsnrtowcs is declared without a macro... yes checking whether wcrtomb is declared without a macro... yes checking whether wcsrtombs is declared without a macro... yes checking whether wcsnrtombs is declared without a macro... yes checking whether wcwidth is declared without a macro... yes checking whether wmemchr is declared without a macro... yes checking whether wmemcmp is declared without a macro... yes checking whether wmemcpy is declared without a macro... yes checking whether wmemmove is declared without a macro... yes checking whether wmemset is declared without a macro... yes checking whether wcslen is declared without a macro... yes checking whether wcsnlen is declared without a macro... yes checking whether wcscpy is declared without a macro... yes checking whether wcpcpy is declared without a macro... yes checking whether wcsncpy is declared without a macro... yes checking whether wcpncpy is declared without a macro... yes checking whether wcscat is declared without a macro... yes checking whether wcsncat is declared without a macro... yes checking whether wcscmp is declared without a macro... yes checking whether wcsncmp is declared without a macro... yes checking whether wcscasecmp is declared without a macro... yes checking whether wcsncasecmp is declared without a macro... yes checking whether wcscoll is declared without a macro... yes checking whether wcsxfrm is declared without a macro... yes checking whether wcsdup is declared without a macro... yes checking whether wcschr is declared without a macro... yes checking whether wcsrchr is declared without a macro... yes checking whether wcscspn is declared without a macro... yes checking whether wcsspn is declared without a macro... yes checking whether wcspbrk is declared without a macro... yes checking whether wcsstr is declared without a macro... yes checking whether wcstok is declared without a macro... yes checking whether wcswidth is declared without a macro... yes checking whether iswcntrl works... guessing yes checking for towlower... yes checking for wctype_t... yes checking for wctrans_t... yes checking whether wctype is declared without a macro... yes checking whether iswctype is declared without a macro... yes checking whether wctrans is declared without a macro... yes checking whether towctrans is declared without a macro... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arc-buildroot-linux-gnu-strip... arc-buildroot-linux-gnu-strip checking for gawk... gawk checking whether /usr/bin/make sets $(MAKE)... yes checking for style of include used by /usr/bin/make... GNU checking whether /usr/bin/make supports nested variables... yes configure: error: source directory already configured; run "make distclean" there first configure: error: .././../../gnulib/configure failed for build-gnulib-gdbserver configure: error: ./configure failed for gdbserver make[2]: *** [Makefile:9534: configure-gdb] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/gdb-arc-2019.09-rc1-gdb' make[1]: *** [Makefile:852: all] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/gdb-arc-2019.09-rc1-gdb' make: *** [package/pkg-generic.mk:241: /data/buildroot/buildroot-test/instance-0/output/build/gdb-arc-2019.09-rc1-gdb/.stamp_built] Error 2 make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot'