This is the mail archive of the gcc@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]

Build of 3.0.1 FAILED on sparc-sun-solaris2.5.1 (bootstrap cmp. error)


Hi there,

this is to notify you that a build of gcc 3.0.1 just FAILED on sparc-sun-
solaris2.5.1, after I have already successfully compiled it on 2.6 and 2.7.

The gcc version we're talking about is:

$ gcc -v
Reading specs from /opt/gcc30/lib/gcc-lib/sparc-sun-solaris2.5.1/3.0.1/specs
Configured with: /home/rabe/src/gcc-3.0.1//configure --prefix=/opt/gcc30 --
disable-nls --with-ld=/usr/ccs/bin/ld --enable-languages=c++
Thread model: posix
gcc version 3.0.1

Let me explain how I built it:

I first used Sun's cc to bootstrap-compile it:

    ~/src/gcc-3.0.1/configure --prefix=/opt/gcc30 --disable-nls \
        --with-ld=/usr/ccs/bin/ld --enable-languages=c++
    gmake MAKE="gmake -j2" BOOT_CFLAGS='-O2' CFLAGS='-O2' CXXFLAGS='-O2' \
        bootstrap-lean

"gmake" is GNU make 3.74.

After I had successfully(!!!) built the above, I installed it. I then used 
this copy of gcc to successfully compile binutils-2.11.2, and installed 
binutils into the same top-level directory (/opt/gcc30) as gcc itself.

Finally, I wanted to recompile gcc, this time using GNU ld I just built:

    [*]
    ~/src/gcc-3.0.1/configure --prefix=/opt/gcc30 --disable-nls \
        --with-ld=/opt/gcc30/bin/ld --enable-languages=c++
    gmake MAKE="gmake -j2" BOOT_CFLAGS='-O2' CFLAGS='-O2' CXXFLAGS='-O2' \
        bootstrap-lean

HOWEVER this time the build failed. To further investigate this I completely 
re-run the above process (marked with [*]) -- and it failed again. There were 
bootstrap comparison failures, but only some of the files that mismatched were  
identical in both cases.

Here is the output from the first case:

Bootstrap comparison failure!
c-format.o differs
c-parse.o differs
conflict.o differs
cppfiles.o differs
cppinit.o differs
cpplex.o differs
gcov.o differs
gensupport.o differs
insn-attrtab.o differs
jump.o differs
local-alloc.o differs
recog.o differs
ssa.o differs
tlink.o differs
cp/dump.o differs
cp/mangle.o differs
cp/method.o differs
cp/spew.o differs
cp/xref.o differs
gmake[1]: *** [compare-lean] Error 1
gmake[1]: Leaving directory `/tmp/build/gcc/gcc'
gmake: *** [bootstrap-lean] Error 2

And here is the output from the second case:

Bootstrap comparison failure!
c-format.o differs
c-parse.o differs
c-semantics.o differs
cppfiles.o differs
cppinit.o differs
cpplex.o differs
expmed.o differs
gensupport.o differs
insn-attrtab.o differs
jump.o differs
local-alloc.o differs
profile.o differs
ssa.o differs
tlink.o differs
cp/dump.o differs
cp/method.o differs
cp/spew.o differs
cp/xref.o differs
gmake[1]: *** [compare-lean] Error 1
gmake[1]: Leaving directory `/tmp/build/gcc/gcc'
gmake: *** [bootstrap-lean] Error 2


Ok, is there ANYTHING I can do to provide you with more details, or to further 
narrow the problem so that you may be able to tell what's going on, and 
possibly provide a fix?

Thanks,

Ralf


-- 
Sign the EU petition against SPAM:          L I N U X       .~.
http://www.politik-digital.de/spam/        The  Choice      /V\
                                            of a  GNU      /( )\
                                           Generation      ^^-^^



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