Open Bug 1596350 Opened 1 year ago Updated 7 months ago

clang doesn't produce code deterministically in js::jit::BaselineCacheIRCompiler::emitLoadFrameArgumentResult

Categories

(Firefox Build System :: Toolchains, defect)

defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: glandium, Unassigned)

References

(Blocks 2 open bugs)

Details

... but only when simulating a release build (main difference being --disable-profiling, I guess)

One variant of the function is (from https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/dOip0GF7S-GtQe6gfJG2UQ/runs/0/artifacts/public/build/target.tar.bz2):

 494a590:	55                   	push   %ebp
 494a591:	53                   	push   %ebx
 494a592:	57                   	push   %edi
 494a593:	56                   	push   %esi
 494a594:	83 ec 6c             	sub    $0x6c,%esp
 494a597:	65 a1 14 00 00 00    	mov    %gs:0x14,%eax
 494a59d:	e8 00 00 00 00       	call   494a5a2 <ffi_call@@xul72+0x16fd2>
 494a5a2:	5b                   	pop    %ebx
 494a5a3:	89 ce                	mov    %ecx,%esi
 494a5a5:	81 c3 5e ca 3a 03    	add    $0x33aca5e,%ebx
 494a5ab:	89 44 24 68          	mov    %eax,0x68(%esp)
 494a5af:	89 4c 24 04          	mov    %ecx,0x4(%esp)
 494a5b3:	8d 4c 24 48          	lea    0x48(%esp),%ecx
 494a5b7:	89 0c 24             	mov    %ecx,(%esp)
 494a5ba:	e8 01 6b a4 fe       	call   33910c0 <ffi_prep_closure_loc@@xul72+0x4fd860>
 494a5bf:	8b 46 08             	mov    0x8(%esi),%eax
 494a5c2:	8d be 68 09 00 00    	lea    0x968(%esi),%edi
 494a5c8:	8d 6e 14             	lea    0x14(%esi),%ebp
 494a5cb:	8d 48 01             	lea    0x1(%eax),%ecx
 494a5ce:	89 4e 08             	mov    %ecx,0x8(%esi)
 494a5d1:	8d 4c 24 40          	lea    0x40(%esp),%ecx
 494a5d5:	0f b6 00             	movzbl (%eax),%eax
 494a5d8:	66 89 44 24 38       	mov    %ax,0x38(%esp)
 494a5dd:	c6 44 24 3a 01       	movb   $0x1,0x3a(%esp)
 494a5e2:	8b 44 24 38          	mov    0x38(%esp),%eax
 494a5e6:	89 44 24 0c          	mov    %eax,0xc(%esp)
 494a5ea:	89 6c 24 08          	mov    %ebp,0x8(%esp)
 494a5ee:	89 7c 24 04          	mov    %edi,0x4(%esp)
 494a5f2:	89 0c 24             	mov    %ecx,(%esp)
 494a5f5:	e8 c6 3b a4 fe       	call   338e1c0 <ffi_prep_closure_loc@@xul72+0x4fa960>
 494a5fa:	83 ec 04             	sub    $0x4,%esp
 494a5fd:	8d 44 24 60          	lea    0x60(%esp),%eax
 494a601:	89 6c 24 08          	mov    %ebp,0x8(%esp)
 494a605:	89 7c 24 04          	mov    %edi,0x4(%esp)
 494a609:	89 04 24             	mov    %eax,(%esp)
 494a60c:	e8 7f 41 a4 fe       	call   338e790 <ffi_prep_closure_loc@@xul72+0x4faf30>
 494a611:	83 ec 04             	sub    $0x4,%esp
 494a614:	8a 74 24 60          	mov    0x60(%esp),%dh
 494a618:	80 7c 24 48 10       	cmpb   $0x10,0x48(%esp)
 494a61d:	88 74 24 24          	mov    %dh,0x24(%esp)
 494a621:	0f 85 86 01 00 00    	jne    494a7ad <ffi_call@@xul72+0x171dd>
 494a627:	8a 54 24 4a          	mov    0x4a(%esp),%dl
 494a62b:	31 c0                	xor    %eax,%eax
 494a62d:	b9 00 00 00 00       	mov    $0x0,%ecx
 494a632:	80 fa 08             	cmp    $0x8,%dl
 494a635:	75 24                	jne    494a65b <ffi_call@@xul72+0x1708b>
 494a637:	8d 44 24 60          	lea    0x60(%esp),%eax
 494a63b:	89 6c 24 08          	mov    %ebp,0x8(%esp)
 494a63f:	89 7c 24 04          	mov    %edi,0x4(%esp)
 494a643:	89 04 24             	mov    %eax,(%esp)
 494a646:	e8 45 41 a4 fe       	call   338e790 <ffi_prep_closure_loc@@xul72+0x4faf30>
 494a64b:	83 ec 04             	sub    $0x4,%esp
 494a64e:	8a 54 24 60          	mov    0x60(%esp),%dl
 494a652:	8a 74 24 24          	mov    0x24(%esp),%dh
 494a656:	b0 01                	mov    $0x1,%al
 494a658:	0f b6 ca             	movzbl %dl,%ecx
 494a65b:	89 44 24 30          	mov    %eax,0x30(%esp)
 494a65f:	8d 44 24 34          	lea    0x34(%esp),%eax
 494a663:	88 54 24 23          	mov    %dl,0x23(%esp)
 494a667:	89 4c 24 2c          	mov    %ecx,0x2c(%esp)
 494a66b:	0f b6 fe             	movzbl %dh,%edi
 494a66e:	89 34 24             	mov    %esi,(%esp)
 494a671:	89 44 24 04          	mov    %eax,0x4(%esp)
 494a675:	e8 66 6b a4 fe       	call   33911e0 <ffi_prep_closure_loc@@xul72+0x4fd980>
 494a67a:	84 c0                	test   %al,%al
 494a67c:	89 7c 24 28          	mov    %edi,0x28(%esp)
 494a680:	0f 84 40 01 00 00    	je     494a7c6 <ffi_call@@xul72+0x171f6>
 494a686:	8a 44 24 24          	mov    0x24(%esp),%al
 494a68a:	66 c7 44 24 60 51 00 	movw   $0x51,0x60(%esp)
 494a691:	c6 44 24 62 08       	movb   $0x8,0x62(%esp)
 494a696:	c7 44 24 64 10 00 00 	movl   $0x10,0x64(%esp)
 494a69d:	00 
 494a69e:	8d 4c 24 60          	lea    0x60(%esp),%ecx
 494a6a2:	88 44 24 50          	mov    %al,0x50(%esp)
 494a6a6:	8a 44 24 50          	mov    0x50(%esp),%al
 494a6aa:	88 44 24 08          	mov    %al,0x8(%esp)
 494a6ae:	89 4c 24 04          	mov    %ecx,0x4(%esp)
 494a6b2:	89 2c 24             	mov    %ebp,(%esp)
 494a6b5:	e8 c6 25 96 fe       	call   32acc80 <ffi_prep_closure_loc@@xul72+0x419420>
 494a6ba:	8a 44 24 40          	mov    0x40(%esp),%al
 494a6be:	8b 4c 24 34          	mov    0x34(%esp),%ecx
 494a6c2:	88 44 24 50          	mov    %al,0x50(%esp)
 494a6c6:	0f b7 c7             	movzwl %di,%eax
 494a6c9:	83 c1 6c             	add    $0x6c,%ecx
 494a6cc:	83 e0 1f             	and    $0x1f,%eax
 494a6cf:	c1 e0 04             	shl    $0x4,%eax
 494a6d2:	66 89 44 24 60       	mov    %ax,0x60(%esp)
 494a6d7:	8a 44 24 23          	mov    0x23(%esp),%al
 494a6db:	c6 44 24 62 08       	movb   $0x8,0x62(%esp)
 494a6e0:	c7 44 24 64 00 00 00 	movl   $0x0,0x64(%esp)
 494a6e7:	00 
 494a6e8:	88 44 24 58          	mov    %al,0x58(%esp)
 494a6ec:	8a 44 24 58          	mov    0x58(%esp),%al
 494a6f0:	88 44 24 0c          	mov    %al,0xc(%esp)
 494a6f4:	8a 44 24 50          	mov    0x50(%esp),%al
 494a6f8:	88 44 24 04          	mov    %al,0x4(%esp)
 494a6fc:	89 4c 24 10          	mov    %ecx,0x10(%esp)
 494a700:	8d 4c 24 60          	lea    0x60(%esp),%ecx
 494a704:	89 2c 24             	mov    %ebp,(%esp)
 494a707:	89 4c 24 08          	mov    %ecx,0x8(%esp)
 494a70b:	e8 60 d0 ec ff       	call   4817770 <_ZNSsC1ERKSsjRKSaIcE@@xul72+0x31cc90>
 494a710:	0f b7 4c 24 49       	movzwl 0x49(%esp),%ecx
 494a715:	8a 44 24 40          	mov    0x40(%esp),%al
 494a719:	66 c7 44 24 60 53 06 	movw   $0x653,0x60(%esp)
 494a720:	88 44 24 62          	mov    %al,0x62(%esp)
 494a724:	c7 44 24 64 1c 00 00 	movl   $0x1c,0x64(%esp)
 494a72b:	00 
 494a72c:	66 89 4c 24 50       	mov    %cx,0x50(%esp)
 494a731:	0f b7 44 24 50       	movzwl 0x50(%esp),%eax
 494a736:	66 89 44 24 0c       	mov    %ax,0xc(%esp)
 494a73b:	f2 0f 10 44 24 60    	movsd  0x60(%esp),%xmm0
 494a741:	f2 0f 11 44 24 04    	movsd  %xmm0,0x4(%esp)
 494a747:	89 2c 24             	mov    %ebp,(%esp)
 494a74a:	e8 51 f1 a0 fe       	call   33598a0 <ffi_prep_closure_loc@@xul72+0x4c6040>
 494a74f:	b0 01                	mov    $0x1,%al
 494a751:	89 44 24 24          	mov    %eax,0x24(%esp)
 494a755:	80 7c 24 30 00       	cmpb   $0x0,0x30(%esp)
 494a75a:	75 79                	jne    494a7d5 <ffi_call@@xul72+0x17205>
 494a75c:	8a 86 70 0a 00 00    	mov    0xa70(%esi),%al
 494a762:	8a 96 72 0a 00 00    	mov    0xa72(%esi),%dl
 494a768:	89 c7                	mov    %eax,%edi
 494a76a:	b8 01 00 00 00       	mov    $0x1,%eax
 494a76f:	8b 4c 24 28          	mov    0x28(%esp),%ecx
 494a773:	d3 e0                	shl    %cl,%eax
 494a775:	89 f9                	mov    %edi,%ecx
 494a777:	08 c2                	or     %al,%dl
 494a779:	f6 d0                	not    %al
 494a77b:	20 c8                	and    %cl,%al
 494a77d:	8d 4c 24 48          	lea    0x48(%esp),%ecx
 494a781:	88 96 72 0a 00 00    	mov    %dl,0xa72(%esi)
 494a787:	88 86 70 0a 00 00    	mov    %al,0xa70(%esi)
 494a78d:	89 0c 24             	mov    %ecx,(%esp)
 494a790:	e8 cb 69 a4 fe       	call   3391160 <ffi_prep_closure_loc@@xul72+0x4fd900>
 494a795:	65 a1 14 00 00 00    	mov    %gs:0x14,%eax
 494a79b:	3b 44 24 68          	cmp    0x68(%esp),%eax
 494a79f:	75 62                	jne    494a803 <ffi_call@@xul72+0x17233>
 494a7a1:	8b 44 24 24          	mov    0x24(%esp),%eax
 494a7a5:	83 c4 6c             	add    $0x6c,%esp
 494a7a8:	5e                   	pop    %esi
 494a7a9:	5f                   	pop    %edi
 494a7aa:	5b                   	pop    %ebx
 494a7ab:	5d                   	pop    %ebp
 494a7ac:	c3                   	ret    
 494a7ad:	8a 54 24 49          	mov    0x49(%esp),%dl
 494a7b1:	31 c0                	xor    %eax,%eax
 494a7b3:	b9 00 00 00 00       	mov    $0x0,%ecx
 494a7b8:	80 fa 08             	cmp    $0x8,%dl
 494a7bb:	0f 83 76 fe ff ff    	jae    494a637 <ffi_call@@xul72+0x17067>
 494a7c1:	e9 95 fe ff ff       	jmp    494a65b <ffi_call@@xul72+0x1708b>
 494a7c6:	c7 44 24 24 00 00 00 	movl   $0x0,0x24(%esp)
 494a7cd:	00 
 494a7ce:	80 7c 24 30 00       	cmpb   $0x0,0x30(%esp)
 494a7d3:	74 87                	je     494a75c <ffi_call@@xul72+0x1718c>
 494a7d5:	8a 96 72 0a 00 00    	mov    0xa72(%esi),%dl
 494a7db:	b8 01 00 00 00       	mov    $0x1,%eax
 494a7e0:	8b 4c 24 2c          	mov    0x2c(%esp),%ecx
 494a7e4:	d3 e0                	shl    %cl,%eax
 494a7e6:	08 c2                	or     %al,%dl
 494a7e8:	f6 d0                	not    %al
 494a7ea:	88 96 72 0a 00 00    	mov    %dl,0xa72(%esi)
 494a7f0:	22 86 70 0a 00 00    	and    0xa70(%esi),%al
 494a7f6:	89 c7                	mov    %eax,%edi
 494a7f8:	88 86 70 0a 00 00    	mov    %al,0xa70(%esi)
 494a7fe:	e9 67 ff ff ff       	jmp    494a76a <ffi_call@@xul72+0x1719a>
 494a803:	e8 c8 9f 99 fb       	call   2e47d0 <__stack_chk_fail@plt>
 494a808:	66 90                	xchg   %ax,%ax
 494a80a:	66 90                	xchg   %ax,%ax
 494a80c:	66 90                	xchg   %ax,%ax
 494a80e:	66 90                	xchg   %ax,%ax

Another variant is (from https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Arhv48TBQ3GF86DB04dt2Q/runs/0/artifacts/public/build/target.tar.bz2):

 494a590:	55                   	push   %ebp
 494a591:	53                   	push   %ebx
 494a592:	57                   	push   %edi
 494a593:	56                   	push   %esi
 494a594:	83 ec 6c             	sub    $0x6c,%esp
 494a597:	65 a1 14 00 00 00    	mov    %gs:0x14,%eax
 494a59d:	e8 00 00 00 00       	call   494a5a2 <ffi_call@@xul72+0x16fd2>
 494a5a2:	5b                   	pop    %ebx
 494a5a3:	89 ce                	mov    %ecx,%esi
 494a5a5:	81 c3 5e ca 3a 03    	add    $0x33aca5e,%ebx
 494a5ab:	89 44 24 68          	mov    %eax,0x68(%esp)
 494a5af:	89 4c 24 04          	mov    %ecx,0x4(%esp)
 494a5b3:	8d 4c 24 48          	lea    0x48(%esp),%ecx
 494a5b7:	89 0c 24             	mov    %ecx,(%esp)
 494a5ba:	e8 01 6b a4 fe       	call   33910c0 <ffi_prep_closure_loc@@xul72+0x4fd860>
 494a5bf:	8b 46 08             	mov    0x8(%esi),%eax
 494a5c2:	8d be 68 09 00 00    	lea    0x968(%esi),%edi
 494a5c8:	8d 6e 14             	lea    0x14(%esi),%ebp
 494a5cb:	8d 48 01             	lea    0x1(%eax),%ecx
 494a5ce:	89 4e 08             	mov    %ecx,0x8(%esi)
 494a5d1:	8d 4c 24 40          	lea    0x40(%esp),%ecx
 494a5d5:	0f b6 00             	movzbl (%eax),%eax
 494a5d8:	66 89 44 24 38       	mov    %ax,0x38(%esp)
 494a5dd:	c6 44 24 3a 01       	movb   $0x1,0x3a(%esp)
 494a5e2:	8b 44 24 38          	mov    0x38(%esp),%eax
 494a5e6:	89 44 24 0c          	mov    %eax,0xc(%esp)
 494a5ea:	89 6c 24 08          	mov    %ebp,0x8(%esp)
 494a5ee:	89 7c 24 04          	mov    %edi,0x4(%esp)
 494a5f2:	89 0c 24             	mov    %ecx,(%esp)
 494a5f5:	e8 c6 3b a4 fe       	call   338e1c0 <ffi_prep_closure_loc@@xul72+0x4fa960>
 494a5fa:	83 ec 04             	sub    $0x4,%esp
 494a5fd:	8d 44 24 60          	lea    0x60(%esp),%eax
 494a601:	89 6c 24 08          	mov    %ebp,0x8(%esp)
 494a605:	89 7c 24 04          	mov    %edi,0x4(%esp)
 494a609:	89 04 24             	mov    %eax,(%esp)
 494a60c:	e8 7f 41 a4 fe       	call   338e790 <ffi_prep_closure_loc@@xul72+0x4faf30>
 494a611:	83 ec 04             	sub    $0x4,%esp
 494a614:	8a 4c 24 60          	mov    0x60(%esp),%cl
 494a618:	80 7c 24 48 10       	cmpb   $0x10,0x48(%esp)
 494a61d:	88 4c 24 23          	mov    %cl,0x23(%esp)
 494a621:	0f 85 6e 01 00 00    	jne    494a795 <ffi_call@@xul72+0x171c5>
 494a627:	8a 44 24 4a          	mov    0x4a(%esp),%al
 494a62b:	c7 44 24 2c 00 00 00 	movl   $0x0,0x2c(%esp)
 494a632:	00 
 494a633:	c7 44 24 28 00 00 00 	movl   $0x0,0x28(%esp)
 494a63a:	00 
 494a63b:	3c 08                	cmp    $0x8,%al
 494a63d:	88 44 24 24          	mov    %al,0x24(%esp)
 494a641:	0f 84 6e 01 00 00    	je     494a7b5 <ffi_call@@xul72+0x171e5>
 494a647:	8d 44 24 34          	lea    0x34(%esp),%eax
 494a64b:	0f b6 f9             	movzbl %cl,%edi
 494a64e:	89 34 24             	mov    %esi,(%esp)
 494a651:	89 44 24 04          	mov    %eax,0x4(%esp)
 494a655:	e8 86 6b a4 fe       	call   33911e0 <ffi_prep_closure_loc@@xul72+0x4fd980>
 494a65a:	84 c0                	test   %al,%al
 494a65c:	89 7c 24 30          	mov    %edi,0x30(%esp)
 494a660:	0f 84 84 01 00 00    	je     494a7ea <ffi_call@@xul72+0x1721a>
 494a666:	8a 44 24 23          	mov    0x23(%esp),%al
 494a66a:	66 c7 44 24 60 51 00 	movw   $0x51,0x60(%esp)
 494a671:	c6 44 24 62 08       	movb   $0x8,0x62(%esp)
 494a676:	c7 44 24 64 10 00 00 	movl   $0x10,0x64(%esp)
 494a67d:	00 
 494a67e:	8d 4c 24 60          	lea    0x60(%esp),%ecx
 494a682:	88 44 24 50          	mov    %al,0x50(%esp)
 494a686:	8a 44 24 50          	mov    0x50(%esp),%al
 494a68a:	88 44 24 08          	mov    %al,0x8(%esp)
 494a68e:	89 4c 24 04          	mov    %ecx,0x4(%esp)
 494a692:	89 2c 24             	mov    %ebp,(%esp)
 494a695:	e8 e6 25 96 fe       	call   32acc80 <ffi_prep_closure_loc@@xul72+0x419420>
 494a69a:	8a 44 24 40          	mov    0x40(%esp),%al
 494a69e:	8b 4c 24 34          	mov    0x34(%esp),%ecx
 494a6a2:	88 44 24 50          	mov    %al,0x50(%esp)
 494a6a6:	0f b7 c7             	movzwl %di,%eax
 494a6a9:	83 c1 6c             	add    $0x6c,%ecx
 494a6ac:	83 e0 1f             	and    $0x1f,%eax
 494a6af:	c1 e0 04             	shl    $0x4,%eax
 494a6b2:	66 89 44 24 60       	mov    %ax,0x60(%esp)
 494a6b7:	8a 44 24 24          	mov    0x24(%esp),%al
 494a6bb:	c6 44 24 62 08       	movb   $0x8,0x62(%esp)
 494a6c0:	c7 44 24 64 00 00 00 	movl   $0x0,0x64(%esp)
 494a6c7:	00 
 494a6c8:	88 44 24 58          	mov    %al,0x58(%esp)
 494a6cc:	8a 44 24 58          	mov    0x58(%esp),%al
 494a6d0:	88 44 24 0c          	mov    %al,0xc(%esp)
 494a6d4:	8a 44 24 50          	mov    0x50(%esp),%al
 494a6d8:	88 44 24 04          	mov    %al,0x4(%esp)
 494a6dc:	89 4c 24 10          	mov    %ecx,0x10(%esp)
 494a6e0:	8d 4c 24 60          	lea    0x60(%esp),%ecx
 494a6e4:	89 2c 24             	mov    %ebp,(%esp)
 494a6e7:	89 4c 24 08          	mov    %ecx,0x8(%esp)
 494a6eb:	e8 80 d0 ec ff       	call   4817770 <_ZNSsC1ERKSsjRKSaIcE@@xul72+0x31cc90>
 494a6f0:	0f b7 4c 24 49       	movzwl 0x49(%esp),%ecx
 494a6f5:	8a 44 24 40          	mov    0x40(%esp),%al
 494a6f9:	66 c7 44 24 60 53 06 	movw   $0x653,0x60(%esp)
 494a700:	88 44 24 62          	mov    %al,0x62(%esp)
 494a704:	c7 44 24 64 1c 00 00 	movl   $0x1c,0x64(%esp)
 494a70b:	00 
 494a70c:	66 89 4c 24 50       	mov    %cx,0x50(%esp)
 494a711:	0f b7 44 24 50       	movzwl 0x50(%esp),%eax
 494a716:	66 89 44 24 0c       	mov    %ax,0xc(%esp)
 494a71b:	f2 0f 10 44 24 60    	movsd  0x60(%esp),%xmm0
 494a721:	f2 0f 11 44 24 04    	movsd  %xmm0,0x4(%esp)
 494a727:	89 2c 24             	mov    %ebp,(%esp)
 494a72a:	e8 71 f1 a0 fe       	call   33598a0 <ffi_prep_closure_loc@@xul72+0x4c6040>
 494a72f:	b0 01                	mov    $0x1,%al
 494a731:	89 44 24 24          	mov    %eax,0x24(%esp)
 494a735:	80 7c 24 2c 00       	cmpb   $0x0,0x2c(%esp)
 494a73a:	0f 85 bd 00 00 00    	jne    494a7fd <ffi_call@@xul72+0x1722d>
 494a740:	8a 86 70 0a 00 00    	mov    0xa70(%esi),%al
 494a746:	8a 96 72 0a 00 00    	mov    0xa72(%esi),%dl
 494a74c:	89 c7                	mov    %eax,%edi
 494a74e:	b8 01 00 00 00       	mov    $0x1,%eax
 494a753:	8b 4c 24 30          	mov    0x30(%esp),%ecx
 494a757:	d3 e0                	shl    %cl,%eax
 494a759:	89 f9                	mov    %edi,%ecx
 494a75b:	08 c2                	or     %al,%dl
 494a75d:	f6 d0                	not    %al
 494a75f:	20 c8                	and    %cl,%al
 494a761:	8d 4c 24 48          	lea    0x48(%esp),%ecx
 494a765:	88 96 72 0a 00 00    	mov    %dl,0xa72(%esi)
 494a76b:	88 86 70 0a 00 00    	mov    %al,0xa70(%esi)
 494a771:	89 0c 24             	mov    %ecx,(%esp)
 494a774:	e8 e7 69 a4 fe       	call   3391160 <ffi_prep_closure_loc@@xul72+0x4fd900>
 494a779:	65 a1 14 00 00 00    	mov    %gs:0x14,%eax
 494a77f:	3b 44 24 68          	cmp    0x68(%esp),%eax
 494a783:	0f 85 a2 00 00 00    	jne    494a82b <ffi_call@@xul72+0x1725b>
 494a789:	8b 44 24 24          	mov    0x24(%esp),%eax
 494a78d:	83 c4 6c             	add    $0x6c,%esp
 494a790:	5e                   	pop    %esi
 494a791:	5f                   	pop    %edi
 494a792:	5b                   	pop    %ebx
 494a793:	5d                   	pop    %ebp
 494a794:	c3                   	ret    
 494a795:	8a 44 24 49          	mov    0x49(%esp),%al
 494a799:	c7 44 24 2c 00 00 00 	movl   $0x0,0x2c(%esp)
 494a7a0:	00 
 494a7a1:	c7 44 24 28 00 00 00 	movl   $0x0,0x28(%esp)
 494a7a8:	00 
 494a7a9:	3c 08                	cmp    $0x8,%al
 494a7ab:	88 44 24 24          	mov    %al,0x24(%esp)
 494a7af:	0f 82 92 fe ff ff    	jb     494a647 <ffi_call@@xul72+0x17077>
 494a7b5:	8d 44 24 60          	lea    0x60(%esp),%eax
 494a7b9:	89 6c 24 08          	mov    %ebp,0x8(%esp)
 494a7bd:	89 7c 24 04          	mov    %edi,0x4(%esp)
 494a7c1:	89 04 24             	mov    %eax,(%esp)
 494a7c4:	e8 c7 3f a4 fe       	call   338e790 <ffi_prep_closure_loc@@xul72+0x4faf30>
 494a7c9:	83 ec 04             	sub    $0x4,%esp
 494a7cc:	8a 44 24 60          	mov    0x60(%esp),%al
 494a7d0:	8a 4c 24 23          	mov    0x23(%esp),%cl
 494a7d4:	88 44 24 24          	mov    %al,0x24(%esp)
 494a7d8:	0f b6 c0             	movzbl %al,%eax
 494a7db:	89 44 24 28          	mov    %eax,0x28(%esp)
 494a7df:	b0 01                	mov    $0x1,%al
 494a7e1:	89 44 24 2c          	mov    %eax,0x2c(%esp)
 494a7e5:	e9 5d fe ff ff       	jmp    494a647 <ffi_call@@xul72+0x17077>
 494a7ea:	c7 44 24 24 00 00 00 	movl   $0x0,0x24(%esp)
 494a7f1:	00 
 494a7f2:	80 7c 24 2c 00       	cmpb   $0x0,0x2c(%esp)
 494a7f7:	0f 84 43 ff ff ff    	je     494a740 <ffi_call@@xul72+0x17170>
 494a7fd:	8a 96 72 0a 00 00    	mov    0xa72(%esi),%dl
 494a803:	b8 01 00 00 00       	mov    $0x1,%eax
 494a808:	8b 4c 24 28          	mov    0x28(%esp),%ecx
 494a80c:	d3 e0                	shl    %cl,%eax
 494a80e:	08 c2                	or     %al,%dl
 494a810:	f6 d0                	not    %al
 494a812:	88 96 72 0a 00 00    	mov    %dl,0xa72(%esi)
 494a818:	22 86 70 0a 00 00    	and    0xa70(%esi),%al
 494a81e:	89 c7                	mov    %eax,%edi
 494a820:	88 86 70 0a 00 00    	mov    %al,0xa70(%esi)
 494a826:	e9 23 ff ff ff       	jmp    494a74e <ffi_call@@xul72+0x1717e>
 494a82b:	e8 a0 9f 99 fb       	call   2e47d0 <__stack_chk_fail@plt>

