Skip to content
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

Fix compiler version check on macOS #560

Merged
merged 1 commit into from
Apr 2, 2020

Conversation

Bo98
Copy link
Contributor

@Bo98 Bo98 commented Mar 29, 2020

Fixes #440.

This fixes Xcode 11.4 builds. gcc is just an alias to clang in Xcode, but -dumpversion returned a fixed 4.2.1 for compatibility reasons (the last version of gcc Xcode shipped). Xcode 11.4 changed this to now return the Apple Clang version, which is now 11.0.3. Because the version checks were a lexicographical comparison, "11.0.3" was seen as < "4.0.0".

asfgit pushed a commit to apache/kudu that referenced this pull request Apr 2, 2020
The latest Catalina update broke boost due to bad version parsing/checks.
This patch applies the fix from the below pull request as a patch:
boostorg/build#560

See boostorg/build#440 for additional context.

Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Reviewed-on: http://gerrit.cloudera.org:8080/15632
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <adar@cloudera.com>
Reviewed-by: Alexey Serbin <aserbin@cloudera.com>
Reviewed-by: Andrew Wong <awong@cloudera.com>
@grafikrobot grafikrobot merged commit b3a59d2 into boostorg:develop Apr 2, 2020
@Bo98 Bo98 deleted the xcode-11.4-fix branch April 2, 2020 00:33
mjmacleod added a commit to muntorg/munt-official that referenced this pull request Apr 20, 2020
Breakage is in boost, with bjam picking up wrong compiler version.
Fix is relatively simple, backported a patch from boost which will be included in newer boost versions (.73 onwards) when we upgrade in future

See:
boostorg/build#440
boostorg/build#560
mjmacleod added a commit to muntorg/munt-official that referenced this pull request Apr 20, 2020
Breakage is in boost, with bjam picking up wrong compiler version.
Fix is relatively simple, backported a patch from boost which will be included in newer boost versions (.73 onwards) when we upgrade in future

See:
boostorg/build#440
boostorg/build#560
mjmacleod added a commit to muntorg/munt-official that referenced this pull request Apr 20, 2020
Breakage is in boost, with bjam picking up wrong compiler version.
Fix is relatively simple, backported a patch from boost which will be included in newer boost versions (.73 onwards) when we upgrade in future

See:
boostorg/build#440
boostorg/build#560
nieder added a commit to fink/fink-distributions that referenced this pull request Apr 28, 2020
svarnau added a commit to svarnau/yugabyte-db-thirdparty that referenced this pull request May 7, 2020
mbautin pushed a commit to yugabyte/yugabyte-db-thirdparty that referenced this pull request May 7, 2020
svarnau added a commit to yugabyte/yugabyte-db that referenced this pull request May 7, 2020
Summary: Patch boost build from boostorg/build#560

Test Plan:
  Mac Catalina latop: yb_build.sh --clean-thirdparty release

Reviewers: bogdan, wesley, amitanand, mikhail

Reviewed By: mikhail

Subscribers: devops

Differential Revision: https://phabricator.dev.yugabyte.com/D8433
str4d added a commit to str4d/zcash that referenced this pull request Oct 5, 2020
- The old patch is no longer necessary because of this upstream fix:
    boostorg/build#560

- Boost 1.72 removed a <deque> from an include, which exposed a missing
  include in src/httpserver.cpp.

- Boost 1.73 moved function placeholders into the boost::placeholders
  namespace.

- The new patch is a fix from just after Boost 1.74 was released, fixing
  a warning that was missed.
abitmore added a commit to bitshares/homebrew-boost that referenced this pull request Nov 1, 2020
abitmore added a commit to bitshares/homebrew-boost that referenced this pull request Nov 1, 2020
abitmore added a commit to bitshares/homebrew-boost that referenced this pull request Nov 1, 2020
Flamefire added a commit to Flamefire/s25client that referenced this pull request Dec 18, 2020
Flamefire added a commit to Flamefire/s25client that referenced this pull request Dec 18, 2020
Flamefire added a commit to Flamefire/s25client that referenced this pull request Dec 18, 2020
Flow86 pushed a commit to Return-To-The-Roots/s25client that referenced this pull request Dec 19, 2020
@github-actions github-actions bot added the transition Transition to bfgroup/b2 label Oct 2, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 2, 2021
Asherda pushed a commit to Asherda/VerusCoin that referenced this pull request May 17, 2023
- The old patch is no longer necessary because of this upstream fix:
    boostorg/build#560

- Boost 1.72 removed a <deque> from an include, which exposed a missing
  include in src/httpserver.cpp.

- Boost 1.73 moved function placeholders into the boost::placeholders
  namespace.

- The new patch is a fix from just after Boost 1.74 was released, fixing
  a warning that was missed.
Asherda pushed a commit to VerusCoin/VerusCoin that referenced this pull request May 18, 2023
- The old patch is no longer necessary because of this upstream fix:
    boostorg/build#560

- Boost 1.72 removed a <deque> from an include, which exposed a missing
  include in src/httpserver.cpp.

- Boost 1.73 moved function placeholders into the boost::placeholders
  namespace.

- The new patch is a fix from just after Boost 1.74 was released, fixing
  a warning that was missed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
transition Transition to bfgroup/b2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect comparison of version number on Darwin
2 participants