[SERVER-44688] duplicate symbols when compiling with clang 9 Created: 17/Nov/19 Updated: 21/Nov/19 Resolved: 21/Nov/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | 4.2.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ryan Schmidt | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Dev Platform 2019-12-02 | ||||||||
| Participants: | |||||||||
| Description |
|
Hi, mongodb 4.2.1 builds fine on macOS 10.13 when compiled with --libc++ using MacPorts clang 7, and also with clang 8 if I apply the fix fromĀ duplicate symbol __ZN5mongo13error_details11isNamedCodeILi9EEE in: My compressed full build log is attached. Another user reported the same problem when using clang 9 to build mongodb 4.0.13 on OS X 10.11. Here is their compressed full build log if you'd like it. |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 21/Nov/19 ] |
|
ryandesign - I believe this has been fixed on the v4.2 branch and the fix will arrive in the upcoming r4.2.2 tag. I'm closing this ticket, but please let me know if I there is more I can do to assist. The v4.2 commit is available here: https://github.com/mongodb/mongo/commit/e484c9af6b4ae4a1d22c905e252ad3ad13f30bfc |
| Comment by Andrew Morrow (Inactive) [ 20/Nov/19 ] |
|
ryandesign - Were you able to see if the fix for |
| Comment by Andrew Morrow (Inactive) [ 19/Nov/19 ] |
|
ryandesign - I think this is |