[CXX-2127] Build fails on macOS on arm64 Created: 09/Nov/20 Updated: 28/Oct/23 Resolved: 11/Nov/20 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Portability |
| Affects Version/s: | 3.6.1 |
| Fix Version/s: | 3.6.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ryan Schmidt | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
macOS 11.0.1 RC, Xcode 12.2 RC, Apple arm64 Development Test Kit machine |
||
| Description |
|
The error message seen when building on macOS on arm64 (sometimes called aarch64) is:
catch.hpp contains this code:
Note the absence of any conditional for different assembly code for different architectures or fallback non-assembly code for unknown architectures—which is present in the subsequent CATCH_PLATFORM_LINUX block. (Why do you need different blocks for macOS and Linux?) |
| Comments |
| Comment by Githook User [ 11/Nov/20 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message: |
| Comment by Kevin Albertson [ 11/Nov/20 ] |
| Comment by Kevin Albertson [ 11/Nov/20 ] |
|
Hi ryandesign, thank you for bringing this to our attention. We vendor in a copy of Catch2 v2.10.2, which appears to have fixed this bug in v2.12.4. We'll look into fixing this soon. |