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"
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
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.
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, 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:
0-checking for boostlib >= 1.20.0... yes
1+checking for boostlib >= 1.47.0... yes
Great!