Date: Thu, 29 Jul 2021 02:36:46 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 257482] buildworld: clang segfaults building 12.2-RELEASE sources on 12.1-p13 Message-ID: <bug-257482-29464-GYpdyW6ULS@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-257482-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-257482-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257482 --- 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 GENER= IC=20 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/s= rc" 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_MAC= ROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_VCS_VERSION_INC -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd12.2\" -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd12.2\" -DDEFAULT_SYSROOT=3D\"/usr/obj/usr/src-12.2-p13/amd64.amd64/tmp\" -DLLVM_TARGET_ENABLE_X86 -DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeX86AsmPars= er -DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DISASSEMBLER=3DLLVMInitializeX86Disassembler -DLLVM_NATIVE_TARGET=3DLLVMInitializeX86Target -DLLVM_NATIVE_TARGETINFO=3DLLVMInitializeX86TargetInfo -DLLVM_NATIVE_TARGETMC=3DLLVMInitializeX86TargetMC -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-except= ions -fno-rtti -gline-tables-only -std=3Dc++14 -stdlib=3Dlibc++ -Wno-c++11-exten= sions=20 -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, preproces= sed 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 --=20 You are receiving this mail because: You are on the CC list for the bug. 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-257482-29464-GYpdyW6ULS>