[llvm-dev] [llvm-3.8-ec3] cmake-2.8.12 and gcc-4.6: Host compiler appears to require libatomic, but cannot find it.
Sedat Dilek via llvm-dev
llvm-dev at lists.llvm.org
Wed Feb 24 22:17:58 PST 2016
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>
More information about the llvm-dev
mailing list