make bootstrap4-lean failed with 4.4.0 and 4.4.1 with crtfastmath.o comparison.
The last gcc version I can make bootstrap4-lean was 4.3.3 (and before that,
4.3.1) which was what I tried building 4.4.x with.

Strangely "make" (which I understand do a 3 stage boostrap) doesn't have this
problem, but fails further down with path length problems (
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38251#c8 ).

objdump -Dxzs ./prev-gcc/crtfastmath.o > prev-gcc-crtfastmath-dump
objdump -Dxzs ./gcc/crtfastmath.o > gcc-crtfastmath-dump
objdump -Dxzs /usr/local/lib/gcc/alphaev68-dec-osf5.1a/4.3.3/crtfastmath.o \
   > gcc-4.3.3-crtfastmath-dump
-------------
# diff prev-gcc-crtfastmath-dump gcc-crtfastmath-dump
2,3c2,3
< ./prev-gcc/crtfastmath.o:     file format ecoff-littlealpha
< ./prev-gcc/crtfastmath.o
---
> ./gcc/crtfastmath.o:     file format ecoff-littlealpha
> ./gcc/crtfastmath.o
73c73
<  0030 31000000 02000204 00000000 00000000  1...............
---
>  0030 01000000 02000204 00000000 00000000  ................
103c103
<   30: 31 00 00 00     call_pal        0x31
---
>   30: 01 00 00 00     call_pal        0x1
--------------------

I also 'diff gcc-crtfastmath-dump gcc-4.3.3-crtfastmath-dump' - while I don't
understand alpha assembler at all, the diff against with gcc 4.3.3 is mostly
versioning, and gcc 4.3.3. also have call_pal        0x31. So it appears that
bootstrap4-lean miscompile at the last stage? (i.e. prev-gcc/crtfastmath.o was
correct, gcc/crtfastmath.o was wrong).

Anybody can suggest how to take this forward? I am currently on 4.3.3, but am
keen to heep the alpha port of gcc alive for as long as is feasible...


-- 
           Summary: [4.4 Regression] bootstrap4-lean failed crtfastmath.o
                    comparision
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: htl10 at users dot sourceforge dot net
  GCC host triplet: alphaev68-dec-osf5.1a


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40894

Reply via email to