Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.13.8: test suite linkinmg fails with LTO #212

Open
kloczek opened this issue Aug 30, 2020 · 0 comments
Open

0.13.8: test suite linkinmg fails with LTO #212

kloczek opened this issue Aug 30, 2020 · 0 comments

Comments

@kloczek
Copy link

kloczek commented Aug 30, 2020

Without LTO everything is fine.

+ cd libtorrent-0.13.8
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
Making check in src
Making check in torrent
Making check in data
make[3]: Nothing to be done for 'check'.
Making check in download
make[3]: Nothing to be done for 'check'.
Making check in net
make[3]: Nothing to be done for 'check'.
Making check in peer
make[3]: Nothing to be done for 'check'.
Making check in utils
make[3]: Nothing to be done for 'check'.
make[3]: Nothing to be done for 'check-am'.
Making check in data
make[2]: Nothing to be done for 'check'.
Making check in dht
make[2]: Nothing to be done for 'check'.
Making check in download
make[2]: Nothing to be done for 'check'.
Making check in net
make[2]: Nothing to be done for 'check'.
Making check in protocol
make[2]: Nothing to be done for 'check'.
Making check in tracker
make[2]: Nothing to be done for 'check'.
Making check in utils
make[2]: Nothing to be done for 'check'.
make[2]: Nothing to be done for 'check-am'.
Making check in test
/usr/bin/make  LibTorrentTest
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o ../src/LibTorrentTest-thread_disk.o `test -f '../src/thread_disk.cc' || echo './'`../src/thread_disk.cc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o LibTorrentTest-main.o `test -f 'main.cc' || echo './'`main.cc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o rak/LibTorrentTest-allocators_test.o `test -f 'rak/allocators_test.cc' || echo './'`rak/allocators_test.cc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/LibTorrentTest-object_test_utils.o `test -f 'torrent/object_test_utils.cc' || echo './'`torrent/object_test_utils.cc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/utils/LibTorrentTest-test_uri_parser.o `test -f 'torrent/utils/test_uri_parser.cc' || echo './'`torrent/utils/test_uri_parser.cc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/utils/LibTorrentTest-log_buffer_test.o `test -f 'torrent/utils/log_buffer_test.cc' || echo './'`torrent/utils/log_buffer_test.cc
In file included from ../src/globals.h:41,
                 from torrent/utils/log_buffer_test.cc:5:
../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/LibTorrentTest-tracker_timeout_test.o `test -f 'torrent/tracker_timeout_test.cc' || echo './'`torrent/tracker_timeout_test.cc
In file included from torrent/tracker_timeout_test.cc:6:
../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/utils/LibTorrentTest-test_extents.o `test -f 'torrent/utils/test_extents.cc' || echo './'`torrent/utils/test_extents.cc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/utils/LibTorrentTest-log_test.o `test -f 'torrent/utils/log_test.cc' || echo './'`torrent/utils/log_test.cc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o rak/LibTorrentTest-ranges_test.o `test -f 'rak/ranges_test.cc' || echo './'`rak/ranges_test.cc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/utils/LibTorrentTest-option_strings_test.o `test -f 'torrent/utils/option_strings_test.cc' || echo './'`torrent/utils/option_strings_test.cc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o tracker/LibTorrentTest-tracker_http_test.o `test -f 'tracker/tracker_http_test.cc' || echo './'`tracker/tracker_http_test.cc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o data/LibTorrentTest-chunk_list_test.o `test -f 'data/chunk_list_test.cc' || echo './'`data/chunk_list_test.cc
data/chunk_list_test.cc: In function 'torrent::Chunk* func_create_chunk(uint32_t, int)':
data/chunk_list_test.cc:20:46: warning: 'new' of type 'torrent::Chunk' with extended alignment 128 [-Waligned-new=]
   20 |   torrent::Chunk* chunk = new torrent::Chunk();
      |                                              ^
data/chunk_list_test.cc:20:46: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
data/chunk_list_test.cc:20:46: note: use '-faligned-new' to enable C++17 over-aligned new support
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/LibTorrentTest-object_stream_test.o `test -f 'torrent/object_stream_test.cc' || echo './'`torrent/object_stream_test.cc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/utils/LibTorrentTest-net_test.o `test -f 'torrent/utils/net_test.cc' || echo './'`torrent/utils/net_test.cc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/utils/LibTorrentTest-thread_base_test.o `test -f 'torrent/utils/thread_base_test.cc' || echo './'`torrent/utils/thread_base_test.cc
torrent/utils/thread_base_test.cc: In member function 'void utils_thread_base_test::test_basic()':
torrent/utils/thread_base_test.cc:94:29: warning: 'new' of type 'thread_test' with extended alignment 128 [-Waligned-new=]
   94 |   thread_test* thread = new thread_test;
      |                             ^~~~~~~~~~~
torrent/utils/thread_base_test.cc:94:29: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
torrent/utils/thread_base_test.cc:94:29: note: use '-faligned-new' to enable C++17 over-aligned new support
torrent/utils/thread_base_test.cc: In member function 'void utils_thread_base_test::test_lifecycle()':
torrent/utils/thread_base_test.cc:108:29: warning: 'new' of type 'thread_test' with extended alignment 128 [-Waligned-new=]
  108 |   thread_test* thread = new thread_test;
      |                             ^~~~~~~~~~~
torrent/utils/thread_base_test.cc:108:29: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
torrent/utils/thread_base_test.cc:108:29: note: use '-faligned-new' to enable C++17 over-aligned new support
torrent/utils/thread_base_test.cc: In member function 'void utils_thread_base_test::test_global_lock_basic()':
torrent/utils/thread_base_test.cc:135:29: warning: 'new' of type 'thread_test' with extended alignment 128 [-Waligned-new=]
  135 |   thread_test* thread = new thread_test;
      |                             ^~~~~~~~~~~
torrent/utils/thread_base_test.cc:135:29: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
torrent/utils/thread_base_test.cc:135:29: note: use '-faligned-new' to enable C++17 over-aligned new support
torrent/utils/thread_base_test.cc: In member function 'void utils_thread_base_test::test_interrupt()':
torrent/utils/thread_base_test.cc:177:29: warning: 'new' of type 'thread_test' with extended alignment 128 [-Waligned-new=]
  177 |   thread_test* thread = new thread_test;
      |                             ^~~~~~~~~~~
torrent/utils/thread_base_test.cc:177:29: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
torrent/utils/thread_base_test.cc:177:29: note: use '-faligned-new' to enable C++17 over-aligned new support
torrent/utils/thread_base_test.cc: In member function 'void utils_thread_base_test::test_stop()':
torrent/utils/thread_base_test.cc:210:31: warning: 'new' of type 'thread_test' with extended alignment 128 [-Waligned-new=]
  210 |     thread_test* thread = new thread_test;
      |                               ^~~~~~~~~~~
torrent/utils/thread_base_test.cc:210:31: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
torrent/utils/thread_base_test.cc:210:31: note: use '-faligned-new' to enable C++17 over-aligned new support
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/net/LibTorrentTest-test_socket_address_key.o `test -f 'torrent/net/test_socket_address_key.cc' || echo './'`torrent/net/test_socket_address_key.cc
In file included from ../src/protocol/request_list.h:42,
                 from torrent/net/test_socket_address_key.h:3,
                 from torrent/net/test_socket_address_key.cc:7:
../src/torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()':
../src/torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate]
  129 |     throw internal_error("BlockTransfer::~BlockTransfer() block not NULL");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept'
../src/torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate]
  132 |     throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept'
In file included from ../src/globals.h:41,
                 from ../src/protocol/request_list.h:46,
                 from torrent/net/test_socket_address_key.h:3,
                 from torrent/net/test_socket_address_key.cc:7:
../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/LibTorrentTest-http_test.o `test -f 'torrent/http_test.cc' || echo './'`torrent/http_test.cc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/LibTorrentTest-object_static_map_test.o `test -f 'torrent/object_static_map_test.cc' || echo './'`torrent/object_static_map_test.cc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/utils/LibTorrentTest-signal_bitfield_test.o `test -f 'torrent/utils/signal_bitfield_test.cc' || echo './'`torrent/utils/signal_bitfield_test.cc
torrent/utils/signal_bitfield_test.cc: In member function 'void utils_signal_bitfield_test::test_thread()':
torrent/utils/signal_bitfield_test.cc:111:29: warning: 'new' of type 'thread_test' with extended alignment 128 [-Waligned-new=]
  111 |   thread_test* thread = new thread_test;
      |                             ^~~~~~~~~~~
