[SERVER-64803] Format Macros bug when building the server w/ static linking Created: 22/Mar/22 Updated: 29/Oct/23 Resolved: 21/Apr/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc3, 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Maddie Zechar | Assignee: | Ryan Egesdahl (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Backport Requested: |
v6.0
|
||||
| Sprint: | Dev Platform 2022-04-18, Dev Platform 2022-05-02 | ||||
| Participants: | |||||
| Description |
|
I ran into an issue trying to build the server on my ubuntu1804-workstation with static linking. scons command: then running ninja resulted in this error: <command-line>: note: this is the location of the previous definition I fixed it by reverting this commit https://github.com/mongodb/mongo/commit/86da2a644b2a7bcb2ad6c0ea463e7ddc8ca6c6ac and then rebuilding. |
| Comments |
| Comment by Githook User [ 27/Apr/22 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: (cherry picked from commit 8e9d52279220f790eb1aac6e64679b8cf11501a2) |
| Comment by Ryan Egesdahl (Inactive) [ 21/Apr/22 ] |
|
For the sake of later archaeologists, this problem was caused by an upgrade to MozJS to support MacOS ARM and only happened on RHEL 6 due to an old glibc version. Its occurrence was limited to our performance build hosts, which are currently running RHEL 6, though we are as of this writing in the process of determining how best to update them. We never backported the MozJS upgrade to any branch that still supports RHEL 6.0, so this would never have occurred on a supported release build. |
| Comment by Githook User [ 20/Apr/22 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: |