You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
79%] Building CXX object tests/CMakeFiles/actions_test.dir/actions_test.cpp.o
cd /builddir/build/BUILD/uhd-4.0.0.0/host/x86_64-redhat-linux-gnu/tests && /usr/bin/g++ -DBOOST_ASIO_DISABLE_STD_EXPERIMENTAL_STRING_VIEW -DBOOST_ASIO_DISABLE_STD_STRING_VIEW -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_TEST_DYN_LINK -DBOOST_TEST_MAIN -DHAVE_CONFIG_H -DUHD_LOG_CONSOLE_COLOR -DUHD_LOG_CONSOLE_LEVEL=2 -DUHD_LOG_FILE_LEVEL=2 -DUHD_LOG_MIN_LEVEL=1 -I/builddir/build/BUILD/uhd-4.0.0.0/host/x86_64-redhat-linux-gnu/include -I/builddir/build/BUILD/uhd-4.0.0.0/host/include -I/builddir/build/BUILD/uhd-4.0.0.0/host/lib/include -I/builddir/build/BUILD/uhd-4.0.0.0/host/tests/common -I/builddir/build/BUILD/uhd-4.0.0.0/host/x86_64-redhat-linux-gnu/lib/rfnoc -I/builddir/build/BUILD/uhd-4.0.0.0/host/lib/rfnoc -I/builddir/build/BUILD/uhd-4.0.0.0/host/x86_64-redhat-linux-gnu/_cmrc/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -Wall -Wextra -Wsign-compare -std=gnu++14 -o CMakeFiles/actions_test.dir/actions_test.cpp.o -c /builddir/build/BUILD/uhd-4.0.0.0/host/tests/actions_test.cpp
In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/format/alt_sstream.hpp:22,
from /usr/include/boost/format/internals.hpp:24,
from /usr/include/boost/format.hpp:38,
from /builddir/build/BUILD/uhd-4.0.0.0/host/include/uhd/types/dict.ipp:12,
from /builddir/build/BUILD/uhd-4.0.0.0/host/include/uhd/types/dict.hpp:154,
from /builddir/build/BUILD/uhd-4.0.0.0/host/include/uhd/types/device_addr.hpp:11,
from /builddir/build/BUILD/uhd-4.0.0.0/host/include/uhd/rfnoc/actions.hpp:10,
from /builddir/build/BUILD/uhd-4.0.0.0/host/include/uhd/rfnoc/node.hpp:9,
from /builddir/build/BUILD/uhd-4.0.0.0/host/tests/rfnoc_graph_mock_nodes.hpp:11,
from /builddir/build/BUILD/uhd-4.0.0.0/host/tests/actions_test.cpp:7:
/usr/include/boost/detail/iterator.hpp:13:1: note: '#pragma message: This header is deprecated. Use <iterator> instead.'
13 | BOOST_HEADER_DEPRECATED("<iterator>")
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccHYF8xE.ltrans6.ltrans.o: warning: relocation against `_ZTV14mock_zero_copy' in read-only section `.text'
/usr/bin/ld: /usr/bin/ld: DWARF error: could not find abbrev number 227
/tmp/ccHYF8xE.ltrans0.ltrans.o: in function `test_sph_recv_one_channel_normal_invoker() [clone .lto_priv.0]':
<artificial>:(.text+0x2d41): undefined reference to `mock_zero_copy::mock_zero_copy(uhd::transport::vrt::if_packet_info_t::link_type_t, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccHYF8xE.ltrans0.ltrans.o: in function `test_sph_recv_one_channel_sequence_error_invoker() [clone .lto_priv.0]':
<artificial>:(.text+0x8a5a): undefined reference to `mock_zero_copy::mock_zero_copy(uhd::transport::vrt::if_packet_info_t::link_type_t, unsigned long, unsigned long)'
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref
/tmp/ccHYF8xE.ltrans1.ltrans.o: in function `test_sph_recv_one_channel_inline_message_invoker() [clone .lto_priv.0]':
<artificial>:(.text+0x6e9): undefined reference to `mock_zero_copy::mock_zero_copy(uhd::transport::vrt::if_packet_info_t::link_type_t, unsigned long, unsigned long)'
/usr/bin/ld: /usr/bin/ld: DWARF error: offset (2701131776) greater than or equal to .debug_str size (1384)
/tmp/ccHYF8xE.ltrans2.ltrans.o: in function `test_sph_recv_multi_channel_normal_invoker() [clone .lto_priv.0]':
/usr/include/c++/11/ext/new_allocator.h:156: undefined reference to `mock_zero_copy::mock_zero_copy(uhd::transport::vrt::if_packet_info_t::link_type_t, unsigned long, unsigned long)'
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref
/tmp/ccHYF8xE.ltrans3.ltrans.o: in function `test_sph_recv_multi_channel_sequence_error_invoker() [clone .lto_priv.0]':
<artificial>:(.text+0x6c6): undefined reference to `mock_zero_copy::mock_zero_copy(uhd::transport::vrt::if_packet_info_t::link_type_t, unsigned long, unsigned long)'
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref
/tmp/ccHYF8xE.ltrans4.ltrans.o:<artificial>:(.text+0x81b): more undefined references to `mock_zero_copy::mock_zero_copy(uhd::transport::vrt::if_packet_info_t::link_type_t, unsigned long, unsigned long)' follow
/usr/bin/ld: /usr/bin/ld: DWARF error: could not find abbrev number 13183
/tmp/ccHYF8xE.ltrans6.ltrans.o: in function `mock_zero_copy::~mock_zero_copy() [clone .lto_priv.0]':
<artificial>:(.text+0x5dd9): undefined reference to `vtable for mock_zero_copy'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
gmake[2]: *** [tests/CMakeFiles/sph_recv_test.dir/build.make:119: tests/sph_recv_test] Error 1
gmake[2]: Leaving directory '/builddir/build/BUILD/uhd-4.0.0.0/host/x86_64-redhat-linux-gnu'
gmake[1]: *** [CMakeFiles/Makefile2:2488: tests/CMakeFiles/sph_recv_test.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
Steps to reproduce the problem
Rebuild for f34 with -DENABLE_TESTS=on
Additional Information
With -DENABLE_TESTS=off it builds OK.
The text was updated successfully, but these errors were encountered:
[root@f97cfe91917b build]# gcc --version
gcc (GCC) 11.1.1 20210428 (Red Hat 11.1.1-1)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Build just fine. I'm going to guess this was a rawhide issue and close. Please reopen if you disagree.
Issue Description
Build failure with -DENABLE_TESTS=on
Setup Details
Fedora Rawhide (f34), gcc-11, uhd-4.0.0.0
Expected Behavior
No build failure
Actual Behaviour
Steps to reproduce the problem
Rebuild for f34 with -DENABLE_TESTS=on
Additional Information
With -DENABLE_TESTS=off it builds OK.
The text was updated successfully, but these errors were encountered: