Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jul 2019 11:18:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 239186] Building source World - Error building llvm-tblgen.c
Message-ID:  <bug-239186-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239186

            Bug ID: 239186
           Summary: Building source World - Error building llvm-tblgen.c
           Product: Base System
           Version: 12.0-STABLE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: bama1987@wowway.com

I updated source to 349966 on a Pi3b+. I run "make -j4 buildworld" and it k=
icks
out when trying to build "llvm-tblgen". Here is the last messages:
...
--- CodeGenTarget.o ---
c++  -O2 -pipe -I/usr/obj/usr/src/arm64.aarch64/tmp/obj-tools/lib/clang/lib=
llvm
-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=3D\"aarch64-unknown-freebsd12.0\"
-DLLVM_HOST_TRIPLE=3D\"aarch64-unknown-freebsd12.0\"
-DDEFAULT_SYSROOT=3D\"/usr/obj/usr/src/arm64.aarch64/tmp\"
-DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM
-DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeAArch64AsmParser
-DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializeAArch64AsmPrinter
-DLLVM_NATIVE_DISASSEMBLER=3DLLVMInitializeAArch64Disassembler
-DLLVM_NATIVE_TARGET=3DLLVMInitializeAArch64Target
-DLLVM_NATIVE_TARGETINFO=3DLLVMInitializeAArch64TargetInfo
-DLLVM_NATIVE_TARGETMC=3DLLVMInitializeAArch64TargetMC -ffunction-sections
-fdata-sections -gline-tables-only -MD -MF.depend.CodeGenTarget.o
-MTCodeGenTarget.o -Qunused-arguments
-I/usr/obj/usr/src/arm64.aarch64/tmp/legacy/usr/include  -fno-exceptions
-fno-rtti -std=3Dc++11 -stdlib=3Dlibc++ -Wno-c++11-extensions  -c
/usr/src/contrib/llvm/utils/TableGen/CodeGenTarget.cpp -o CodeGenTarget.o
--- CodeGenDAGPatterns.o ---
c++: error: unable to execute command: Killed
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM
8.0.0)
Target: aarch64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preproces=
sed
source, and associated run script.
c++: note: diagnostic msg:=20
********************

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/CodeGenDAGPatterns-3a9721.cpp
c++: note: diagnostic msg: /tmp/CodeGenDAGPatterns-3a9721.sh
c++: note: diagnostic msg:=20

********************
*** [CodeGenDAGPatterns.o] Error code 254

make[3]: stopped in /usr/src/usr.bin/clang/llvm-tblgen
1 error

make[3]: stopped in /usr/src/usr.bin/clang/llvm-tblgen
*** [_bootstrap-tools-usr.bin/clang/llvm-tblgen] Error code 2

make[2]: stopped in /usr/src
1 error

make[2]: stopped in /usr/src
*** [_bootstrap-tools] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
*** [buildworld] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src

Attached is:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/CodeGenDAGPatterns-3a9721.cpp

The following is:
c++: note: diagnostic msg: /tmp/CodeGenDAGPatterns-3a9721.sh

