You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 28, 2020. It is now read-only.
Reverting D57264 again, it looks like we're down to two bots that need fixing:
polly-amd64-linux
polly-arm-linux
They both have old versions of libstdc++ and recent clang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352954 91177308-0d34-0410-b5e6-96231b3b80d8
message(WARNING"Host ${NICE_NAME} version should be at least ${SOFT_ERROR_VERSION} because LLVM will soon use new C++ features which your toolchain version doesn't support. Your version is ${CMAKE_CXX_COMPILER_VERSION}. Ignoring because you've set LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN, but very soon your toolchain won't be supported.")
39
-
else()
40
-
message(FATAL_ERROR"Host ${NICE_NAME} version should be at least ${SOFT_ERROR_VERSION} because LLVM will soon use new C++ features which your toolchain version doesn't support. Your version is ${CMAKE_CXX_COMPILER_VERSION}. You can temporarily opt out using LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN, but very soon your toolchain won't be supported.")
message(WARNING"Host ${NICE_NAME} version must be at least ${WARN_VERSION} due to miscompiles from earlier versions, your version is ${CMAKE_CXX_COMPILER_VERSION}.")
message(FATAL_ERROR"libstdc++ version must be at least ${GCC_MIN}.")
73
-
endif()
74
-
check_cxx_source_compiles("
75
-
#include <iosfwd>
76
-
#if defined(__GLIBCXX__)
77
-
#if __GLIBCXX__ < ${GCC_SOFT_ERROR_DATE}
78
-
#error Unsupported libstdc++ version
79
-
#endif
80
-
#endif
81
-
int main() { return 0; }
82
-
"
83
-
LLVM_LIBSTDCXX_SOFT_ERROR)
84
-
if(NOTLLVM_LIBSTDCXX_SOFT_ERROR)
85
-
if(LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN)
86
-
message(WARNING"libstdc++ version should be at least ${GCC_SOFT_ERROR} because LLVM will soon use new C++ features which your toolchain version doesn't support. Ignoring because you've set LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN, but very soon your toolchain won't be supported.")
87
-
else()
88
-
message(FATAL_ERROR"libstdc++ version should be at least ${GCC_SOFT_ERROR} because LLVM will soon use new C++ features which your toolchain version doesn't support. You can temporarily opt out using LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN, but very soon your toolchain won't be supported.")
89
-
endif()
56
+
#include <atomic>
57
+
std::atomic<float> x(0.0f);
58
+
int main() { return (float)x; }"
59
+
LLVM_NO_OLD_LIBSTDCXX)
60
+
if(NOTLLVM_NO_OLD_LIBSTDCXX)
61
+
message(FATAL_ERROR"Host Clang must be able to find libstdc++4.8 or newer!")
0 commit comments