Hi,
make fails with boost 1.64:
Can you reliably reproduce the issue? If so, please list the steps to reproduce below:
- ./autogen.sh && ./configure --with-incompatible-bdb (bdb version 5.2)
- make
....
CXXLD bench/bench_bitcoin
CXXLD test/test_bitcoin
test/test_test_bitcoin-arith_uint256_tests.o: In function `std::ostream& boost::test_tools::tt_detail::operator<< <bool>(std::ostream&, boost::test_tools::tt_detail::print_helper_t<bool> const&)':
/usr/local/include/boost/test/tools/detail/print_helper.hpp:216: undefined reference to `boost::test_tools::tt_detail::print_log_value<bool>::operator()(std::ostream&, bool)'
collect2: error: ld returned 1 exit status
Makefile:3837: recipe for target 'test/test_bitcoin' failed
make[2]: *** [test/test_bitcoin] Error 1
make[2]: Leaving directory '/opt/bitcoin/src'
Makefile:9352: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/opt/bitcoin/src'
Makefile:742: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
- boost version and options:
$ cat version.hh
// Boost version.hpp configuration header file ------------------------------//
// (C) Copyright John maddock 1999. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/config for documentation
#ifndef BOOST_VERSION_HPP
#define BOOST_VERSION_HPP
//
// Caution: this is the only Boost header that is guaranteed
// to change with every Boost release. Including this header
// will cause a recompile every time a new Boost version is
// used.
//
// BOOST_VERSION % 100 is the patch level
// BOOST_VERSION / 100 % 1000 is the minor version
// BOOST_VERSION / 100000 is the major version
#define BOOST_VERSION 106400
//
// BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION
// but as a *string* in the form "x_y[_z]" where x is the major version
// number, y is the minor version number, and z is the patch level if not 0.
// This is used by <config/auto_link.hpp> to select which library version to link to.
#define BOOST_LIB_VERSION "1_64"
#endif
Output of configure script:
Options used to compile and link:
with wallet = yes
with gui / qt = no
with zmq = no
with test = yes
with bench = yes
with upnp = auto
use asm = yes
debug enabled = no
werror = no
target os = linux
build os =
CC = gcc
CFLAGS = -g -O2
CPPFLAGS = -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS
CXX = g++ -std=c++11
CXXFLAGS = -g -O2 -Wall -Wextra -Wformat -Wvla -Wformat-security -Wno-unused-parameter -Wno-implicit-fallthrough
LDFLAGS =
ARFLAGS = cr
Expected behaviour
Tests should compile successfully
Actual behaviour
Tests dont compile
Screenshots.
- NaN -
What version of bitcoin-core are you using?
Last commit in git log : commit 808c84f89d0edcef9ddaab0b849a382719f6ec9e , Merge #11483: Fix importmulti bug when importing an already imported key
Machine specs:
- OS: ubuntu
- CPU: intel
- RAM: xxxx
- Disk size: enough
- Disk Type (HD/SDD): ssd
Any extra information that might be useful in the debugging process.
not that i see of