From nobody Thu Aug 6 18:05:22 2026 X-Original-To: ppc@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 4hGFYv2bBTz6nRKH for ; Thu, 06 Aug 2026 18:05:23 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hGFYt52sxz3lns for ; Thu, 06 Aug 2026 18:05:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786039522; 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: in-reply-to:in-reply-to:references:references; bh=8FOYeRAtsBEmAJm0GowspJmBMsSpW7EFYa6I/4etS9Y=; b=c4cjgxvFYxT46HtTqdUWrpQcvyXxqQPuq+VjDhKtTHxb8k6+UVzFhaRuuo2GzYxeAVkcTZ kLXZ5pHPf+SCzpiOrEIsNDS5YvckyyHUzM5hWnCz6E24mFkeUTNpjP55cb/Sy/CeCJveMZ kJs5m0Ezh3vi5tGcULFwCekB1Nv/ycJCdq9y/VssHyCGvmj607lZm57IfjrgRFWdcqFaCs jLNCIUt/xcAqC5AvpnFTF8ODKWXol1rE+X59UgI+Vr5YX/DmMPEq4XBgR0M7Wz4CveVfbu pJjxtWdz22Vc9oA5X6HRjdMV022yrsihxRAdbMh07QV4XZEy/dizvSvSxI95wA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786039522; a=rsa-sha256; cv=none; b=NcLMfC1pJ8WHQuJ1QhxMwLUqsB6JfdGV24X/IR28ugYHFLT9mtYqVsSgxNe6bHa+hqIzxg 3O/q7A13kkvFQOVzhSpic5E+PfbecZtRg/5zO8GF57r2Zu/g304o4m4oJXR68y7jBpHIF4 y61kTkeLjcRaPAy7ID0RFBv7uNJKwvesceTfB0X2t9Cehi3CJajsqvd0cFrZlJqtOgWACB RZZaCOuzrMEdUl2sm/E/iVCcozCcdUqrQ73LoHPoyRk4Apqz2yawmXNBnl6nTRpcq5sH4+ W3SxYpge/IQRKtroswsSkaN4Pe02QkZNUF9xWrGHpaMOTJC9eTfqQLEf1svbYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786039522; 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: in-reply-to:in-reply-to:references:references; bh=8FOYeRAtsBEmAJm0GowspJmBMsSpW7EFYa6I/4etS9Y=; b=n13zFpHloXqs47+S8Z9W5CudrQ/Rzy5+ZJlUUud8F70FkgS1Cyf2Nn1kOhCzxDHfXZPMDA msNJuvJilyIk5bG5F+9cqYGNeDPxP5+SRL2skPynJ7M6ce12WnUlG+q9ijiNd9kiYUxIe1 x53jhYjduheqd3JdbfmXxrM3fuBtZBB3aLqEZ1KI27k0vjrhStejco1J5pLh+mp0nEmPPo 6Gdlk45zxvBKVJ/E+kt6iisap/ZVwLdOkKG0llxoK0i2y5trHpZwOnunC72qFXIiKFhR7G YyMMBOMkdZbCcA+9TfDlsxzx+Vqr3dhsFef4CxWnKu8o/eRR6qsfAHsrFb2pCw== 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 4hGFYt3PG4zWXH for ; Thu, 06 Aug 2026 18:05:22 +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 676I5MhD087590 for ; Thu, 6 Aug 2026 18:05:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 676I5Mwr087589 for ppc@FreeBSD.org; Thu, 6 Aug 2026 18:05:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ppc@FreeBSD.org Subject: [Bug 294369] powerpc64: panic in zfs_write() during buildworld Date: Thu, 06 Aug 2026 18:05:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 16.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jrtc27@freebsd.org X-Bugzilla-Flags: mfc-stable15? mfc-stable14? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ppc@freebsd.org Sender: owner-freebsd-ppc@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294369 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Daa3b76871e9644c86b5dc16c3a4221544= 7a29853 commit aa3b76871e9644c86b5dc16c3a42215447a29853 Author: Jessica Clarke AuthorDate: 2026-07-27 16:54:04 +0000 Commit: Jessica Clarke CommitDate: 2026-08-06 18:04:27 +0000 Merge commit 26bf39cdba0b from llvm-project (by Jessica Clarke): [ELF][PowerPC] Don't assume TOC pointer is valid in IPLT entries (#207555) Unlike normal PLT entries, IPLT entries can be called indirectly even when in PIEs/DSOs, and so there's no guarantee on what's in the TOC pointer register at that time. Therefore we must emit variants of the existing code that work without it, whether r12-relative (playing the same role as MIPS's $25) in the same number of instructions, or first retrieving PC in an i386-like manner, being careful not to clobber LR. On 32-bit PowerPC even direct calls to IPLT entries face the same iss= ue, since we'd use the TOC base of the resolver, which may not be the same as the caller, even within the same object. Normal canonical PLTs still look broken on 64-bit PowerPC as they use the TOC pointer register too, and similarly on 32-bit PowerPC for PIE= s. We should probably treat these cases the same as PIE on i386 (except including PDEs for 64-bit PowerPC), where it's an error due to the use of %ebx in PLT entries. Bump LLD_FREEBSD_VERSION for this fix as otherwise an existing system linker will be deemed new enough to use and produce broken kernels for TARGET=3Dpowerpc (regardless of TARGET_ARCH/MACHINE/MACHINE_ARCH) build= s. PR: 294369 MFC after: 1 week (cherry picked from commit b68f2fe1932cbc9809245e2c5a2db2bc0944cc5d) contrib/llvm-project/lld/ELF/Arch/PPC.cpp | 13 +++--- contrib/llvm-project/lld/ELF/Arch/PPC64.cpp | 5 ++- contrib/llvm-project/lld/ELF/Thunks.cpp | 69 +++++++++++++++++++++----= ---- contrib/llvm-project/lld/ELF/Thunks.h | 9 ++-- lib/clang/include/lld/Common/Version.inc | 2 +- 5 files changed, 67 insertions(+), 31 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=