CXXLD test/test_bitcoin failed with collect2: error: ld returned 1 exit status on aarch64 #8276

issue ayeowch opened this issue on June 27, 2016
  1. ayeowch commented at 11:02 PM on June 27, 2016: contributor

    Build on aarch64 failed with the error below:

      CXXLD    test/test_bitcoin
    collect2: error: ld returned 1 exit status
    Makefile:3509: recipe for target 'test/test_bitcoin' failed
    make[2]: *** [test/test_bitcoin] Error 1
    

    System info:

    odroid@odroid-c2:~/bitcoin$ uname -a
    Linux odroid-c2 3.14.29-56 [#1](/bitcoin-bitcoin/1/) SMP PREEMPT Wed Apr 20 12:15:54 BRT 2016 aarch64 aarch64 aarch64 GNU/Linux
    
    odroid@odroid-c2:~/bitcoin$ cat /etc/os-release 
    NAME="Ubuntu"
    VERSION="16.04 LTS (Xenial Xerus)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 16.04 LTS"
    VERSION_ID="16.04"
    HOME_URL="http://www.ubuntu.com/"
    SUPPORT_URL="http://help.ubuntu.com/"
    BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
    UBUNTU_CODENAME=xenial
    

    Full build output:

    odroid@odroid-c2:~/bitcoin$ git clean -f -d -x && \
        ./autogen.sh && \
        ./configure --without-gui --without-miniupnpc --disable-wallet && \
        make
    libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
    libtoolize: copying file 'build-aux/ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
    libtoolize: copying file 'build-aux/m4/libtool.m4'
    libtoolize: copying file 'build-aux/m4/ltoptions.m4'
    libtoolize: copying file 'build-aux/m4/ltsugar.m4'
    libtoolize: copying file 'build-aux/m4/ltversion.m4'
    libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
    configure.ac:45: installing 'build-aux/compile'
    configure.ac:45: installing 'build-aux/config.guess'
    configure.ac:45: installing 'build-aux/config.sub'
    configure.ac:28: installing 'build-aux/install-sh'
    configure.ac:28: installing 'build-aux/missing'
    Makefile.am: installing 'build-aux/depcomp'
    parallel-tests: installing 'build-aux/test-driver'
    libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
    libtoolize: copying file 'build-aux/ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
    libtoolize: copying file 'build-aux/m4/libtool.m4'
    libtoolize: copying file 'build-aux/m4/ltoptions.m4'
    libtoolize: copying file 'build-aux/m4/ltsugar.m4'
    libtoolize: copying file 'build-aux/m4/ltversion.m4'
    libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
    configure.ac:10: installing 'build-aux/compile'
    configure.ac:5: installing 'build-aux/config.guess'
    configure.ac:5: installing 'build-aux/config.sub'
    configure.ac:9: installing 'build-aux/install-sh'
    configure.ac:9: installing 'build-aux/missing'
    Makefile.am: installing 'build-aux/depcomp'
    parallel-tests: installing 'build-aux/test-driver'
    libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
    libtoolize: copying file 'build-aux/ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
    libtoolize: copying file 'build-aux/m4/libtool.m4'
    libtoolize: copying file 'build-aux/m4/ltoptions.m4'
    libtoolize: copying file 'build-aux/m4/ltsugar.m4'
    libtoolize: copying file 'build-aux/m4/ltversion.m4'
    libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
    configure.ac:61: installing 'build-aux/compile'
    configure.ac:22: installing 'build-aux/config.guess'
    configure.ac:22: installing 'build-aux/config.sub'
    configure.ac:32: installing 'build-aux/install-sh'
    configure.ac:32: installing 'build-aux/missing'
    Makefile.am:5: warning: user variable 'GZIP_ENV' defined here ...
    /usr/share/automake-1.15/am/distdir.am: ... overrides Automake variable 'GZIP_ENV' defined here
    src/Makefile.am: installing 'build-aux/depcomp'
    src/Makefile.am:454: warning: user target '.mm.o' defined here ...
    /usr/share/automake-1.15/am/depend2.am: ... overrides Automake target '.mm.o' defined here
    parallel-tests: installing 'build-aux/test-driver'
    checking build system type... aarch64-unknown-linux-gnu
    checking host system type... aarch64-unknown-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking whether make supports nested variables... (cached) yes
    checking for g++... g++
    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 g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking for g++... g++
    checking whether we are using the GNU Objective C++ compiler... no
    checking whether g++ accepts -g... no
    checking dependency style of g++... gcc3
    checking whether g++ supports C++11 features by default... no
    checking whether g++ supports C++11 features with -std=c++11... yes
    checking how to print strings... printf
    checking for gcc... gcc
    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 whether gcc understands -c and -o together... yes
    checking dependency style of gcc... gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver [@FILE](/bitcoin-bitcoin/contributor/file/) support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for a working dd... /bin/dd
    checking how to truncate binary pipes... /bin/dd bs=4096 count=1
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    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 how to run the C++ preprocessor... g++ -std=c++11 -E
    checking for ld used by g++ -std=c++11... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ -std=c++11 linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ -std=c++11 option to produce PIC... -fPIC -DPIC
    checking if g++ -std=c++11 PIC flag -fPIC -DPIC works... yes
    checking if g++ -std=c++11 static flag -static works... yes
    checking if g++ -std=c++11 supports -c -o file.o... yes
    checking if g++ -std=c++11 supports -c -o file.o... (cached) yes
    checking whether the g++ -std=c++11 linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for ar... /usr/bin/ar
    checking for ranlib... /usr/bin/ranlib
    checking for strip... /usr/bin/strip
    checking for gcov... /usr/bin/gcov
    checking for lcov... no
    checking for java... /usr/bin/java
    checking for python3... /usr/bin/python3
    checking for genhtml... no
    checking for git... /usr/bin/git
    checking for ccache... no
    checking for xgettext... /usr/bin/xgettext
    checking for hexdump... /usr/bin/hexdump
    checking for readelf... /usr/bin/readelf
    checking for c++filt... /usr/bin/c++filt
    checking for objcopy... /usr/bin/objcopy
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking whether C++ compiler accepts -Werror... yes
    checking whether C++ compiler accepts -Wall... yes
    checking whether C++ compiler accepts -Wextra... yes
    checking whether C++ compiler accepts -Wformat... yes
    checking whether C++ compiler accepts -Wformat-security... yes
    checking whether C++ compiler accepts -Wunused-parameter... yes
    checking whether C++ compiler accepts -Wself-assign... no
    checking whether C++ compiler accepts -Wunused-local-typedef... no
    checking whether C++ compiler accepts -Wdeprecated-register... no
    checking whether byte ordering is bigendian... no
    checking whether gcc is Clang... no
    checking whether pthreads work with -pthread... yes
    checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
    checking whether more special flags are required for pthreads... no
    checking for PTHREAD_PRIO_INHERIT... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking whether strerror_r is declared... yes
    checking for strerror_r... yes
    checking whether strerror_r returns char *... yes
    checking whether the linker accepts -Wl,--large-address-aware... no
    checking for __attribute__((visibility))... yes
    checking for __attribute__((dllexport))... no
    checking for __attribute__((dllimport))... no
    checking for library containing clock_gettime... none required
    checking whether C++ compiler accepts -fPIC... yes
    checking whether C++ compiler accepts -Wstack-protector... yes
    checking whether C++ compiler accepts -fstack-protector-all... yes
    checking whether C++ preprocessor accepts -D_FORTIFY_SOURCE=2... yes
    checking whether C++ preprocessor accepts -U_FORTIFY_SOURCE... yes
    checking whether the linker accepts -Wl,--dynamicbase... no
    checking whether the linker accepts -Wl,--nxcompat... no
    checking whether the linker accepts -Wl,-z,relro... yes
    checking whether the linker accepts -Wl,-z,now... yes
    checking whether C++ compiler accepts -fPIE... yes
    checking whether the linker accepts -pie... yes
    checking endian.h usability... yes
    checking endian.h presence... yes
    checking for endian.h... yes
    checking sys/endian.h usability... no
    checking sys/endian.h presence... no
    checking for sys/endian.h... no
    checking byteswap.h usability... yes
    checking byteswap.h presence... yes
    checking for byteswap.h... yes
    checking stdio.h usability... yes
    checking stdio.h presence... yes
    checking for stdio.h... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for sys/types.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking sys/select.h usability... yes
    checking sys/select.h presence... yes
    checking for sys/select.h... yes
    checking sys/prctl.h usability... yes
    checking sys/prctl.h presence... yes
    checking for sys/prctl.h... yes
    checking for library containing getaddrinfo_a... -lanl
    checking for library containing inet_pton... none required
    checking whether strnlen is declared... yes
    checking whether le16toh is declared... yes
    checking whether le32toh is declared... yes
    checking whether le64toh is declared... yes
    checking whether htole16 is declared... yes
    checking whether htole32 is declared... yes
    checking whether htole64 is declared... yes
    checking whether be16toh is declared... yes
    checking whether be32toh is declared... yes
    checking whether be64toh is declared... yes
    checking whether htobe16 is declared... yes
    checking whether htobe32 is declared... yes
    checking whether htobe64 is declared... yes
    checking whether bswap_16 is declared... yes
    checking whether bswap_32 is declared... yes
    checking whether bswap_64 is declared... yes
    checking for MSG_NOSIGNAL... yes
    checking for visibility attribute... yes
    checking whether to build Bitcoin Core GUI... no (Qt)
    checking for boostlib >= 1.20.0... yes
    checking whether the Boost::System library is available... yes
    checking for exit in -lboost_system... yes
    checking whether the Boost::Filesystem library is available... yes
    checking for exit in -lboost_filesystem... yes
    checking whether the Boost::Program_Options library is available... yes
    checking for exit in -lboost_program_options... yes
    checking whether the Boost::Thread library is available... yes
    checking for exit in -lboost_thread... yes
    checking whether the Boost::Chrono library is available... yes
    checking for exit in -lboost_chrono... yes
    checking whether the Boost::Unit_Test_Framework library is available... yes
    checking for dynamic linked boost test... yes
    checking for mismatched boost c++11 scoped enums... ok
    checking for SSL... yes
    checking for CRYPTO... yes
    checking for EVENT... yes
    checking for EVENT_PTHREADS... yes
    checking for ZMQ... no
    configure: WARNING: libzmq version 4.x or greater not found, disabling
    checking openssl/ec.h usability... yes
    checking openssl/ec.h presence... yes
    checking for openssl/ec.h... yes
    checking whether to build bitcoind... yes
    checking whether to build utils (bitcoin-cli bitcoin-tx)... yes
    checking whether to build libraries... yes
    checking if ccache should be used... no
    checking if wallet should be enabled... no
    checking whether to build with support for UPnP... no
    checking whether to build test_bitcoin... yes
    checking whether to reduce exports... no
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating libbitcoinconsensus.pc
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating share/setup.nsi
    config.status: creating share/qt/Info.plist
    config.status: creating src/test/buildenv.py
    config.status: creating qa/pull-tester/run-bitcoind-for-test.sh
    config.status: creating qa/pull-tester/tests_config.py
    config.status: creating contrib/devtools/split-debug.sh
    config.status: creating src/config/bitcoin-config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    === configuring in src/univalue (/home/odroid/bitcoin/src/univalue)
    configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--without-gui' '--without-miniupnpc' '--disable-wallet' '--disable-shared' '--with-pic' '--with-bignum=no' '--enable-module-recovery' --cache-file=/dev/null --srcdir=.
    checking whether make supports nested variables... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking build system type... aarch64-unknown-linux-gnu
    checking host system type... aarch64-unknown-linux-gnu
    checking how to print strings... printf
    checking for style of include used by make... GNU
    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 whether gcc understands -c and -o together... yes
    checking dependency style of gcc... gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver [@FILE](/bitcoin-bitcoin/contributor/file/) support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for a working dd... /bin/dd
    checking how to truncate binary pipes... /bin/dd bs=4096 count=1
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    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... no
    checking whether to build static libraries... yes
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating pc/libunivalue.pc
    config.status: creating pc/libunivalue-uninstalled.pc
    config.status: creating univalue-config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    === configuring in src/secp256k1 (/home/odroid/bitcoin/src/secp256k1)
    configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--without-gui' '--without-miniupnpc' '--disable-wallet' '--disable-shared' '--with-pic' '--with-bignum=no' '--enable-module-recovery' --cache-file=/dev/null --srcdir=.
    checking build system type... aarch64-unknown-linux-gnu
    checking host system type... aarch64-unknown-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking how to print strings... printf
    checking for style of include used by make... GNU
    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 whether gcc understands -c and -o together... yes
    checking dependency style of gcc... gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver [@FILE](/bitcoin-bitcoin/contributor/file/) support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for a working dd... /bin/dd
    checking how to truncate binary pipes... /bin/dd bs=4096 count=1
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    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... no
    checking whether to build static libraries... yes
    checking whether make supports nested variables... (cached) yes
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for ar... /usr/bin/ar
    checking for ranlib... /usr/bin/ranlib
    checking for strip... /usr/bin/strip
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking whether gcc understands -c and -o together... (cached) yes
    checking dependency style of gcc... (cached) gcc3
    checking how to run the C preprocessor... gcc -E
    checking for gcc option to accept ISO C89... (cached) none needed
    checking if gcc supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings... yes
    checking if gcc supports -fvisibility=hidden... yes
    checking for __int128... yes
    checking for __builtin_expect... yes
    checking for x86_64 assembly availability... no
    checking for CRYPTO... yes
    checking for main in -lcrypto... yes
    checking for EC functions in libcrypto... yes
    checking whether byte ordering is bigendian... no
    configure: Using assembly optimizations: no
    configure: Using field implementation: 64bit
    configure: Using bignum implementation: no
    configure: Using scalar implementation: 64bit
    configure: Using endomorphism optimizations: no
    configure: Building ECDH module: no
    configure: Building Schnorr signatures module: no
    configure: Building ECDSA pubkey recovery module: yes
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating libsecp256k1.pc
    config.status: creating src/libsecp256k1-config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    Fixing libtool for -rpath problems.
    Making all in src
    make[1]: Entering directory '/home/odroid/bitcoin/src'
    make[2]: Entering directory '/home/odroid/bitcoin/src'
      CXX      crypto/libbitcoinconsensus_la-aes.lo
      CXX      crypto/libbitcoinconsensus_la-hmac_sha256.lo
      CXX      crypto/libbitcoinconsensus_la-hmac_sha512.lo
      CXX      crypto/libbitcoinconsensus_la-ripemd160.lo
      CXX      crypto/libbitcoinconsensus_la-sha1.lo
      CXX      crypto/libbitcoinconsensus_la-sha256.lo
      CXX      crypto/libbitcoinconsensus_la-sha512.lo
      CXX      libbitcoinconsensus_la-arith_uint256.lo
      CXX      consensus/libbitcoinconsensus_la-merkle.lo
      CXX      libbitcoinconsensus_la-hash.lo
      CXX      primitives/libbitcoinconsensus_la-block.lo
      CXX      primitives/libbitcoinconsensus_la-transaction.lo
      CXX      libbitcoinconsensus_la-pubkey.lo
      CXX      script/libbitcoinconsensus_la-bitcoinconsensus.lo
      CXX      script/libbitcoinconsensus_la-interpreter.lo
      CXX      script/libbitcoinconsensus_la-script.lo
      CXX      script/libbitcoinconsensus_la-script_error.lo
      CXX      libbitcoinconsensus_la-uint256.lo
      CXX      libbitcoinconsensus_la-utilstrencodings.lo
    make[3]: Entering directory '/home/odroid/bitcoin/src/secp256k1'
    gcc -I. -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o
    gcc gen_context.o -o gen_context
    ./gen_context
      CC       src/libsecp256k1_la-secp256k1.lo
      CCLD     libsecp256k1.la
    /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
    make[3]: Leaving directory '/home/odroid/bitcoin/src/secp256k1'
      CXXLD    libbitcoinconsensus.la
    /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
      CXX      bitcoind-bitcoind.o
      CXX      libbitcoin_server_a-addrman.o
      CXX      libbitcoin_server_a-bloom.o
      CXX      libbitcoin_server_a-blockencodings.o
      CXX      libbitcoin_server_a-chain.o
      CXX      libbitcoin_server_a-checkpoints.o
      CXX      libbitcoin_server_a-httprpc.o
      CXX      libbitcoin_server_a-httpserver.o
      CXX      libbitcoin_server_a-init.o
      CXX      libbitcoin_server_a-dbwrapper.o
      CXX      libbitcoin_server_a-main.o
      CXX      libbitcoin_server_a-merkleblock.o
      CXX      libbitcoin_server_a-miner.o
      CXX      libbitcoin_server_a-net.o
      CXX      libbitcoin_server_a-noui.o
      CXX      policy/libbitcoin_server_a-fees.o
      CXX      policy/libbitcoin_server_a-policy.o
      CXX      libbitcoin_server_a-pow.o
      CXX      libbitcoin_server_a-rest.o
      CXX      rpc/libbitcoin_server_a-blockchain.o
      CXX      rpc/libbitcoin_server_a-mining.o
      CXX      rpc/libbitcoin_server_a-misc.o
      CXX      rpc/libbitcoin_server_a-net.o
      CXX      rpc/libbitcoin_server_a-rawtransaction.o
      CXX      rpc/libbitcoin_server_a-server.o
      CXX      script/libbitcoin_server_a-sigcache.o
      CXX      script/libbitcoin_server_a-ismine.o
      CXX      libbitcoin_server_a-timedata.o
      CXX      libbitcoin_server_a-torcontrol.o
      CXX      libbitcoin_server_a-txdb.o
      CXX      libbitcoin_server_a-txmempool.o
      CXX      libbitcoin_server_a-ui_interface.o
      CXX      libbitcoin_server_a-validationinterface.o
      CXX      libbitcoin_server_a-versionbits.o
      AR       libbitcoin_server.a
    /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
      CXX      libbitcoin_common_a-amount.o
      CXX      libbitcoin_common_a-base58.o
      CXX      libbitcoin_common_a-chainparams.o
      CXX      libbitcoin_common_a-coins.o
      CXX      libbitcoin_common_a-compressor.o
      CXX      libbitcoin_common_a-core_read.o
      CXX      libbitcoin_common_a-core_write.o
      CXX      libbitcoin_common_a-key.o
      CXX      libbitcoin_common_a-keystore.o
      CXX      libbitcoin_common_a-netbase.o
      CXX      libbitcoin_common_a-protocol.o
      CXX      libbitcoin_common_a-scheduler.o
      CXX      script/libbitcoin_common_a-sign.o
      CXX      script/libbitcoin_common_a-standard.o
      AR       libbitcoin_common.a
    /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
    make[3]: Entering directory '/home/odroid/bitcoin/src/univalue'
      CXX      lib/libunivalue_la-univalue.lo
      CXX      lib/libunivalue_la-univalue_read.lo
      CXX      lib/libunivalue_la-univalue_write.lo
      CXXLD    libunivalue.la
    ar: `u' modifier ignored since `D' is the default (see `U')
    make[3]: Leaving directory '/home/odroid/bitcoin/src/univalue'
      CXX      support/libbitcoin_util_a-pagelocker.o
      CXX      libbitcoin_util_a-chainparamsbase.o
      CXX      libbitcoin_util_a-clientversion.o
      CXX      compat/libbitcoin_util_a-glibc_sanity.o
      CXX      compat/libbitcoin_util_a-glibcxx_sanity.o
      CXX      compat/libbitcoin_util_a-strnlen.o
      CXX      libbitcoin_util_a-random.o
      CXX      rpc/libbitcoin_util_a-protocol.o
      CXX      support/libbitcoin_util_a-cleanse.o
      CXX      libbitcoin_util_a-sync.o
      CXX      libbitcoin_util_a-util.o
      CXX      libbitcoin_util_a-utilmoneystr.o
      CXX      libbitcoin_util_a-utilstrencodings.o
      CXX      libbitcoin_util_a-utiltime.o
      AR       libbitcoin_util.a
    /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
      CXX      libbitcoin_consensus_a-arith_uint256.o
      CXX      consensus/libbitcoin_consensus_a-merkle.o
      CXX      libbitcoin_consensus_a-hash.o
      CXX      primitives/libbitcoin_consensus_a-block.o
      CXX      primitives/libbitcoin_consensus_a-transaction.o
      CXX      libbitcoin_consensus_a-pubkey.o
      CXX      script/libbitcoin_consensus_a-bitcoinconsensus.o
      CXX      script/libbitcoin_consensus_a-interpreter.o
      CXX      script/libbitcoin_consensus_a-script.o
      CXX      script/libbitcoin_consensus_a-script_error.o
      CXX      libbitcoin_consensus_a-uint256.o
      CXX      libbitcoin_consensus_a-utilstrencodings.o
      AR       libbitcoin_consensus.a
    /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
      CXX      crypto/crypto_libbitcoin_crypto_a-aes.o
      CXX      crypto/crypto_libbitcoin_crypto_a-hmac_sha256.o
      CXX      crypto/crypto_libbitcoin_crypto_a-hmac_sha512.o
      CXX      crypto/crypto_libbitcoin_crypto_a-ripemd160.o
      CXX      crypto/crypto_libbitcoin_crypto_a-sha1.o
      CXX      crypto/crypto_libbitcoin_crypto_a-sha256.o
      CXX      crypto/crypto_libbitcoin_crypto_a-sha512.o
      AR       crypto/libbitcoin_crypto.a
    /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
      CXX      leveldb/db/leveldb_libleveldb_a-builder.o
      CXX      leveldb/db/leveldb_libleveldb_a-c.o
      CXX      leveldb/db/leveldb_libleveldb_a-dbformat.o
      CXX      leveldb/db/leveldb_libleveldb_a-db_impl.o
      CXX      leveldb/db/leveldb_libleveldb_a-db_iter.o
      CXX      leveldb/db/leveldb_libleveldb_a-dumpfile.o
      CXX      leveldb/db/leveldb_libleveldb_a-filename.o
      CXX      leveldb/db/leveldb_libleveldb_a-log_reader.o
      CXX      leveldb/db/leveldb_libleveldb_a-log_writer.o
      CXX      leveldb/db/leveldb_libleveldb_a-memtable.o
    In file included from ./leveldb/util/arena.h:9:0,
                     from ./leveldb/db/skiplist.h:33,
                     from ./leveldb/db/memtable.h:11,
                     from leveldb/db/memtable.cc:5:
    leveldb/db/memtable.cc: In member function ‘void leveldb::MemTable::Add(leveldb::SequenceNumber, leveldb::ValueType, const leveldb::Slice&, const leveldb::Slice&)’:
    leveldb/db/memtable.cc:104:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       assert((p + val_size) - buf == encoded_len);
                                   ^
      CXX      leveldb/db/leveldb_libleveldb_a-repair.o
      CXX      leveldb/db/leveldb_libleveldb_a-table_cache.o
      CXX      leveldb/db/leveldb_libleveldb_a-version_edit.o
      CXX      leveldb/db/leveldb_libleveldb_a-version_set.o
      CXX      leveldb/db/leveldb_libleveldb_a-write_batch.o
      CXX      leveldb/table/leveldb_libleveldb_a-block_builder.o
      CXX      leveldb/table/leveldb_libleveldb_a-block.o
      CXX      leveldb/table/leveldb_libleveldb_a-filter_block.o
      CXX      leveldb/table/leveldb_libleveldb_a-format.o
      CXX      leveldb/table/leveldb_libleveldb_a-iterator.o
      CXX      leveldb/table/leveldb_libleveldb_a-merger.o
      CXX      leveldb/table/leveldb_libleveldb_a-table_builder.o
      CXX      leveldb/table/leveldb_libleveldb_a-table.o
      CXX      leveldb/table/leveldb_libleveldb_a-two_level_iterator.o
      CXX      leveldb/util/leveldb_libleveldb_a-arena.o
      CXX      leveldb/util/leveldb_libleveldb_a-bloom.o
    leveldb/util/bloom.cc: In member function ‘virtual void leveldb::{anonymous}::BloomFilterPolicy::CreateFilter(const leveldb::Slice*, int, std::__cxx11::string*) const’:
    leveldb/util/bloom.cc:50:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (size_t i = 0; i < n; i++) {
                              ^
      CXX      leveldb/util/leveldb_libleveldb_a-cache.o
      CXX      leveldb/util/leveldb_libleveldb_a-coding.o
      CXX      leveldb/util/leveldb_libleveldb_a-comparator.o
      CXX      leveldb/util/leveldb_libleveldb_a-crc32c.o
      CXX      leveldb/util/leveldb_libleveldb_a-env.o
      CXX      leveldb/util/leveldb_libleveldb_a-env_posix.o
      CXX      leveldb/util/leveldb_libleveldb_a-env_win.o
      CXX      leveldb/util/leveldb_libleveldb_a-filter_policy.o
      CXX      leveldb/util/leveldb_libleveldb_a-hash.o
      CXX      leveldb/util/leveldb_libleveldb_a-histogram.o
      CXX      leveldb/util/leveldb_libleveldb_a-logging.o
    leveldb/util/logging.cc: In function ‘bool leveldb::ConsumeDecimalNumber(leveldb::Slice*, uint64_t*)’:
    leveldb/util/logging.cc:58:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
               (v == kMaxUint64/10 && delta > kMaxUint64%10)) {
                                            ^
      CXX      leveldb/util/leveldb_libleveldb_a-options.o
      CXX      leveldb/util/leveldb_libleveldb_a-status.o
      CXX      leveldb/port/leveldb_libleveldb_a-port_posix.o
      AR       leveldb/libleveldb.a
    /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
      CXX      leveldb/helpers/memenv/leveldb_libmemenv_a-memenv.o
      AR       leveldb/libmemenv.a
    /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
      CXXLD    bitcoind
      CXX      bitcoin_cli-bitcoin-cli.o
      CXX      rpc/libbitcoin_cli_a-client.o
      AR       libbitcoin_cli.a
    /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
      CXXLD    bitcoin-cli
      CXX      bitcoin_tx-bitcoin-tx.o
      CXXLD    bitcoin-tx
    Generated test/data/script_tests.json.h
    Generated test/data/base58_keys_valid.json.h
    Generated test/data/base58_encode_decode.json.h
    Generated test/data/base58_keys_invalid.json.h
    Generated test/data/tx_invalid.json.h
    Generated test/data/tx_valid.json.h
    Generated test/data/sighash.json.h
      CXX      test/test_test_bitcoin-arith_uint256_tests.o
      CXX      test/test_test_bitcoin-addrman_tests.o
      CXX      test/test_test_bitcoin-alert_tests.o
      CXX      test/test_test_bitcoin-amount_tests.o
      CXX      test/test_test_bitcoin-allocator_tests.o
      CXX      test/test_test_bitcoin-base32_tests.o
      CXX      test/test_test_bitcoin-base58_tests.o
      CXX      test/test_test_bitcoin-base64_tests.o
      CXX      test/test_test_bitcoin-bip32_tests.o
      CXX      test/test_test_bitcoin-blockencodings_tests.o
      CXX      test/test_test_bitcoin-bloom_tests.o
      CXX      test/test_test_bitcoin-Checkpoints_tests.o
      CXX      test/test_test_bitcoin-coins_tests.o
      CXX      test/test_test_bitcoin-compress_tests.o
      CXX      test/test_test_bitcoin-crypto_tests.o
      CXX      test/test_test_bitcoin-DoS_tests.o
      CXX      test/test_test_bitcoin-getarg_tests.o
      CXX      test/test_test_bitcoin-hash_tests.o
      CXX      test/test_test_bitcoin-key_tests.o
      CXX      test/test_test_bitcoin-limitedmap_tests.o
      CXX      test/test_test_bitcoin-dbwrapper_tests.o
      CXX      test/test_test_bitcoin-main_tests.o
      CXX      test/test_test_bitcoin-mempool_tests.o
      CXX      test/test_test_bitcoin-merkle_tests.o
      CXX      test/test_test_bitcoin-miner_tests.o
      CXX      test/test_test_bitcoin-multisig_tests.o
      CXX      test/test_test_bitcoin-net_tests.o
      CXX      test/test_test_bitcoin-netbase_tests.o
      CXX      test/test_test_bitcoin-pmt_tests.o
      CXX      test/test_test_bitcoin-policyestimator_tests.o
      CXX      test/test_test_bitcoin-pow_tests.o
      CXX      test/test_test_bitcoin-prevector_tests.o
      CXX      test/test_test_bitcoin-reverselock_tests.o
      CXX      test/test_test_bitcoin-rpc_tests.o
      CXX      test/test_test_bitcoin-sanity_tests.o
      CXX      test/test_test_bitcoin-scheduler_tests.o
      CXX      test/test_test_bitcoin-script_P2SH_tests.o
      CXX      test/test_test_bitcoin-script_tests.o
      CXX      test/test_test_bitcoin-scriptnum_tests.o
      CXX      test/test_test_bitcoin-serialize_tests.o
      CXX      test/test_test_bitcoin-sighash_tests.o
      CXX      test/test_test_bitcoin-sigopcount_tests.o
      CXX      test/test_test_bitcoin-skiplist_tests.o
      CXX      test/test_test_bitcoin-streams_tests.o
      CXX      test/test_test_bitcoin-test_bitcoin.o
      CXX      test/test_test_bitcoin-testutil.o
      CXX      test/test_test_bitcoin-timedata_tests.o
      CXX      test/test_test_bitcoin-transaction_tests.o
      CXX      test/test_test_bitcoin-txvalidationcache_tests.o
      CXX      test/test_test_bitcoin-versionbits_tests.o
      CXX      test/test_test_bitcoin-uint256_tests.o
      CXX      test/test_test_bitcoin-univalue_tests.o
      CXX      test/test_test_bitcoin-util_tests.o
      CXXLD    test/test_bitcoin
    collect2: error: ld returned 1 exit status
    Makefile:3509: recipe for target 'test/test_bitcoin' failed
    make[2]: *** [test/test_bitcoin] Error 1
    make[2]: Leaving directory '/home/odroid/bitcoin/src'
    Makefile:8372: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/odroid/bitcoin/src'
    Makefile:679: recipe for target 'all-recursive' failed
    make: *** [all-recursive] Error 1
    

    Full command that resulted in error:

    odroid@odroid-c2:~/bitcoin$ make V=1
    Making all in src
    make[1]: Entering directory '/home/odroid/bitcoin/src'
    make[2]: Entering directory '/home/odroid/bitcoin/src'
    /bin/bash ../libtool  --tag=CXX   --mode=link g++ -std=c++11 -Wstack-protector -fstack-protector-all -fPIE -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -pthread  -Wl,-z,relro -Wl,-z,now -pie  -static  -o test/test_bitcoin test/test_test_bitcoin-arith_uint256_tests.o test/test_test_bitcoin-addrman_tests.o test/test_test_bitcoin-alert_tests.o test/test_test_bitcoin-amount_tests.o test/test_test_bitcoin-allocator_tests.o test/test_test_bitcoin-base32_tests.o test/test_test_bitcoin-base58_tests.o test/test_test_bitcoin-base64_tests.o test/test_test_bitcoin-bip32_tests.o test/test_test_bitcoin-blockencodings_tests.o test/test_test_bitcoin-bloom_tests.o test/test_test_bitcoin-Checkpoints_tests.o test/test_test_bitcoin-coins_tests.o test/test_test_bitcoin-compress_tests.o test/test_test_bitcoin-crypto_tests.o test/test_test_bitcoin-DoS_tests.o test/test_test_bitcoin-getarg_tests.o test/test_test_bitcoin-hash_tests.o test/test_test_bitcoin-key_tests.o test/test_test_bitcoin-limitedmap_tests.o test/test_test_bitcoin-dbwrapper_tests.o test/test_test_bitcoin-main_tests.o test/test_test_bitcoin-mempool_tests.o test/test_test_bitcoin-merkle_tests.o test/test_test_bitcoin-miner_tests.o test/test_test_bitcoin-multisig_tests.o test/test_test_bitcoin-net_tests.o test/test_test_bitcoin-netbase_tests.o test/test_test_bitcoin-pmt_tests.o test/test_test_bitcoin-policyestimator_tests.o test/test_test_bitcoin-pow_tests.o test/test_test_bitcoin-prevector_tests.o test/test_test_bitcoin-reverselock_tests.o test/test_test_bitcoin-rpc_tests.o test/test_test_bitcoin-sanity_tests.o test/test_test_bitcoin-scheduler_tests.o test/test_test_bitcoin-script_P2SH_tests.o test/test_test_bitcoin-script_tests.o test/test_test_bitcoin-scriptnum_tests.o test/test_test_bitcoin-serialize_tests.o test/test_test_bitcoin-sighash_tests.o test/test_test_bitcoin-sigopcount_tests.o test/test_test_bitcoin-skiplist_tests.o test/test_test_bitcoin-streams_tests.o test/test_test_bitcoin-test_bitcoin.o test/test_test_bitcoin-testutil.o test/test_test_bitcoin-timedata_tests.o test/test_test_bitcoin-transaction_tests.o test/test_test_bitcoin-txvalidationcache_tests.o test/test_test_bitcoin-versionbits_tests.o test/test_test_bitcoin-uint256_tests.o test/test_test_bitcoin-univalue_tests.o test/test_test_bitcoin-util_tests.o      libbitcoin_server.a libbitcoin_cli.a libbitcoin_common.a libbitcoin_util.a libbitcoin_consensus.a crypto/libbitcoin_crypto.a univalue/libunivalue.la leveldb/libleveldb.a leveldb/libmemenv.a -L/usr/lib/aarch64-linux-gnu -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lboost_chrono -lboost_unit_test_framework secp256k1/libsecp256k1.la  libbitcoin_consensus.a  -lssl -lcrypto   -lanl 
    libtool: link: g++ -std=c++11 -Wstack-protector -fstack-protector-all -fPIE -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -pie -o test/test_bitcoin test/test_test_bitcoin-arith_uint256_tests.o test/test_test_bitcoin-addrman_tests.o test/test_test_bitcoin-alert_tests.o test/test_test_bitcoin-amount_tests.o test/test_test_bitcoin-allocator_tests.o test/test_test_bitcoin-base32_tests.o test/test_test_bitcoin-base58_tests.o test/test_test_bitcoin-base64_tests.o test/test_test_bitcoin-bip32_tests.o test/test_test_bitcoin-blockencodings_tests.o test/test_test_bitcoin-bloom_tests.o test/test_test_bitcoin-Checkpoints_tests.o test/test_test_bitcoin-coins_tests.o test/test_test_bitcoin-compress_tests.o test/test_test_bitcoin-crypto_tests.o test/test_test_bitcoin-DoS_tests.o test/test_test_bitcoin-getarg_tests.o test/test_test_bitcoin-hash_tests.o test/test_test_bitcoin-key_tests.o test/test_test_bitcoin-limitedmap_tests.o test/test_test_bitcoin-dbwrapper_tests.o test/test_test_bitcoin-main_tests.o test/test_test_bitcoin-mempool_tests.o test/test_test_bitcoin-merkle_tests.o test/test_test_bitcoin-miner_tests.o test/test_test_bitcoin-multisig_tests.o test/test_test_bitcoin-net_tests.o test/test_test_bitcoin-netbase_tests.o test/test_test_bitcoin-pmt_tests.o test/test_test_bitcoin-policyestimator_tests.o test/test_test_bitcoin-pow_tests.o test/test_test_bitcoin-prevector_tests.o test/test_test_bitcoin-reverselock_tests.o test/test_test_bitcoin-rpc_tests.o test/test_test_bitcoin-sanity_tests.o test/test_test_bitcoin-scheduler_tests.o test/test_test_bitcoin-script_P2SH_tests.o test/test_test_bitcoin-script_tests.o test/test_test_bitcoin-scriptnum_tests.o test/test_test_bitcoin-serialize_tests.o test/test_test_bitcoin-sighash_tests.o test/test_test_bitcoin-sigopcount_tests.o test/test_test_bitcoin-skiplist_tests.o test/test_test_bitcoin-streams_tests.o test/test_test_bitcoin-test_bitcoin.o test/test_test_bitcoin-testutil.o test/test_test_bitcoin-timedata_tests.o test/test_test_bitcoin-transaction_tests.o test/test_test_bitcoin-txvalidationcache_tests.o test/test_test_bitcoin-versionbits_tests.o test/test_test_bitcoin-uint256_tests.o test/test_test_bitcoin-univalue_tests.o test/test_test_bitcoin-util_tests.o  libbitcoin_server.a libbitcoin_cli.a libbitcoin_common.a libbitcoin_util.a crypto/libbitcoin_crypto.a univalue/.libs/libunivalue.a leveldb/libleveldb.a leveldb/libmemenv.a -L/usr/lib/aarch64-linux-gnu -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lboost_chrono -lboost_unit_test_framework secp256k1/.libs/libsecp256k1.a libbitcoin_consensus.a -lssl -lcrypto -lanl -pthread
    collect2: error: ld returned 1 exit status
    Makefile:3509: recipe for target 'test/test_bitcoin' failed
    make[2]: *** [test/test_bitcoin] Error 1
    make[2]: Leaving directory '/home/odroid/bitcoin/src'
    Makefile:8372: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/odroid/bitcoin/src'
    Makefile:679: recipe for target 'all-recursive' failed
    make: *** [all-recursive] Error 1
    
  2. theuni commented at 5:24 AM on June 28, 2016: member

    Sadly, this doesn't show any actual error. You can try re-running the link-line with a "-v" added in.

    But I suspect the linker probably ate all of your memory and died, since you're building natively on arm. You could try adding a large swap partition as a test.

    Also, I'm not sure if aarch64 uses bfd or gold by default. ld --version would tell you. If it's bfd, you could try forcing gold and seeing if that helps: -fuse-ld=gold.

  3. ayeowch commented at 5:40 AM on June 28, 2016: contributor

    @theuni It turns out the filesystem the build directory was on ran out of disk space. The build is running normally now.

  4. ayeowch closed this on Jun 28, 2016

  5. theuni commented at 5:49 AM on June 28, 2016: member

    Thanks for following up.

  6. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-16 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me