Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Yosys and Verilator Build fails due to -latomic missing on Rasp #388

Open
EngRaff92 opened this issue Aug 1, 2021 · 0 comments
Open

Yosys and Verilator Build fails due to -latomic missing on Rasp #388

EngRaff92 opened this issue Aug 1, 2021 · 0 comments

Comments

@EngRaff92
Copy link

rsignori@raffrasppi:~/verilator $ ./build_binaries.sh

  • cd Surelog
    ++ nproc

  • make PREFIX=/home/pi/verilator/Surelog/../image/ release install -j4 ARCH=armv7 'LDFLAGS=-latomic -lpthread -lgcov'
    cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/pi/verilator/Surelog/../image/ -S . -B build
    -- CMAKE_CXX_FLAGS: -latomic -std=c++0x -Wall -pedantic -Werror -Wextra -Werror=shadow -faligned-new -Werror=implicit-fallthrough=2 -Wunused-result -Werror=unused-result -Wunused-parameter -Werror=unused-parameter -fsigned-char
    -- Proceeding with version: 1.12.0.445
    -- Building without demo. To enable demo build use: -DWITH_DEMO=True
    CMake Deprecation Warning at third_party/antlr4/runtime/Cpp/CMakeLists.txt:31 (CMAKE_POLICY):
    The OLD behavior for policy CMP0054 will be removed from a future version
    of CMake.

    The cmake-policies(7) manual explains that the OLD behaviors of all
    policies are deprecated and that a policy should be set to OLD only under
    specific short-term circumstances. Projects should be ported to the NEW
    behavior and not rely on setting a policy to OLD.

CMake Deprecation Warning at third_party/antlr4/runtime/Cpp/CMakeLists.txt:32 (CMAKE_POLICY):
The OLD behavior for policy CMP0045 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

CMake Deprecation Warning at third_party/antlr4/runtime/Cpp/CMakeLists.txt:33 (CMAKE_POLICY):
The OLD behavior for policy CMP0042 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

CMake Deprecation Warning at third_party/antlr4/runtime/Cpp/CMakeLists.txt:38 (CMAKE_POLICY):
The OLD behavior for policy CMP0059 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

CMake Deprecation Warning at third_party/antlr4/runtime/Cpp/CMakeLists.txt:39 (CMAKE_POLICY):
The OLD behavior for policy CMP0054 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

-- Output libraries to /home/pi/verilator/Surelog/dist
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR Crypto SSL)
CMake Warning at CMakeLists.txt:74 (message):
USING TCMALLOC, IF YOU HAVE RUNTIME ISSUES, DISABLE -DNO_TCMALLOC=On

