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] -- Performing Test THREAD_LOCAL_SUPPORTED - Failed
[exec] -- Configuring incomplete, errors occurred!
Linux: Red Hat 4.4.7-3
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.