[llvm-dev] CMake warning when compiling Clang/LLVM

Nat! via llvm-dev llvm-dev at lists.llvm.org
Sun Jan 28 11:00:39 PST 2018



On 26.01.2018 21:32, Simone Atzeni via llvm-dev wrote:
> Hi,
>
> when I run cmake I get the following warning:
>
> ---------------------------------------------------------------------------------------
> CMake Warning at cmake/modules/HandleLLVMStdlib.cmake:24 (message):
>   Can't specify libc++ with '-stdlib='
> Call Stack (most recent call first):
>   cmake/config-ix.cmake:15 (include)
>   CMakeLists.txt:580 (include)
> --------------------------------------------------------------------------------------- 
>
>
> I am using GCC 4.8.5 to build on a x86_64 machine with RedHat OS.
>
> Any idea why?

I had problems building the llvm libcxx libraries with gcc 5.3. I then 
used gcc 7 and my problems went away.
That doesn't answer your question, but might be helpful down the road. :)

Ciao
    Nat!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180128/299e1879/attachment.html>


More information about the llvm-dev mailing list