-- Found tcmalloc: /usr/lib/arm-linux-gnueabihf/libtcmalloc.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/verilator/Surelog/build
cmake --build build -j 4
make[1]: warning: -j4 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/home/pi/verilator/Surelog/build'
make[2]: Entering directory '/home/pi/verilator/Surelog/build'
make[3]: Entering directory '/home/pi/verilator/Surelog/build'
make[3]: Entering directory '/home/pi/verilator/Surelog/build'
make[3]: Entering directory '/home/pi/verilator/Surelog/build'
make[3]: Entering directory '/home/pi/verilator/Surelog/build'
make[3]: Leaving directory '/home/pi/verilator/Surelog/build'
make[3]: Leaving directory '/home/pi/verilator/Surelog/build'
make[3]: Entering directory '/home/pi/verilator/Surelog/build'
make[3]: Entering directory '/home/pi/verilator/Surelog/build'
make[3]: Leaving directory '/home/pi/verilator/Surelog/build'
make[3]: Leaving directory '/home/pi/verilator/Surelog/build'
[ 1%] Skipping update step for 'utfcpp'
make[3]: Leaving directory '/home/pi/verilator/Surelog/build'
[ 7%] Built target kj
[ 14%] Built target flatc
make[3]: Entering directory '/home/pi/verilator/Surelog/build'
make[3]: Entering directory '/home/pi/verilator/Surelog/build'
[ 14%] Built target make_lib_output_dir
make[3]: Entering directory '/home/pi/verilator/Surelog/build'
make[3]: Leaving directory '/home/pi/verilator/Surelog/build'
make[3]: Leaving directory '/home/pi/verilator/Surelog/build'
[ 14%] Performing configure step for 'utfcpp'
make[3]: Leaving directory '/home/pi/verilator/Surelog/build'
[ 15%] Built target flatbuffers
[ 18%] Built target capnp
[ 20%] Built target kj-async
make[3]: Entering directory '/home/pi/verilator/Surelog/build'
make[3]: Entering directory '/home/pi/verilator/Surelog/build'
make[3]: Entering directory '/home/pi/verilator/Surelog/build'
make[3]: Leaving directory '/home/pi/verilator/Surelog/build'
make[3]: Entering directory '/home/pi/verilator/Surelog/build'
make[3]: Leaving directory '/home/pi/verilator/Surelog/build'
make[3]: Leaving directory '/home/pi/verilator/Surelog/build'
[ 20%] Linking CXX executable capnpc-c++
[ 20%] Built target capnp-json
[ 23%] Built target capnpc
make[3]: Entering directory '/home/pi/verilator/Surelog/build'
-- Configuring done
make[3]: Leaving directory '/home/pi/verilator/Surelog/build'
make[3]: Entering directory '/home/pi/verilator/Surelog/build'
[ 23%] Linking CXX executable capnp
-- Generating done
-- Build files have been written to: /home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build
[ 23%] Performing build step for 'utfcpp'
make[4]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[5]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
[ 9%] Built target docsample
[ 18%] Built target gtest
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
[ 27%] Built target negative
[ 36%] Built target gmock
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
/usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::_::PointerReader::getRoot(capnp::_::SegmentReader*, capnp::_::CapTableReader*, capnp::word const*, int)': layout.c++:(.text+0x5d7c): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x5da4): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::::PointerReader::getPointerType() const':
layout.c++:(.text+0x6984): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x69b0): undefined reference to __atomic_store_8'
/usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::_::PointerReader::getStruct(capnp::word const*) const': layout.c++:(.text+0x6d64): undefined reference tomake[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build' __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x6d9c): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x6fa0): undefined reference to __atomic_load_8make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
'
/usr/bin/ld: layout.c++:(.text+0x6fdc): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::
::OrphanBuilder::asStructReader(capnp::::StructSize) const':
layout.c++:(.text+0x72f4): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x732c): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0x74a0): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x74e0): undefined reference to __atomic_store_8'
/usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::_::PointerReader::getListAnySize(capnp::word const*) const': layout.c++:(.text+0x7b74): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x7bb8): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x7be8): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x7c2c): undefined reference to __atomic_store_8[ 45%] Built target gtest_main ' /usr/bin/ld: layout.c++:(.text+0x7e30): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x7e6c): undefined reference to __atomic_store_8' /usr/bin/[ 54%] Built target gmock_main make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build' ld: layout.c++:(.text+0x7f30): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x7f70): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x804c)make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build' : undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x808c): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::
::OrphanBuilder::asListReaderAnySize() const':
layout.c++:(.text+0x85e0): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x8624): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0x8654): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x8698): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0x8770): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x87ac): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0x8868): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x8894):make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build' undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0x8960): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x899c): undefined reference to __atomic_store_8'
make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
/usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::_::WireHelpers::copyPointer(capnp::_::SegmentBuilder*, capnp::_::CapTableBuilder*, capnp::_::WirePointer*, capnp::_::SegmentReader*, capnp::_::CapTableReader*, capnp::_::WirePointer const*, capnp::word const*, int, capnp::_::BuilderArena*, bool)': layout.c++:(.text+0x8dbc): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x8df8): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x9300): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x9340): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x9368): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x93ac): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x9458): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x9498): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x971c): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x9754): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x981c): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x9850): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::::PointerReader::getList(capnp::ElementSize, capnp::word const*) const':
layout.c++:(.text+0xc854): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0xc898): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0xc8c8): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0xc908): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0xcb8c): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0xcbc8): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0xcc90): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0xccd0): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0xcee8): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0xcf24): undefined reference to __atomic_store_8'
/usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::_::OrphanBuilder::asListReader(capnp::ElementSize) const': layout.c++:(.text+0xd57c): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0xd5c0): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0xd5f0): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0xd634): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0xd798): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0xd7d4): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0xd88c): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0xd8cc): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0xdae4): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0xdb24): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::
::OrphanBuilder::asDataReader() const':
layout.c++:(.text+0xfc20): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0xfc50): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0xfd50): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0xfd8c): undefined reference to __atomic_store_8'
/usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::Data::Reader capnp::_::PointerReader::getBlob<capnp::Data>(void const*, unsigned int) const': layout.c++:(.text+0x101c8): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x101fc): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x10310): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x1034c): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::Text::Reader capnp::::PointerReader::getBlobcapnp::Text(void const*, unsigned int) const':
layout.c++:(.text+0x11ed8): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x11f08): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0x120d4): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x12110): undefined reference to __atomic_store_8'
/usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::_::OrphanBuilder::asTextReader() const': layout.c++:(.text+0x1250c): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x1253c): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x12714): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x12750): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::
::WireHelpers::totalSize(capnp::::SegmentReader*, capnp::::WirePointer const*, int)':
layout.c++:(.text.ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x198): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text._ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[_ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x1c0): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text.ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x4d0): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text._ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[_ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x500): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text.ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x664): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text._ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[_ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x68c): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text.ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x7e8): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text._ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[_ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x80c): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text.ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x980): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text._ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[_ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x9b0): undefined reference to __atomic_store_8'
/usr/bin/ld: libcapnp.a(message.c++.o): in function capnp::MessageReader::getRootInternal()': message.c++:(.text+0xfa4): undefined reference to __atomic_load_8'
/usr/bin/ld: message.c++:(.text+0xfc8): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(arena.c++.o): in function capnp::
::ReadLimiter::unread(unsigned long long)':
arena.c++:(.text+0x740): undefined reference to __atomic_load_8' /usr/bin/ld: arena.c++:(.text+0x774): undefined reference to __atomic_store_8'
collect2: error: ld returned 1 exit status
make[3]: *** [third_party/UHDM/third_party/capnproto/c++/src/capnp/CMakeFiles/capnpc_cpp.dir/build.make:86: third_party/UHDM/third_party/capnproto/c++/src/capnp/capnpc-c++] Error 1
make[3]: Leaving directory '/home/pi/verilator/Surelog/build'
make[2]: *** [CMakeFiles/Makefile2:1483: third_party/UHDM/third_party/capnproto/c++/src/capnp/CMakeFiles/capnpc_cpp.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 63%] Built target cpp11
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
[ 77%] Built target noexceptionstests
make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
[100%] Built target apitests
make[5]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[4]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
/usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::_::PointerReader::getRoot(capnp::_::SegmentReader*, capnp::_::CapTableReader*, capnp::word const*, int)': layout.c++:(.text+0x5d7c): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x5da4): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::
::PointerReader::getPointerType() const':
layout.c++:(.text+0x6984): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x69b0): undefined reference to __atomic_store_8'
/usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::_::PointerReader::getStruct(capnp::word const*) const': layout.c++:(.text+0x6d64): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x6d9c): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x6fa0): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x6fdc): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::
::OrphanBuilder::asStructReader(capnp::
::StructSize) const':
layout.c++:(.text+0x72f4): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x732c): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0x74a0): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x74e0): undefined reference to __atomic_store_8'
/usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::_::PointerReader::getListAnySize(capnp::word const*) const': layout.c++:(.text+0x7b74): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x7bb8): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x7be8): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x7c2c): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x7e30): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x7e6c): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x7f30): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x7f70): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x804c): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x808c): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::
::OrphanBuilder::asListReaderAnySize() const':
layout.c++:(.text+0x85e0): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x8624): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0x8654): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x8698): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0x8770): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x87ac): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0x8868): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x8894): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0x8960): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x899c): undefined reference to __atomic_store_8'
/usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::_::WireHelpers::copyPointer(capnp::_::SegmentBuilder*, capnp::_::CapTableBuilder*, capnp::_::WirePointer*, capnp::_::SegmentReader*, capnp::_::CapTableReader*, capnp::_::WirePointer const*, capnp::word const*, int, capnp::_::BuilderArena*, bool)': layout.c++:(.text+0x8dbc): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x8df8): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x9300): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x9340): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x9368): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x93ac): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x9458): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x9498): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x971c): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x9754): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x981c): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x9850): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::
::PointerReader::getList(capnp::ElementSize, capnp::word const*) const':
layout.c++:(.text+0xc854): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0xc898): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0xc8c8): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0xc908): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0xcb8c): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0xcbc8): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0xcc90): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0xccd0): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0xcee8): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0xcf24): undefined reference to __atomic_store_8'
/usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::_::OrphanBuilder::asListReader(capnp::ElementSize) const': layout.c++:(.text+0xd57c): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0xd5c0): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0xd5f0): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0xd634): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0xd798): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0xd7d4): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0xd88c): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0xd8cc): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0xdae4): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0xdb24): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::
::OrphanBuilder::asDataReader() const':
layout.c++:(.text+0xfc20): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0xfc50): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0xfd50): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0xfd8c): undefined reference to __atomic_store_8'
/usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::Data::Reader capnp::_::PointerReader::getBlob<capnp::Data>(void const*, unsigned int) const': layout.c++:(.text+0x101c8): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x101fc): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x10310): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x1034c): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::Text::Reader capnp::
::PointerReader::getBlobcapnp::Text(void const*, unsigned int) const':
layout.c++:(.text+0x11ed8): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x11f08): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text+0x120d4): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text+0x12110): undefined reference to __atomic_store_8'
/usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::_::OrphanBuilder::asTextReader() const': layout.c++:(.text+0x1250c): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x1253c): undefined reference to __atomic_store_8' /usr/bin/ld: layout.c++:(.text+0x12714): undefined reference to __atomic_load_8'
/usr/bin/ld: layout.c++:(.text+0x12750): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(layout.c++.o): in function capnp::
::WireHelpers::totalSize(capnp::
::SegmentReader*, capnp::_::WirePointer const*, int)':
layout.c++:(.text._ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[_ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x198): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text._ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[_ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x1c0): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text._ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[_ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x4d0): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text._ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[_ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x500): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text._ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[_ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x664): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text._ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[_ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x68c): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text._ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[_ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x7e8): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text._ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[_ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x80c): undefined reference to __atomic_store_8'
/usr/bin/ld: layout.c++:(.text._ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x980): undefined reference to __atomic_load_8' /usr/bin/ld: layout.c++:(.text._ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi[_ZN5capnp1_11WireHelpers9totalSizeEPNS0_13SegmentReaderEPKNS0_11WirePointerEi]+0x9b0): undefined reference to __atomic_store_8'
/usr/bin/ld: libcapnp.a(message.c++.o): in function capnp::MessageReader::getRootInternal()': message.c++:(.text+0xfa4): undefined reference to __atomic_load_8'
/usr/bin/ld: message.c++:(.text+0xfc8): undefined reference to __atomic_store_8' /usr/bin/ld: libcapnp.a(arena.c++.o): in function capnp::
::ReadLimiter::unread(unsigned long long)':
arena.c++:(.text+0x740): undefined reference to __atomic_load_8' /usr/bin/ld: arena.c++:(.text+0x774): undefined reference to __atomic_store_8'
collect2: error: ld returned 1 exit status
make[3]: *** [third_party/UHDM/third_party/capnproto/c++/src/capnp/CMakeFiles/capnp_tool.dir/build.make:105: third_party/UHDM/third_party/capnproto/c++/src/capnp/capnp] Error 1
make[3]: Leaving directory '/home/pi/verilator/Surelog/build'
make[2]: *** [CMakeFiles/Makefile2:1686: third_party/UHDM/third_party/capnproto/c++/src/capnp/CMakeFiles/capnp_tool.dir/all] Error 2
[ 24%] Performing install step for 'utfcpp'
make[4]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[5]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
[ 27%] Built target docsample
[ 27%] Built target negative
[ 27%] Built target gtest
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
[ 45%] Built target gmock
[ 45%] Built target gtest_main
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
make[6]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
[ 77%] Built target gmock_main
[ 77%] Built target cpp11
[ 77%] Built target noexceptionstests
[100%] Built target apitests
make[5]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
Install the project...
-- Install configuration: ""
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/utf8cpp
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/utf8cpp/utf8.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/utf8cpp/utf8
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/utf8cpp/utf8/checked.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/utf8cpp/utf8/core.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/utf8cpp/utf8/unchecked.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/utf8cpp/utf8/cpp11.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/lib/cmake/utf8cpp/utf8cppConfig.cmake
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/gmock-generated-actions.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/gmock-generated-nice-strict.h.pump
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/gmock-generated-matchers.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/gmock-actions.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/internal
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/internal/gmock-internal-utils.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/internal/custom
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/internal/custom/gmock-generated-actions.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/internal/custom/README.md
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/internal/custom/gmock-matchers.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/internal/custom/gmock-generated-actions.h.pump
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/internal/custom/gmock-port.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/internal/gmock-generated-internal-utils.h.pump
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/internal/gmock-generated-internal-utils.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/internal/gmock-port.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/gmock-more-actions.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/gmock-generated-function-mockers.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/gmock-matchers.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/gmock-generated-actions.h.pump
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/gmock-generated-function-mockers.h.pump
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/gmock-more-matchers.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/gmock-generated-matchers.h.pump
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/gmock-generated-nice-strict.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/gmock-cardinalities.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/gmock.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gmock/gmock-spec-builders.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/lib/libgmock.a
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/lib/libgmock_main.a
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/lib/pkgconfig/gmock.pc
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/lib/pkgconfig/gmock_main.pc
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/lib/cmake/GTest/GTestTargets.cmake
-- Installing: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/lib/cmake/GTest/GTestTargets-noconfig.cmake
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/lib/cmake/GTest/GTestConfigVersion.cmake
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/lib/cmake/GTest/GTestConfig.cmake
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/gtest_prod.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/gtest.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/gtest-param-test.h.pump
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/gtest-param-test.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/gtest-spi.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/gtest-typed-test.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/gtest-test-part.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/gtest-death-test.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/gtest-tuple.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/custom
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/custom/gtest.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/custom/README.md
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/custom/gtest-printers.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/custom/gtest-port.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/gtest-port-arch.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/gtest-tuple.h.pump
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/gtest-param-util-generated.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/gtest-param-util-generated.h.pump
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/gtest-type-util.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/gtest-port.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/gtest-linked_ptr.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/gtest-param-util.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/gtest-filepath.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/gtest-type-util.h.pump
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/gtest-death-test-internal.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/gtest-string.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/internal/gtest-internal.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/gtest_pred_impl.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/gtest-printers.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/include/gtest/gtest-message.h
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/lib/libgtest.a
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/lib/libgtest_main.a
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/lib/pkgconfig/gtest.pc
-- Up-to-date: /home/pi/verilator/Surelog/build/runtime/thirdparty/utfcpp/install/lib/pkgconfig/gtest_main.pc
make[4]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
[ 24%] Performing test step for 'utfcpp'
make[4]: Entering directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
Running tests...
Test project /home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build
Start 1: negative_test
1/4 Test #1: negative_test .................... Passed 0.01 sec
Start 2: cpp11_test
2/4 Test #2: cpp11_test ....................... Passed 0.01 sec
Start 3: api_test
3/4 Test #3: api_test ......................... Passed 0.01 sec
Start 4: noexceptions_test
4/4 Test #4: noexceptions_test ................ Passed 0.01 sec

100% tests passed, 0 tests failed out of 4

Total Test time (real) = 0.05 sec
make[4]: Leaving directory '/home/pi/verilator/Surelog/build/third_party/antlr4/runtime/Cpp/runtime/utfcpp-prefix/src/utfcpp-build'
[ 24%] Completed 'utfcpp'
make[3]: Leaving directory '/home/pi/verilator/Surelog/build'
[ 24%] Built target utfcpp
make[2]: Leaving directory '/home/pi/verilator/Surelog/build'
make[1]: *** [Makefile:163: all] Error 2
make[1]: Leaving directory '/home/pi/verilator/Surelog/build'
make: *** [Makefile:16: release] Error 2

I tried only the first command of build_binaries:

cd Surelog && make PREFIX=$PWD/../image/ release install -j$(nproc) ARCH=armv7 LDFLAGS="-latomic -lpthread -lgcov" && cd ..

I added then the -latomic as CXX_FLAGS and the LDFLAGS as well on the make. Still failing.

Could someone kindly help me in getting this fixed and working ?

regards

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant