Workstation : SparcSTATION 20 with two HyperSPARC's CPU (RT626). I have
installed gcc from sunfreeware :
lebegue:[~] > gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.4.2

gmp-4.2 was built with : ./configure --prefix=/opt --with-gnu-ld --disable-cxx 
--disable-nails  --disable-mpfr
mpfr-2.2.0 was built with : ./configure --enable-mpfr --with-gmp-=/opt
--prefix=/opt --with-gmp-lib=/opt --with-gmp-include=/opt/include
--with-gmp-lib=/opt/lib && make -j2

With others options, it is impossible to compile gfortran.

I have tried to bootstrap gcc 4.1.1 with :
lebegue:[~/gcc-4.1.1/build] > ../configure --prefix=/opt --enable-threads=posix
--with-cpu=hypersparc --with-tune=hypersparc
--enable-languages=c,c++,fortran,java --with-gnu-as --with-gnu-ld
--with-mpfr=/opt --disable-multilib --enable-bootstrap && make -j2 bootstrap

I use GNU as and GNU ld, not Solaris as and Solaris ld, and bootstrap hangs
with:
make[4]: Leaving directory `/home/bertrand/gcc-4.1.1/build/stage3-gcc'
echo timestamp > stmp-multilib
rm gfortran.pod
make[3]: Leaving directory `/home/bertrand/gcc-4.1.1/build/stage3-gcc'
make[2]: Leaving directory `/home/bertrand/gcc-4.1.1/build'
make compare
make[2]: Entering directory `/home/bertrand/gcc-4.1.1/build'
make[3]: Entering directory `/home/bertrand/gcc-4.1.1/build'
make[3]: warning: jobserver unavailable: using -j1.  Add `+' to parent make
rule.
make[3]: Leaving directory `/home/bertrand/gcc-4.1.1/build'
warning: ./cc1-checksum.o differs
warning: ./cc1plus-checksum.o differs
warning: ./libgcc/_muldi3.o differs
warning: ./libgcc/_negdi2.o differs
warning: ./libgcc/_lshrdi3.o differs
warning: ./libgcc/_ashldi3.o differs
warning: ./libgcc/_ashrdi3.o differs
...
warning: ./libgcc/_udivdi3_s.o differs
warning: ./libgcc/_umoddi3_s.o differs
warning: ./libgcc/_udiv_w_sdiv_s.o differs
warning: ./libgcc/_udivmoddi4_s.o differs
warning: ./libgcc/unwind-dw2-fde_s.o differs
warning: ./libgcc/unwind-sjlj_s.o differs
warning: ./libgcc/unwind-dw2_s.o differs
warning: ./libgcc/gthr-gnat_s.o differs
warning: ./libgcc/unwind-c_s.o differs
Bootstrap comparison failure!
./cp/cp-lang.o differs
./cp/call.o differs
./cp/expr.o differs
./cp/decl.o differs
./cp/typeck2.o differs
./cp/pt.o differs
./cp/decl2.o differs
./cp/class.o differs
./cp/error.o differs
./cp/lex.o differs
...
./value-prof.o differs
./profile.o differs
./tracer.o differs
./toplev.o differs
./tree-profile.o differs
./passes.o differs
./ipa-inline.o differs
./gcov.o differs
./gcov-dump.o differs
./insn-extract.o differs
./insn-attrtab.o differs
./crtfastmath.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/home/bertrand/gcc-4.1.1/build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/home/bertrand/gcc-4.1.1/build'
make: *** [bootstrap] Error 2
lebegue:[~/gcc-4.1.1/build] >

Regards,

JKB


-- 
           Summary: bootstrap error: Bootstrap comparison failure!
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mt1 at systella dot fr
 GCC build triplet: sparc-sun-solaris2.9
  GCC host triplet: sparc-sun-solaris2.9
GCC target triplet: sparc-sun-solaris2.9


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

Reply via email to