[SERVER-42470] Generate additional configuration for libunwind Created: 29/Jul/19 Updated: 29/Oct/23 Resolved: 12/Mar/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.0-rc4, 5.0.9, 4.4.15 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Daniel Moody |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v5.0, v4.4
|
||||||||||||||||||||
| Sprint: | Dev Tools 2019-12-30, Dev Platform 2022-01-10, Dev Platform 2022-01-24, Dev Platform 2022-02-07, Dev Platform 2022-02-21, Dev Platform 2022-03-07, Dev Platform 2022-03-21 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
Right now we only generate the x86_64 linux variant, but we need the other linux variants as well. |
| Comments |
| Comment by Githook User [ 18/May/22 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}Message: (cherry picked from commit 6dd404e028547a29c21b047c2d91ed90ebb1edfb) |
| Comment by Githook User [ 18/May/22 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}Message: (cherry picked from commit 6dd404e028547a29c21b047c2d91ed90ebb1edfb) |
| Comment by Githook User [ 12/Mar/22 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}Message: |
| Comment by Billy Donahue [ 13/Jan/20 ] |
|
With 22f1d428ec3415fc4ee792eda9ac63b9d451b7d9, we have a build of libunwind for aarch64. Mongod hits a SIGSEGV while unwinding certain stacks (inside SIGUSR2 handlers). We see this behavior even with `--use-system-libunwind`, so it's not just our customized SConscript build of libunwind that's showing the problem. We could probably learn more by running libunwind's self-tests. |
| Comment by Githook User [ 13/Jan/20 ] |
|
Author: {'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}Message: |
| Comment by Githook User [ 10/Jan/20 ] |
|
Author: {'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}Message: import to new v1.4-stable-mongo tag |
| Comment by Billy Donahue [ 09/Jan/20 ] |
|
I was able to build mongod on aarch64 with libunwind enabled. libunwind on aarch64 might not be feasible.
Effort so far: |
| Comment by Billy Donahue [ 09/Jan/20 ] |
|
Needs a small patch to the aarch64 code, which uses asm instead of _asm_, which is incompatible with mongo scons' -std:c11. |