torrent/utils/signal_bitfield_test.cc:111:29: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
torrent/utils/signal_bitfield_test.cc:111:29: note: use '-faligned-new' to enable C++17 over-aligned new support
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/LibTorrentTest-object_test.o `test -f 'torrent/object_test.cc' || echo './'`torrent/object_test.cc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/LibTorrentTest-tracker_list_features_test.o `test -f 'torrent/tracker_list_features_test.cc' || echo './'`torrent/tracker_list_features_test.cc
In file included from ../src/globals.h:41,
                 from torrent/tracker_list_features_test.cc:8:
../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o data/LibTorrentTest-hash_check_queue_test.o `test -f 'data/hash_check_queue_test.cc' || echo './'`data/hash_check_queue_test.cc
data/hash_check_queue_test.cc: In member function 'void HashCheckQueueTest::test_single()':
data/hash_check_queue_test.cc:95:55: warning: 'new' of type 'torrent::HashChunk' with extended alignment 128 [-Waligned-new=]
   95 |   hash_queue.push_back(new torrent::HashChunk(handle_0));
      |                                                       ^
data/hash_check_queue_test.cc:95:55: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
data/hash_check_queue_test.cc:95:55: note: use '-faligned-new' to enable C++17 over-aligned new support
data/hash_check_queue_test.cc: In member function 'void HashCheckQueueTest::test_multiple()':
data/hash_check_queue_test.cc:125:63: warning: 'new' of type 'torrent::HashChunk' with extended alignment 128 [-Waligned-new=]
  125 |     hash_queue.push_back(new torrent::HashChunk(handles.back()));
      |                                                               ^
data/hash_check_queue_test.cc:125:63: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
data/hash_check_queue_test.cc:125:63: note: use '-faligned-new' to enable C++17 over-aligned new support
In file included from data/hash_check_queue_test.cc:11:
data/hash_check_queue_test.cc: In member function 'void HashCheckQueueTest::test_thread()':
./torrent/utils/thread_base_test.h:35:64: warning: 'new' of type 'torrent::thread_disk' with extended alignment 128 [-Waligned-new=]
   35 |   torrent::thread_disk* thread_disk = new torrent::thread_disk();       \
      |                                                                ^
data/hash_check_queue_test.cc:181:3: note: in expansion of macro 'SETUP_THREAD'
  181 |   SETUP_THREAD();
      |   ^~~~~~~~~~~~
./torrent/utils/thread_base_test.h:35:64: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
   35 |   torrent::thread_disk* thread_disk = new torrent::thread_disk();       \
      |                                                                ^
data/hash_check_queue_test.cc:181:3: note: in expansion of macro 'SETUP_THREAD'
  181 |   SETUP_THREAD();
      |   ^~~~~~~~~~~~
./torrent/utils/thread_base_test.h:35:64: note: use '-faligned-new' to enable C++17 over-aligned new support
   35 |   torrent::thread_disk* thread_disk = new torrent::thread_disk();       \
      |                                                                ^
data/hash_check_queue_test.cc:181:3: note: in expansion of macro 'SETUP_THREAD'
  181 |   SETUP_THREAD();
      |   ^~~~~~~~~~~~
data/hash_check_queue_test.cc:196:58: warning: 'new' of type 'torrent::HashChunk' with extended alignment 128 [-Waligned-new=]
  196 |     hash_queue->push_back(new torrent::HashChunk(handle_0));
      |                                                          ^
data/hash_check_queue_test.cc:196:58: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
data/hash_check_queue_test.cc:196:58: note: use '-faligned-new' to enable C++17 over-aligned new support
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o protocol/LibTorrentTest-test_request_list.o `test -f 'protocol/test_request_list.cc' || echo './'`protocol/test_request_list.cc
In file included from ../src/protocol/request_list.h:42,
                 from protocol/test_request_list.h:3,
                 from protocol/test_request_list.cc:3:
../src/torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()':
../src/torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate]
  129 |     throw internal_error("BlockTransfer::~BlockTransfer() block not NULL");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept'
../src/torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate]
  132 |     throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept'
In file included from ../src/globals.h:41,
                 from ../src/protocol/request_list.h:46,
                 from protocol/test_request_list.h:3,
                 from protocol/test_request_list.cc:3:
../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
In file included from ../src/protocol/peer_chunks.h:41,
                 from protocol/test_request_list.cc:8:
../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()':
../rak/partial_queue.h:140:63: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair<short unsigned int, short unsigned int>'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess]
  140 |   std::memset(m_layers, 0, num_layers * sizeof(size_pair_type));
      |                                                               ^
In file included from /usr/include/c++/10/bits/stl_algobase.h:64,
                 from /usr/include/c++/10/deque:60,
                 from /usr/include/cppunit/Message.h:11,
                 from /usr/include/cppunit/Exception.h:5,
                 from /usr/include/cppunit/TestCaller.h:4,
                 from /usr/include/cppunit/extensions/HelperMacros.h:9,
                 from protocol/test_request_list.h:1,
                 from protocol/test_request_list.cc:3:
/usr/include/c++/10/bits/stl_pair.h:211:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair<short unsigned int, short unsigned int>'} declared here
  211 |     struct pair
      |            ^~~~
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/utils/LibTorrentTest-test_queue_buckets.o `test -f 'torrent/utils/test_queue_buckets.cc' || echo './'`torrent/utils/test_queue_buckets.cc
In file included from ../src/protocol/request_list.h:42,
                 from torrent/utils/test_queue_buckets.h:3,
                 from torrent/utils/test_queue_buckets.cc:3:
../src/torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()':
../src/torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate]
  129 |     throw internal_error("BlockTransfer::~BlockTransfer() block not NULL");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept'
../src/torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate]
  132 |     throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept'
In file included from ../src/globals.h:41,
                 from ../src/protocol/request_list.h:46,
                 from torrent/utils/test_queue_buckets.h:3,
                 from torrent/utils/test_queue_buckets.cc:3:
../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/LibTorrentTest-tracker_controller_requesting.o `test -f 'torrent/tracker_controller_requesting.cc' || echo './'`torrent/tracker_controller_requesting.cc
In file included from torrent/tracker_controller_requesting.cc:6:
../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o data/LibTorrentTest-hash_queue_test.o `test -f 'data/hash_queue_test.cc' || echo './'`data/hash_queue_test.cc
In file included from ../src/globals.h:41,
                 from data/hash_queue_test.cc:12:
../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
In file included from data/hash_queue_test.cc:11:
data/hash_queue_test.cc: In member function 'void HashQueueTest::test_single()':
./torrent/utils/thread_base_test.h:35:64: warning: 'new' of type 'torrent::thread_disk' with extended alignment 128 [-Waligned-new=]
   35 |   torrent::thread_disk* thread_disk = new torrent::thread_disk();       \
      |                                                                ^
data/hash_queue_test.cc:78:3: note: in expansion of macro 'SETUP_THREAD'
   78 |   SETUP_THREAD();
      |   ^~~~~~~~~~~~
./torrent/utils/thread_base_test.h:35:64: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
   35 |   torrent::thread_disk* thread_disk = new torrent::thread_disk();       \
      |                                                                ^
data/hash_queue_test.cc:78:3: note: in expansion of macro 'SETUP_THREAD'
   78 |   SETUP_THREAD();
      |   ^~~~~~~~~~~~
./torrent/utils/thread_base_test.h:35:64: note: use '-faligned-new' to enable C++17 over-aligned new support
   35 |   torrent::thread_disk* thread_disk = new torrent::thread_disk();       \
      |                                                                ^
data/hash_queue_test.cc:78:3: note: in expansion of macro 'SETUP_THREAD'
   78 |   SETUP_THREAD();
      |   ^~~~~~~~~~~~
data/hash_queue_test.cc:82:70: warning: 'new' of type 'torrent::HashQueue' with extended alignment 128 [-Waligned-new=]
   82 |   torrent::HashQueue* hash_queue = new torrent::HashQueue(thread_disk);
      |                                                                      ^
data/hash_queue_test.cc:82:70: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
data/hash_queue_test.cc:82:70: note: use '-faligned-new' to enable C++17 over-aligned new support
In file included from data/hash_queue_test.cc:11:
data/hash_queue_test.cc: In member function 'void HashQueueTest::test_multiple()':
./torrent/utils/thread_base_test.h:35:64: warning: 'new' of type 'torrent::thread_disk' with extended alignment 128 [-Waligned-new=]
   35 |   torrent::thread_disk* thread_disk = new torrent::thread_disk();       \
      |                                                                ^
data/hash_queue_test.cc:110:3: note: in expansion of macro 'SETUP_THREAD'
  110 |   SETUP_THREAD();
      |   ^~~~~~~~~~~~
./torrent/utils/thread_base_test.h:35:64: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
   35 |   torrent::thread_disk* thread_disk = new torrent::thread_disk();       \
      |                                                                ^
data/hash_queue_test.cc:110:3: note: in expansion of macro 'SETUP_THREAD'
  110 |   SETUP_THREAD();
      |   ^~~~~~~~~~~~
./torrent/utils/thread_base_test.h:35:64: note: use '-faligned-new' to enable C++17 over-aligned new support
   35 |   torrent::thread_disk* thread_disk = new torrent::thread_disk();       \
      |                                                                ^
data/hash_queue_test.cc:110:3: note: in expansion of macro 'SETUP_THREAD'
  110 |   SETUP_THREAD();
      |   ^~~~~~~~~~~~
data/hash_queue_test.cc:114:70: warning: 'new' of type 'torrent::HashQueue' with extended alignment 128 [-Waligned-new=]
  114 |   torrent::HashQueue* hash_queue = new torrent::HashQueue(thread_disk);
      |                                                                      ^
data/hash_queue_test.cc:114:70: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
data/hash_queue_test.cc:114:70: note: use '-faligned-new' to enable C++17 over-aligned new support
In file included from data/hash_queue_test.cc:11:
data/hash_queue_test.cc: In member function 'void HashQueueTest::test_erase()':
./torrent/utils/thread_base_test.h:35:64: warning: 'new' of type 'torrent::thread_disk' with extended alignment 128 [-Waligned-new=]
   35 |   torrent::thread_disk* thread_disk = new torrent::thread_disk();       \
      |                                                                ^
data/hash_queue_test.cc:142:3: note: in expansion of macro 'SETUP_THREAD'
  142 |   SETUP_THREAD();
      |   ^~~~~~~~~~~~
./torrent/utils/thread_base_test.h:35:64: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
   35 |   torrent::thread_disk* thread_disk = new torrent::thread_disk();       \
      |                                                                ^
data/hash_queue_test.cc:142:3: note: in expansion of macro 'SETUP_THREAD'
  142 |   SETUP_THREAD();
      |   ^~~~~~~~~~~~
./torrent/utils/thread_base_test.h:35:64: note: use '-faligned-new' to enable C++17 over-aligned new support
   35 |   torrent::thread_disk* thread_disk = new torrent::thread_disk();       \
      |                                                                ^
data/hash_queue_test.cc:142:3: note: in expansion of macro 'SETUP_THREAD'
  142 |   SETUP_THREAD();
      |   ^~~~~~~~~~~~
data/hash_queue_test.cc:144:70: warning: 'new' of type 'torrent::HashQueue' with extended alignment 128 [-Waligned-new=]
  144 |   torrent::HashQueue* hash_queue = new torrent::HashQueue(thread_disk);
      |                                                                      ^
data/hash_queue_test.cc:144:70: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
data/hash_queue_test.cc:144:70: note: use '-faligned-new' to enable C++17 over-aligned new support
In file included from data/hash_queue_test.cc:11:
data/hash_queue_test.cc: In member function 'void HashQueueTest::test_erase_stress()':
./torrent/utils/thread_base_test.h:35:64: warning: 'new' of type 'torrent::thread_disk' with extended alignment 128 [-Waligned-new=]
   35 |   torrent::thread_disk* thread_disk = new torrent::thread_disk();       \
      |                                                                ^
data/hash_queue_test.cc:169:3: note: in expansion of macro 'SETUP_THREAD'
  169 |   SETUP_THREAD();
      |   ^~~~~~~~~~~~
./torrent/utils/thread_base_test.h:35:64: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
   35 |   torrent::thread_disk* thread_disk = new torrent::thread_disk();       \
      |                                                                ^
data/hash_queue_test.cc:169:3: note: in expansion of macro 'SETUP_THREAD'
  169 |   SETUP_THREAD();
      |   ^~~~~~~~~~~~
./torrent/utils/thread_base_test.h:35:64: note: use '-faligned-new' to enable C++17 over-aligned new support
   35 |   torrent::thread_disk* thread_disk = new torrent::thread_disk();       \
      |                                                                ^
data/hash_queue_test.cc:169:3: note: in expansion of macro 'SETUP_THREAD'
  169 |   SETUP_THREAD();
      |   ^~~~~~~~~~~~
data/hash_queue_test.cc:172:70: warning: 'new' of type 'torrent::HashQueue' with extended alignment 128 [-Waligned-new=]
  172 |   torrent::HashQueue* hash_queue = new torrent::HashQueue(thread_disk);
      |                                                                      ^
data/hash_queue_test.cc:172:70: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
data/hash_queue_test.cc:172:70: note: use '-faligned-new' to enable C++17 over-aligned new support
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/LibTorrentTest-tracker_list_test.o `test -f 'torrent/tracker_list_test.cc' || echo './'`torrent/tracker_list_test.cc
In file included from ../src/globals.h:41,
                 from torrent/tracker_list_test.cc:6:
../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/LibTorrentTest-tracker_controller_features.o `test -f 'torrent/tracker_controller_features.cc' || echo './'`torrent/tracker_controller_features.cc
In file included from torrent/tracker_controller_features.cc:6:
../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
g++ -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../src -I/usr/include -I/usr/include  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -c -o torrent/LibTorrentTest-tracker_controller_test.o `test -f 'torrent/tracker_controller_test.cc' || echo './'`torrent/tracker_controller_test.cc
In file included from torrent/tracker_controller_test.cc:6:
../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()':
../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate]
   56 |       throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
