hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9408) extend the build system to produce static and dynamic libhdfspp libs
Date Thu, 12 Nov 2015 22:31:11 GMT

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

Haohui Mai commented on HDFS-9408:
----------------------------------

{code}
+IF(UNIX)
+  # linking a shared library from static ones requires --whole-archive
+  SET(LIBHDFSPP_SUBLIBS -Wl,--whole-archive ${LIBHDFSPP_SUBLIBS} -Wl,--no-whole-archive)
+ENDIF(UNIX)
+
{code}

Tested on MacOS X. It breaks the Mac OS build :-(

> extend the build system to produce static and dynamic libhdfspp libs
> --------------------------------------------------------------------
>
>                 Key: HDFS-9408
>                 URL: https://issues.apache.org/jira/browse/HDFS-9408
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: Stephen
>            Assignee: Stephen
>             Fix For: HDFS-8707
>
>         Attachments: HDFS-9408.HDFS-8707.001.patch, HDFS-9408.HDFS-8707.002.patch, HDFS-9408.HDFS-8707.003.patch,
HDFS-9408.HDFS-8707.004.patch, HDFS-9408.HDFS-8707.005.patch
>
>
> Generate static and dynamic libhdfspp libraries for use by other applications.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message