[ 
https://issues.apache.org/jira/browse/MESOS-5994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16036057#comment-16036057
 ] 

Andrew Schwartzmeyer commented on MESOS-5994:
---------------------------------------------

Pending patches put us a lot closer to enabling this, as hard-coded linkage to 
the static or shared library has been removed (barring noted places where it is 
unsupported).

> Add Windows support for modules 
> --------------------------------
>
>                 Key: MESOS-5994
>                 URL: https://issues.apache.org/jira/browse/MESOS-5994
>             Project: Mesos
>          Issue Type: Improvement
>          Components: modules
>         Environment: Windows
>            Reporter: Joseph Wu
>            Assignee: Andrew Schwartzmeyer
>            Priority: Minor
>              Labels: agent, master, mesos, mesosphere, windows
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to