Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-5994

Add Windows support for modules

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Modules are currently not supported on Windows due to a couple limitations:

      • GCC and Clang export all symbols to shared libraries by default. MSVC has the opposite behavior and does not export any symbols by default. To properly create a shared library on Windows, one must __declspec(dllexport) every single exposed function/class.
      • CMake 3.4+ has utilities for auto-generating exports, but upgrading the CMake requirement has other version incompatibilities.
      • We can't load a statically linked module due to a runtime check in the protobuf library.

      For now, module-related code is not compiled on Windows.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            kaysoky Joseph Wu
            Joseph Wu Joseph Wu

            Dates

              Created:
              Updated:

              Slack

                Issue deployment