-
Couldn't load subscription status.
- Fork 15k
Open
Labels
build-problemclangClang issues not falling into any other categoryClang issues not falling into any other category
Description
System
Linux 6.11.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 10 Oct 2024 20:11:06 +0000 x86_64 GNU/Linux
gcc (GCC) 14.2.1 20240910
clang version 18.1.8
Issue
I am trying to build the llvm-git aur package, but somewhere about halfway through the compilation, I get multiple failures related to the AST. The errors all look roughly like this:
FAILED: tools/clang/include/clang/AST/AbstractBasicReader.inc /home/user/.cache/paru/clone/llvm-git/src/_build/tools/clang/include/clang/AST/AbstractBasicReader.inc
cd /home/user/.cache/paru/clone/llvm-git/src/_build && /home/user/.cache/paru/clone/llvm-git/src/_build/bin/clang-tblgen -gen-clang-basic-reader -I /home/user/.cache/paru/clone/llvm-git/src/llvm-project/clang/include/clang/AST -I/home/user/.cache/paru/clone/llvm-git/src/llvm-project/clang/include -I/home/user/.cache/paru/clone/llvm-git/src/_build/tools/clang/include -I/home/user/.cache/paru/clone/llvm-git/src/_build/include -I/home/user/.cache/paru/clone/llvm-git/src/llvm-project/llvm/include /home/user/.cache/paru/clone/llvm-git/src/llvm-project/clang/include/clang/AST/PropertiesBase.td --write-if-changed -o tools/clang/include/clang/AST/AbstractBasicReader.inc -d tools/clang/include/clang/AST/AbstractBasicReader.inc.d
#0 0x0000611569df3b34 PrintStackTraceSignalHandler(void*) (.lto_priv.0) (/home/user/.cache/paru/clone/llvm-git/src/_build/bin/clang-tblgen+0xe7b34)
#1 0x0000611569dec49d SignalHandler(int) (/home/user/.cache/paru/clone/llvm-git/src/_build/bin/clang-tblgen+0xe049d)
#2 0x0000799ded32f1d0 (/usr/lib/libc.so.6+0x3d1d0)
#3 0x0000611569e05af6 llvm::FieldInit::get(llvm::Init*, llvm::StringInit*) (/home/user/.cache/paru/clone/llvm-git/src/_build/bin/clang-tblgen+0xf9af6)
#4 0x0000611569e24dfc llvm::TGParser::ParseValue(llvm::Record*, llvm::RecTy const*, llvm::TGParser::IDParseMode) (/home/user/.cache/paru/clone/llvm-git/src/_build/bin/clang-tblgen+0x118dfc)
#5 0x0000611569e28e8b llvm::TGParser::ParseObjectBody(llvm::Record*) (/home/user/.cache/paru/clone/llvm-git/src/_build/bin/clang-tblgen+0x11ce8b)
#6 0x0000611569e32777 llvm::TGParser::ParseObject(llvm::MultiClass*) (/home/user/.cache/paru/clone/llvm-git/src/_build/bin/clang-tblgen+0x126777)
#7 0x0000611569dfd9d5 llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper const&)>) (/home/user/.cache/paru/clone/llvm-git/src/_build/bin/clang-tblgen+0xf19d5)
#8 0x0000611569d16853 main (/home/user/.cache/paru/clone/llvm-git/src/_build/bin/clang-tblgen+0xa853)
#9 0x0000799ded317e08 (/usr/lib/libc.so.6+0x25e08)
#10 0x0000799ded317ecc __libc_start_main (/usr/lib/libc.so.6+0x25ecc)
#11 0x0000611569d18855 _start (/home/user/.cache/paru/clone/llvm-git/src/_build/bin/clang-tblgen+0xc855)
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /home/user/.cache/paru/clone/llvm-git/src/_build/bin/clang-tblgen -gen-clang-basic-reader -I /home/user/.cache/paru/clone/llvm-git/src/llvm-project/clang/include/clang/AST -I/home/user/.cache/paru/clone/llvm-git/src/llvm-project/clang/include -I/home/user/.cache/paru/clone/llvm-git/src/_build/tools/clang/include -I/home/user/.cache/paru/clone/llvm-git/src/_build/include -I/home/user/.cache/paru/clone/llvm-git/src/llvm-project/llvm/include /home/user/.cache/paru/clone/llvm-git/src/llvm-project/clang/include/clang/AST/PropertiesBase.td --write-if-changed -o tools/clang/include/clang/AST/AbstractBasicReader.inc -d tools/clang/include/clang/AST/AbstractBasicReader.inc.d
The full log can be found here
Metadata
Metadata
Assignees
Labels
build-problemclangClang issues not falling into any other categoryClang issues not falling into any other category