Date: Thu, 25 Jul 2024 18:54:33 +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-U8xJanwM9a@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 --- Comment #10 from Dimitry Andric <dim@FreeBSD.org> --- (In reply to Ed Maste from comment #9) The list: usr/src/i386.i386/stand/ficl/softcore.c usr/src/i386.i386/stand/i386/loader_4th/loader_4th usr/src/i386.i386/stand/i386/loader_4th/loader_4th.bin usr/src/i386.i386/stand/i386/loader_4th/loader_4th.sym usr/src/i386.i386/stand/i386/loader_4th/vers.c usr/src/i386.i386/stand/i386/loader_4th/vers.o usr/src/i386.i386/stand/i386/loader_lua/loader_lua usr/src/i386.i386/stand/i386/loader_lua/loader_lua.bin usr/src/i386.i386/stand/i386/loader_lua/loader_lua.sym usr/src/i386.i386/stand/i386/loader_lua/vers.c usr/src/i386.i386/stand/i386/loader_lua/vers.o usr/src/i386.i386/stand/i386/loader_simp/loader_simp usr/src/i386.i386/stand/i386/loader_simp/loader_simp.bin usr/src/i386.i386/stand/i386/loader_simp/loader_simp.sym usr/src/i386.i386/stand/i386/loader_simp/vers.c usr/src/i386.i386/stand/i386/loader_simp/vers.o usr/src/i386.i386/stand/i386/pxeldr/loader usr/src/i386.i386/stand/i386/pxeldr/pxeboot usr/src/i386.i386/sys/GENERIC/kernel usr/src/i386.i386/sys/GENERIC/kernel.debug usr/src/i386.i386/sys/GENERIC/kernel.full usr/src/i386.i386/sys/GENERIC/vers.c usr/src/i386.i386/sys/GENERIC/vers.o usr/src/i386.i386/toolchain-metadata.mk Note that all binary file differences are due to the .c file differences. T= he interesting diff is: --- usr.cross/src/i386.i386/stand/ficl/softcore.c 2024-07-25 19:19:31.202747000 +0200 +++ usr.native/src/i386.i386/stand/ficl/softcore.c 2024-07-25 15:51:43.365742000 +0200 @@ -4,7 +4,7 @@ ** Words from CORE set written in FICL ** Author: John Sadler (john_sadler@alum.mit.edu) ** Created: 27 December 1997 -** Last update: Thu Jul 25 19:19:31 CEST 2024 +** Last update: Thu Jul 25 15:51:43 CEST 2024 *******************************************************************/ /* ** DO NOT EDIT THIS FILE -- it is generated by softwords/softcore.awk --- usr.cross/src/i386.i386/stand/i386/loader_4th/vers.c 2024-07-25 19:19:47.305939000 +0200 +++ usr.native/src/i386.i386/stand/i386/loader_4th/vers.c 2024-07-25 15:52:06.222813000 +0200 @@ -1,2 +1,2 @@ -char bootprog_info[] =3D "FreeBSD/x86 bootstrap loader, Revision 1.1\n(Thu= Jul 25 19:19:47 CEST 2024 dim@freebsd14-amd64-dimtest)\n"; +char bootprog_info[] =3D "FreeBSD/x86 bootstrap loader, Revision 1.1\n(Thu= Jul 25 15:52:06 CEST 2024 dim@freebsd14-i386-dimtest)\n"; unsigned bootprog_rev =3D 1 * 1000 + 1; --- usr.cross/src/i386.i386/stand/i386/loader_lua/vers.c 2024-07-25 19:19:48.214825000 +0200 +++ usr.native/src/i386.i386/stand/i386/loader_lua/vers.c 2024-07-25 15:52:06.504217000 +0200 @@ -1,2 +1,2 @@ -char bootprog_info[] =3D "FreeBSD/x86 bootstrap loader, Revision 1.1\n(Thu= Jul 25 19:19:48 CEST 2024 dim@freebsd14-amd64-dimtest)\n"; +char bootprog_info[] =3D "FreeBSD/x86 bootstrap loader, Revision 1.1\n(Thu= Jul 25 15:52:06 CEST 2024 dim@freebsd14-i386-dimtest)\n"; unsigned bootprog_rev =3D 1 * 1000 + 1; --- usr.cross/src/i386.i386/stand/i386/loader_simp/vers.c 2024-07-25 19:19:50.668663000 +0200 +++ usr.native/src/i386.i386/stand/i386/loader_simp/vers.c 2024-07-25 15:52:09.581807000 +0200 @@ -1,2 +1,2 @@ -char bootprog_info[] =3D "FreeBSD/x86 bootstrap loader, Revision 1.1\n(Thu= Jul 25 19:19:50 CEST 2024 dim@freebsd14-amd64-dimtest)\n"; +char bootprog_info[] =3D "FreeBSD/x86 bootstrap loader, Revision 1.1\n(Thu= Jul 25 15:52:09 CEST 2024 dim@freebsd14-i386-dimtest)\n"; unsigned bootprog_rev =3D 1 * 1000 + 1; --- usr.cross/src/i386.i386/sys/GENERIC/vers.c 2024-07-25 19:28:44.6238400= 00 +0200 +++ usr.native/src/i386.i386/sys/GENERIC/vers.c 2024-07-25 16:14:12.9295850= 00 +0200 @@ -34,8 +34,8 @@ * method is deprecated and will be removed in a future version of FreeBSD. Orgs * that use it are encouraged to migrate before then. */ -#define SCCSSTR "@(#)FreeBSD 15.0-CURRENT #0 main-n271383-768485a98783: Thu Jul 25 19:28:40 CEST 2024" -#define VERSTR "FreeBSD 15.0-CURRENT #0 main-n271383-768485a98783: Thu Jul= 25 19:28:40 CEST 2024\n=20=20=20 dim@freebsd14-amd64-dimtest:/usr/obj/share/dim/src/freebsd/src/i386.i386/sy= s/GENERIC\n" +#define SCCSSTR "@(#)FreeBSD 15.0-CURRENT #0 main-n271383-768485a98783: Thu Jul 25 16:14:00 CEST 2024" +#define VERSTR "FreeBSD 15.0-CURRENT #0 main-n271383-768485a98783: Thu Jul= 25 16:14:00 CEST 2024\n=20=20=20 dim@freebsd14-i386-dimtest:/usr/obj/share/dim/src/freebsd/src/i386.i386/sys= /GENERIC\n" #define RELSTR "15.0-CURRENT" char sccs[sizeof(SCCSSTR) > 128 ? sizeof(SCCSSTR) : 128] =3D SCCSSTR; --- usr.cross/src/i386.i386/toolchain-metadata.mk 2024-07-25 18:32:55.156214000 +0200 +++ usr.native/src/i386.i386/toolchain-metadata.mk 2024-07-25 14:11:10.914450000 +0200 @@ -1,4 +1,4 @@ -.info Using cached toolchain metadata from build at freebsd14-amd64-dimtes= t on Thu Jul 25 18:32:55 CEST 2024 +.info Using cached toolchain metadata from build at freebsd14-i386-dimtest= on Thu Jul 25 14:11:10 CEST 2024 _LOADED_TOOLCHAIN_METADATA=3Dt COMPILER_VERSION=3D180106 X_COMPILER_VERSION=3D180106 However, I think the default isn't MK_REPRODUCIBLE=3Dyes? I should probably= redo the whole thing with that option explicitly turned on. --=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-U8xJanwM9a>