From nobody Sat Jan 13 09:16:16 2024 X-Original-To: bugs@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 4TBt7Q0J97z579ll for ; Sat, 13 Jan 2024 09:16:18 +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 4TBt7P4CTFz4kkJ for ; Sat, 13 Jan 2024 09:16:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705137377; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WQJWEyiAJyC1GmK+8fg8uuOzfs2LKWyCAKxu8NWo1B0=; b=nqEB0FfhFtOtQbZSnYqG/hjTi4ZTUC8xZamZF6WuNmGthnyth2Z7lwXOsfv64iz2yjILdt qhMu2mEC+CMTPHLMb0bEv8xBj5c7K4Jg2mAQVtUaauc+heBXykL5Io/fuGaq+ZpQhju6y9 lGCFWWmn2cT02Se/pmZuvrVlOAQWNxcaj3BJo30D/3TTFPqbpmNUTUVX1oANtih6MxbZL+ 1/kY58ZjvsyIHrGfFENT6CXX8hQltHAKQdVlUgOyWYGKBOzKouu38T6/PJxOyfQ+EGrq0I 1MMLcaJkqi1W6Tc9CpINIVmOwNvjWrF9jAUISRKM+uHsH6IeCEnkvf7DPFxYRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705137377; a=rsa-sha256; cv=none; b=oyalbtvf9p1D3p98dBq5nZzotd5oMpXwPUwgJD3791NveCOivjkcaOUZLPVhXNUerZf2YW sd8KJaetNOZOvWp92dwYoNfUeq5S+NyvEP7ZuyBkIrVlOS4UCJNyFhdsMYRS9CdGQgUcF8 EZwH5TImmt7SqT9hxPnR9mmWUfODHgZozQ2/+Rogy4GNACCoKo2KvBILeMPCF5izmbosiw +IC4/fcymrRMlymtGnLe7X9y/kOovQoUKCQS4g/32HkAPKHADf5RAqCa3f+3Cov1kJeu/8 +XKTnj1V5ObOH3knm+HwOlh5VLJG+QqZ6i2sL48BL+NBmcsirjrNiB/sg/ObOw== 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 4TBt7P3G4HzPh4 for ; Sat, 13 Jan 2024 09:16:17 +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 40D9GH2n032440 for ; Sat, 13 Jan 2024 09:16:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40D9GHRc032438 for bugs@FreeBSD.org; Sat, 13 Jan 2024 09:16:17 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: bugs@FreeBSD.org Subject: [Bug 276292] make buildworld: c++: error: clang frontend command failed with exit code 138 Date: Sat, 13 Jan 2024 09:16:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: martin.jakob@gmx.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276292 Bug ID: 276292 Summary: make buildworld: c++: error: clang frontend command failed with exit code 138 Product: Base System Version: 14.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: martin.jakob@gmx.com since a few days, i get the error below when i make buildworld. a second run with the same code revision, completes without an error. uname -a: FreeBSD betablock 14.0-STABLE FreeBSD 14.0-STABLE stable/14-c39254c8f GENER= IC amd64 --- PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include = the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: c++ -O2 -pipe -fno-common -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/clang/llvm-tblgen -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm -I/usr/src/lib/clang/include -I/usr/src/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=3D\"x86_64-unknown-freebsd14.0\" -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd14.0\" -DDEFAULT_SYSROOT=3D\"/usr/obj/usr/src/amd64.amd64/tmp\" -DLLVM_TARGET_ENAB= LE_X86 -DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeX86AsmParser -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.CodeEmitterGen.o -MTCodeEmitterGen.o -Wno-format-zero-length -Wdate-time -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=3Dunused-but-set-parameter -Wno-tautological-compare -Wno-unused= -value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -fno-exceptions -fno-rtti -std=3Dc++17 -stdlib=3Dlibc++ -Wno-c++11-extensio= ns -c /usr/src/contrib/llvm-project/llvm/utils/TableGen/CodeEmitterGen.cpp -o CodeEmitterGen.o 1. parser at end of file 2. Optimizer --- _bootstrap-tools-usr.bin/clang/clang-tblgen --- --- SveEmitter.o --- c++ -O2 -pipe -fno-common -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm -I/usr/src/contrib/llvm-project/clang/include -I/usr/src/lib/clang/include -I/usr/src/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=3D\"x86_64-unknown-freebsd14.0\" -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd14.0\" -DDEFAULT_SYSROOT=3D\"/usr/obj/usr/src/amd64.amd64/tmp\" -DLLVM_TARGET_ENAB= LE_X86 -DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeX86AsmParser -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.SveEmitter.o -MTSveEmitte= r.o -Wno-format-zero-length -Wdate-time -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=3Dunused-but-set-parameter -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -fno-exceptions -fno-rtti -std=3Dc++17 -stdlib=3Dlibc++ -Wno-c++11-extensions -c /usr/src/contrib/llvm-project/clang/utils/TableGen/SveEmitter.cpp -o SveEmitter.o --- _bootstrap-tools-usr.bin/clang/llvm-tblgen --- #0 0x0000000004f90e61 PrintStackTrace /usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:567:13 #1 0x0000000004f8f275 RunSignalHandlers /usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:105:18 #2 0x0000000004f375f5 HandleCrash /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:73:5 #3 0x0000000004f375f5 CrashRecoverySignalHandler /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:390= :51 #4 0x00000008294b453f handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0= :3 #5 0x00000008294b3afb thr_sighandler /usr/src/lib/libthr/thread/thr_sig.c:245:1 #6 0x00000008266842d3 ([vdso]+0x2d3) #7 0x0000000004c20724 getMetadata /usr/src/contrib/llvm-project/llvm/lib/IR/Metadata.cpp:1288:0 #8 0x00000000061b5551 ScopedAliasMetadataDeepCloner /usr/src/contrib/llvm-project/llvm/lib/Transforms/Utils/InlineFunction.cpp:= 1015:25 #9 0x00000000061b5551 InlineFunction /usr/src/contrib/llvm-project/llvm/lib/Transforms/Utils/InlineFunction.cpp:= 2172:35 #10 0x0000000005d110c9 run /usr/src/contrib/llvm-project/llvm/lib/Transforms/IPO/Inliner.cpp:919:11 #11 0x0000000004e2ab02 /usr/src/contrib/llvm-project/llvm/include/llvm/IR/PassManagerInternal.h:89= :5 #12 0x00000000044b4702 run /usr/src/contrib/llvm-project/llvm/lib/Analysis/CGSCCPassManager.cpp:89:12 #13 0x0000000004e1a312 /usr/src/contrib/llvm-project/llvm/include/llvm/IR/PassManagerInternal.h:89= :5 #14 0x00000000044b66c3 run /usr/src/contrib/llvm-project/llvm/lib/Analysis/CGSCCPassManager.cpp:411:12 #15 0x0000000004e44812 /usr/src/contrib/llvm-project/llvm/include/llvm/IR/PassManagerInternal.h:89= :5 #16 0x00000000044b5b09 run /usr/src/contrib/llvm-project/llvm/lib/Analysis/CGSCCPassManager.cpp:279:18 #17 0x0000000004e1a512 /usr/src/contrib/llvm-project/llvm/include/llvm/IR/PassManagerInternal.h:89= :5 #18 0x0000000004c34d56 runAfterPass= > > /usr/src/contrib/llvm-project/llvm/include/llvm/IR/PassInstrumentation.h:25= 6:9 #19 0x0000000004c34d56 run /usr/src/contrib/llvm-project/llvm/include/llvm/IR/PassManager.h:521:10 #20 0x0000000005d1273f isSmall /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/SmallPtrSet.h:195:33 #21 0x0000000005d1273f ~SmallPtrSetImplBase /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/SmallPtrSet.h:83:10 #22 0x0000000005d1273f ~PreservedAnalyses /usr/src/contrib/llvm-project/llvm/include/llvm/IR/PassManager.h:152:7 #23 0x0000000005d1273f run /usr/src/contrib/llvm-project/llvm/lib/Transforms/IPO/Inliner.cpp:1171:3 #24 0x0000000004e22e72 /usr/src/contrib/llvm-project/llvm/include/llvm/IR/PassManagerInternal.h:89= :5 #25 0x0000000004c34d56 runAfterPass= > > /usr/src/contrib/llvm-project/llvm/include/llvm/IR/PassInstrumentation.h:25= 6:9 #26 0x0000000004c34d56 run /usr/src/contrib/llvm-project/llvm/include/llvm/IR/PassManager.h:521:10 #27 0x0000000002ca7ae4 isSmall /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/SmallPtrSet.h:195:33 #28 0x0000000002ca7ae4 ~SmallPtrSetImplBase /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/SmallPtrSet.h:83:10 #29 0x0000000002ca7ae4 ~PreservedAnalyses /usr/src/contrib/llvm-project/llvm/include/llvm/IR/PassManager.h:152:7 #30 0x0000000002ca7ae4 RunOptimizationPipeline /usr/src/contrib/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1049:5 #31 0x0000000002ca04ab EmitAssembly /usr/src/contrib/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:0:3 #32 0x0000000002ca04ab EmitBackendOutput /usr/src/contrib/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1268:13 #33 0x0000000002f9c703 reset /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/unique_ptr.h:2= 94:28 #34 0x0000000002f9c703 ~unique_ptr /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/unique_ptr.h:2= 63:75 #35 0x0000000002f9c703 HandleTranslationUnit /usr/src/contrib/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:382:7 #36 0x00000000034a3600 begin /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/vector:1423:30 #37 0x00000000034a3600 finalize >, std::__1::allocator > > > > /usr/src/contrib/llvm-project/clang/include/clang/Sema/TemplateInstCallback= .h:54:16 #38 0x00000000034a3600 ParseAST /usr/src/contrib/llvm-project/clang/lib/Parse/ParseAST.cpp:203:3 #39 0x0000000002ee3706 Execute /usr/src/contrib/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1062:10 #40 0x0000000002e69224 getPtr /usr/src/contrib/llvm-project/llvm/include/llvm/Support/Error.h:272:42 #41 0x0000000002e69224 operator bool /usr/src/contrib/llvm-project/llvm/include/llvm/Support/Error.h:235:16 #42 0x0000000002e69224 ExecuteAction /usr/src/contrib/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1046:= 23 #43 0x0000000002f95753 ExecuteCompilerInvocation /usr/src/contrib/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocat= ion.cpp:264:25 #44 0x0000000002468752 cc1_main /usr/src/contrib/llvm-project/clang/tools/driver/cc1_main.cpp:251:15 #45 0x0000000002476912 ExecuteCC1Tool /usr/src/contrib/llvm-project/clang/tools/driver/driver.cpp:360:12 #46 0x0000000002d1d257 operator() /usr/src/contrib/llvm-project/clang/lib/Driver/Job.cpp:428:30 #47 0x0000000002d1d257 callback_fn<(lambda at /usr/src/contrib/llvm-project/clang/lib/Driver/Job.cpp:428:22)> /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:4= 5:12 #48 0x0000000004f37403 operator() /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0= :12 #49 0x0000000004f37403 RunSafely /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:426= :3 #50 0x0000000002d1ccb2 Execute /usr/src/contrib/llvm-project/clang/lib/Driver/Job.cpp:428:7 #51 0x0000000002ce702a ExecuteCommand /usr/src/contrib/llvm-project/clang/lib/Driver/Compilation.cpp:199:15 #52 0x0000000002ce729f ExecuteJobs /usr/src/contrib/llvm-project/clang/lib/Driver/Compilation.cpp:253:13 #53 0x0000000002d000d0 empty /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/SmallVector.h:94:46 #54 0x0000000002d000d0 ExecuteCompilation /usr/src/contrib/llvm-project/clang/lib/Driver/Driver.cpp:1856:23 #55 0x0000000002475f91 main /usr/src/contrib/llvm-project/clang/tools/driver/driver.cpp:562:21 #56 0x000000082b85635a __libc_start1 /usr/src/lib/libc/csu/libc_start1.c:15= 7:2 c++: error: clang frontend command failed with exit code 138 (use -v to see invocation) FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin --- _bootstrap-tools-usr.bin/clang/clang-tblgen --- --- TableGen.o --- c++ -O2 -pipe -fno-common -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm -I/usr/src/contrib/llvm-project/clang/include -I/usr/src/lib/clang/include -I/usr/src/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=3D\"x86_64-unknown-freebsd14.0\" -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd14.0\" -DDEFAULT_SYSROOT=3D\"/usr/obj/usr/src/amd64.amd64/tmp\" -DLLVM_TARGET_ENAB= LE_X86 -DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeX86AsmParser -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.TableGen.o -MTTableGen.o -Wno-format-zero-length -Wdate-time -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=3Dunused-but-set-parameter -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -fno-exceptions -fno-rtti -std=3Dc++17 -stdlib=3Dlibc++ -Wno-c++11-extensions -c /usr/src/contrib/llvm-project/clang/utils/TableGen/TableGen.cpp -o TableGen= .o --- _bootstrap-tools-usr.bin/clang/llvm-tblgen --- 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/CodeEmitterGen-fac609.cpp c++: note: diagnostic msg: /tmp/CodeEmitterGen-fac609.sh c++: note: diagnostic msg:=20 ******************** *** [CodeEmitterGen.o] Error code 1 make[3]: stopped in /usr/src/usr.bin/clang/llvm-tblgen --- _bootstrap-tools-usr.bin/clang/clang-tblgen --- make[2]: stopped in /usr/src --- _bootstrap-tools-usr.bin/clang/llvm-tblgen --- 1 error make[3]: stopped in /usr/src/usr.bin/clang/llvm-tblgen make[2]: stopped in /usr/src 42,95 real 355,68 user 11,00 sys make[1]: stopped in /usr/src make: stopped in /usr/src --=20 You are receiving this mail because: You are the assignee for the bug.=