Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33907

CAPI library should be ABI ready

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0, 4.1.1
    • Component/s: Build
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Platforms 2018-04-23, Platforms 2018-05-21, Platforms 2018-06-04, Platforms 2018-06-18, Platforms 2018-07-16, Platforms 2018-08-13, Platforms 2018-08-27

      Description

      Several things to fix here:

      • The library is currently installed without version adornments or ABI tags. It should be installed under an ABI related soname with appropriate symlinks.
      • The headers are currently just installed to $PREFIX/include. They should be installed under a path that includes the project name and an ABI suffix, like libmongoc-1.0, etc.
      • The header file names, and library names should be made more consistent across the CAPI library, the embedded transport, and their associated headers.
      • The symbols in the CAPI header and transport shims should have the ABI version in the symbol names.
      • We should provide export macros with the appropriate visibility expansions, and build the libraries with hidden visibility.
      • The two libraries should have SONAME and or install_name set with version info appropriately interpolated.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              acm Andrew Morrow
              Reporter:
              acm Andrew Morrow
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: