From nobody Thu Jul 29 02:36:46 2021 X-Original-To: toolchain@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7B43412A9374 for ; Thu, 29 Jul 2021 02:36:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZvmt2t4Cz4llS for ; Thu, 29 Jul 2021 02:36:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4B0E41824 for ; Thu, 29 Jul 2021 02:36:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16T2akpx053364 for ; Thu, 29 Jul 2021 02:36:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16T2akkT053363 for toolchain@FreeBSD.org; Thu, 29 Jul 2021 02:36:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 257482] buildworld: clang segfaults building 12.2-RELEASE sources on 12.1-p13 Date: Thu, 29 Jul 2021 02:36:46 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: helio.luchtenberg@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257482 --- Comment #4 from Helio Luchtenberg Junior = --- 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.=