[llvm-dev] GCC prerequisites for building LLVM head?
Renato Golin via llvm-dev
llvm-dev at lists.llvm.org
Wed Jul 6 02:12:06 PDT 2016
On 6 July 2016 at 08:46, Martin J. O'Riordan via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Is there is minimum required version for GCC to build LLVM from the head
Last I checked it was 4.7. The CMake files also tell me that's correct:
# Check if the host compiler is new enough. LLVM requires at least GCC 4.7,
> I have GCC v4.9.3, but ‘Tools/sancov/sancov.cc’ won’t build because
> ‘std::to_string’ does not exist. When running CMake it did not flag GCC
> v4.9.3 as too old, and it is passing the ‘-std=gnu++11’ option, but
> apparently this version of GCC is not fully C++ 11 compliant, or at least
> its C++ library isn’t.
This sounds odd. I have buildbots with 4.8.2 and 4.9.2 working perfectly.
Could this be a problem in your setup?
More information about the llvm-dev