[CDRIVER-2813] Remove BSON_EXTRA_ALIGNMENT option Created: 03/Sep/18  Updated: 16/Oct/23

Status: Backlog
Project: C Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: 2.0.0

Type: Improvement Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-596 Figure out what to do about bson_t al... Closed
is related to CDRIVER-2810 misaligned address Closed
is related to CXX-1678 std::aligned_storage build failure wi... Closed
Epic Link: CDRIVER-4742

 Description   

A few structs like bson_t and bson_iter_t are declared with 128-byte alignment instead of accepting the compiler default. It's intended to enforce efficient use of the CPU cache, but it leads to obscure problems: CDRIVER-2810CDRIVER-596, CXX-CXX-1678. Remove the flag and the alignment specifiers.


Generated at Wed Feb 07 21:16:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.