LiXin Ge created HDFS-13375:
-------------------------------

             Summary: TLS support error in Native Build of 
hadoop-hdfs-native-client
                 Key: HDFS-13375
                 URL: https://issues.apache.org/jira/browse/HDFS-13375
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: build, documentation, native
    Affects Versions: 3.1.0
            Reporter: LiXin Ge


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: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to