[SERVER-9761] Mongo executables should be built with '-z now' or equivalent on all nix platforms Created: 23/May/13 Updated: 21/Oct/22 Resolved: 23/Nov/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
We should force early symbol binding for our executables. There is no reason for us to fear the startup cost of doing so on modern hardware for long running processes, and a process with unresolvable symbols that is started successfully is a basically a time bomb. |
| Comments |
| Comment by auto [ 24/Jun/13 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}Message: |
| Comment by Andrew Morrow (Inactive) [ 14/Jun/13 ] |
|
The analogous flag on OS X is -bind_at_load. I think this behavior is the default on windows. |
| Comment by Eric Milkie [ 23/May/13 ] |
|
If we do this (and I think we should), running the current "Solaris" build on certain Solaris platforms such as Solaris 10 will no longer be possible. We'll have to have something ready prior to releasing this. |