You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joseph Wu (JIRA)" <ji...@apache.org> on 2016/08/05 00:42:20 UTC
[jira] [Commented] (MESOS-5994) Add Windows support for modules
[ https://issues.apache.org/jira/browse/MESOS-5994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15408703#comment-15408703 ]
Joseph Wu commented on MESOS-5994:
----------------------------------
The review that disables modules in tests on Windows: https://reviews.apache.org/r/50827/
> 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
> 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.4#6332)