public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/26715]  New: boostrap comparison failure (stage2?) during make bootstrap on solaris8 only?
@ 2006-03-16 13:41 chris dot pitchford at newsint dot co dot uk
  2006-03-16 18:31 ` [Bug other/26715] boostrap comparison failure (stage2?) ebotcazou at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: chris dot pitchford at newsint dot co dot uk @ 2006-03-16 13:41 UTC (permalink / raw)
  To: gcc-bugs

Hi all,

I've been trying upgrade our C environment on our solaris boxes to GCC4.1

Currently we're using GCC 3.4.2 from Sun Freeware's online packages.
$ gcc --version
gcc (GCC) 3.4.2
...

Using the same ./configure options on 4 clean sparc Solaris systems (running
2.6, 7, 8 and 9) systems I find that the "make bootstrap" fails on solaris 8
only.

I'm configuring the source as:
  cd /build/gcc/compiled ;
  CONFIG_SHELL=/bin/ksh  "/build/gcc-4.1.0/configure" \
        --prefix="/opt/gcc"             \
        --with-as=/usr/ccs/bin/as       \
        --with-ld=/usr/ccs/bin/ld       \
        --disable-nls                   \
        --enable-libgcj                 \
        --enable-languages=c,c++,objc,java

make bootstrap fails on my solaris8 system complaining:

Bootstrap comparison failure!
./integrate.o differs
cp/semantics.o differs
build/gengtype.o differs
make[1]: *** [gnucompare] Error 1
make[1]: Leaving directory `/build/gcc/compiled/gcc'
make: *** [bootstrap] Error 2

using 'hexdump' I have compared the two six files that differ:
integrate.o             0006000 0000 0723 000f 0300 0260 1c23 750a 6469
stage2/integrate.o      0006000 0400 0723 000f 0300 0260 1c23 750a 6469

cp/semantics.o          0028c00 0000 8028 0100 0714 0000 0000 0000 8828
stage2/cp/semantics.o   0028c00 0400 8028 0100 0714 0000 0000 0000 8828

build/gengtype.o        0014c00 0000 b418 0100 0057 1800 00b4 1800 00ec
stage2/build/gengtype.o 0014c00 0400 b418 0100 0057 1800 00b4 1800 00ec

There is a one bit difference between the pairs!

I'm sorry if I've left out information, I'm not sure what I need to provide
here. I've checked the pre-requisites and I believe I match them all.

It all works fine on my solaris 2.6, 7 and 9 systems. Only Solaris 8 seems to
be suffering at the moment. For good measure I have installed the latest
recommended patch cluster from Sun but it has not made a difference.

More of a problem is the failure occurs about 6.5 hours into the compile.

Finally, I'm currently only working with sparc Solaris systems, I've not got
access to any intel sparc systems to test this under solaris8/x86

Thanks

Chris


-- 
           Summary: boostrap comparison failure (stage2?) during make
                    bootstrap on solaris8 only?
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: chris dot pitchford at newsint dot co dot uk
 GCC build triplet: *-*-solaris2.8
  GCC host triplet: *-*-solaris2.8
GCC target triplet: *-*-solaris2.8


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug other/26715] boostrap comparison failure (stage2?)
  2006-03-16 13:41 [Bug other/26715] New: boostrap comparison failure (stage2?) during make bootstrap on solaris8 only? chris dot pitchford at newsint dot co dot uk
@ 2006-03-16 18:31 ` ebotcazou at gcc dot gnu dot org
  2006-03-17 11:18 ` [Bug bootstrap/26715] bootstrap comparison failure chris dot pitchford at newsint dot co dot uk
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-03-16 18:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ebotcazou at gcc dot gnu dot org  2006-03-16 18:31 -------
Pretty weird indeed.  What's the bootstrap compiler on the Solaris 8 machine? 
Is it the same as on the other machines?  Could you try a C-only bootstrap with
it and with another one?  


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |WAITING
  GCC build triplet|*-*-solaris2.8              |sparc-sun-solaris2.8
   GCC host triplet|*-*-solaris2.8              |sparc-sun-solaris2.8
 GCC target triplet|*-*-solaris2.8              |sparc-sun-solaris2.8
            Summary|boostrap comparison failure |boostrap comparison failure
                   |(stage2?) during make       |(stage2?)
                   |bootstrap on solaris8 only? |


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/26715] bootstrap comparison failure
  2006-03-16 13:41 [Bug other/26715] New: boostrap comparison failure (stage2?) during make bootstrap on solaris8 only? chris dot pitchford at newsint dot co dot uk
  2006-03-16 18:31 ` [Bug other/26715] boostrap comparison failure (stage2?) ebotcazou at gcc dot gnu dot org
@ 2006-03-17 11:18 ` chris dot pitchford at newsint dot co dot uk
  2006-03-17 11:33 ` ebotcazou at gcc dot gnu dot org
  2006-08-15 18:13 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: chris dot pitchford at newsint dot co dot uk @ 2006-03-17 11:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from chris dot pitchford at newsint dot co dot uk  2006-03-17 11:18 -------
Currently the only C compiler on the box is GCC 3.4.2 which was downloaded from
Sunfreeware.com Is this the bootstrap compiler? To be honest this project is
the first time I've tried to compile GCC, I've always previously used
sunfreeware's or my distro was bundled with GCC!

Am I right in thinking the compilation process is.. use system CC to make an
interim GCC, then use that to compile the full GCC?


-- 

chris dot pitchford at newsint dot co dot uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chris dot pitchford at
                   |                            |newsint dot co dot uk


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/26715] bootstrap comparison failure
  2006-03-16 13:41 [Bug other/26715] New: boostrap comparison failure (stage2?) during make bootstrap on solaris8 only? chris dot pitchford at newsint dot co dot uk
  2006-03-16 18:31 ` [Bug other/26715] boostrap comparison failure (stage2?) ebotcazou at gcc dot gnu dot org
  2006-03-17 11:18 ` [Bug bootstrap/26715] bootstrap comparison failure chris dot pitchford at newsint dot co dot uk
@ 2006-03-17 11:33 ` ebotcazou at gcc dot gnu dot org
  2006-08-15 18:13 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-03-17 11:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ebotcazou at gcc dot gnu dot org  2006-03-17 11:33 -------
> Currently the only C compiler on the box is GCC 3.4.2 which was downloaded
> from Sunfreeware.com Is this the bootstrap compiler?

The bootstrap compiler is the compiler that compiles GCC during stage #1 of the
3-stage bootstrap.  During stage #2 and stage, #3 GCC compiles itself.

> Am I right in thinking the compilation process is.. use system CC to make an
> interim GCC, then use that to compile the full GCC?

Do you have another C compiler than GCC 3.4.2 installed on the box?


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/26715] bootstrap comparison failure
  2006-03-16 13:41 [Bug other/26715] New: boostrap comparison failure (stage2?) during make bootstrap on solaris8 only? chris dot pitchford at newsint dot co dot uk
                   ` (2 preceding siblings ...)
  2006-03-17 11:33 ` ebotcazou at gcc dot gnu dot org
@ 2006-08-15 18:13 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-15 18:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-08-15 18:13 -------
No feedback in over 3 months.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-08-15 18:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-16 13:41 [Bug other/26715] New: boostrap comparison failure (stage2?) during make bootstrap on solaris8 only? chris dot pitchford at newsint dot co dot uk
2006-03-16 18:31 ` [Bug other/26715] boostrap comparison failure (stage2?) ebotcazou at gcc dot gnu dot org
2006-03-17 11:18 ` [Bug bootstrap/26715] bootstrap comparison failure chris dot pitchford at newsint dot co dot uk
2006-03-17 11:33 ` ebotcazou at gcc dot gnu dot org
2006-08-15 18:13 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).