[SERVER-61743] The -fno-builtin-memcmp flag shouldn't be applied except on x86_64 platforms Created: 25/Nov/21 Updated: 29/Oct/23 Resolved: 30/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0, 5.1.2, 5.0.6, 4.4.11, 4.2.19 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (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: |
v5.2, v5.1, v5.0, v4.4, v4.2
|
||||||||
| Sprint: | Dev Platform 2021-12-13 | ||||||||
| Participants: | |||||||||
| Description |
|
We currently build with -fno-builtin-memcmp on all platforms, but the bug it was working around (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43052) was only ever an x86_64 issue. We should allow the compiler to do what it wants on non-x86_64 platforms. Note that we have We should probably also restrict application to GCC, since, again, clang isn't affected. |
| Comments |
| Comment by Githook User [ 16/Dec/21 ] |
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: (cherry picked from commit bc6a66d1d4f2bf2dfe8603de792c567ee0db830c) |
| Comment by Githook User [ 16/Dec/21 ] |
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: (cherry picked from commit bc6a66d1d4f2bf2dfe8603de792c567ee0db830c) |
| Comment by Githook User [ 15/Dec/21 ] |
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: (cherry picked from commit bc6a66d1d4f2bf2dfe8603de792c567ee0db830c) |
| Comment by Githook User [ 14/Dec/21 ] |
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: (cherry picked from commit bc6a66d1d4f2bf2dfe8603de792c567ee0db830c) |
| Comment by Githook User [ 30/Nov/21 ] |
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: |