Sedat Dilek via llvm-dev
2016-Feb-25 06:17 UTC
[llvm-dev] [llvm-3.8-ec3] cmake-2.8.12 and gcc-4.6: Host compiler appears to require libatomic, but cannot find it.
Hi, when I switch to an unsupported GCC like v4.6.4 to build LLVM v3.8-rc3 with cmake I get the following: ... -- Looking for __atomic_fetch_add_4 in atomic -- Looking for __atomic_fetch_add_4 in atomic - not found CMake Error at cmake/modules/CheckAtomic.cmake:36 (message): Host compiler appears to require libatomic, but cannot find it. Call Stack (most recent call first): cmake/config-ix.cmake:296 (include) CMakeLists.txt:407 (include) -- Configuring incomplete, errors occurred! See also "/home/wearefam/src/llvm-toolchain/llvm-build/CMakeFiles/CMakeOutput.log". See also "/home/wearefam/src/llvm-toolchain/llvm-build/CMakeFiles/CMakeError.log". I would like to see something telling me my host-compiler is not supported and I need a minimum version ( My host-system is Ubuntu/precise AMD64. ) See also "Host C++ Toolchain, both Compiler and Standard Library"... "For the most popular host toolchains we check for specific minimum versions in our build systems: Clang 3.1 GCC 4.7 Visual Studio 2013" ...and "Getting a Modern Host C++ Toolchain" in [1]. CMakeOutput.log and CMakeError.log are attached. Regards, - Sedat - [1] http://llvm.org/docs/GettingStarted.html -------------- next part -------------- A non-text attachment was scrubbed... Name: CMakeError.log Type: text/x-log Size: 15160 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160225/9f6d5bbc/attachment-0002.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: CMakeOutput.log Type: text/x-log Size: 123133 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160225/9f6d5bbc/attachment-0003.bin>
Reid Kleckner via llvm-dev
2016-Mar-02 16:48 UTC
[llvm-dev] [llvm-3.8-ec3] cmake-2.8.12 and gcc-4.6: Host compiler appears to require libatomic, but cannot find it.
Hopefully r262491 improves the situation here. Now we do the GCC 4.7+ check earlier. On Wed, Feb 24, 2016 at 10:17 PM, Sedat Dilek via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hi, > > when I switch to an unsupported GCC like v4.6.4 to build LLVM v3.8-rc3 > with cmake I get the following: > ... > -- Looking for __atomic_fetch_add_4 in atomic > -- Looking for __atomic_fetch_add_4 in atomic - not found > CMake Error at cmake/modules/CheckAtomic.cmake:36 (message): > Host compiler appears to require libatomic, but cannot find it. > Call Stack (most recent call first): > cmake/config-ix.cmake:296 (include) > CMakeLists.txt:407 (include) > > > -- Configuring incomplete, errors occurred! > See also > "/home/wearefam/src/llvm-toolchain/llvm-build/CMakeFiles/CMakeOutput.log". > See also > "/home/wearefam/src/llvm-toolchain/llvm-build/CMakeFiles/CMakeError.log". > > I would like to see something telling me my host-compiler is not > supported and I need a minimum version > ( My host-system is Ubuntu/precise AMD64. ) > > See also "Host C++ Toolchain, both Compiler and Standard Library"... > > "For the most popular host toolchains we check for specific minimum > versions in our build systems: > > Clang 3.1 > GCC 4.7 > Visual Studio 2013" > > ...and "Getting a Modern Host C++ Toolchain" in [1]. > > CMakeOutput.log and CMakeError.log are attached. > > Regards, > - Sedat - > > [1] http://llvm.org/docs/GettingStarted.html > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160302/70f989a6/attachment.html>
Sedat Dilek via llvm-dev
2016-Mar-02 16:51 UTC
[llvm-dev] [llvm-3.8-ec3] cmake-2.8.12 and gcc-4.6: Host compiler appears to require libatomic, but cannot find it.
On 3/2/16, Reid Kleckner <rnk at google.com> wrote:> Hopefully r262491 improves the situation here. Now we do the GCC 4.7+ check > earlier. >Thanks a lot. But I am here on llvm.git - do you have the commit subject-line? Thanks. - Sedat -> On Wed, Feb 24, 2016 at 10:17 PM, Sedat Dilek via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> Hi, >> >> when I switch to an unsupported GCC like v4.6.4 to build LLVM v3.8-rc3 >> with cmake I get the following: >> ... >> -- Looking for __atomic_fetch_add_4 in atomic >> -- Looking for __atomic_fetch_add_4 in atomic - not found >> CMake Error at cmake/modules/CheckAtomic.cmake:36 (message): >> Host compiler appears to require libatomic, but cannot find it. >> Call Stack (most recent call first): >> cmake/config-ix.cmake:296 (include) >> CMakeLists.txt:407 (include) >> >> >> -- Configuring incomplete, errors occurred! >> See also >> "/home/wearefam/src/llvm-toolchain/llvm-build/CMakeFiles/CMakeOutput.log". >> See also >> "/home/wearefam/src/llvm-toolchain/llvm-build/CMakeFiles/CMakeError.log". >> >> I would like to see something telling me my host-compiler is not >> supported and I need a minimum version >> ( My host-system is Ubuntu/precise AMD64. ) >> >> See also "Host C++ Toolchain, both Compiler and Standard Library"... >> >> "For the most popular host toolchains we check for specific minimum >> versions in our build systems: >> >> Clang 3.1 >> GCC 4.7 >> Visual Studio 2013" >> >> ...and "Getting a Modern Host C++ Toolchain" in [1]. >> >> CMakeOutput.log and CMakeError.log are attached. >> >> Regards, >> - Sedat - >> >> [1] http://llvm.org/docs/GettingStarted.html >> >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> >> >
Apparently Analagous Threads
- Building LLVM 3.7.1 on OS X
- build issue in llvm-clang cross tool chain for arm target
- failing bootstrap: C++11 or greater is required but the compiler does not support c++11
- failing bootstrap: C++11 or greater is required but the compiler does not support c++11
- Couldn't successfully generate project files for LLVM (checked out from trunk)