[Bug 232048] CURRENT: clang crashes during buildworld

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 7 21:09:38 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232048

            Bug ID: 232048
           Summary: CURRENT: clang crashes during buildworld
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: kwm at FreeBSD.org

I'm trying to upgrade a amd64 machine from 12.0-ALPHA7 r338893 to svn r339223,
I think it happens when it tries to build the llvm stuff for the second time.

I don't have a /etc/src.conf, my /etc/make.conf only has
"MALLOC_PRODUCTION=yes".

--- CodeGen/CodeGenPGO.o ---
c++  -target x86_64-unknown-freebsd12.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -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
-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_CodeGenPGO.o
-MTCodeGen/CodeGenPGO.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/CodeGenPGO.cpp -o
CodeGen/CodeGenPGO.o
--- CodeGen/CGStmtOpenMP.o ---
c++: error: unable to execute command: Killed
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
--- CodeGen/CodeGenTBAA.o ---
c++  -target x86_64-unknown-freebsd12.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -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
-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_CodeGenTBAA.o
-MTCodeGen/CodeGenTBAA.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/CodeGenTBAA.cpp -o
CodeGen/CodeGenTBAA.o
--- CodeGen/CGStmtOpenMP.o ---
FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM
6.0.1)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/obj/usr/src/amd64.amd64/tmp/usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed
source, and associated run script.
c++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/CGStmtOpenMP-6b8420.cpp
c++: note: diagnostic msg: /tmp/CGStmtOpenMP-6b8420.sh
c++: note: diagnostic msg: 

********************
*** [CodeGen/CGStmtOpenMP.o] Error code 254

make[6]: stopped in /usr/src/lib/clang/libclang
1 error

make[6]: stopped in /usr/src/lib/clang/libclang
*** [all_subdir_lib/clang/libclang] Error code 2

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list