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

Add Windows support for modules

    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

            People

              Unassigned Unassigned
              kaysoky Joseph Wu
              Joseph Wu Joseph Wu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: