Skip to content

Conversation

fanquake
Copy link
Member

@fanquake fanquake commented Nov 9, 2016

0.13.0 is no longer compatible with OS X 10.7, see discussion in this thread, and a plist change was made to prevent bitcoin-core running on 10.7 systems.

Earlier discussion mentioned that once we set the minimum target version to 10.8, we could remove some OS X related hacks, particularly in macnotificationhandler.mm, so that could now be revisited.

@laanwj
Copy link
Member

laanwj commented Nov 9, 2016

Concept ACK

@jonasschnelli
Copy link
Contributor

ACK 617c96d

@paveljanik
Copy link
Contributor

Concept ACK

@theuni
Copy link
Member

theuni commented Nov 10, 2016

utACK 617c96d

@fanquake
Copy link
Member Author

A bit more info about this. If you generate a depends prefix on OS X 10.12, and then plug that into configure, ./configure --prefix=/Users/michael/Github/bitcoin/depends/x86_64-apple-darwin16.1.0, when you compile it will fail with:

In file included from httpserver.cpp:22:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:1162:1: error: 'future<bool>' is unavailable: introduced in macOS 10.8
future<_Rp>::~future()

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:1896:1: error: '__packaged_task_function<bool (event_base *, evhttp *)>' is unavailable: introduced in macOS 10.8
__packaged_task_function<_Rp(_ArgTypes...)>::__packaged_task_function(_Fp&& __f)

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:632:1: error: '__assoc_state<bool>' is unavailable: introduced in macOS 10.8
__assoc_state<_Rp>::__on_zero_shared() _NOEXCEPT

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:1455:1: error: 'promise<bool>' is unavailable: introduced in macOS 10.8
promise<_Rp>::get_future()

18 errors generated.

After this change it compiles.

@laanwj laanwj merged commit 617c96d into bitcoin:master Nov 11, 2016
laanwj added a commit that referenced this pull request Nov 11, 2016
617c96d [depends] Set OSX_MIN_VERSION to 10.8 (fanquake)
@fanquake fanquake deleted the depends-min-osx-10-8 branch November 11, 2016 09:10
zkbot added a commit to zcash/zcash that referenced this pull request Nov 30, 2017
Darwin build fixes

Includes fixes cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#7136
  - Only the third commit (to avoid a merge conflict)
- bitcoin/bitcoin#7302
  - Excluding the first commit, which is unnecessary (we use Boost 1.62)
- bitcoin/bitcoin#7487
- bitcoin/bitcoin#7606
- bitcoin/bitcoin#7711
- bitcoin/bitcoin#7165
- bitcoin/bitcoin#8002
- bitcoin/bitcoin#8210
  - Only the second commit
- bitcoin/bitcoin#9114
zkbot added a commit to zcash/zcash that referenced this pull request Nov 30, 2017
Darwin build fixes

Includes fixes cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#7136
  - Only the third commit (to avoid a merge conflict)
- bitcoin/bitcoin#7302
  - Excluding the first commit, which is unnecessary (we use Boost 1.62)
- bitcoin/bitcoin#7487
- bitcoin/bitcoin#7606
- bitcoin/bitcoin#7711
- bitcoin/bitcoin#7165
- bitcoin/bitcoin#8002
- bitcoin/bitcoin#8210
  - Only the second commit
- bitcoin/bitcoin#9114
zkbot added a commit to zcash/zcash that referenced this pull request Nov 30, 2017
Darwin build fixes

Includes fixes cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#7136
  - Only the third commit (to avoid a merge conflict)
- bitcoin/bitcoin#7302
  - Excluding the first commit, which is unnecessary (we use Boost 1.62)
- bitcoin/bitcoin#7487
- bitcoin/bitcoin#7606
- bitcoin/bitcoin#7711
- bitcoin/bitcoin#7165
- bitcoin/bitcoin#8002
- bitcoin/bitcoin#8210
  - Only the second commit
- bitcoin/bitcoin#9114
codablock pushed a commit to codablock/dash that referenced this pull request Feb 7, 2018
617c96d [depends] Set OSX_MIN_VERSION to 10.8 (fanquake)
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request Feb 28, 2019
617c96d [depends] Set OSX_MIN_VERSION to 10.8 (fanquake)
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request Mar 2, 2019
617c96d [depends] Set OSX_MIN_VERSION to 10.8 (fanquake)
@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.

5 participants