Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2813

Remove BSON_EXTRA_ALIGNMENT option

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.0
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Needed
    • None
    • Minor Change
    • Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      Remove BSON_EXTRA_ALIGNMENT option from this page:
      https://github.com/mongodb/docs-c/blob/a696ccb8d9f84684ab1fd9717e8fdad31d6963f5/source/install-from-source.txt#L269
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      No.
      3. Which versions of the driver/connector does this apply to?
      C driver 2.0.0.

      Show
      1. What would you like to communicate to the user about this feature? Remove BSON_EXTRA_ALIGNMENT option from this page: https://github.com/mongodb/docs-c/blob/a696ccb8d9f84684ab1fd9717e8fdad31d6963f5/source/install-from-source.txt#L269 2. Would you like the user to see examples of the syntax and/or executable code and its output? No. 3. Which versions of the driver/connector does this apply to? C driver 2.0.0.
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: