Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2024 16:50:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 276961] buildworld artifacts not reproducible between native and cross build
Message-ID:  <bug-276961-227-JnvWmjFdRp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276961-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276961-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276961

Dimitry Andric <dim@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
                 CC|                            |dim@FreeBSD.org

--- Comment #2 from Dimitry Andric <dim@FreeBSD.org> ---
An initial analysis seems to indicate that with clang 18, I can get
bit-identical output for e.g. mkfs.o and a few other select .o files that I
found, when comparing between "cross" and "native" compiler output.

With clang 17 I see the same type of difference, making it likely that some
stack alignment setting leaks in from the host architecture. It is going to=
 be
very time consuming to figure out the exact upstream commit(s) that fixed t=
his.

For now I am doing 13.3-RELEASE-p1 buildworlds with clang 18.1.3 (as it is =
in
main right now) as host compiler, both in "cross" and "native" mode. I will
report back when I have some results there.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276961-227-JnvWmjFdRp>