Skip to content

Conversation

fanquake
Copy link
Member

@fanquake fanquake commented Oct 14, 2016

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.

@@ -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"
Copy link
Contributor

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
Copy link
Contributor

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

@paveljanik
Copy link
Contributor

paveljanik commented Oct 14, 2016

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.

@luke-jr
Copy link
Member

luke-jr commented Oct 14, 2016

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)
Copy link
Member

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

@laanwj
Copy link
Member

laanwj commented Oct 15, 2016

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.

Copy link
Contributor

@paveljanik paveljanik left a 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

@paveljanik
Copy link
Contributor

Build log diff:

-checking for boostlib >= 1.20.0... yes
+checking for boostlib >= 1.47.0... yes

Great!

@jonasschnelli
Copy link
Contributor

utACK 6dd3723

@maflcko
Copy link
Member

maflcko commented Oct 17, 2016

utACK 6dd3723

@laanwj laanwj merged commit 6dd3723 into bitcoin:master Oct 17, 2016
laanwj added a commit that referenced this pull request Oct 17, 2016
6dd3723 Set minimum required Boost to 1.47.0 (fanquake)
282abd8 [build-aux] Boost_Base serial 27 (fanquake)
@fanquake fanquake deleted the set-minimum-boost branch October 17, 2016 11:45
@theuni
Copy link
Member

theuni commented Oct 17, 2016

post-merge ACK.

@Zenitur
Copy link

Zenitur commented Nov 4, 2016

An error when build with Boost 1.49: http://pastebin.com/b2JHAE01

@paveljanik
Copy link
Contributor

@Zenitur
Copy link

Zenitur commented Nov 6, 2016

@paveljanik now it works. Thank you!

luke-jr pushed a commit to luke-jr/bitcoin that referenced this pull request Dec 2, 2016
luke-jr pushed a commit to luke-jr/bitcoin that referenced this pull request Dec 2, 2016
laanwj added a commit to laanwj/bitcoin that referenced this pull request Feb 10, 2017
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.
schinzelh pushed a commit to dashpay/dash that referenced this pull request Oct 23, 2017
Github-Pull: bitcoin#8920
Rebased-From: 282abd8
schinzelh pushed a commit to dashpay/dash that referenced this pull request Oct 23, 2017
codablock pushed a commit to codablock/dash that referenced this pull request Jan 12, 2018
6dd3723 Set minimum required Boost to 1.47.0 (fanquake)
282abd8 [build-aux] Boost_Base serial 27 (fanquake)
HashUnlimited pushed a commit to chaincoin/chaincoin that referenced this pull request Feb 27, 2018
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
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request Oct 16, 2018
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request Oct 16, 2018
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request Jun 23, 2019
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.
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants