[
https://issues.apache.org/jira/browse/HDFS-13376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16422952#comment-16422952
]
James Clampffer commented on HDFS-13376:
----------------------------------------
Thanks for finding the right version of GCC to document [~GeLiXin]!
For completeness could you also update the error message in
native/libhdfspp/CMakeLists.txt where the check is done? It says what versions
of Clang work but should most likely say GCC needs to be >= 4.8.1 to help out
others who run into this.
> TLS support error in Native Build of hadoop-hdfs-native-client
> --------------------------------------------------------------
>
> Key: HDFS-13376
> URL: https://issues.apache.org/jira/browse/HDFS-13376
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build, documentation, native
> Affects Versions: 3.1.0
> Reporter: LiXin Ge
> Assignee: LiXin Ge
> Priority: Major
> Attachments: HDFS-13376.001.patch
>
>
> mvn --projects hadoop-hdfs-project/hadoop-hdfs-native-client clean package
> -Pdist,native -DskipTests -Dtar
> {noformat}
> [exec] CMake Error at main/native/libhdfspp/CMakeLists.txt:64 (message):
> [exec] FATAL ERROR: The required feature thread_local storage is not
> supported by
> [exec] your compiler. Known compilers that support this feature: GCC,
> Visual
> [exec] Studio, Clang (community version), Clang (version for iOS 9 and
> later).
> [exec]
> [exec]
> [exec] -- Performing Test THREAD_LOCAL_SUPPORTED - Failed
> [exec] -- Configuring incomplete, errors occurred!
> {noformat}
> My environment:
> Linux: Red Hat 4.4.7-3
> cmake: 3.8.2
> java: 1.8.0_131
> gcc: 4.4.7
> maven: 3.5.0
> Seems this is because the low version of gcc, will report after confirming
> it.
> Maybe the {{BUILDING.txt}} needs update to explain the supported lowest gcc
> version.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]