gcc-2.95.x install on old sparc
Jeffrey A Law
law@cygnus.com
Wed Sep 1 22:34:00 GMT 1999
In message <19990829191521.A25732@lghh2.lghh.de>you write:
>
> --BXVAT5kNtrzKuDFl
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> please find attached logfiles produced by (attempted) installations of
> gcc-2.95 & gcc-2.95.1 on a Sun IPC SPARC system (25MHz, 24 MB RAM).
> gcc-2.95 seems fine, but gcc-2.95.1 runs into differences between the
> compiler stages - preventing/forbidding installation !?
It could be a number of problems. Either a bug in the compiler you're using
to build gcc-2.95.1, or a bug in gcc-2.95.1 itself.
The way to proceed is to first identify why the files are different. ie,
is there something different in one of the text sections, data sections,
debug sections, etc etc.
The two files that were listed as failing the comparison test were:
Bootstrap comparison failure!
genemit.o differs
insn-output.o differs
genemit.o is probably the smaller file, so I'd suggest looking at it.
The best tools to help identify what's different in the object files are
"objdump", "readelf" (both from binutils) and when desparate the "od" and
"cmp" programs.
What you'll want to do is compare <objdir>/gcc/genemit.o with
<objdir>/gcc/stage2/genemit.o
Once you can identify what's different I'll help you take next step
(producing a testcase which is compiled differently by the two compilers).
jeff
More information about the Gcc-bugs
mailing list