/bin/sh ../libtool  --tag=CXX   --mode=link g++  -pthread  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden  -lcppunit   -ldl -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -L/usr/lib -L/usr/lib -o LibTorrentTest ../src/LibTorrentTest-thread_disk.o rak/LibTorrentTest-allocators_test.o rak/LibTorrentTest-ranges_test.o data/LibTorrentTest-chunk_list_test.o data/LibTorrentTest-hash_check_queue_test.o data/LibTorrentTest-hash_queue_test.o protocol/LibTorrentTest-test_request_list.o torrent/net/LibTorrentTest-test_socket_address_key.o torrent/utils/LibTorrentTest-log_test.o torrent/utils/LibTorrentTest-log_buffer_test.o torrent/utils/LibTorrentTest-net_test.o torrent/utils/LibTorrentTest-option_strings_test.o torrent/utils/LibTorrentTest-test_extents.o torrent/utils/LibTorrentTest-test_queue_buckets.o torrent/utils/LibTorrentTest-test_uri_parser.o torrent/utils/LibTorrentTest-signal_bitfield_test.o torrent/utils/LibTorrentTest-thread_base_test.o torrent/LibTorrentTest-http_test.o torrent/LibTorrentTest-object_test.o torrent/LibTorrentTest-object_test_utils.o torrent/LibTorrentTest-object_static_map_test.o torrent/LibTorrentTest-object_stream_test.o torrent/LibTorrentTest-tracker_controller_test.o torrent/LibTorrentTest-tracker_controller_features.o torrent/LibTorrentTest-tracker_controller_requesting.o torrent/LibTorrentTest-tracker_list_test.o torrent/LibTorrentTest-tracker_list_features_test.o torrent/LibTorrentTest-tracker_timeout_test.o tracker/LibTorrentTest-tracker_http_test.o LibTorrentTest-main.o ../src/libtorrent.la ../src/torrent/libsub_torrent.la ../src/torrent/data/libsub_torrentdata.la ../src/torrent/download/libsub_torrentdownload.la ../src/torrent/peer/libsub_torrentpeer.la ../src/data/libsub_data.la ../src/dht/libsub_dht.la ../src/net/libsub_net.la ../src/protocol/libsub_protocol.la ../src/download/libsub_download.la ../src/tracker/libsub_tracker.la ../src/utils/libsub_utils.la ../src/torrent/utils/libsub_torrentutils.la -lcppunit  -lz  -lcrypto
libtool: link: g++ -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -DNDEBUG -Wall -fvisibility=hidden -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o .libs/LibTorrentTest ../src/LibTorrentTest-thread_disk.o rak/LibTorrentTest-allocators_test.o rak/LibTorrentTest-ranges_test.o data/LibTorrentTest-chunk_list_test.o data/LibTorrentTest-hash_check_queue_test.o data/LibTorrentTest-hash_queue_test.o protocol/LibTorrentTest-test_request_list.o torrent/net/LibTorrentTest-test_socket_address_key.o torrent/utils/LibTorrentTest-log_test.o torrent/utils/LibTorrentTest-log_buffer_test.o torrent/utils/LibTorrentTest-net_test.o torrent/utils/LibTorrentTest-option_strings_test.o torrent/utils/LibTorrentTest-test_extents.o torrent/utils/LibTorrentTest-test_queue_buckets.o torrent/utils/LibTorrentTest-test_uri_parser.o torrent/utils/LibTorrentTest-signal_bitfield_test.o torrent/utils/LibTorrentTest-thread_base_test.o torrent/LibTorrentTest-http_test.o torrent/LibTorrentTest-object_test.o torrent/LibTorrentTest-object_test_utils.o torrent/LibTorrentTest-object_static_map_test.o torrent/LibTorrentTest-object_stream_test.o torrent/LibTorrentTest-tracker_controller_test.o torrent/LibTorrentTest-tracker_controller_features.o torrent/LibTorrentTest-tracker_controller_requesting.o torrent/LibTorrentTest-tracker_list_test.o torrent/LibTorrentTest-tracker_list_features_test.o torrent/LibTorrentTest-tracker_timeout_test.o tracker/LibTorrentTest-tracker_http_test.o LibTorrentTest-main.o  -ldl -L/usr/lib ../src/.libs/libtorrent.so ../src/torrent/.libs/libsub_torrent.a ../src/torrent/data/.libs/libsub_torrentdata.a ../src/torrent/download/.libs/libsub_torrentdownload.a ../src/torrent/peer/.libs/libsub_torrentpeer.a ../src/data/.libs/libsub_data.a ../src/dht/.libs/libsub_dht.a ../src/net/.libs/libsub_net.a ../src/protocol/.libs/libsub_protocol.a ../src/download/.libs/libsub_download.a ../src/tracker/.libs/libsub_tracker.a ../src/utils/.libs/libsub_utils.a ../src/torrent/utils/.libs/libsub_torrentutils.a -lcppunit -lz -lcrypto -pthread
/usr/bin/ld: LibTorrentTest.lto.o: in function `utils_log_test::test_file_output()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/torrent/utils/log_test.cc:140: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerDht::is_usable() const':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../manager.h:81: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerDht::close()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../manager.h:81: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerDht::disown()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../manager.h:81: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerDht::~TrackerDht()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../manager.h:81: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerDht::~TrackerDht()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/tracker_dht.cc:71: undefined reference to `torrent::DhtRouter::cancel_announce(torrent::DownloadInfo*, torrent::TrackerDht const*)'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::Block::invalidate_transfer(torrent::BlockTransfer*)':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../torrent/utils/thread_base.h:91: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerUdp::event_write()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/tracker_udp.cc:306: undefined reference to `torrent::SocketDatagram::write_datagram(void const*, unsigned int, rak::socket_address*)'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerUdp::event_write()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../torrent/utils/thread_base.h:91: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerUdp::close_directly()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../torrent/utils/thread_base.h:91: undefined reference to `torrent::manager'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../torrent/utils/thread_base.h:91: undefined reference to `torrent::manager'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../torrent/utils/thread_base.h:91: undefined reference to `torrent::manager'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../torrent/utils/thread_base.h:91: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerUdp::close_directly()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/tracker_udp.cc:221: undefined reference to `torrent::SocketFd::close()'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerList::insert_url(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../manager.h:81: undefined reference to `torrent::manager'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../manager.h:81: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerDht::send_state(int)':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../manager.h:81: undefined reference to `torrent::manager'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../manager.h:81: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerDht::send_state(int)':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/tracker_dht.cc:106: undefined reference to `torrent::DhtRouter::announce(torrent::DownloadInfo*, torrent::TrackerDht*)'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerDht::send_state(int)':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../manager.h:81: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerDht::send_state(int)':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/tracker_dht.cc:90: undefined reference to `torrent::DhtRouter::cancel_announce(torrent::DownloadInfo*, torrent::TrackerDht const*)'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerUdp::receive_timeout()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../torrent/utils/thread_base.h:91: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerHttp::receive_done()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/tracker_http.cc:360: undefined reference to `torrent::AddressList::parse_address_normal(std::vector<torrent::Object, std::allocator<torrent::Object> > const&)'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerHttp::receive_done()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../net/address_list.h:79: undefined reference to `torrent::AddressList::parse_address_compact(torrent::raw_string)'
/usr/bin/ld: LibTorrentTest.lto.o:/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/tracker_http.cc:368: undefined reference to `torrent::AddressList::parse_address_compact_ipv6(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerUdp::send_state(int)':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../manager.h:80: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerUdp::start_announce(sockaddr const*, int)':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/tracker_udp.cc:159: undefined reference to `torrent::SocketFd::open_datagram()'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/tracker_udp.cc:159: undefined reference to `torrent::SocketFd::set_nonblock()'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerUdp::start_announce(sockaddr const*, int)':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../manager.h:80: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerUdp::start_announce(sockaddr const*, int)':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../torrent/utils/thread_base.h:91: undefined reference to `torrent::manager'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../torrent/utils/thread_base.h:91: undefined reference to `torrent::manager'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../torrent/utils/thread_base.h:91: undefined reference to `torrent::manager'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../torrent/utils/thread_base.h:91: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerUdp::start_announce(sockaddr const*, int)':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/tracker_udp.cc:164: undefined reference to `torrent::SocketFd::bind(rak::socket_address const&)'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerHttp::send_state(int)':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../manager.h:80: undefined reference to `torrent::manager'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../manager.h:80: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerHttp::send_state(int)':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/tracker_http.cc:150: undefined reference to `torrent::get_local_address(unsigned short, rak::socket_address*)'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/tracker_http.cc:156: undefined reference to `torrent::get_local_address(unsigned short, rak::socket_address*)'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerHttp::send_state(int)':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../manager.h:80: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerUdp::event_read()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/tracker_udp.cc:254: undefined reference to `torrent::SocketDatagram::read_datagram(void*, unsigned int, rak::socket_address*)'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerUdp::event_read()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../manager.h:80: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerUdp::event_read()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../torrent/utils/thread_base.h:91: undefined reference to `torrent::manager'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::thread_base::thread_base()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/thread_interrupt.cc:84: undefined reference to `torrent::SocketFd::open_socket_pair(int&, int&)'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/thread_interrupt.cc:53: undefined reference to `torrent::SocketFd::set_nonblock()'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/thread_interrupt.cc:53: undefined reference to `torrent::SocketFd::set_nonblock()'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerDht::close()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/tracker_dht.cc:115: undefined reference to `torrent::DhtRouter::cancel_announce(torrent::DownloadInfo*, torrent::TrackerDht const*)'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerDht::disown()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/tracker_dht.cc:115: undefined reference to `torrent::DhtRouter::cancel_announce(torrent::DownloadInfo*, torrent::TrackerDht const*)'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerUdp::~TrackerUdp()':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../net/socket_datagram.h:44: undefined reference to `torrent::SocketBase::~SocketBase()'
/usr/bin/ld: LibTorrentTest.lto.o: in function `torrent::TrackerList::insert_url(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) [clone .cold]':
/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test/./../net/socket_datagram.h:44: undefined reference to `torrent::SocketBase::~SocketBase()'
/usr/bin/ld: LibTorrentTest.lto.o:(.data.rel.ro+0x180): undefined reference to `typeinfo for torrent::SocketBase'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:864: LibTorrentTest] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libtorrent-0.13.8/test'
make[1]: *** [Makefile:1616: check-am] Error 2
make: *** [Makefile:507: check-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant