Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13376

Specify minimum GCC version to avoid TLS support error in Build of hadoop-hdfs-native-client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.2.0, 3.3.0
    • build, documentation, native
    • None

    Description

      mvn --projects hadoop-hdfs-project/hadoop-hdfs-native-client clean package -Pdist,native -DskipTests -Dtar

      [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!
      

      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.

      Attachments

        1. HDFS-13376.001.patch
          0.6 kB
          LiXin Ge
        2. HDFS-13376.002.patch
          0.7 kB
          LiXin Ge

        Activity

          People

            GeLiXin LiXin Ge
            GeLiXin LiXin Ge
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: