[Bug 276961] buildworld artifacts not reproducible between native and cross build

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 11 Feb 2024 00:35:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276961

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
Looking at the difference in boot1.efi there's an extra instruction in the
cross-built case

--- i386-on-amd64/boot/boot1.efi
+++ i386-on-i386/boot/boot1.efi
├── objdump
│ @@ -55,15 +55,15 @@
│  Entry d 0000000000000000 00000000 Delay Import Directory
│  Entry e 0000000000000000 00000000 CLR Runtime Header
│  Entry f 0000000000000000 00000000 Reserved
│
│
│  Sections:
│  Idx Name          Size     VMA      Type
│ -  0 .text         000121ba 00001000 TEXT
│ +  0 .text         000121b6 00001000 TEXT
│    1 .data         0000a538 00014000 DATA
│    2 .sdata        00000024 0001f000 DATA
...
│ -    221c:            movl    %edi, 0x28(%esp)
│ -    2220:            movl    %eax, (%esp)
│ -    2223:            movl    %ecx, 0x4(%esp)
│ -    2227:            je      0x2252 <.text+0x1252>
│ -    2229:            movl    -0x1ec4(%ebx), %ecx
...
│ +    221c:            movl    %eax, (%esp)
│ +    221f:            movl    %ecx, 0x4(%esp)
│ +    2223:            je      0x224e <.text+0x124e>
│ +    2225:            movl    -0x1ec4(%ebx), %ecx

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