kendryte / kendryte-gnu-toolchain

Kendryte GNU Toolchain
Other
74 stars 25 forks source link

Unable to build the Newlib cross-compiler on Apple M1 processor (with Rosetta 2) #12

Closed tommyjtl closed 3 years ago

tommyjtl commented 3 years ago

When building the Newlib cross-compiler with:

./configure --prefix=/usr/local/opt/kendryte-toolchain --with-cmodel=medany --with-arch=rv64imafc --with-abi=lp64f
make -j8

An issue occurred with following error:

make[1]: *** [all] Error 2
make: *** [stamps/build-binutils-newlib] Error 2

Here are my make and cmake version:

(base) tommyjtl:maixpy_k210 tommyjtl$ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0
(base) tommyjtl:maixpy_k210 tommyjtl$ cmake --version
cmake version 3.19.4

CMake suite maintained and supported by Kitware (kitware.com/cmake).

And my uname output:

(base) tommyjtl:maixpy_k210 tommyjtl$ uname -m && uname -a
x86_64
Darwin tommyjtl.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 x86_64

How should I fix this issue?


Full output:

(base) tommyjtl:kendryte-gnu-toolchain tommyjtl$ ./configure --prefix=/usr/local/opt/kendryte-toolchain --with-cmodel=medany --with-arch=rv64imafc --with-abi=lp64f
checking for gcc... 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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for fgrep... /usr/bin/grep -F
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for bash... /bin/sh
checking for __gmpz_init in -lgmp... yes
checking for mpfr_init in -lmpfr... yes
checking for mpc_init2 in -lmpc... yes
checking for curl... /usr/bin/curl
checking for wget... /usr/local/bin/wget
checking for ftp... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/wrapper/awk/awk
config.status: creating scripts/wrapper/sed/sed
(base) tommyjtl:kendryte-gnu-toolchain tommyjtl$ make -j8
rm -rf stamps/build-binutils-newlib build-binutils-newlib
mkdir build-binutils-newlib
cd build-binutils-newlib && CC_FOR_TARGET=riscv64-unknown-elf-gcc /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/configure \
        --target=riscv64-unknown-elf \
         \
        --prefix=/usr/local/opt/kendryte-toolchain \
         \
        --disable-werror \
        --with-expat=yes  \
        --enable-gdb
checking build system type... x86_64-apple-darwin20.3.0
checking host system type... x86_64-apple-darwin20.3.0
checking target system type... riscv64-unknown-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for gawk... /usr/local/bin/gawk
checking for gcc... 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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... no
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for isl 0.15 or later... yes
rm: conftest.dSYM: is a directory
checking for default BUILD_CONFIG...
checking for --enable-vtable-verify... no
checking for bison... bison -y
checking for bison... bison
checking for gm4... gm4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... expect
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... (cached) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking for lipo... lipo
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... no
checking for objdump... objdump
checking for readelf... no
checking for cc... (cached) riscv64-unknown-elf-gcc
checking for gcc... (cached) riscv64-unknown-elf-gcc
checking for riscv64-unknown-elf-c++... no
checking for riscv64-unknown-elf-g++... no
checking for riscv64-unknown-elf-cxx... no
checking for riscv64-unknown-elf-gxx... no
checking for riscv64-unknown-elf-gcc... no
checking for riscv64-unknown-elf-gfortran... no
checking for riscv64-unknown-elf-gccgo... no
checking for riscv64-unknown-elf-ar... no
checking for riscv64-unknown-elf-as... no
checking for riscv64-unknown-elf-dlltool... no
checking for riscv64-unknown-elf-ld... no
checking for riscv64-unknown-elf-lipo... no
checking for riscv64-unknown-elf-nm... no
checking for riscv64-unknown-elf-objcopy... no
checking for riscv64-unknown-elf-objdump... no
checking for riscv64-unknown-elf-ranlib... no
checking for riscv64-unknown-elf-readelf... no
checking for riscv64-unknown-elf-strip... no
checking for riscv64-unknown-elf-windres... no
checking for riscv64-unknown-elf-windmc... no
checking where to find the target ar... just compiled
checking where to find the target as... just compiled
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... just compiled
checking where to find the target gcc... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target gccgo... pre-installed
checking where to find the target ld... just compiled
checking where to find the target lipo... pre-installed
checking where to find the target nm... just compiled
checking where to find the target objcopy... just compiled
checking where to find the target objdump... just compiled
checking where to find the target ranlib... just compiled
checking where to find the target readelf... just compiled
checking where to find the target strip... just compiled
checking where to find the target windres... just compiled
checking where to find the target windmc... just compiled
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C build-binutils-newlib
make[2]: Nothing to be done for `all-target'.
mkdir ./intl
mkdir ./libdecnumber
mkdir ./zlib
mkdir ./libiberty
mkdir ./readline
mkdir ./etc
Configuring in ./intl
Configuring in ./libiberty
Configuring in ./etc
Configuring in ./libdecnumber
Configuring in ./readline
Configuring in ./zlib
configure: creating cache ./config.cache
checking for x86_64-apple-darwin20.3.0-gcc... gcc
configure: creating cache ./config.cache
configure: creating cache ./config.cache
configure: creating cache ./config.cache
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating cache ./config.cache
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make sets $(MAKE)... configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo --split-size=5000000
checking for perl... perl
yes
checking for x86_64-apple-darwin20.3.0-gcc... gcc
checking build system type... checking build system type... configure: updating cache ./config.cache
checking build system type... configure: creating ./config.status
x86_64-apple-darwin20.3.0
checking host system type... x86_64-apple-darwin20.3.0
checking host system type... x86_64-apple-darwin20.3.0
checking host system type... x86_64-apple-darwin20.3.0

Beginning configuration for readline-6.2 for x86_64-apple-darwin20.3.0

checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make sets $(MAKE)... x86_64-apple-darwin20.3.0
checking target system type... checking whether the C compiler works... x86_64-apple-darwin20.3.0
checking for x86_64-apple-darwin20.3.0-ar... ar
checking for x86_64-apple-darwin20.3.0-ranlib... ranlib
checking whether to install libiberty headers and static library... no
configure: target_header_dir =
checking for x86_64-apple-darwin20.3.0-gcc... gcc
yes
checking for x86_64-apple-darwin20.3.0-gcc... gcc
riscv64-unknown-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... checking whether the C compiler works... yes
yes
checking for C compiler default output file name... a.out
checking for suffix of executables... checking for a thread-safe mkdir -p... /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/../install-sh -c -d
checking for gawk... /usr/local/bin/gawk
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make sets $(MAKE)... yes
yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make supports nested variables... checking whether we are cross compiling... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-apple-darwin20.3.0-gcc... gcc
checking whether the C compiler works...
checking whether we are cross compiling... config.status: creating Makefile
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... no
checking for suffix of object files...
checking whether we are cross compiling... make[3]: Nothing to be done for `all'.

