From nobody Fri Jun 17 17:24:31 2022 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 ABE068577CC for ; Fri, 17 Jun 2022 17:24:31 +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 4LPmB73RVQz4fCp for ; Fri, 17 Jun 2022 17:24:31 +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 5336A23C42 for ; Fri, 17 Jun 2022 17:24:31 +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 25HHOVYV056876 for ; Fri, 17 Jun 2022 17:24:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25HHOVPM056875 for bugs@FreeBSD.org; Fri, 17 Jun 2022 17:24:31 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 264738] buildworld fails at ryu/d2fixed.o Date: Fri, 17 Jun 2022 17:24:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: metaqwe@fea.st 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655486671; 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=CPqHaMYgNQvSY/SM9nw3ESgG0vF9999SPpWGMm+/uFI=; b=C/52uifisum944TsmRhjN/EfcPptUJ+Dp0NpVohQgfXcpu6VeDMjTphOnBp+tVsVg9n4Km QBnvMxUgwAzsWRBTGHyDysE61/PgB9mOSCZgPix5In31/4jnPzfpWGr4epIDcFMhzxYvui yxJSpOQ8W2JgXB3uHonhEkSbJGFxC/1lAcNgC/3N3WwDUmbXOsMf5BMAQaxFZUM0/rDW8I 54N/MYD+VUkglL4N6a6mJ2F8ADABKJVPO+KmErSKOUvbRVUPhjh6B9c9E3yyJMXTce1jx9 SUfAKTeSd1OlgokMXUgNmcz/cLugpYoWi93sb8lnJS/XDp5g0z3fZ83O3Q6o8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655486671; a=rsa-sha256; cv=none; b=kA7gXwWgea49M+zJ2zU14YJlkZ1zPpVkor0s+qbUqPrbdNDMMY67GKMhNrnqMiVI3Cuj5V YjADKHo6UNadcDwseSWWMGwEFsDSNsSE7LECjuBKlI37Ha24saumfhCxLvqVCmDidvjedk QRh71KOt5Mj+dSRg8Te+4LE2sB3oMgKM89QFNLI+GpcV0Xd5S+gefjpJsN/MlJ80hG0R8R l//fPG9QrXfarUmBHS1g7II2nfFzSem46u3GyUhYK9LPj+8jAhjFPPoSN7SnYvoFLziAVt GxeRTE3hNm5lbuUHi0UMcAAVbF7zEh1EPFpc1v4K/2SC1T4Qrl6usBUtpj4cqg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264738 Bug ID: 264738 Summary: buildworld fails at ryu/d2fixed.o Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: metaqwe@fea.st --- ryu/d2fixed.o --- Assertion failed: (SizeInBits >=3D OffsetInBits - FragmentOffset && "size underflow"), function addExpression, file /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.c= pp, line 509. 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: /usr/bin/c++ -target x86_64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -nostdlib -ffunction-sections -fdata-sections -g -gz=3Dzlib -Wno-format-zero-length -nobuiltininc -fstack-protector-strong -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=3Dunused-but-set-variable -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 -g -gz=3Dzl= ib -std=3Dc++20 -Wno-c++11-extensions -isystem /usr/src/lib/libc++ -isystem /usr/src/contrib/llvm-project/libcxx/include -isystem /usr/src/contrib/llvm-project/libcxx/src -isystem /usr/src/contrib/libcxxrt -nostdinc++ -D_LIBCPP_BUILDING_LIBRARY -DLIBCXXRT -idirafter /usr/lib/clang/13.0.0/include -c -o ryu/d2fixed.o /usr/src/contrib/llvm-project/libcxx/src/ryu/d2fixed.cpp 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '/usr/src/contrib/llvm-project/libcxx/src/ryu/d2fixed.cpp'. 4. Running pass 'X86 Assembly Printer' on function '@_ZNSt3__120__d2fixed_buffered_nEPcS0_dj' #0 0x0000000004f52150 PrintStackTrace /usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:565:13 #1 0x0000000004f50465 RunSignalHandlers /usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:98:18 #2 0x0000000004ee771e HandleCrash /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:76:5 #3 0x0000000004ee78e3 CrashRecoverySignalHandler /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:0:51 #4 0x000000082a5e6580 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0= :3 #5 0x000000082a5e5b3f thr_sighandler /usr/src/lib/libthr/thread/thr_sig.c:247:1 #6 0x00007ffffffff2d3 ([vdso]+0x2d3) #7 0x000000082d71daca __sys_thr_kill /usr/obj/usr/src/amd64.amd64/lib/libc/thr_kill.S:4:0 #8 0x000000082d696024 _raise /usr/src/lib/libc/gen/raise.c:0:10 #9 0x000000082d747839 abort /usr/src/lib/libc/stdlib/abort.c:73:17 #10 0x000000082d678dc1 (/lib/libc.so.7+0x92dc1) #11 0x00000000050169d5 (/usr/bin/c+++0x50169d5) #12 0x0000000005003248 constructVariableDIEImpl /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:0:0 #13 0x00000000050017df constructVariableDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:692:12 #14 0x00000000050017df constructVariableDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:888:14 #15 0x00000000050017df createScopeChildrenDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:1011:24 #16 0x000000000500043d constructScopeDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:0:5 #17 0x0000000005001bbf createScopeChildrenDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:1027:25 #18 0x000000000500043d constructScopeDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:0:5 #19 0x0000000005001bbf createScopeChildrenDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:1027:25 #20 0x000000000500043d constructScopeDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:0:5 #21 0x0000000005001bbf createScopeChildrenDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:1027:25 #22 0x000000000500043d constructScopeDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:0:5 #23 0x0000000005001bbf createScopeChildrenDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:1027:25 #24 0x0000000005000476 constructScopeDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:542:10 #25 0x0000000005001bbf createScopeChildrenDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:1027:25 #26 0x0000000005000476 constructScopeDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:542:10 #27 0x0000000005001bbf createScopeChildrenDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:1027:25 #28 0x0000000005000476 constructScopeDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:542:10 #29 0x0000000005001bbf createScopeChildrenDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:1027:25 #30 0x0000000005000476 constructScopeDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:542:10 #31 0x0000000005001bbf createScopeChildrenDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:1027:25 #32 0x0000000005000476 constructScopeDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:542:10 #33 0x0000000005001bbf createScopeChildrenDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:1027:25 #34 0x0000000005003e32 createAndAddScopeChildren /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:0:24 #35 0x0000000005003e32 constructSubprogramScopeDIE /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.= cpp:1043:30 #36 0x0000000004fd620e endFunctionImpl /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:22= 38:25 #37 0x0000000004ff10d1 incrementEpoch /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/EpochTracker.h:43:27 #38 0x0000000004ff10d1 clear /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/DenseMap.h:112:5 #39 0x0000000004ff10d1 clear /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/MapVector.h:89:9 #40 0x0000000004ff10d1 clear /usr/src/contrib/llvm-project/llvm/include/llvm/CodeGen/DbgEntityHistoryCal= culator.h:121:29 #41 0x0000000004ff10d1 endFunction /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.= cpp:406:13 #42 0x0000000004fbbeaa ~TimeRegion /usr/src/contrib/llvm-project/llvm/include/llvm/Support/Timer.h:158:9 #43 0x0000000004fbbeaa emitFunctionBody /usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:15= 13:3 #44 0x000000000596d17d runOnMachineFunction /usr/src/contrib/llvm-project/llvm/lib/Target/X86/X86AsmPrinter.cpp:85:3 #45 0x000000000473f144 runOnFunction /usr/src/contrib/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:74:7 #46 0x0000000004bab8ff runOnFunction /usr/src/contrib/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1439:27 #47 0x0000000004bb20b1 runOnModule /usr/src/contrib/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1485:13 #48 0x0000000004babf1b runOnModule /usr/src/contrib/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27 #49 0x0000000004babf1b run /usr/src/contrib/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:542:44 #50 0x0000000002c65dc8 EmitAssemblyWithNewPassManager /usr/src/contrib/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1501:3 #51 0x0000000002c60bf2 EmitBackendOutput /usr/src/contrib/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:0:15 #52 0x0000000002f44ec6 reset /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/unique_ptr.h:3= 15:28 #53 0x0000000002f44ec6 ~unique_ptr /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/unique_ptr.h:2= 72:19 #54 0x0000000002f44ec6 HandleTranslationUnit /usr/src/contrib/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:334:7 #55 0x000000000341d884 begin /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/vector:1539:30 #56 0x000000000341d884 finalize >, std::__1::allocator > > > > /usr/src/contrib/llvm-project/clang/include/clang/Sema/TemplateInstCallback= .h:54:16 #57 0x000000000341d884 ParseAST /usr/src/contrib/llvm-project/clang/lib/Parse/ParseAST.cpp:178:3 #58 0x0000000002e8546f Execute /usr/src/contrib/llvm-project/clang/lib/Frontend/FrontendAction.cpp:955:10 #59 0x0000000002e0ebff getPtr /usr/src/contrib/llvm-project/llvm/include/llvm/Support/Error.h:274:42 #60 0x0000000002e0ebff operator bool /usr/src/contrib/llvm-project/llvm/include/llvm/Support/Error.h:236:16 #61 0x0000000002e0ebff ExecuteAction /usr/src/contrib/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:974:23 #62 0x0000000002f3e93b ExecuteCompilerInvocation /usr/src/contrib/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocat= ion.cpp:278:25 #63 0x00000000024631a1 cc1_main /usr/src/contrib/llvm-project/clang/tools/driver/cc1_main.cpp:246:15 #64 0x00000000024707b2 ExecuteCC1Tool /usr/src/contrib/llvm-project/clang/tools/driver/driver.cpp:338:12 #65 0x0000000002cd8af7 operator() /usr/src/contrib/llvm-project/clang/lib/Driver/Job.cpp:405:30 #66 0x0000000002cd8af7 callback_fn<(lambda at /usr/src/contrib/llvm-project/clang/lib/Driver/Job.cpp:405:22)> /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/STLExtras.h:177:12 #67 0x0000000004ee7654 operator() /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/STLExtras.h:0:12 #68 0x0000000004ee7654 RunSafely /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:425= :3 #69 0x0000000002cd86fc Execute /usr/src/contrib/llvm-project/clang/lib/Driver/Job.cpp:405:7 #70 0x0000000002ca92d1 ExecuteCommand /usr/src/contrib/llvm-project/clang/lib/Driver/Compilation.cpp:196:15 #71 0x0000000002ca978f ExecuteJobs /usr/src/contrib/llvm-project/clang/lib/Driver/Compilation.cpp:249:13 #72 0x0000000002cbd8dc empty /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/SmallVector.h:73:47 #73 0x0000000002cbd8dc ExecuteCompilation /usr/src/contrib/llvm-project/clang/lib/Driver/Driver.cpp:1556:23 c++: error: clang frontend command failed with exit code 134 (use -v to see invocation) FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin 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/d2fixed-03d735.cpp c++: note: diagnostic msg: /tmp/d2fixed-03d735.sh c++: note: diagnostic msg: ******************** --- secure/lib/libcrypto__L --- ng-plus-int -Wno-unused-const-variable -Wno-error=3Dunused-but-set-variable -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 -c /usr/src/crypto/openssl/crypto/asn1/asn1_par.c -o asn1_par.o --- lib/libc++__L --- *** [ryu/d2fixed.o] Error code 134 --=20 You are receiving this mail because: You are the assignee for the bug.=