Bug 235021 - make buildworld fails in /usr/src/lib/clang/libclang
Summary: make buildworld fails in /usr/src/lib/clang/libclang
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.0-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-17 11:08 UTC by oz42
Modified: 2020-10-29 11:33 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description oz42 2019-01-17 11:08:48 UTC
--- 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
Comment 1 oz42 2019-01-17 11:09:30 UTC
This time, src.conf was deleted, and building was without ccache
Comment 2 Li-Wen Hsu freebsd_committer 2020-10-29 08:53:38 UTC
Is this still happening in the newer revision?
Comment 3 oz42 2020-10-29 11:32:07 UTC
No, not in newer versions.
Comment 4 Li-Wen Hsu freebsd_committer 2020-10-29 11:33:23 UTC
(In reply to oz42 from comment #3)
Thanks for confirming.