Boost is on the way out, but in the mean time, having the minimum set to 1.20.0 is misleading, and can lead to issues like #8868.
1.47.0 is the first version to include Chrono. See #8875 for some history.
95 | @@ -96,7 +96,7 @@ if test "x$want_boost" = "xyes"; then 96 | libsubdirs="lib64 libx32 lib lib64" 97 | ;; 98 | ppc64|s390x|sparc64|aarch64|ppc64le) 99 | - libsubdirs="lib64 lib lib64 ppc64le"
Eh?
32 | @@ -33,7 +33,7 @@ 33 | # and this notice are preserved. This file is offered as-is, without any 34 | # warranty. 35 | 36 | -#serial 26 37 | +#serial 27
The serial should reflect the original version used as a base - coming from https://www.gnu.org/software/autoconf-archive/ax_boost_base.html
So you are updating the file to match and at the same time upgrading the minimal requirement. Please always mention this in the PR text and not hide the first part.
Changes like this should be done in two commits, I think.
Concept ACK, but shouldn't some documentation need updating as well?
71 | @@ -72,7 +72,7 @@ AC_ARG_WITH([boost-libdir], 72 | ) 73 | 74 | if test "x$want_boost" = "xyes"; then 75 | - boost_lib_version_req=ifelse([$1], ,1.20.0,$1) 76 | + boost_lib_version_req=ifelse([$1], ,1.47.0,$1)
concept ACK - though personally I'd prefer passing in this version as a parameter from our configure.ac, if possible, instead of changing this upstream file
Concept ACK, but shouldn't some documentation need updating as well?
If only we had documentation for minimum version requirements, it should be updated. But doesn't look like we do, build-unix only lists the libraries necessary not their minimum supported versions. We've never really kept track of those.
This looks much better, thank you!
ACK https://github.com/bitcoin/bitcoin/pull/8920/commits/6dd37237222f7102e223ece948150cb5c5087e3c
Build log diff:
-checking for boostlib >= 1.20.0... yes
+checking for boostlib >= 1.47.0... yes
Great!
utACK 6dd37237222f7102e223ece948150cb5c5087e3c
utACK 6dd3723
post-merge ACK.
An error when build with Boost 1.49: http://pastebin.com/b2JHAE01
@Zenitur Upstream bug https://svn.boost.org/trac/boost/ticket/6790
@paveljanik now it works. Thank you!