# Crash reproducer for FreeBSD clang version 8.0.0 (tags/RELEASE_800/final
356365) (based on LLVM 8.0.0)
# Driver args: "--driver-mode=3Dg++" "-O2" "-pipe" "-I"
"/usr/obj/usr/src/arm64.aarch64/tmp/obj-tools/lib/clang/libllvm" "-I"
"/usr/src/lib/clang/include" "-I" "/usr/src/contrib/llvm/include" "-D"
"LLVM_BUILD_GLOBAL_ISEL" "-D" "__STDC_LIMIT_MACROS" "-D"
"__STDC_CONSTANT_MACROS" "-D" "NDEBUG" "-D"
"LLVM_DEFAULT_TARGET_TRIPLE=3D\"aarch64-unknown-freebsd12.0\"" "-D"
"LLVM_HOST_TRIPLE=3D\"aarch64-unknown-freebsd12.0\"" "-D"
"DEFAULT_SYSROOT=3D\"/usr/obj/usr/src/arm64.aarch64/tmp\"" "-D"
"LLVM_TARGET_ENABLE_AARCH64" "-D" "LLVM_TARGET_ENABLE_ARM" "-D"
"LLVM_NATIVE_ASMPARSER=3DLLVMInitializeAArch64AsmParser" "-D"
"LLVM_NATIVE_ASMPRINTER=3DLLVMInitializeAArch64AsmPrinter" "-D"
"LLVM_NATIVE_DISASSEMBLER=3DLLVMInitializeAArch64Disassembler" "-D"
"LLVM_NATIVE_TARGET=3DLLVMInitializeAArch64Target" "-D"
"LLVM_NATIVE_TARGETINFO=3DLLVMInitializeAArch64TargetInfo" "-D"
"LLVM_NATIVE_TARGETMC=3DLLVMInitializeAArch64TargetMC" "-ffunction-sections"
"-fdata-sections" "-gline-tables-only" "-MD" "-MF"
".depend.CodeGenDAGPatterns.o" "-MT" "CodeGenDAGPatterns.o"
"-Qunused-arguments" "-I"
"/usr/obj/usr/src/arm64.aarch64/tmp/legacy/usr/include" "-fno-exceptions"
"-fno-rtti" "-std=3Dc++11" "-stdlib=3Dlibc++" "-Wno-c++11-extensions" "-c"
"/usr/src/contrib/llvm/utils/TableGen/CodeGenDAGPatterns.cpp" "-o"
"CodeGenDAGPatterns.o"
# Original command:  "/usr/bin/c++" "-cc1" "-triple"
"aarch64-unknown-freebsd12.0" "-emit-obj" "-disable-free"
"-disable-llvm-verifier" "-discard-value-names" "-main-file-name"
"CodeGenDAGPatterns.cpp" "-mrelocation-model" "static" "-mthread-model" "po=
six"
"-mdisable-fp-elim" "-masm-verbose" "-mconstructor-aliases" "-fuse-init-arr=
ay"
"-target-cpu" "generic" "-target-feature" "+neon" "-target-abi" "aapcs"
"-fallow-half-arguments-and-returns" "-dwarf-column-info"
"-debug-info-kind=3Dline-tables-only" "-dwarf-version=3D2" "-debugger-tunin=
g=3Dgdb"
"-ffunction-sections" "-fdata-sections" "-coverage-notes-file"
"/usr/obj/usr/src/arm64.aarch64/tmp/obj-tools/usr.bin/clang/llvm-tblgen/Cod=
eGenDAGPatterns.gcno"
"-resource-dir" "/usr/lib/clang/8.0.0" "-dependency-file"
".depend.CodeGenDAGPatterns.o" "-sys-header-deps" "-MT" "CodeGenDAGPatterns=
.o"
"-I" "/usr/obj/usr/src/arm64.aarch64/tmp/obj-tools/lib/clang/libllvm" "-I"
"/usr/src/lib/clang/include" "-I" "/usr/src/contrib/llvm/include" "-D"
"LLVM_BUILD_GLOBAL_ISEL" "-D" "__STDC_LIMIT_MACROS" "-D"
"__STDC_CONSTANT_MACROS" "-D" "NDEBUG" "-D"
"LLVM_DEFAULT_TARGET_TRIPLE=3D\"aarch64-unknown-freebsd12.0\"" "-D"
"LLVM_HOST_TRIPLE=3D\"aarch64-unknown-freebsd12.0\"" "-D"
"DEFAULT_SYSROOT=3D\"/usr/obj/usr/src/arm64.aarch64/tmp\"" "-D"
"LLVM_TARGET_ENABLE_AARCH64" "-D" "LLVM_TARGET_ENABLE_ARM" "-D"
"LLVM_NATIVE_ASMPARSER=3DLLVMInitializeAArch64AsmParser" "-D"
"LLVM_NATIVE_ASMPRINTER=3DLLVMInitializeAArch64AsmPrinter" "-D"
"LLVM_NATIVE_DISASSEMBLER=3DLLVMInitializeAArch64Disassembler" "-D"
"LLVM_NATIVE_TARGET=3DLLVMInitializeAArch64Target" "-D"
"LLVM_NATIVE_TARGETINFO=3DLLVMInitializeAArch64TargetInfo" "-D"
"LLVM_NATIVE_TARGETMC=3DLLVMInitializeAArch64TargetMC" "-I"
"/usr/obj/usr/src/arm64.aarch64/tmp/legacy/usr/include" "-internal-isystem"
"/usr/include/c++/v1" "-O2" "-Wno-c++11-extensions" "-std=3Dc++11"
"-fdeprecated-macro" "-fdebug-compilation-dir"
"/usr/obj/usr/src/arm64.aarch64/tmp/obj-tools/usr.bin/clang/llvm-tblgen"
"-ferror-limit" "19" "-fmessage-length" "0" "-fno-rtti" "-fno-signed-char"
"-fobjc-runtime=3Dgnustep" "-fdiagnostics-show-option" "-vectorize-loops"
"-vectorize-slp" "-o" "CodeGenDAGPatterns.o" "-x" "c++"
"/usr/src/contrib/llvm/utils/TableGen/CodeGenDAGPatterns.cpp" "-faddrsig"
 "/usr/bin/c++" "-cc1" "-triple" "aarch64-unknown-freebsd12.0" "-emit-obj"
"-disable-free" "-disable-llvm-verifier" "-discard-value-names"
"-main-file-name" "CodeGenDAGPatterns.cpp" "-mrelocation-model" "static"
"-mthread-model" "posix" "-mdisable-fp-elim" "-masm-verbose"
"-mconstructor-aliases" "-fuse-init-array" "-target-cpu" "generic"
"-target-feature" "+neon" "-target-abi" "aapcs"
"-fallow-half-arguments-and-returns" "-dwarf-column-info"
"-debug-info-kind=3Dline-tables-only" "-dwarf-version=3D2" "-debugger-tunin=
g=3Dgdb"
"-ffunction-sections" "-fdata-sections" "-coverage-notes-file"
"/usr/obj/usr/src/arm64.aarch64/tmp/obj-tools/usr.bin/clang/llvm-tblgen/Cod=
eGenDAGPatterns.gcno"
"-sys-header-deps" "-D" "LLVM_BUILD_GLOBAL_ISEL" "-D" "__STDC_LIMIT_MACROS"
"-D" "__STDC_CONSTANT_MACROS" "-D" "NDEBUG" "-D"
"LLVM_DEFAULT_TARGET_TRIPLE=3D\"aarch64-unknown-freebsd12.0\"" "-D"
"LLVM_HOST_TRIPLE=3D\"aarch64-unknown-freebsd12.0\"" "-D"
"DEFAULT_SYSROOT=3D\"/usr/obj/usr/src/arm64.aarch64/tmp\"" "-D"
"LLVM_TARGET_ENABLE_AARCH64" "-D" "LLVM_TARGET_ENABLE_ARM" "-D"
"LLVM_NATIVE_ASMPARSER=3DLLVMInitializeAArch64AsmParser" "-D"
"LLVM_NATIVE_ASMPRINTER=3DLLVMInitializeAArch64AsmPrinter" "-D"
"LLVM_NATIVE_DISASSEMBLER=3DLLVMInitializeAArch64Disassembler" "-D"
"LLVM_NATIVE_TARGET=3DLLVMInitializeAArch64Target" "-D"
"LLVM_NATIVE_TARGETINFO=3DLLVMInitializeAArch64TargetInfo" "-D"
"LLVM_NATIVE_TARGETMC=3DLLVMInitializeAArch64TargetMC" "-O2"
"-Wno-c++11-extensions" "-std=3Dc++11" "-fdeprecated-macro" "-ferror-limit"=
 "19"
"-fmessage-length" "0" "-fno-rtti" "-fno-signed-char" "-fobjc-runtime=3Dgnu=
step"
"-fdiagnostics-show-option" "-vectorize-loops" "-vectorize-slp" "-x" "c++"
"CodeGenDAGPatterns-3a9721.cpp" "-faddrsig"

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239186-7>