[Bug 257482] buildworld: clang segfaults building 12.2-RELEASE sources on 12.1-p13
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Jul 2021 02:36:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257482 --- Comment #4 from Helio Luchtenberg Junior <helio.luchtenberg@gmail.com> --- Second file cited on msg: /tmp/TGParser-038627.cpp it is too big for uploading. More Information on this: # uname -a FreeBSD server00.hlj.com.br 12.1-RELEASE-p13 FreeBSD 12.1-RELEASE-p13 GENERIC amd64 Complete cronology: - first installed 12.1-RELEASE from USB - ran "freebsd-update fetch/install" successfully - git clone --branch releng/12.2 to "/usr/src.new" - cd /usr/src.new; make buildworld Then the compiling fails with the message below, compiling original "/usr/src" works perfectly: Here are big part of the tail: --- Target/Target.o --- c++ -O2 -pipe -fno-common -I/usr/obj/usr/src-12.2-p13/amd64.amd64/tmp/obj-tools/lib/clang/libllvm -I/usr/src-12.2-p13/contrib/llvm-project/llvm/lib/Target/X86 -I/usr/src-12.2-p13/lib/clang/include -I/usr/src-12.2-p13/contrib/llvm-project/llvm/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_VCS_VERSION_INC -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd12.2\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd12.2\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src-12.2-p13/amd64.amd64/tmp\" -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.Target_Target.o -MTTarget/Target.o -Qunused-arguments -I/usr/obj/usr/src-12.2-p13/amd64.amd64/tmp/legacy/usr/include -fno-exceptions -fno-rtti -gline-tables-only -std=c++14 -stdlib=libc++ -Wno-c++11-extensions -c /usr/src-12.2-p13/contrib/llvm-project/llvm/lib/Target/Target.cpp -o Target/Target.o --- TableGen/TGParser.o --- c++: error: unable to execute command: Segmentation fault c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd12.1 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, 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/TGParser-038627.cpp c++: note: diagnostic msg: /tmp/TGParser-038627.sh c++: note: diagnostic msg: ******************** *** [TableGen/TGParser.o] Error code 254 make[4]: stopped in /usr/src-12.2-p13/lib/clang/libllvm 1 error make[4]: stopped in /usr/src-12.2-p13/lib/clang/libllvm *** [all_subdir_lib/clang/libllvm] Error code 2 make[3]: stopped in /usr/src-12.2-p13/lib/clang 1 error make[3]: stopped in /usr/src-12.2-p13/lib/clang *** [cross-tools] Error code 2 make[2]: stopped in /usr/src-12.2-p13 1 error make[2]: stopped in /usr/src-12.2-p13 *** [_cross-tools] Error code 2 make[1]: stopped in /usr/src-12.2-p13 1 error make[1]: stopped in /usr/src-12.2-p13 *** [buildworld] Error code 2 make: stopped in /usr/src-12.2-p13 1 error -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.