[Bug 276961] buildworld artifacts not reproducible between native and cross build
Date: Thu, 11 Apr 2024 16:50:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276961 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 this. 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. -- You are receiving this mail because: You are the assignee for the bug.