[llvm-dev] LLVM libcxx build failed
users users via llvm-dev
llvm-dev at lists.llvm.org
Thu Dec 31 12:52:41 PST 2020
Dear LLVM developers:
I am trying to build LLVM 11 & subprojects "clang;libcxx;libcxxabi" with
gcc 8.2.0, but it failed with the following error messages:
....../build/libcxxabi/src/cxa_aux_runtime.cpp
In file included from .../build/libcxx/include/stdlib.h:94,
from .../build/libcxx/include/cstdlib:86,
from .../build/libcxx/include/exception:82,
from .../build/libcxx/include/new:85,
from .../build/libcxxabi/src/cxa_aux_runtime.cpp:14:
.../8.2.0/include/c++/8.2.0/stdlib.h:38:12: error: 'std::abort' has
not been declared
using std::abort;
^~~~~
.../8.2.0/include/c++/8.2.0/stdlib.h:39:12: error: 'std::atexit' has
not been declared
using std::atexit;
^~~~~~
.../8.2.0/include/c++/8.2.0/stdlib.h:40:12: error: 'std::exit' has not
been declared
.......... a lot more on std::xxxx not declared errors ........
I try it on IBM power8 and X86_64 both produced the similar errors on
cxa_aux_runtime.cpp
Any advice to fix the issue? Many thanks in advance!
Happy New Year!
Shelton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201231/e3489aae/attachment.html>
More information about the llvm-dev
mailing list