From nobody Wed Jul 24 19:44:44 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 4WTkxS23KSz5QJx3 for ; Wed, 24 Jul 2024 19:44:44 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WTkxS0vqYz4W53 for ; Wed, 24 Jul 2024 19:44:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721850284; a=rsa-sha256; cv=none; b=xGA3Gd1VyU/t+yp3TOZdYVgyFJLDIm9Ridru1fTP50Yb5y0qAaK7vQAZ0+r3NuircIwdkg zDWMSLJsw2MvANZ0ClMkxg72HenR3YFRjqHrzi/rGwbZ0C+0kZDWKyjq+n7NrGsNmxiXuU VKAJCulwkKdKZvliGQ3XGFfvb5bQve9aotZArIuH7n0bs+8YGpj9nVV/iltJuxZqRm0jrS PQ4SxLG8+yDo/rTeowgTEOyGBL+5p2zHQJn7PxXdvsLtzDO4DEpe8T8awpifotOTmW5BtN b55FEfzoYeqTdRd3vMHudUVcHtKCDHQtC/ss6zmafq5TJMiBeCPhNNwmKuEmkg== 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=1721850284; 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=m3UFnVoQ/Fd0b6wGHPoDOOszbtM7+g436MYO8c+31xk=; b=AiMtQWQfY67kAHVYELsR+5OXS7HqUs9pBWKWIAaFeJQmujn0OfkwTPpDemB/z1P6l7NzNV XVYKQsV3Qpsmg7z0FVwg+7KbO0tkNCuPk0aIDMo0Szr3KZ5eraGrrOAgIKOmLFHLaswUcv VmBFYUUPa3CygG404mPqCqtOlMj/nmITpOsC+BoKvjRxp7lzkMt0bOFhtffEmzU+S4ZwMn vUnY9gh09rNhk2i6mUZF+oge0oGSrXk1j32l3v0z/7yQ+AeC22szzqlq7/CCsybL03Q6KR g8XS8x/X2bAN6bqS9NOyEk5NYyu43Klzg4NdT3rme+Glg90W4gQJBfriu6QPAg== 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 4WTkxS0TkMzPL3 for ; Wed, 24 Jul 2024 19:44:44 +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 46OJih85019684 for ; Wed, 24 Jul 2024 19:44:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46OJihi9019683 for bugs@FreeBSD.org; Wed, 24 Jul 2024 19:44:43 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: bugs@FreeBSD.org Subject: [Bug 276961] buildworld artifacts not reproducible between native and cross build Date: Wed, 24 Jul 2024 19:44:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: 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=3D276961 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D8d87e47b8d1093a264ca954620b9e58b8= 1fb9b34 commit 8d87e47b8d1093a264ca954620b9e58b81fb9b34 Author: Dimitry Andric AuthorDate: 2024-07-21 20:37:27 +0000 Commit: Dimitry Andric CommitDate: 2024-07-24 19:26:11 +0000 Fix llvm register allocator for native/cross build differences Work around an issue in LLVM's register allocator, which can cause slightly different i386 object files, when produced by a native or cross build of clang. This adds another volatile qualifier to a float variable declaration in the weightCalcHelper() function, which otherwise produces slightly different float results on amd64 and i386 hosts. In turn, this can lead to different (but equivalent) register choices, and thus non-identical assembly code. See https://github.com/llvm/llvm-project/issues/99396 for more details. Note this is a temporary fix, meant to merge in time for 13.4. As soon as upstream has a permanent solution we will import that. PR: 276961 Reported by: cperciva MFC after: 3 days (cherry picked from commit 397c2693fa66508cb5e6b173650a1f3bc6c4dd4f) contrib/llvm-project/llvm/lib/CodeGen/CalcSpillWeights.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=