This is the first function that differs. Maybe there are others, I didn't actually check.

Note these are 32-bits builds.

I can now confirm it's 32-bits only. And it seems to be a regression between clang 8.0 and 9.0 for the same reason as given in bug 1596283.

Duplicate of this bug: 1609421
Depends on: 1616138

Mike are there any updates here?

The current perma bustage is unfortunately unrelated to this bug... it's a different difference, and it's hidden by the fact that we don't have a copy of all the generated files in the build :( I'll file a separate bug about that, and when that lands, we should see the linux32g build fail with a more useful error.

Flags: needinfo?(mh+mozilla)

And the actual problem: bug 1626188.

(In reply to Mike Hommey [:glandium] from comment #16)

Filed bug 1626163

Thank you, we'll use this bug to classify the failures from now on.

Mike, linux32 is still failing on mozilla-central

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=296652475&repo=mozilla-central&lineNumber=181

[task 2020-04-07T18:06:20.130Z] |#################### | 77% …bxul.so [.gnu_debuglink] ETA: 0:02:16
[task 2020-04-07T18:06:34.378Z] |##################### | 80% …efox/libxul.so [.strtab] ETA: 0:01:54
[task 2020-04-07T18:06:34.397Z] |###################### | 83% …ox/libxul.so [.shstrtab] ETA: 0:01:36
[task 2020-04-07T18:06:34.397Z] |####################### | 86% ETA: 0:01:16
[task 2020-04-07T18:06:34.401Z] |####################### | 86% minidump-analyzer ETA: 0:01:16
[task 2020-04-07T18:06:34.416Z] |####################### | 87% omni.ja ETA: 0:01:11
[task 2020-04-07T18:06:34.420Z] |########################## | 99% pingsender ETA: 0:00:04
[task 2020-04-07T18:06:34.420Z] |########################## | 99% platform.ini ETA: 0:00:02
[task 2020-04-07T18:06:34.424Z] |########################## | 99% plugin-container ETA: 0:00:02
[task 2020-04-07T18:06:34.424Z] |########################## | 99% precomplete ETA: 0:00:00
[task 2020-04-07T18:06:34.424Z] |########################## | 99% removed-files ETA: 0:00:00
[task 2020-04-07T18:06:34.424Z] |########################## | 99% update-settings.ini ETA: 0:00:00
[task 2020-04-07T18:06:34.427Z] |########################## | 99% updater ETA: 0:00:00
[task 2020-04-07T18:06:34.427Z] |########################## | 99% updater.ini ETA: 0:00:00
[task 2020-04-07T18:06:34.427Z] |###########################| 100% ETA: 0:00:00
[task 2020-04-07T18:06:34.427Z] |###########################| 100% ETA: 0:00:00
[task 2020-04-07T18:06:34.428Z] |###########################| 100% ETA: 0:00:00
[task 2020-04-07T18:06:53.504Z] |###########################| 100% Time: 0:08:06
[task 2020-04-07T18:06:53.504Z] + report_error diff
[task 2020-04-07T18:06:53.504Z] + python3
[task 2020-04-07T18:06:53.683Z] TEST-UNEXPECTED-FAIL | firefox/libxul.so differs. See the diff.html or diff.txt artifact
[task 2020-04-07T18:06:53.685Z] + fail
[task 2020-04-07T18:06:53.685Z] + exit 1
[taskcluster 2020-04-07 18:06:53.984Z] === Task Finished ===
[taskcluster 2020-04-07 18:06:56.444Z] Unsuccessful task run with exit code: 1 completed in 561.596 seconds

Should we use this bug to classify it or the same as for linux32g, meaning bug 1626188?

Flags: needinfo?(mh+mozilla)

same as for linux32g

Flags: needinfo?(mh+mozilla)

Those were bug 1635755. This bug is very specific and doesn't happen on central. I'm not sure why it's being flagged.

Flags: needinfo?(mh+mozilla)

Mike, Bug 1635755 is now fixed but TEST-UNEXPECTED-FAIL | firefox/libxul.so differs. See the diff.html or diff.txt artifact is still around. https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&group_state=expanded&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception&searchStr=diffoscope%2Copt%2Clinux&revision=61a83cc0b74b43117a9fa6d92c3d693ea03bbffc&selectedTaskRun=LYISc5olQ2e2zrF9s7iwIA-0
Should we use this bug to star them or file another one?

Flags: needinfo?(mh+mozilla)

Please file another.

Flags: needinfo?(mh+mozilla)
See Also: → 1638607
You need to log in before you can comment on or make changes to this bug.