This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Solaris 8/Intel] Bootstrap comparison failure


I've just tried to bootstrap gcc 3.0 20010425 on Solaris 8 7/01 Beta
(Intel), i.e. i386-pc-solaris2.8, using cc (Sun WorkShop 6 update 2 C 5.3
EA2 2001/02/24) and native as/ld.  Even with the patch

	http://gcc.gnu.org/ml/gcc-patches/2001-04/msg01197.html

the bootstrap fails in the comparison stage:

Bootstrap comparison failure!
f/data.o differs
make[1]: *** [compare] Error 1

Here's the diff between the stage1 and stage2 data.s files.  They were
generated by appending -save-temps to the corresponding compile commands, e.g.

stage2/xgcc -Bstage2/ -B/vol/gnu/share/i386-pc-solaris2.8/bin/ -c  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes   -DHAVE_CONFIG_H    -I. -If -I/tmp/mnt/gnu/src/gcc/gcc-3.0-branch/gcc -I/tmp/mnt/gnu/src/gcc/gcc-3.0-branch/gcc/f -I/tmp/mnt/gnu/src/gcc/gcc-3.0-branch/gcc/config -I/tmp/mnt/gnu/src/gcc/gcc-3.0-branch/gcc/../include /tmp/mnt/gnu/src/gcc/gcc-3.0-branch/gcc/f/data.c -o data/stage2/data.o -v -save-temps

--- stage1/data.s	Wed Apr 25 18:12:51 2001
+++ stage2/data.s	Wed Apr 25 18:13:27 2001
@@ -4117,17 +4117,17 @@
 	pushl	%esi
 	pushl	%ebx
 	subl	$268, %esp
-	movl	12(%ebp), %ebx
+	movl	12(%ebp), %esi
 	.stabn 68,0,1144,.LM422-ffedata_gather_
 .LM422:
 	movb	$0, -209(%ebp)
 	.stabn 68,0,1146,.LM423-ffedata_gather_
 .LM423:
-	testl	%ebx, %ebx
+	testl	%esi, %esi
 	je	.L353
 	.stabn 68,0,1149,.LM424-ffedata_gather_
 .LM424:
-	movl	28(%ebx), %eax
+	movl	28(%esi), %eax
 	movl	%eax, -160(%ebp)
 	.stabn 68,0,1151,.LM425-ffedata_gather_
 .LM425:
@@ -4135,13 +4135,13 @@
 	je	.L423
 	.stabn 68,0,1153,.LM426-ffedata_gather_
 .LM426:
-	movl	12(%ebx), %edi
+	movl	12(%esi), %edi
 	testl	%edi, %edi
 	jne	.L424
 	.stabn 68,0,1154,.LM427-ffedata_gather_
 .LM427:
-	movl	16(%ebx), %esi
-	testl	%esi, %esi
+	movl	16(%esi), %ebx
+	testl	%ebx, %ebx
 	jne	.L425
 	.stabn 68,0,1160,.LM428-ffedata_gather_
 .LM428:
@@ -4162,13 +4162,13 @@
 .L361:
 	.stabn 68,0,1169,.LM430-ffedata_gather_
 .LM430:
-	movl	8(%ebp), %eax
+	movl	8(%ebp), %ebx
 	.stabn 68,0,1165,.LM431-ffedata_gather_
 .LM431:
 	movl	-160(%ebp), %ecx
 	.stabn 68,0,1169,.LM432-ffedata_gather_
 .LM432:
-	movl	28(%eax), %edi
+	movl	28(%ebx), %edi
 	.stabn 68,0,1165,.LM433-ffedata_gather_
 .LM433:
 	movl	$0, 60(%ecx)
@@ -4186,8 +4186,8 @@
 .L364:
 	.stabn 68,0,1175,.LM437-ffedata_gather_
 .LM437:
-	movl	8(%ebp), %edx
-	movl	12(%edx), %edx
+	movl	8(%ebp), %eax
+	movl	12(%eax), %edx
 	testl	%edx, %edx
 	je	.L365
 	.stabn 68,0,1177,.LM438-ffedata_gather_
@@ -4272,37 +4272,36 @@
 	call	ffetarget_aggregate_info
 	.stabn 68,0,1193,.LM450-ffedata_gather_
 .LM450:
-	movzbw	ffedata_storage_units_, %cx
 	xorl	%edx, %edx
+	movzbw	ffedata_storage_units_, %bx
 	movzbw	-121(%ebp), %ax
-	divw	%cx
+	divw	%bx
 	movb	%dl, %al
 	addl	$32, %esp
-	movw	%cx, -212(%ebp)
 	testb	%al, %al
 	jne	.L430
 	.stabn 68,0,1194,.LM451-ffedata_gather_
 .LM451:
 	movzbl	-121(%ebp), %eax
 	imull	ffedata_charexpected_, %eax
-	movzbl	ffedata_storage_units_, %edx
-	movl	%edx, -216(%ebp)
+	movzbl	ffedata_storage_units_, %ecx
 	cltd
-	idivl	-216(%ebp)
-	movl	%eax, %ecx
-	sarl	$31, %ecx
+	idivl	%ecx
+	movl	%eax, %ebx
+	sarl	$31, %ebx
 	movl	%eax, -184(%ebp)
-	movl	%ecx, -180(%ebp)
+	movl	%ecx, -216(%ebp)
+	movl	%ebx, -180(%ebp)
 	.stabn 68,0,1195,.LM452-ffedata_gather_
 .LM452:
-	movl	52(%ebx), %esi
+	movl	48(%esi), %ebx
 	movl	8(%ebp), %eax
-	movl	48(%ebx), %ebx
 	subl	48(%eax), %ebx
+	movl	52(%esi), %esi
 	sbbl	52(%eax), %esi
 	xorl	%edx, %edx
 	pushl	%edx
-	movl	-216(%ebp), %eax
+	movl	%ecx, %eax
 	pushl	%eax
 	pushl	%esi
 	pushl	%ebx
@@ -5087,7 +5086,7 @@
 .LBE29:
 .Lfe15:
 	.size	ffedata_gather_,.Lfe15-ffedata_gather_
-	.stabs	"st:r(161,3)",64,0,1123,3
+	.stabs	"st:r(161,3)",64,0,1123,6
 	.stabs	"s:(164,1)",128,0,1125,-160
 	.stabs	"s_whine:r(164,1)",64,0,1126,7
 	.stabs	"b:(126,5)",128,0,1127,-164

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University

Email: ro@TechFak.Uni-Bielefeld.DE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]