-
Notifications
You must be signed in to change notification settings - Fork 568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.0] Add support for LLVM's libc++ #3956
Comments
I think it's introduced by #1428, @christopherco could you help to take a look? |
@hcoona Also, IMHO, |
@mfrw you are right, But it still not works for me. # image id: 9981cdf1c8ec
docker run --net=host --rm -it mcr.microsoft.com/cbl-mariner/base/core:2.0 /bin/bash
tdnf install -y build-essential clang
cat > a.cc << EOF
#include <iostream>
int main() {
std::cout << "Hello!" << std::endl;
return 0;
}
EOF
clang++ -std=c++17 -stdlib=libc++ -c a.cc |
libc++ is a new implementation of the C++ standard library, which to the best of my knowledge, we do not ship. /cc @christopherco - Please add/correct me if I am mistaken. |
@mfrw is correct here - today we do not ship |
OK, thanks for the information. Hope we can add it into schedule. The libc++ has been there at least for 12 years, it's not new. See llvm-mirror/libcxx@bc8d3f9 |
Summary
I cannot build any c++ sources with clang++ in Mariner 2.0 Docker image.
I think it's because we upgrade clang to v12.0.1 but still leave libstdc++-devel v11.2.0.
How to reproduce
The text was updated successfully, but these errors were encountered: