[PATCH] D126731: [pseudo] Eliminate dependencies from clang-pseudo-gen. NFC

Florian Mayer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 24 16:23:16 PDT 2022


fmayer added a comment.

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


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126731



More information about the cfe-commits mailing list