[
https://issues.apache.org/jira/browse/KUDU-3145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17128234#comment-17128234
]
huangtianhua commented on KUDU-3145:
------------------------------------
[~adar] [~aserbin] We build and test kudu on ubuntu 16.04 to avoid the glibc
issue https://issues.apache.org/jira/browse/KUDU-3131, and then we found this
issue, if build type is debug, there are some other tests failed, because the
gold version is too old and this leads to omitting of Kudu's tcmalloc
dependency if using dynamic linking see
https://github.com/apache/kudu/blob/master/cmake_modules/KuduLinker.cmake#L41-L53,
but the logic is wrong.
> KUDU_LINK should be set before function APPEND_LINKER_FLAGS is called
> ---------------------------------------------------------------------
>
> Key: KUDU-3145
> URL: https://issues.apache.org/jira/browse/KUDU-3145
> Project: Kudu
> Issue Type: Sub-task
> Reporter: zhaorenhai
> Priority: Major
>
> KUDU_LINK should be set before function APPEND_LINKER_FLAGS is called
>
> Because in function APPEND_LINKER_FLAGS , there are following logic:
> {code:java}
> if ("${LINKER_FAMILY}" STREQUAL "gold")
> if("${LINKER_VERSION}" VERSION_LESS "1.12" AND
> "${KUDU_LINK}" STREQUAL "d")
> message(WARNING "Skipping gold <1.12 with dynamic linking.")
> continue()
> endif()
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)