--- CodeGen/BackendUtil.o --- In file included from /usr/src/contrib/llvm/tools/clang/lib/CodeGen/BackendUtil.cpp:10: In file included from /usr/src/contrib/llvm/tools/clang/include/clang/CodeGen/BackendUtil.h:14: In file included from /usr/src/contrib/llvm/include/llvm/IR/ModuleSummaryIndex.h:27: In file included from /usr/src/contrib/llvm/include/llvm/IR/Module.h:23: /usr/src/contrib/llvm/include/llvm/IR/Attributes.h:74:14: fatal error: 'llvm/IR/Attributes.gen' file not found #include "llvm/IR/Attributes.gen" ^~~~~~~~~~~~~~~~~~~~~~~~ --- CodeGen/CGBuiltin.o --- c++ -O2 -pipe -I/usr/obj/usr/src/amd64.amd64/lib/clang/libclang -I/usr/obj/usr/src/amd64.amd64/lib/clang/libllvm -I/usr/src/contrib/llvm/tools/clang/lib/Basic -I/usr/src/contrib/llvm/tools/clang/lib/Driver -I/usr/src/contrib/llvm/tools/clang/include -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_STATIC_ANALYZER -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd12.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd12.0\" -DDEFAULT_SYSROOT=\"\" -DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM -DLLVM_TARGET_ENABLE_MIPS -DLLVM_TARGET_ENABLE_POWERPC -DLLVM_TARGET_ENABLE_SPARC -DLLVM_TARGET_ENABLE_X86 -DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser -DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler -DLLVM_NATIVE_TARGET=LLVMInitializeX86Target -DLLVM_NATIVE_TARGETINFO=LLVMInitializeX86TargetInfo -DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC -ffunction-sections -fdata-sections -gline-tables-only -MD -MF.depend.CodeGen_CGBuiltin.o -MTCodeGen/CGBuiltin.o -fstack-protector-strong -Qunused-arguments -std=c++11 -fno-exceptions -fno-rtti -gline-tables-only -stdlib=libc++ -Wno-c++11-extensions -c /usr/src/contrib/llvm/tools/clang/lib/CodeGen/CGBuiltin.cpp -o CodeGen/CGBuiltin.o --- CodeGen/CGBlocks.o --- In file included from /usr/src/contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.cpp:14: In file included from /usr/src/contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.h:17: In file included from /usr/src/contrib/llvm/tools/clang/lib/CodeGen/CGBuilder.h:14: In file included from /usr/src/contrib/llvm/include/llvm/IR/IRBuilder.h:25: In file included from /usr/src/contrib/llvm/include/llvm/IR/ConstantFolder.h:22: In file included from /usr/src/contrib/llvm/include/llvm/IR/InstrTypes.h:27: /usr/src/contrib/llvm/include/llvm/IR/Attributes.h:74:14: fatal error: 'llvm/IR/Attributes.gen' file not found #include "llvm/IR/Attributes.gen" ^~~~~~~~~~~~~~~~~~~~~~~~ --- CodeGen/BackendUtil.o --- 1 error generated. *** [CodeGen/BackendUtil.o] Error code 1 make: stopped in /usr/src/lib/clang/libclang --- CodeGen/CGBuiltin.o --- In file included from /usr/src/contrib/llvm/tools/clang/lib/CodeGen/CGBuiltin.cpp:14: In file included from /usr/src/contrib/llvm/tools/clang/lib/CodeGen/CGCXXABI.h:18: In file included from /usr/src/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h:17: In file included from /usr/src/contrib/llvm/tools/clang/lib/CodeGen/CGBuilder.h:14: In file included from /usr/src/contrib/llvm/include/llvm/IR/IRBuilder.h:25: In file included from /usr/src/contrib/llvm/include/llvm/IR/ConstantFolder.h:22: In file included from /usr/src/contrib/llvm/include/llvm/IR/InstrTypes.h:27: /usr/src/contrib/llvm/include/llvm/IR/Attributes.h:74:14: fatal error: 'llvm/IR/Attributes.gen' file not found #include "llvm/IR/Attributes.gen" ^~~~~~~~~~~~~~~~~~~~~~~~ --- CodeGen/CGAtomic.o --- In file included from /usr/src/contrib/llvm/tools/clang/lib/CodeGen/CGAtomic.cpp:14: In file included from /usr/src/contrib/llvm/tools/clang/lib/CodeGen/CGCall.h:19: In file included from /usr/src/contrib/llvm/tools/clang/lib/CodeGen/EHScopeStack.h:23: In file included from /usr/src/contrib/llvm/include/llvm/IR/Instructions.h:27: /usr/src/contrib/llvm/include/llvm/IR/Attributes.h:74:14: fatal error: 'llvm/IR/Attributes.gen' file not found #include "llvm/IR/Attributes.gen" ^~~~~~~~~~~~~~~~~~~~~~~~ --- CodeGen/CGBlocks.o --- 1 error generated. *** [CodeGen/CGBlocks.o] Error code 1 make: stopped in /usr/src/lib/clang/libclang --- CodeGen/CGAtomic.o --- 1 error generated. *** [CodeGen/CGAtomic.o] Error code 1 make: stopped in /usr/src/lib/clang/libclang
This time, src.conf was deleted, and building was without ccache
Is this still happening in the newer revision?
No, not in newer versions.
(In reply to oz42 from comment #3) Thanks for confirming.