This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Comparison failure Comiling 4.2 svn on RedHat EL-3


Suppose for some reason I wish not to install Red Hat 4 or some other
system, so the first obvious solution is not available.

I tried building 4.2 from svn on a Red Hat EL3 (Dell PowerEdge 2600
Intel P4 2.8) and obtained a comparison error between stage2 and stage3.
Any help, or pointers to other info I missed finding?

Thanks. 
Robert



Here's some info about the version and system:

[root@xe01 gcc]# svnversion .
122433M

I made the following change inspired by googleing the previous mailing
list entries, otherwise it would not get anywhere at all:


[root@xe01 gcc]# svnversion .
122433M
[root@xe01 gcc]# svn status
M      gcc/config/host-linux.c
[root@xe01 gcc]# svn diff gcc/config/host-linux.c
Index: gcc/config/host-linux.c
===================================================================
--- gcc/config/host-linux.c     (revision 122433)
+++ gcc/config/host-linux.c     (working copy)
@@ -23,10 +23,12 @@
 #include "coretypes.h"
 #include <sys/mman.h>
 #include <limits.h>
+#define SSIZE_MAX LONG_MAX /* HERE I changed the file */
 #include "hosthooks.h"
 #include "hosthooks-def.h"




For simplicity...'c' only... configured with:

../gcc/configure   --prefix=/usr/local/encap/gcc-4.2.0.0
--program-suffix=v42 --enable-languages=c

Gcc version:
 gcc --version
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-56)

Error received:
Comparing stages 2 and 3
warning: ./cc1-checksum.o differs
Bootstrap comparison failure!
./cfg.o differs
./cfgloopanal.o differs
./loop-iv.o differs
./value-prof.o differs
./predict.o differs
./profile.o differs
./ipa-inline.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/home/sources/gcc_source/gcc_42_svn/build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/home/sources/gcc_source/gcc_42_svn/build'
make: *** [all] Error 2










Processor /proc/cpuinfo:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 7
cpu MHz         : 2791.281
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
bogomips        : 5588.14


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