[SERVER-85825] Build failure with llvm.org clang 16+ due to boost error: integer value -1 is outside the valid range of values [0, 3] for the enumeration type Created: 27/Jan/24 Updated: 31/Jan/24 |
|
| Status: | Needs Verification |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 6.0.7 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ryan Schmidt | Assignee: | Thomas Langston |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Build
|
| Operating System: | ALL |
| Participants: |
| Description |
|
Building mongodb 6.0.7 on macOS 12.7.2 with llvm.org clang 17.0.6 (installed using MacPorts, though that shouldn't be relevant) fails. I'm using scons flags "- The error this time is:
I believe mongodb 7.0.5 is still affected because I see the same message, but as a warning rather than an error, when I build mongodb 7.0.5 on macOS 14.2.1 with Apple clang 15.0.0. I don't have llvm.org clang 17.0.6 installed on that system to test it but I believe that it would report that as an error. The MacPorts project has a ticket tracking this issue for its boost ports as well: https://trac.macports.org/ticket/69103 |
| Comments |
| Comment by Daniel Moody [ 30/Jan/24 ] |
|
possibly this is fixed in boost 1.81: https://github.com/boostorg/numeric_conversion/commit/50a1eae942effb0a9b90724323ef8f2a67e7984a |