<div dir="ltr">Hopefully <span style="color:rgb(0,0,0)">r262491 improves the situation here. Now we do the GCC 4.7+ check earlier.</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 24, 2016 at 10:17 PM, Sedat Dilek via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
when I switch to an unsupported GCC like v4.6.4 to build LLVM v3.8-rc3<br>
with cmake I get the following:<br>
...<br>
-- Looking for __atomic_fetch_add_4 in atomic<br>
-- Looking for __atomic_fetch_add_4 in atomic - not found<br>
CMake Error at cmake/modules/CheckAtomic.cmake:36 (message):<br>
  Host compiler appears to require libatomic, but cannot find it.<br>
Call Stack (most recent call first):<br>
  cmake/config-ix.cmake:296 (include)<br>
  CMakeLists.txt:407 (include)<br>
<br>
<br>
-- Configuring incomplete, errors occurred!<br>
See also "/home/wearefam/src/llvm-toolchain/llvm-build/CMakeFiles/CMakeOutput.log".<br>
See also "/home/wearefam/src/llvm-toolchain/llvm-build/CMakeFiles/CMakeError.log".<br>
<br>
I would like to see something telling me my host-compiler is not<br>
supported and I need a minimum version<br>
( My host-system is Ubuntu/precise AMD64. )<br>
<br>
See also "Host C++ Toolchain, both Compiler and Standard Library"...<br>
<br>
"For the most popular host toolchains we check for specific minimum<br>
versions in our build systems:<br>
<br>
Clang 3.1<br>
GCC 4.7<br>
Visual Studio 2013"<br>
<br>
...and "Getting a Modern Host C++ Toolchain" in [1].<br>
<br>
CMakeOutput.log and CMakeError.log are attached.<br>
<br>
Regards,<br>
- Sedat -<br>
<br>
[1] <a href="http://llvm.org/docs/GettingStarted.html" rel="noreferrer" target="_blank">http://llvm.org/docs/GettingStarted.html</a><br>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>