[SERVER-41970] Handle RPATH updates intelligently Created: 27/Jun/19 Updated: 31/Jul/20 Resolved: 24/Jul/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mathew Robinson (Inactive) | Assignee: | Daniel Moody |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Sprint: | Dev Platform 2020-07-27 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 50 | ||||||||||||||||
| Description |
|
If $PREFIX is an absolute path then the RPATH used while linking should not include $ORIGIN and should only include $PREFIX_LIBDIR If $PREFIX_LIBDIR is set, then the path relative to $ORIGIN should reflect this. Today it is hard coded to $ORIGIN/../lib and so if $PREFIX_LIBDIR is set to book_room then the resulting binaries would not work if --link-model=dynamic. |
| Comments |
| Comment by Githook User [ 24/Jul/20 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}Message: |
| Comment by Mathew Robinson (Inactive) [ 04/Oct/19 ] |
|
I think this should move on to the "Dynamic Builds by Default" epic. acm do you agree? |