checking whether we are cross compiling... o
checking whether we are using the GNU C compiler... checking whether the C compiler works... no
yes
checking whether gcc accepts -g... checking for suffix of object files... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... yes
checking for gcc option to accept ISO C89... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... none needed
checking how to run the C preprocessor...
checking whether we are cross compiling... yes
checking for gcc option to accept ISO C89... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... gcc -E
none needed
checking for x86_64-apple-darwin20.3.0-ranlib... ranlib
checking for aclocal... no
checking for autoconf... no
checking for autoheader... no
checking whether gcc supports -W... yes
checking whether gcc accepts -g... no
checking for suffix of object files... yes
checking whether gcc supports -Wall... yes
checking for gcc option to accept ISO C89... checking for grep that handles long lines and -e... o
checking whether we are using the GNU C compiler... yes
checking whether gcc supports -Wwrite-strings... none needed
checking how to run the C preprocessor... no
checking for suffix of object files... yes
checking whether gcc accepts -g... yes
checking whether gcc supports -Wstrict-prototypes... o
checking whether we are using the GNU C compiler... yes
checking for gcc option to accept ISO C89... yes
gcc -E
checking whether gcc supports -Wmissing-prototypes... yes
checking whether gcc accepts -g... none needed
checking how to run the C preprocessor... yes
yes
checking for gcc option to accept ISO C89... checking whether gcc supports -Wold-style-definition... 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
gcc -E
none needed
checking whether gcc understands -c and -o together... checking whether gcc supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wcast-qual... rm: conftest.dSYM: is a directory
yes
checking for style of include used by /Applications/Xcode.app/Contents/Developer/usr/bin/make... rm: conftest.dSYM: is a directory
GNU
checking dependency style of gcc... checking for grep that handles long lines and -e... yes
checking whether gcc supports -pedantic -Wlong-long... rm: conftest.dSYM: is a directory
yes
checking whether gcc supports -fno-lto... gcc3
checking how to print strings... yes
printf
checking for a sed that does not truncate output... checking how to run the C preprocessor... /usr/local/bin/gsed
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... gcc -E
yes
rm: conftest.dSYM: is a directory
checking for sys/types.h... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... rm: conftest.dSYM: is a directory
yes
checking for grep that handles long lines and -e... checking for sys/stat.h... rm: conftest.dSYM: is a directory
yes
/usr/bin/grep
checking for egrep... checking for stdlib.h... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... rm: conftest.dSYM: is a directory
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... yes
checking for string.h... no
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... yes
checking for sys/types.h... yes
checking for memory.h... yes
/usr/bin/grep
checking for egrep... rm: conftest.dSYM: is a directory
BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... /usr/bin/grep -E
checking for ANSI C header files... checking for sys/stat.h... 786432
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
yes
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for x86_64-apple-darwin20.3.0-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-apple-darwin20.3.0-ar... ar
checking for x86_64-apple-darwin20.3.0-strip... no
checking for strip... strip
checking for x86_64-apple-darwin20.3.0-ranlib... ranlib
checking command to parse nm output from gcc object... yes
checking for strings.h... rm: conftest.dSYM: is a directory
checking for sys/types.h... yes
checking for stdlib.h... rm: conftest.dSYM: is a directory
yes
yes
checking for inttypes.h... yes
checking for sys/stat.h... rm: conftest.dSYM: is a directory
checking for string.h... yes
yes
checking for stdint.h... yes
checking for stdlib.h... checking for memory.h... yes
yes
checking for unistd.h... yes
checking for string.h... checking for strings.h... ok
checking for x86_64-apple-darwin20.3.0-dsymutil... no
checking for dsymutil... dsymutil
checking for x86_64-apple-darwin20.3.0-nmedit... no
checking for nmedit... nmedit
checking for x86_64-apple-darwin20.3.0-lipo... no
checking for lipo... lipo
checking for x86_64-apple-darwin20.3.0-otool... no
checking for otool... otool
checking for x86_64-apple-darwin20.3.0-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
yes
checking minix/config.h usability... yes
checking for memory.h... yes
checking for inttypes.h... yes
checking for -exported_symbols_list linker flag... checking for sys/types.h... no
checking minix/config.h presence... yes
checking for strings.h... yes
yes
yes
checking for -force_load linker flag... checking for stdint.h... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... checking for sys/stat.h... yes
checking for inttypes.h... yes
yes
yes
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make sets $(MAKE)... checking for stdlib.h... checking for unistd.h... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether NLS is requested... yes
yes
checking for msgfmt... no
checking how to run the C preprocessor... checking for stdint.h... yes
/usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
yes
checking for xgettext... checking for string.h... checking minix/config.h usability... /usr/local/bin/xgettext
yes
checking for msgmerge... /usr/local/bin/msgmerge
checking for unistd.h... yes
gcc -E
no
checking minix/config.h presence... checking for memory.h... yes
checking build system type... checking minix/config.h usability... yes
no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... checking for strings.h... x86_64-apple-darwin20.3.0
checking host system type... checking for ANSI C header files... no
checking minix/config.h presence... yes
checking whether gcc needs -traditional... x86_64-apple-darwin20.3.0
checking for x86_64-apple-darwin20.3.0-ranlib... ranlib
checking for library containing strerror... yes
checking for inttypes.h... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for ar... ar
checking for x86_64-apple-darwin20.3.0-ranlib... ranlib
checking for an ANSI C-conforming const... yes
none required
checking for an ANSI C-conforming const... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... checking for stdint.h... yes
checking for function prototypes... yes
checking whether char is unsigned... no
yes
checking for inline... yes
checking whether gcc supports -W... no
checking for working volatile... checking for unistd.h... inline
checking for off_t... yes
checking whether gcc supports -Wall... yes
checking return type of signal handlers... yes
checking ctype.h usability... yes
checking whether gcc supports -Wwrite-strings... void
checking for size_t... yes
yes
checking ctype.h presence... yes
checking for size_t... checking for sys/types.h... yes
checking whether gcc supports -Wc++-compat... yes
checking for ctype.h... yes
yes
checking stddef.h usability... yes
checking for sys/stat.h... checking whether gcc supports -Wstrict-prototypes... yes
checking for ssize_t... yes
checking stddef.h presence... yes
checking for working alloca.h... yes
yes
checking whether gcc supports -Wshadow=local... checking for stdlib.h... yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking stdio.h usability... yes
yes
checking for alloca... yes
checking whether gcc supports -pedantic ... checking for string.h... yes
checking for ANSI C header files... (cached) yes
checking whether stat file-mode macros are broken... yes
checking stdio.h presence... yes
checking whether gcc and cc understand -c and -o together... yes
yes
yes
checking for stdio.h... yes
no
checking for stdlib.h... (cached) yes
checking for dirent.h that defines DIR... looking for a compliant stdint.h in stdint.h, checking for uintmax_t... checking for unistd.h... (cached) yes
checking for memory.h... checking for sys/param.h... yes
checking for library containing opendir... yes
yes
checking for strings.h... checking for getpagesize... yes
checking for an ANSI C-conforming const... yes
checking for uintptr_t... yes
none required
yes
checking for inline... checking for fcntl... checking for inttypes.h... yes
checking for working mmap... inline
checking whether byte ordering is bigendian... yes
yes
checking for stdint.h... yes
checking for int_least32_t... checking for kill... yes
checking for unistd.h... yes
checking for lstat... yes
yes
no
checking for a BSD-compatible install... checking for int_fast32_t... /usr/bin/install -c
checking for dlfcn.h... checking for sys/file.h... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
no
checking whether integer division by zero raises SIGFPE... yes
yes
checking for objdir... .libs
checking for memmove... checking for sys/param.h... yes
checking for uint64_t... no
checking for inttypes.h... yes
checking for limits.h... yes
checking for stdint.h... yes
yes
checking for putenv... checking for stdlib.h... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for unsigned long long... yes
checking what to include in gstdint.h... stdint.h (already complete)
checking for an ANSI C-conforming const... checking for malloc.h... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
yes
checking for off_t... no
yes
checking for inttypes.h... checking for string.h... (cached) yes
checking for select... checking for unistd.h... (cached) yes
yes
checking if gcc static flag -static works... checking for strings.h... (cached) yes
yes
checking whether the inttypes.h PRIxNN macros are broken... checking for sys/time.h... no
checking if gcc supports -c -o file.o... yes
no
checking for ld used by GCC... yes
checking for setenv... yes
checking size of int... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... checking for time.h... no
checking for shared library run path origin... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... yes
yes
checking for sys/resource.h... checking for setlocale... done
checking argz.h usability... darwin20.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C preprocessor... gcc -E
checking for sys/stat.h... (cached) yes
yes
checking for sys/mman.h... 4
checking for strcasecmp... checking size of long... no
checking argz.h presence... yes
checking for fcntl.h... checking for stdlib.h... (cached) yes
no
checking for argz.h... no
checking for unistd.h... (cached) yes
checking limits.h usability... yes
yes
checking for sys/param.h... checking for alloca.h... checking for strpbrk... yes
checking limits.h presence... yes
yes
checking for getpagesize... yes
checking for limits.h... yes
checking for sys/pstat.h... 8
checking for ANSI C header files... (cached) yes
checking locale.h usability... yes
checking build system type... checking for tcgetattr... no
yes
checking for sys/sysmp.h... yes
checking locale.h presence... checking for working mmap... x86_64-apple-darwin20.3.0
checking host system type... yes
checking for locale.h... yes
x86_64-apple-darwin20.3.0
checking target system type... no
yes
checking nl_types.h usability... checking for sys/sysinfo.h... checking for vsnprintf... riscv64-unknown-elf
checking for decimal floating point... configure: WARNING: decimal float is not supported for this target, ignored
dpd
checking whether byte ordering is bigendian... no
yes
checking nl_types.h presence... checking for machine/hal_sysinfo.h... yes
checking for nl_types.h... yes
yes
no
checking malloc.h usability... checking for sys/table.h... yes
checking for isascii... checking for memcpy... no
no
no
checking malloc.h presence... checking for sys/sysctl.h... yes
yes
configure: updating cache ./config.cache
checking for isxdigit... yes
configure: creating ./config.status
no
checking for malloc.h... no
checking for strerror... checking stddef.h usability... checking for sys/systemcfg.h... yes
checking stddef.h presence... no
checking for stdint.h... (cached) yes
yes
yes
yes
checking for stddef.h... yes
checking for unistd.h... (cached) yes
checking for stdio_ext.h... checking for getpwent... checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
no
configure: updating cache ./config.cache
checking for unistd.h... (cached) yes
checking for process.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
checking for sys/param.h... (cached) yes
checking for getpwnam... checking for feof_unlocked... no
checking for sys/prctl.h... yes
yes
no
checking for sys/wait.h that is POSIX.1 compatible... checking for getpwuid... config.status: creating Makefile
checking for fgets_unlocked... yes
checking whether time.h and sys/time.h may both be included... config.status: creating config.h
yes
config.status: executing gstdint.h commands
checking for working strcoll... yes
checking whether errno must be declared... no
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
checking for getc_unlocked... no
checking size of int... yes
checking for getcwd... source='/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber/decNumber.c' object='decNumber.o' libtool=no gcc  -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber -I.  -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long  -fno-lto -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber -I.   -c /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber/decNumber.c
source='/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber/decContext.c' object='decContext.o' libtool=no gcc  -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber -I.  -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long  -fno-lto -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber -I.   -c /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber/decContext.c
source='/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber/dpd/decimal32.c' object='decimal32.o' libtool=no gcc  -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber -I.  -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long  -fno-lto -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber -I.   -c /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber/dpd/decimal32.c
source='/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber/dpd/decimal64.c' object='decimal64.o' libtool=no gcc  -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber -I.  -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long  -fno-lto -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber -I.   -c /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber/dpd/decimal64.c
yes
yes
checking fcntl.h usability... checking for getegid... source='/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber/dpd/decimal128.c' object='decimal128.o' libtool=no gcc  -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber -I.  -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long  -fno-lto -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber -I.   -c /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/libdecnumber/dpd/decimal128.c
yes
checking fcntl.h presence... yes
yes
checking for fcntl.h... yes
4
checking size of long... checking for unistd.h... (cached) yes
checking for geteuid... checking for stdlib.h... (cached) yes
checking varargs.h usability... yes
checking for getgid... no
checking varargs.h presence... no
checking for varargs.h... no
checking stdarg.h usability... yes
8
checking size of size_t... checking for getuid... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
yes
checking for string.h... (cached) yes
checking for mempcpy... checking for strings.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... no
checking for munmap... 8
checking for long long... rm -f libdecnumber.a
ar cru libdecnumber.a decNumber.o decContext.o decimal32.o decimal64.o decimal128.o
yes
checking for limits.h... yes
ranlib libdecnumber.a
checking locale.h usability... yes
checking for putenv... yes
checking locale.h presence... yes
checking size of long long... yes
checking for locale.h... yes
checking pwd.h usability... yes
checking for setenv... yes
checking pwd.h presence... yes
checking for pwd.h... yes
yes
checking for memory.h... (cached) yes
checking for setlocale... checking termcap.h usability... yes
checking termcap.h presence... 8
checking for a 64-bit type... yes
yes
checking for termcap.h... yes
checking for stpcpy... uint64_t
checking for intptr_t... checking termios.h usability... yes
checking termios.h presence... yes
checking for strcasecmp... yes
checking for termios.h... yes
yes
checking for uintptr_t... checking termio.h usability... config.status: creating Makefile
yes
checking for strdup... no
checking termio.h presence... config.status: executing depfiles commands
yes
checking for ssize_t... no
checking for termio.h... no
checking sys/pte.h usability... yes
checking for strtoul... no
checking sys/pte.h presence... yes
checking for pid_t... no
checking for sys/pte.h... no
checking sys/stream.h usability... yes
checking for tsearch... config.status: executing libtool commands
no
checking sys/stream.h presence... yes
yes
checking for library containing strerror... checking for __argz_count... no
checking for sys/stream.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib      -g -O2 -MT libz_a-adler32.o -MD -MP -MF .deps/libz_a-adler32.Tpo -c -o libz_a-adler32.o `test -f 'adler32.c' || echo '/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/'`adler32.c
gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib      -g -O2 -MT libz_a-compress.o -MD -MP -MF .deps/libz_a-compress.Tpo -c -o libz_a-compress.o `test -f 'compress.c' || echo '/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/'`compress.c
gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib      -g -O2 -MT libz_a-crc32.o -MD -MP -MF .deps/libz_a-crc32.Tpo -c -o libz_a-crc32.o `test -f 'crc32.c' || echo '/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/'`crc32.c
gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib      -g -O2 -MT libz_a-deflate.o -MD -MP -MF .deps/libz_a-deflate.Tpo -c -o libz_a-deflate.o `test -f 'deflate.c' || echo '/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/'`deflate.c
gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib      -g -O2 -MT libz_a-gzread.o -MD -MP -MF .deps/libz_a-gzread.Tpo -c -o libz_a-gzread.o `test -f 'gzread.c' || echo '/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/'`gzread.c
none required
checking for asprintf... no
yes
checking for sys/select.h... yes
checking for __argz_stringify... mv -f .deps/libz_a-compress.Tpo .deps/libz_a-compress.Po
checking sys/file.h usability... gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib      -g -O2 -MT libz_a-gzclose.o -MD -MP -MF .deps/libz_a-gzclose.Tpo -c -o libz_a-gzclose.o `test -f 'gzclose.c' || echo '/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/'`gzclose.c
mv -f .deps/libz_a-adler32.Tpo .deps/libz_a-adler32.Po
gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib      -g -O2 -MT libz_a-gzwrite.o -MD -MP -MF .deps/libz_a-gzwrite.Tpo -c -o libz_a-gzwrite.o `test -f 'gzwrite.c' || echo '/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/'`gzwrite.c
mv -f .deps/libz_a-crc32.Tpo .deps/libz_a-crc32.Po
gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib      -g -O2 -MT libz_a-gzlib.o -MD -MP -MF .deps/libz_a-gzlib.Tpo -c -o libz_a-gzlib.o `test -f 'gzlib.c' || echo '/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/'`gzlib.c
mv -f .deps/libz_a-gzread.Tpo .deps/libz_a-gzread.Po
gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib      -g -O2 -MT libz_a-infback.o -MD -MP -MF .deps/libz_a-infback.Tpo -c -o libz_a-infback.o `test -f 'infback.c' || echo '/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/'`infback.c
yes
yes
checking sys/file.h presence... mv -f .deps/libz_a-gzclose.Tpo .deps/libz_a-gzclose.Po
gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib      -g -O2 -MT libz_a-inffast.o -MD -MP -MF .deps/libz_a-inffast.Tpo -c -o libz_a-inffast.o `test -f 'inffast.c' || echo '/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/'`inffast.c
checking for atexit... no
checking for __argz_next... yes
checking for sys/file.h... yes
mv -f .deps/libz_a-gzwrite.Tpo .deps/libz_a-gzwrite.Po
checking for sys/ptem.h... mv -f .deps/libz_a-gzlib.Tpo .deps/libz_a-gzlib.Po
gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib      -g -O2 -MT libz_a-inflate.o -MD -MP -MF .deps/libz_a-inflate.Tpo -c -o libz_a-inflate.o `test -f 'inflate.c' || echo '/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/'`inflate.c
gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib      -g -O2 -MT libz_a-inftrees.o -MD -MP -MF .deps/libz_a-inftrees.Tpo -c -o libz_a-inftrees.o `test -f 'inftrees.c' || echo '/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/'`inftrees.c
mv -f .deps/libz_a-inffast.Tpo .deps/libz_a-inffast.Po
yes
gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib      -g -O2 -MT libz_a-trees.o -MD -MP -MF .deps/libz_a-trees.Tpo -c -o libz_a-trees.o `test -f 'trees.c' || echo '/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/'`trees.c
mv -f .deps/libz_a-deflate.Tpo .deps/libz_a-deflate.Po
mv -f .deps/libz_a-infback.Tpo .deps/libz_a-infback.Po
gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib      -g -O2 -MT libz_a-uncompr.o -MD -MP -MF .deps/libz_a-uncompr.Tpo -c -o libz_a-uncompr.o `test -f 'uncompr.c' || echo '/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/'`uncompr.c
gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib      -g -O2 -MT libz_a-zutil.o -MD -MP -MF .deps/libz_a-zutil.Tpo -c -o libz_a-zutil.o `test -f 'zutil.c' || echo '/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/zlib/'`zutil.c
no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... checking for basename... no
mv -f .deps/libz_a-inftrees.Tpo .deps/libz_a-inftrees.Po
checking for __fsetlocking... mv -f .deps/libz_a-zutil.Tpo .deps/libz_a-zutil.Po
mv -f .deps/libz_a-uncompr.Tpo .deps/libz_a-uncompr.Po
no
checking for type of signal functions... yes
checking for bcmp... no
checking for iconv... mv -f .deps/libz_a-trees.Tpo .deps/libz_a-trees.Po
posix
checking if signal handlers must be reinstalled when invoked... mv -f .deps/libz_a-inflate.Tpo .deps/libz_a-inflate.Po
rm -f libz.a
ar cru libz.a libz_a-adler32.o libz_a-compress.o libz_a-crc32.o libz_a-deflate.o libz_a-gzread.o libz_a-gzclose.o libz_a-gzwrite.o libz_a-gzlib.o libz_a-infback.o libz_a-inffast.o libz_a-inflate.o libz_a-inftrees.o libz_a-trees.o libz_a-uncompr.o libz_a-zutil.o
ranlib libz.a
yes
checking for presence of POSIX-style sigsetjmp/siglongjmp... yes
checking for bcopy... missing
checking for lstat... yes
checking how to link with libiconv... -liconv
checking for iconv declaration... yes
checking for bsearch... yes
checking whether or not strcoll and strcmp differ...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... no
checking whether the ctype macros accept non-ascii characters... yes
checking for bzero... no
checking whether getpw functions are declared in pwd.h... yes
checking for LC_MESSAGES... yes
checking whether termios.h defines TIOCGWINSZ... yes
checking for bison... bison
checking version of bison... yes
yes
checking for sig_atomic_t in signal.h... 2.3, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... checking for calloc... yes
checking whether signal handlers are of type void... no
checking for GNU gettext in libintl... yes
checking for clock... yes
checking for TIOCSTAT in sys/ioctl.h... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl
checking for aclocal... no
checking for autoconf... no
checking for autoheader... yes
checking for FIONREAD in sys/ioctl.h... no
yes
configure: updating cache ./config.cache
configure: creating ./config.status
checking for ffs... yes
checking for speed_t in sys/types.h... no
checking for struct winsize in sys/ioctl.h and termios.h... yes
checking for getcwd... sys/ioctl.h
checking for struct dirent.d_ino... yes
yes
checking for struct dirent.d_fileno... checking for getpagesize... yes
checking for tgetent... config.status: creating Makefile
yes
checking for gettimeofday... config.status: creating config.intl
no
checking for tgetent in -ltermcap... config.status: creating config.h
yes
config.status: executing default-1 commands
yes
checking which library has the termcap functions... using libtermcap
checking wctype.h usability... checking for index... yes
checking wctype.h presence... mkdir ./gas
mkdir ./binutils
mkdir ./ld
mkdir ./sim
mkdir ./gprof
Configuring in ./gas
Configuring in ./ld
Configuring in ./binutils
Configuring in ./sim
Configuring in ./gprof
yes
yes
checking for wctype.h... yes
make[3]: Nothing to be done for `all'.
checking wchar.h usability... checking for insque... yes
checking wchar.h presence... yes
checking for wchar.h... yes
yes
checking langinfo.h usability... checking for memchr... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for mbrlen... yes
checking for memcmp... yes
checking for mbscasecmp... yes
no
checking for mbscmp... checking for memcpy... no
checking for mbsnrtowcs... yes
checking for memmem... yes
checking for mbsrtowcs... configure: creating cache ./config.cache
configure: creating cache ./config.cache
configure: creating cache ./config.cache
configure: creating cache ./config.cache
configure: creating cache ./config.cache
checking for x86_64-apple-darwin20.3.0-gcc... gcc
yes
checking build system type... checking build system type... checking build system type... checking build system type... yes
checking for mbschr... checking for memmove... x86_64-apple-darwin20.3.0
checking host system type... x86_64-apple-darwin20.3.0
checking host system type... x86_64-apple-darwin20.3.0
checking host system type... x86_64-apple-darwin20.3.0
checking host system type... x86_64-apple-darwin20.3.0
checking target system type... x86_64-apple-darwin20.3.0
checking target system type... no
checking for wcrtomb... x86_64-apple-darwin20.3.0
checking target system type... yes
x86_64-apple-darwin20.3.0
checking target system type... checking for mempcpy... checking whether the C compiler works... riscv64-unknown-elf
riscv64-unknown-elf
checking for x86_64-apple-darwin20.3.0-gcc... gcc
checking for x86_64-apple-darwin20.3.0-gcc... gcc
riscv64-unknown-elf
checking for x86_64-apple-darwin20.3.0-gcc... gcc
yes
checking for wcscoll... riscv64-unknown-elf
checking for x86_64-apple-darwin20.3.0-gcc... gcc
yes
checking for C compiler default output file name... a.out
checking for suffix of executables... no
checking for memset... yes
checking for wcsdup...
checking whether we are cross compiling... checking whether the C compiler works... yes
checking whether the C compiler works... checking whether the C compiler works... yes
checking for wcwidth... checking whether the C compiler works... checking for mkstemps... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... yes
checking for wctype... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... no
checking for suffix of object files... yes

checking for putenv... checking whether we are cross compiling...
checking whether we are cross compiling...
o
checking whether we are using the GNU C compiler... yes
checking for wcswidth...
checking whether we are cross compiling... checking whether we are cross compiling... yes
checking whether gcc accepts -g... yes
checking for random... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for gcc option to accept ISO C89... yes
no
none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for x86_64-apple-darwin20.3.0-ar... ar
checking for x86_64-apple-darwin20.3.0-ranlib... ranlib
checking for suffix of object files... checking for rename... yes
checking for iswlower... checking build system type... o
checking whether we are using the GNU C compiler... x86_64-apple-darwin20.3.0
checking host system type... yes
no
checking for suffix of object files... yes
x86_64-apple-darwin20.3.0
checking target system type... yes
checking whether gcc accepts -g... checking for rindex... checking for iswupper... o
checking whether we are using the GNU C compiler... yes
checking for gcc option to accept ISO C89... riscv64-unknown-elf
checking for x86_64-apple-darwin20.3.0-gcc... (cached) gcc
no
checking for suffix of object files... yes
yes
checking whether gcc accepts -g... yes
none needed
checking whether gcc understands -c and -o together... checking for setenv... checking for towlower... o
checking whether we are using the GNU C compiler... yes
checking for gcc option to accept ISO C89... no
checking for suffix of object files... yes
checking whether gcc accepts -g... rm: conftest.dSYM: is a directory
yes
checking for library containing strerror... yes
yes
none needed
checking whether gcc understands -c and -o together... o
checking whether we are using the GNU C compiler... checking for snprintf... yes
checking for gcc option to accept ISO C89... checking for towupper... checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for x86_64-apple-darwin20.3.0-ranlib... (cached) ranlib
yes
checking whether gcc accepts -g... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... configure: updating cache ./config.cache
rm: conftest.dSYM: is a directory
yes
checking for library containing strerror... none needed
checking whether gcc understands -c and -o together... yes
configure: creating ./config.status
yes
yes
checking for gcc option to accept ISO C89... yes
checking for a thread-safe mkdir -p... /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/ld/../install-sh -c -d
checking for gawk... /usr/local/bin/gawk
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make sets $(MAKE)... checking for iswctype... rm: conftest.dSYM: is a directory
yes
checking for library containing strerror... yes
checking for sigsetmask... none needed
checking whether gcc understands -c and -o together... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... checking for style of include used by /Applications/Xcode.app/Contents/Developer/usr/bin/make... yes
GNU
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make supports nested variables... yes
yes
checking for a thread-safe mkdir -p... checking dependency style of gcc... checking for nl_langinfo and CODESET... /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/binutils/../install-sh -c -d
checking for gawk... /usr/local/bin/gawk
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make sets $(MAKE)... yes
rm: conftest.dSYM: is a directory
yes
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
yes
checking for stpcpy... checking for style of include used by /Applications/Xcode.app/Contents/Developer/usr/bin/make... checking for a thread-safe mkdir -p... GNU
/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/gas/../install-sh -c -d
checking for gawk... /usr/local/bin/gawk
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make sets $(MAKE)... checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make supports nested variables... yes
checking for wchar_t in wchar.h... yes
yes
checking dependency style of gcc... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... gcc3
yes
checking for style of include used by /Applications/Xcode.app/Contents/Developer/usr/bin/make... checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-apple-darwin20.3.0-gcc... (cached) gcc
yes
GNU
yes
checking for wctype_t in wctype.h... checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make supports nested variables... checking for a thread-safe mkdir -p... yes
/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/gprof/../install-sh -c -d
checking for gawk... /usr/local/bin/gawk
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make sets $(MAKE)... checking for stpncpy... checking dependency style of gcc... yes
checking for wint_t in wctype.h... yes
config.status: creating Makefile
checking for style of include used by /Applications/Xcode.app/Contents/Developer/usr/bin/make... gcc3
GNU
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make supports nested variables... checking for x86_64-apple-darwin20.3.0-gcc... (cached) gcc
yes
yes
checking configuration for building shared libraries... yes
supported
=== configuring in testsuite (/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/build-binutils-newlib/sim/testsuite)
checking dependency style of gcc... checking for strcasecmp... configure: running /bin/sh /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/sim/testsuite/configure --disable-option-checking '--prefix=/usr/local/opt/kendryte-toolchain'  '--with-gnu-as' '--with-gnu-ld' '--disable-werror' '--with-expat=yes' '--enable-gdb' '--program-transform-name=s&^&riscv64-unknown-elf-&' '--build=x86_64-apple-darwin20.3.0' '--host=x86_64-apple-darwin20.3.0' '--target=riscv64-unknown-elf' 'build_alias=x86_64-apple-darwin20.3.0' 'host_alias=x86_64-apple-darwin20.3.0' 'target_alias=riscv64-unknown-elf' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS=  ' --cache-file=.././config.cache --srcdir=/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/sim/testsuite
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
gcc3
configure: updating cache ./config.cache
checking for x86_64-apple-darwin20.3.0-gcc... (cached) gcc
configure: creating ./config.status
yes
gcc3
checking for x86_64-apple-darwin20.3.0-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking how to run the C preprocessor... checking for strchr... checking whether we are using the GNU C++ compiler... yes
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for strdup... yes
checking whether g++ accepts -g... checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking how to run the C preprocessor... yes
checking dependency style of g++... yes
checking for grep that handles long lines and -e... gcc -E
checking for strncasecmp... gcc -E
gcc3
checking for grep that handles long lines and -e... checking for grep that handles long lines and -e... config.status: creating Makefile
yes
checking for strndup... config.status: creating doc/Makefile
checking for grep that handles long lines and -e... configure: loading cache .././config.cache
config.status: creating examples/Makefile
yes
checking build system type... (cached) x86_64-apple-darwin20.3.0
checking host system type... (cached) x86_64-apple-darwin20.3.0
checking target system type... (cached) riscv64-unknown-elf
checking for strnlen... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... config.status: creating shlib/Makefile
configure: creating ./config.status
yes
checking for strrchr... /usr/bin/grep
checking how to run the C preprocessor... config.status: creating config.h
/usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... config.status: executing default commands
yes
/usr/bin/grep
checking for egrep... gcc -E
/usr/bin/grep -E
checking for ANSI C header files... checking for strstr... rm -f readline.o
rm -f vi_mode.o
gcc -c -DHAVE_CONFIG_H    -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline -DRL_LIBRARY_VERSION='"6.2"' -g -O2 /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/readline.c
gcc -c -DHAVE_CONFIG_H    -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline -DRL_LIBRARY_VERSION='"6.2"' -g -O2 /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/vi_mode.c
yes
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... checking for strtod... yes
rm -f funmap.o
checking for sys/types.h... gcc -c -DHAVE_CONFIG_H    -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline -DRL_LIBRARY_VERSION='"6.2"' -g -O2 /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/funmap.c
config.status: creating Makefile
yes
yes
rm -f keymaps.o
gcc -c -DHAVE_CONFIG_H    -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline -DRL_LIBRARY_VERSION='"6.2"' -g -O2 /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/keymaps.c
checking for strtol... rm -f parens.o
checking for sys/stat.h... gcc -c -DHAVE_CONFIG_H    -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline -DRL_LIBRARY_VERSION='"6.2"' -g -O2 /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/parens.c
yes
checking for sys/types.h... rm -f search.o
yes
gcc -c -DHAVE_CONFIG_H    -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline -DRL_LIBRARY_VERSION='"6.2"' -g -O2 /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/search.c
rm -f rltty.o
gcc -c -DHAVE_CONFIG_H    -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline -DRL_LIBRARY_VERSION='"6.2"' -g -O2 /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/rltty.c
yes
checking for stdlib.h... yes
yes
checking for sys/types.h... rm -f complete.o
gcc -c -DHAVE_CONFIG_H    -I. -I/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline -DRL_LIBRARY_VERSION='"6.2"' -g -O2 /Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/complete.c
/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/rltty.c:83:7: error:
      implicit declaration of function 'ioctl' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
  if (ioctl (tty, TIOCGWINSZ, &w) == 0)
      ^
/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/rltty.c:720:3: error:
      implicit declaration of function 'ioctl' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
  ioctl (fildes, TIOCSTART, 0);
  ^
/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/rltty.c:759:3: error:
      implicit declaration of function 'ioctl' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
  ioctl (fildes, TIOCSTOP, 0);
  ^
3 errors generated.
make[3]: *** [rltty.o] Error 1
make[3]: *** Waiting for unfinished jobs....
checking for strtoul... checking for sys/stat.h... yes
yes
/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/complete.c:1003:23: warning:
      using the result of an assignment as a condition without parentheses [-Wparentheses]
      while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/complete.c:1003:23: note:
      place parentheses around the assignment to silence this warning
      while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
                      ^
             (                                                             )
/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/complete.c:1003:23: note:
      use '==' to turn this assignment into an equality comparison
      while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
                      ^
                      ==
/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/complete.c:2011:17: warning:
      using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (string = (*entry_function) (text, matches))
         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/complete.c:2011:17: note:
      place parentheses around the assignment to silence this warning
  while (string = (*entry_function) (text, matches))
                ^
         (                                         )
/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/complete.c:2011:17: note:
      use '==' to turn this assignment into an equality comparison
  while (string = (*entry_function) (text, matches))
                ^
                ==
/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/complete.c:2064:16: warning:
      using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (entry = getpwent ())
         ~~~~~~^~~~~~~~~~~~~
/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/complete.c:2064:16: note:
      place parentheses around the assignment to silence this warning
  while (entry = getpwent ())
               ^
         (                  )
/Users/tommyjtl/Documents/CocoRobo/Software/experiments/kendryte-gnu-toolchain/riscv-binutils-gdb/readline/complete.c:2064:16: note:
      use '==' to turn this assignment into an equality comparison
  while (entry = getpwent ())
               ^
               ==
yes
checking for string.h... checking for sys/stat.h... yes
checking for stdlib.h... checking for sys/types.h... yes
yes
yes
checking for strtoll... checking for memory.h... yes
yes
checking for stdlib.h... 3 warnings generated.
checking for string.h... checking for sys/stat.h... make[2]: *** [all-readline] Error 2
make[2]: *** Waiting for unfinished jobs....
yes
yes
yes
yes
yes
checking for strings.h... checking for string.h... checking for memory.h... checking for strtoull... checking for stdlib.h... yes
yes
checking for inttypes.h... checking for memory.h... yes
yes
checking for string.h... checking for strings.h... yes
yes
yes
checking for stdint.h... checking for strverscmp... checking for strings.h... yes
yes
checking for inttypes.h... checking for memory.h... yes
yes
checking for inttypes.h... no
checking for unistd.h... checking for tmpnam... yes
yes
checking for stdint.h... yes
checking for strings.h... yes
checking minix/config.h usability... checking for stdint.h... yes
yes
yes
checking for vasprintf... yes
checking for unistd.h... checking for inttypes.h... no
checking minix/config.h presence... checking for unistd.h... yes
yes
no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
yes
checking minix/config.h usability... checking for stdint.h... checking minix/config.h usability... checking for vfprintf... yes
checking how to print strings... yes
printf
checking for a sed that does not truncate output... /usr/local/bin/gsed
no
checking minix/config.h presence... checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... no
checking minix/config.h presence... checking for unistd.h... yes
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... checking for vprintf... yes
no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... checking minix/config.h usability... no
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... yes
checking how to print strings... yes
printf
checking for a sed that does not truncate output... checking how to print strings... /usr/local/bin/gsed
printf
checking for a sed that does not truncate output... checking for fgrep... /usr/bin/grep -F
/usr/local/bin/gsed
checking for ld used by gcc... checking for fgrep... yes
no
checking minix/config.h presence... /usr/bin/grep -F
checking for ld used by gcc... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786432
checking whether the shell understands some XSI constructs... checking for vsnprintf... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... yes
checking whether the shell understands "+="... yes
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... no
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for x86_64-apple-darwin20.3.0-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-apple-darwin20.3.0-ar... ar
checking for x86_64-apple-darwin20.3.0-strip... no
checking for strip... strip
checking for x86_64-apple-darwin20.3.0-ranlib... ranlib
checking command to parse nm output from gcc object... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking how to print strings... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... printf
checking for a sed that does not truncate output... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... /usr/local/bin/gsed
yes
checking for fgrep... 786432
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... /usr/bin/grep -F
checking for ld used by gcc... yes
786432
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for vsprintf... checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for x86_64-apple-darwin20.3.0-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-apple-darwin20.3.0-ar... ar
checking for x86_64-apple-darwin20.3.0-strip... no
checking for strip... strip
checking for x86_64-apple-darwin20.3.0-ranlib... ranlib
checking command to parse nm output from gcc object... checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for x86_64-apple-darwin20.3.0-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-apple-darwin20.3.0-ar... ar
checking for x86_64-apple-darwin20.3.0-strip... no
checking for strip... strip
checking for x86_64-apple-darwin20.3.0-ranlib... ranlib
checking command to parse nm output from gcc object... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... yes
BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... checking for waitpid... 786432
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
ok
checking for x86_64-apple-darwin20.3.0-dsymutil... no
checking for dsymutil... dsymutil
checking for x86_64-apple-darwin20.3.0-nmedit... no
checking for nmedit... nmedit
checking for x86_64-apple-darwin20.3.0-lipo... no
checking for lipo... lipo
checking for x86_64-apple-darwin20.3.0-otool... checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for x86_64-apple-darwin20.3.0-objdump... objdump
no
checking for otool... checking how to recognize dependent libraries... pass_all
otool
checking for x86_64-apple-darwin20.3.0-ar... ar
checking for x86_64-apple-darwin20.3.0-otool64... checking for x86_64-apple-darwin20.3.0-strip... no
checking for otool64... no
checking for strip... no
checking for -single_module linker flag... strip
checking for x86_64-apple-darwin20.3.0-ranlib... ranlib
checking command to parse nm output from gcc object... yes
yes
checking for -exported_symbols_list linker flag... checking for setproctitle... ok
checking for x86_64-apple-darwin20.3.0-dsymutil... ok
no
checking for dsymutil... dsymutil
checking for x86_64-apple-darwin20.3.0-nmedit... checking for x86_64-apple-darwin20.3.0-dsymutil... no
no
checking for dsymutil... checking for nmedit... nmedit
checking for x86_64-apple-darwin20.3.0-lipo... dsymutil
checking for x86_64-apple-darwin20.3.0-nmedit... no
checking for lipo... lipo
no
checking for x86_64-apple-darwin20.3.0-otool... checking for nmedit... nmedit
checking for x86_64-apple-darwin20.3.0-lipo... no
checking for otool... otool
no
checking for x86_64-apple-darwin20.3.0-otool64... checking for lipo... lipo
checking for x86_64-apple-darwin20.3.0-otool... no
checking for otool64... no
checking for -single_module linker flag... no
checking for otool... otool
checking for x86_64-apple-darwin20.3.0-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
checking for -force_load linker flag... no
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... yes
checking for -exported_symbols_list linker flag... yes
checking for -exported_symbols_list linker flag... -1
checking for vfork.h... ok
checking for x86_64-apple-darwin20.3.0-dsymutil... no
checking for dsymutil... dsymutil
checking for x86_64-apple-darwin20.3.0-nmedit... no
checking for nmedit... nmedit
checking for x86_64-apple-darwin20.3.0-lipo... no
checking for lipo... lipo
checking for x86_64-apple-darwin20.3.0-otool... no
checking for otool... otool
checking for x86_64-apple-darwin20.3.0-otool64... no
checking for otool64... no
checking for -single_module linker flag... no
checking for dlfcn.h... yes
checking for -force_load linker flag... yes
checking for -force_load linker flag... yes
no
checking for objdir... yes
checking for fork... checking for -exported_symbols_list linker flag... .libs
no
checking for dlfcn.h... yes
checking for -force_load linker flag... yes
no
checking for dlfcn.h... checking for vfork... yes
yes
checking for objdir... checking for objdir... checking if gcc supports -fno-rtti -fno-exceptions... .libs
.libs
yes
yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... no
checking for dlfcn.h... checking for working fork... yes
checking for objdir... checking if gcc supports -fno-rtti -fno-exceptions... checking if gcc supports -fno-rtti -fno-exceptions... yes
checking if gcc static flag -static works... .libs
no
checking if gcc supports -c -o file.o... yes
yes
checking for gcc option to produce PIC... checking for gcc option to produce PIC... -fno-common -DPIC
-fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... checking if gcc PIC flag -fno-common -DPIC works... checking if gcc supports -fno-rtti -fno-exceptions... yes
checking if gcc static flag -static works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... yes
checking for working vfork... (cached) yes
checking for _doprnt... no
checking if gcc supports -c -o file.o... no
checking if gcc supports -c -o file.o... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... darwin20.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for dlfcn.h... (cached) yes
checking for windows.h... no
checking for sys_errlist... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... no
no
checking if gcc supports -c -o file.o... checking for library containing dlsym... yes
checking for sys_nerr... darwin20.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... darwin20.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for dlfcn.h... (cached) yes
yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for dlfcn.h... (cached) yes
checking for windows.h... checking for windows.h... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... yes
checking for sys_siglist... no
no
checking for library containing dlsym... no
checking for library containing dlsym... darwin20.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
yes
checking for external symbol _system_configuration... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... checking how to run the C++ preprocessor... 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 how to compare bootstrapped objects... no
no
checking for setmode... checking for __fsetlocking... cmp --ignore-initial=16 $$f1 $$f2
g++ -E
Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow
checking for bison... bison -y
checking for flex... flex
yes
checking whether NLS is requested... yes
checking for catalogs to be installed... no
checking lex output file root... lex.yy
checking lex library... checking for canonicalize_file_name... no
Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow
checking whether byte ordering is bigendian... checking for dup3... checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
no
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking for getrlimit... no
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking for getrusage... yes
checking if g++ static flag -static works... checking for bison... bison -y
checking for flex... flex
 bg da de eo es fi fr ga hu id it ja ms nl pt_BR ro ru rw sr sv tr uk vi
checking whether NLS is requested... yes
checking lex output file root... lex.yy
checking lex library... no
checking if g++ supports -c -o file.o... checking for msgfmt... yes
/usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for getsysinfo... checking for msgmerge... /usr/local/bin/msgmerge
yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking for dlfcn.h... (cached) yes
checking for windows.h... checking whether to enable maintainer-specific portions of Makefiles... no
checking sys/gmon_out.h usability... -ll
checking whether yytext is a pointer... no
checking for gettimeofday... (cached) yes
no
checking sys/gmon_out.h presence... no
checking for library containing dlsym... checking for on_exit... no
checking for sys/gmon_out.h... no
checking for a known getopt prototype in unistd.h... 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 psignal... yes
checking for library containing fabs... yes
no
checking whether NLS is requested... yes
checking for catalogs to be installed... yes
none required
checking for pstat_getdynamic... no
checking for pstat_getstatic... -ll
checking whether yytext is a pointer... Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow
checking for LC_MESSAGES... no
yes
checking whether NLS is requested... yes
checking for catalogs to be installed... checking for realpath... Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
yes
yes
checking whether NLS is requested... yes
checking for catalogs to be installed... checking for setrlimit...  bg ca da es fi fr hr id it ja pt ro ru rw sk sr sv tr uk vi zh_CN zh_TW
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
yes
checking for msgmerge... /usr/local/bin/msgmerge
checking for sbrk... checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-apple-darwin20.3.0-ranlib... (cached) ranlib
checking size of long... yes
 es fi fr id ja ru rw sv tr uk zh_CN
checking for spawnve... checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
 bg da de es fi fr ga id it ja pt_BR ru sr sv tr uk vi zh_CN zh_TW
checking whether NLS is requested... yes
checking for msgmerge... /usr/local/bin/msgmerge
checking for msgfmt... no
/usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for spawnvpe... 8
checking for long long... checking whether to enable maintainer-specific portions of Makefiles... no
checking for xgettext... /usr/local/bin/xgettext
checking for string.h... (cached) yes
checking for msgmerge... /usr/local/bin/msgmerge
checking for stdlib.h... (cached) yes
checking for memory.h... (cached) yes
checking for bison... bison -y
checking for flex... flex
no
checking for strerror... checking for strings.h... (cached) yes
checking lex output file root... lex.yy
checking lex library... checking for unistd.h... (cached) yes
yes
checking size of long long... checking errno.h usability... yes
checking for strsignal... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for sys/types.h... (cached) yes
yes
checking limits.h usability... checking for sysconf... 8
checking for string.h... (cached) yes
yes
checking limits.h presence... checking for strings.h... (cached) yes
yes
yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for sysctl... checking locale.h usability... checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking locale.h presence... yes
yes
checking fcntl.h presence... checking for sysmp... yes
checking for locale.h... yes
checking time.h usability... yes
checking for fcntl.h... yes
checking sys/file.h usability... yes
checking time.h presence... no
-ll
checking whether yytext is a pointer... checking for table... yes
checking sys/file.h presence... yes
checking for time.h... yes
checking for sys/stat.h... (cached) yes
yes
checking for sys/file.h... yes
checking whether string.h and strings.h may both be included... checking limits.h usability... no
checking for times... yes
checking whether compiling a cross-assembler... yes
checking for size_t... yes
checking limits.h presence... yes
checking for limits.h... yes
yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to compare bootstrapped objects... yes
checking locale.h usability... cmp --ignore-initial=16 $$f1 $$f2
checking for wait3... checking for string.h... (cached) yes
yes
checking for working alloca.h... yes
checking locale.h presence... checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
yes
checking for locale.h... yes
yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking for alloca... checking for wait4... checking elf-hints.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
no
checking elf-hints.h presence... yes
checking for inline... yes
checking wchar.h usability... inline
checking whether basename is declared... no
checking for elf-hints.h... checking for unlink... no
checking limits.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking limits.h presence... yes
checking whether ffs is declared... yes
checking for limits.h... yes
checking for sbrk... yes
checking whether string.h and strings.h may both be included... checking locale.h usability... yes
checking whether asprintf is declared... yes
checking for size_t... yes
checking locale.h presence... yes
checking for setlocale... yes
checking for locale.h... yes
yes
checking whether vasprintf is declared... checking sys/param.h usability... yes
checking for working alloca.h... yes
yes
checking sys/param.h presence... yes
checking for strsignal... checking whether snprintf is declared... yes
checking for sys/param.h... yes
config.status: creating Makefile
yes
checking for alloca... checking fcntl.h usability... yes
yes
checking for LC_MESSAGES... checking whether vsnprintf is declared... config.status: creating po/Makefile.in
yes
checking fcntl.h presence... yes
checking for sbrk... yes
yes
checking for fcntl.h... yes
config.status: creating gconfig.h
yes
checking for working assert macro... checking whether calloc is declared... checking sys/file.h usability... config.status: executing depfiles commands
yes
yes
no
checking whether declaration is required for errno... yes
checking sys/file.h presence... checking for utimes... checking whether getenv is declared... yes
checking for sys/file.h... yes
yes
checking sys/time.h usability... no
checking for a known getopt prototype in unistd.h... yes
checking whether getopt is declared... checking for setmode... yes
checking whether declaration is required for environ... yes
checking sys/time.h presence... yes
yes
checking for sys/time.h... yes
checking whether malloc is declared... yes
checking for sys/stat.h... (cached) yes
yes
checking whether declaration is required for ffs... config.status: executing libtool commands
checking whether string.h and strings.h may both be included... checking for getc_unlocked... yes
checking whether realloc is declared... yes
config.status: executing default-1 commands
checking for glob... no
checking whether declaration is required for free... yes
config.status: creating po/POTFILES
yes
config.status: creating po/Makefile
checking for strcoll... checking whether sbrk is declared... yes
no
checking whether declaration is required for malloc... checking for mkstemp... yes
yes
checking for setlocale... checking whether strtol is declared... no
checking whether declaration is required for sbrk... yes
yes
checking for realpath... checking whether strtoul is declared... yes
checking for mkstemp... no
checking whether declaration is required for strstr... yes
yes
checking whether strtoll is declared... checking for sbrk... yes
checking for mkdtemp... no
yes
checking whether free is declared... checking whether strtoull is declared... yes
yes
checking for mbstate_t... checking for setlocale... yes
yes
checking whether getenv is declared... yes
checking for library containing frexp... checking whether strverscmp is declared... yes
yes
checking for waitpid... no
checking whether malloc is declared... checking whether strnlen is declared... none required
checking for LC_MESSAGES... yes
yes
yes
checking whether canonicalize_file_name must be declared... checking whether mempcpy is declared... yes
checking for time_t in time.h... checking for open... yes
checking for time_t in sys/types.h... no
yes
checking for stdlib.h... (cached) yes
checking whether realloc is declared... yes
checking for unistd.h... (cached) yes
yes
checking for a known getopt prototype in unistd.h... checking for lseek... checking for sys/param.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking whether stpcpy is declared... yes
checking for utime.h... yes
checking for close... yes
yes
checking whether asprintf is declared... checking whether strstr is declared... yes
yes
yes
checking whether environ is declared... checking whether vsnprintf is declared... checking for dirent.h that defines DIR... yes
yes
checking for working strncmp... yes
no
checking for library containing opendir... checking whether asprintf is declared... checking whether fprintf is declared... no
yes
checking for struct tm.tm_gmtoff in time.h... yes
configure: updating cache ./config.cache
checking whether getc_unlocked is declared... none required
checking for stdlib.h... (cached) yes
yes
checking for struct stat.st_mtim.tv_sec in sys/stat.h... checking for unistd.h... (cached) yes
configure: creating ./config.status
yes
checking for sys/param.h... (cached) yes
checking whether getenv is declared... checking for getpagesize... no
checking for struct stat.st_mtim.tv_nsec in sys/stat.h... yes
checking whether sbrk is declared... no
yes
checking for working mmap... configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
yes
checking whether snprintf is declared... yes
checking whether stpcpy is declared... yes
yes
config.status: creating Makefile
checking for library containing dlopen... checking whether strnlen is declared... config.status: creating testsuite/Makefile
yes
none required
checking for a known getopt prototype in unistd.h... checking whether strstr is declared... config.status: creating config.h
yes
yes
checking whether strstr is declared... config.status: executing default commands
checking whether vsnprintf is declared... yes
yes
checking iconv.h usability... checking whether free is declared... yes
checking iconv.h presence... yes
checking whether sbrk is declared... yes
checking for iconv.h... yes
checking for ld used by GCC... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... yes
checking whether getenv is declared... done
checking for iconv... yes
checking whether environ is declared... no
checking whether ANSI C string concatenation works... yes
checking size of void *... yes
checking how to link with libiconv... -liconv
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
8
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating .gdbinit
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: executing libtool commands
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing depfiles commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing default commands
make[1]: *** [all] Error 2
make: *** [stamps/build-binutils-newlib] Error 2
(base) tommyjtl:kendryte-gnu-toolchain tommyjtl$
zhen8838 commented 3 years ago

@tommyjtl I build it from a source on mac m1. blog in here

zhen8838 commented 3 years ago

google drive link

sunnycase commented 3 years ago

You can also download prebuilt binary from https://github.com/kendryte/kendryte-gnu-toolchain/releases/download/v8.2.0-20190409/kendryte-toolchain-osx-darwin-m1-8.2.0-20210717.tar.xz

tommyjtl commented 2 years ago

@zhen8838 @sunnycase Thank you all very much.