sammccall added a comment.

In D126731#3609511 <https://reviews.llvm.org/D126731#3609511>, @fmayer wrote:

> FWIW this is not really NFC, I found this as the culprit in bisecting the 
> Android LLVM toolchain build, causing the following error:
>
>   FAILED: tools/clang/tools/extra/pseudo/include/CXXBNF.inc 
> /usr/local/google/home/fmayer/llvm-toolchain/out/stage2/tools/clang/tools/extra/pseudo/include/CXXBNF.inc
>  
>   cd 
> /usr/local/google/home/fmayer/llvm-toolchain/out/stage2/tools/clang/tools/extra/pseudo/include
>  && /usr/local/google/home/fmayer/llvm-toolchain/out/stage2/bin/pseudo-gen 
> --grammar 
> /usr/local/google/home/fmayer/llvm-toolchain/out/llvm-project/clang-tools-extra/pseudo/include/../lib/cxx.bnf
>  --emit-grammar-content -o 
> /usr/local/google/home/fmayer/llvm-toolchain/out/stage2/tools/clang/tools/extra/pseudo/include/CXXBNF.inc
>   /usr/local/google/home/fmayer/llvm-toolchain/out/stage2/bin/pseudo-gen: 
> error while loading shared libraries: libc++.so.1: cannot open shared object 
> file: No such file or directory
>   [2437/6345] Generating nonterminal symbol file for cxx grammar...
>   FAILED: tools/clang/tools/extra/pseudo/include/CXXSymbols.inc 
> /usr/local/google/home/fmayer/llvm-toolchain/out/stage2/tools/clang/tools/extra/pseudo/include/CXXSymbols.inc
>  
>   cd 
> /usr/local/google/home/fmayer/llvm-toolchain/out/stage2/tools/clang/tools/extra/pseudo/include
>  && /usr/local/google/home/fmayer/llvm-toolchain/out/stage2/bin/pseudo-gen 
> --grammar 
> /usr/local/google/home/fmayer/llvm-toolchain/out/llvm-project/clang-tools-extra/pseudo/include/../lib/cxx.bnf
>  --emit-symbol-list -o 
> /usr/local/google/home/fmayer/llvm-toolchain/out/stage2/tools/clang/tools/extra/pseudo/include/CXXSymbols.inc
>   /usr/local/google/home/fmayer/llvm-toolchain/out/stage2/bin/pseudo-gen: 
> error while loading shared libraries: libc++.so.1: cannot open shared object 
> file: No such file or directory

Sorry about that. I suspect it was working accidentally before (neither 
depending on clangBasic nor anything tablegen related is the right way for us 
to resolve a standard library dependency).
In any case it's not a *functional* change.

Do you want help resolving this? Can you provide more details about the setup?
My guess is that the build is specifying libc++ somehow but it's neither 
installed systemwide (ld.so.cache) nor is LD_LIBRARY_PATH set.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126731

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to