[libcxx-commits] [PATCH] D110338: [libc++] Require a C++20 capable compiler.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Sep 26 06:22:07 PDT 2021


Mordante added a comment.

In D110338#3022576 <https://reviews.llvm.org/D110338#3022576>, @saghir wrote:

> This seems to be breaking one of PPC buildbots: https://lab.llvm.org/buildbot/#/builders/18/builds/2553/steps/7/logs/stdio
> Can you please take a look when you get a chance?
>
> Thanks!

Looking at the log I see a no longer supported combination `-DLLVM_ENABLE_PROJECTS='\''clang;compiler-rt;libcxx;libcxxabi'\'''` and GCC 7.3.1. Libc++ requires a C++20 capable compiler. Instead of using GCC directly it's possible to use a bootstrap build. Using
`DLLVM_ENABLE_PROJECTS='clang;compiler-rt' -DLLVM_ENABLE_RUNTIMES='libcxx;libcxxabi'` should fix your issue. See https://libcxx.llvm.org/BuildingLibcxx.html#bootstrapping-build for more information. Please let us know when you need more information.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110338/new/

https://reviews.llvm.org/D110338



More information about the libcxx-commits mailing list