From nobody Wed Jul 31 07:37:06 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 4WYkSf1wp0z5RP57 for ; Wed, 31 Jul 2024 07:37:06 +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 4WYkSd6LDlz4pRy for ; Wed, 31 Jul 2024 07:37:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722411425; a=rsa-sha256; cv=none; b=GACNxlKJLAR9aCoDNSuAdTIs0w+B2DDpVmzYWv5gq/WAXfXir8wLYf0/2ep6YC/FTKEeyp rQ+e0gWg9uetAQHO+YW8jQXjO9rksMElJQFsHpKdK0FmRqDrcNfg4jVh/inAEktkIoGCuw BOmPof7APrCRj2GEbYaiIab3O0vJLGgRhUKPsrDwKVUTlJ6ao6M1aBq6KCiZjOJe0PEgcr UWMp5kC/aYqpySsVO1/MizZUP8vzBR7klIJ4vAJ+6JG4mvV/gfIv007YDKWw27emhzf5Q1 8XEjCAP3uvYyaiZ9+T4z5kw7vwbHYUbJWb5xKfHTFK1wW9W/i3NUYYaTl/LMrw== 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=1722411425; 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=Z6orDrdLLAXI7mfVhryUMQ2HT+xBcFehDEdXrptLHec=; b=VGxmqvcfwyQl086oFxWxNyG7oV9s+DhCSb/wSuPlKH8Vjb5oQWow6txyoECfcXu7RR6WUA L7MQAai5dYelHY5NpUCzEskir5ShTP3+wliQQChKxtYd5G4/0vODTJERJ83cTHReJtypb+ tKEfXvWbubnxZPJIA9mM5X39ED9PLKBsfxOw0vkSVrTFvH4DpxjELrNzMng5NOTJ6aKFZk f87AKmaFacogFllhncUP1J3p1D0ykJeEqSmnSQKp/FxLsplrNTtXdcuINX2lG9v4YabSlm Hnt5wYQMrZw/wON6CtUSgH+VfoRYJyM/3HnzBr/TXFLUG64qAvc2HkG1Pe+vfA== 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 4WYkSd5SsGzsDn for ; Wed, 31 Jul 2024 07:37:05 +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 46V7b5Yf088671 for ; Wed, 31 Jul 2024 07:37:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46V7b57Y088670 for bugs@FreeBSD.org; Wed, 31 Jul 2024 07:37:05 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, 31 Jul 2024 07:37:06 +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 #21 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D814641415fbee707b312c334e00a1ebb5= 157e37b commit 814641415fbee707b312c334e00a1ebb5157e37b Author: Dimitry Andric AuthorDate: 2024-07-28 11:13:37 +0000 Commit: Dimitry Andric CommitDate: 2024-07-31 07:29:59 +0000 Merge commit c80c09f3e380 from llvm-project (by Dimitry Andric): [CalcSpillWeights] Avoid x87 excess precision influencing weight resu= lt Fixes #99396 The result of `VirtRegAuxInfo::weightCalcHelper` can be influenced by x87 excess precision, which can result in slightly different register choices when the compiler is hosted on x86_64 or i386. This leads to different object file output when cross-compiling to i386, or native. Similar to 7af3432e22b0, we need to add a `volatile` qualifier to the local `Weight` variable to force it onto the stack, and avoid the exc= ess precision. Define `stack_float_t` in `MathExtras.h` for this purpose, and use it. This is the version of the fix for PR276961 that landed upstream. PR: 276961 Reported by: cperciva MFC after: 3 days (cherry picked from commit 1a4b8325f6e3a45c77188343da504fe04495cc46) contrib/llvm-project/llvm/include/llvm/Support/MathExtras.h | 8 ++++++++ contrib/llvm-project/llvm/lib/CodeGen/CalcSpillWeights.cpp | 11 ++++++---= -- 2 files changed, 14 insertions(+), 5 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=