-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Set minimum required Boost to 1.47.0 #8920
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
Conversation
@@ -96,7 +96,7 @@ if test "x$want_boost" = "xyes"; then | |||
libsubdirs="lib64 libx32 lib lib64" | |||
;; | |||
ppc64|s390x|sparc64|aarch64|ppc64le) | |||
libsubdirs="lib64 lib lib64 ppc64le" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eh?
@@ -33,7 +33,7 @@ | |||
# and this notice are preserved. This file is offered as-is, without any | |||
# warranty. | |||
|
|||
#serial 26 | |||
#serial 27 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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? |
@@ -72,7 +72,7 @@ AC_ARG_WITH([boost-libdir], | |||
) | |||
|
|||
if test "x$want_boost" = "xyes"; then | |||
boost_lib_version_req=ifelse([$1], ,1.20.0,$1) | |||
boost_lib_version_req=ifelse([$1], ,1.47.0,$1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
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. |
bc83e23
to
6dd3723
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks much better, thank you!
ACK 6dd3723
Build log diff:
Great! |
utACK 6dd3723 |
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! |
Github-Pull: bitcoin#8920 Rebased-From: 282abd8
Github-Pull: bitcoin#8920 Rebased-From: 6dd3723
Minimum boost version was bumped to 1.47.0 in bitcoin#8920, which means the configure step won't even pass with older boost. This version has boost filesystem v3, which means the (crappy) fallbacks for older versions can go.
Github-Pull: bitcoin#8920 Rebased-From: 282abd8
Github-Pull: bitcoin#8920 Rebased-From: 6dd3723
Minimum boost version was bumped to 1.47.0 in bitcoin#8920, which means the configure step won't even pass with older boost. This version has boost filesystem v3, which means the (crappy) fallbacks for older versions can go. Conflicts: src/test/testutil.cpp
Github-Pull: bitcoin#8920 Rebased-From: 6dd3723
Github-Pull: bitcoin#8920 Rebased-From: 282abd8
Minimum boost version was bumped to 1.47.0 in bitcoin#8920, which means the configure step won't even pass with older boost. This version has boost filesystem v3, which means the (crappy) fallbacks for older versions can go.
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.