public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/53384] New: checksum (comparison) differs wrongly
@ 2012-05-17  0:44 jrt at worldlinc dot net
  2012-05-17  6:45 ` [Bug bootstrap/53384] " pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jrt at worldlinc dot net @ 2012-05-17  0:44 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53384
           Summary: checksum (comparison) differs wrongly
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jrt@worldlinc.net


GCC version to build: 4.6.3
System: i686-pc-linux with gcc 4.4.1 and glibc 10.1
Options: --prefix=/usr --enable-languages=c,c++,fortran,lto,objc,obj-c++

Compiler/build-system output:
make[2]: Entering directory `/home/dilbert/bld463'
make[3]: Entering directory `/home/dilbert/bld463'
rm -f stage_current
make[3]: Leaving directory `/home/dilbert/bld463'
Comparing stages 2 and 3
warning: gcc/cc1-checksum.o differs
warning: gcc/cc1obj-checksum.o differs
warning: gcc/cc1plus-checksum.o differs
warning: gcc/cc1objplus-checksum.o differs
Comparison successful.
if false; then \
  rm -rf stage2-*; \
  echo timestamp >  stage2-lean; \
fi
make[2]: Leaving directory `/home/dilbert/bld463'
make[1]: Leaving directory `/home/dilbert/bld463'
make[1]: Entering directory `/home/dilbert/bld463'
make[1]: Leaving directory `/home/dilbert/bld463'
make[1]: Entering directory `/home/dilbert/bld463'
Configuring in ./fixincludes
configure: loading cache ./config.cache
configure: error: `CC' has changed since the previous run:
configure:   former value:  `gcc'
configure:   current value: `/home/dilbert/bld463/./gcc/xgcc
-B/home/dilbert/bld463/./gcc/ -B/usr/i686-pc-linux-gnu/bin/
-B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem
/usr/i686-pc-linux-gnu/sys-include   '
configure: error: in `/home/dilbert/bld463/fixincludes':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start
over


This should have been a 3-stage bootstrap build. I've built gcc 4.6.3 with
boot-strapping disabled and it went to completion so I could run "make check."
This error, comparing the system gcc to the xgcc that's just been built, of
course would be different. The definition of CC of course would change as
boot-strapping proceeds. I've built a number of gcc versions and have never
seen anything like this error before. I've tried bootstrap builds several times
and got this error each time.


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

* [Bug bootstrap/53384] checksum (comparison) differs wrongly
  2012-05-17  0:44 [Bug bootstrap/53384] New: checksum (comparison) differs wrongly jrt at worldlinc dot net
@ 2012-05-17  6:45 ` pinskia at gcc dot gnu.org
  2012-05-17 17:09 ` jrt at worldlinc dot net
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-05-17  6:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-17 06:18:32 UTC ---
Are you building in the source directory?


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

* [Bug bootstrap/53384] checksum (comparison) differs wrongly
  2012-05-17  0:44 [Bug bootstrap/53384] New: checksum (comparison) differs wrongly jrt at worldlinc dot net
  2012-05-17  6:45 ` [Bug bootstrap/53384] " pinskia at gcc dot gnu.org
@ 2012-05-17 17:09 ` jrt at worldlinc dot net
  2012-05-17 23:34 ` jrt at worldlinc dot net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jrt at worldlinc dot net @ 2012-05-17 17:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from John T <jrt at worldlinc dot net> 2012-05-17 16:47:08 UTC ---
(In reply to comment #1)
> Are you building in the source directory?

No. I untarred all the source in /usr/local/gcc-4.6.3, all except the go
tarball, and built in my home folder ~/bld463. I also did a diff between the
configure for 4.6.1 and 4.6.3 and didn't find anything that appeared relevant,
just changes in references to libiberty. The section that tests for value
changes for v. 4.6.3 and wrongly flags the change in CC starts at configure
line 2091, I think. Just below that section is the start of the main body of
the script where some values including the compiler execution string are set.

Since the configures for 4.6.1 and 4.6.3 are nearly the same and I just built
4.6.1 successfully last night, I don't have a clue as to what's messing up the
handling of the compiler value. I don't know scripting.


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

* [Bug bootstrap/53384] checksum (comparison) differs wrongly
  2012-05-17  0:44 [Bug bootstrap/53384] New: checksum (comparison) differs wrongly jrt at worldlinc dot net
  2012-05-17  6:45 ` [Bug bootstrap/53384] " pinskia at gcc dot gnu.org
  2012-05-17 17:09 ` jrt at worldlinc dot net
@ 2012-05-17 23:34 ` jrt at worldlinc dot net
  2012-05-18 15:12 ` jrt at worldlinc dot net
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jrt at worldlinc dot net @ 2012-05-17 23:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from John T <jrt at worldlinc dot net> 2012-05-17 23:23:52 UTC ---
I just got a good bootstrap build of gcc 4.6.3 after installing 4.6.1. The
installation of 4.6.1 must have added or changed something that didn't work
right in 4.4.1 on the 4.6.3 build system.


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

* [Bug bootstrap/53384] checksum (comparison) differs wrongly
  2012-05-17  0:44 [Bug bootstrap/53384] New: checksum (comparison) differs wrongly jrt at worldlinc dot net
                   ` (2 preceding siblings ...)
  2012-05-17 23:34 ` jrt at worldlinc dot net
@ 2012-05-18 15:12 ` jrt at worldlinc dot net
  2012-05-21 21:01 ` jrt at worldlinc dot net
  2021-09-12  7:32 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jrt at worldlinc dot net @ 2012-05-18 15:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from John T <jrt at worldlinc dot net> 2012-05-18 15:07:48 UTC ---
This bug was actually two bugs, the checksum error and the erroneous handling
of the gcc used in fixincludes/config.cache

I found another way to trip the error involving config.cache. After a
successful bootstrap build of gcc 4.6.3, I did a "make distclean" before
re-running configure to try building java. On re-running configure, I got the
message that CC changed from the value listed in fixincludes/config.cache.
"Make distclean" should have cleared all data from the previous build that
would interfere with a clean build.


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

* [Bug bootstrap/53384] checksum (comparison) differs wrongly
  2012-05-17  0:44 [Bug bootstrap/53384] New: checksum (comparison) differs wrongly jrt at worldlinc dot net
                   ` (3 preceding siblings ...)
  2012-05-18 15:12 ` jrt at worldlinc dot net
@ 2012-05-21 21:01 ` jrt at worldlinc dot net
  2021-09-12  7:32 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jrt at worldlinc dot net @ 2012-05-21 21:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from John T <jrt at worldlinc dot net> 2012-05-21 19:55:36 UTC ---
This problem I found with 4.6.3 somewhat disappeared after I first used v.
4.4.1 to make gcc-4.6.1 and install. Version 4.6.3 built ok starting with
4.6.1, so I would assume that the problem was with something buggy in 4.4.1
that worked in 4.6.1.

But part of the bug is still there. I built just gcc in 4.6.3 to test, then
entered "make distclean" and reran configure for a full build. On doing this, I
got the error message that the contents of fixinclude/config.cache weren't
right, gcc was gcc/xgcc with some flags and it's now just plain gcc. In other
words, "make distclean" didn't remove enough previous data to make a clean new
reconfigured build.

I have installed gcc-4.6.3 and haven't tried another "make distclean" as even
if it works correctly to allow a new configuration, the action would throw away
hours of runtime and test results and I don't want to do that. I might build
gcc alone again in a throw-away folder to see if the problem still arises on
trying to reconfigure. "Make distclean" should leave just what was there before
unpacking a source tarball, and in the case of gcc's build folder, there was
nothing. "Make distclean" might as well result in everything in the build
folder being deleted.

Experimental computing, trying this and that to discover things that don't
work, certainly is time-consuming!


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

* [Bug bootstrap/53384] checksum (comparison) differs wrongly
  2012-05-17  0:44 [Bug bootstrap/53384] New: checksum (comparison) differs wrongly jrt at worldlinc dot net
                   ` (4 preceding siblings ...)
  2012-05-21 21:01 ` jrt at worldlinc dot net
@ 2021-09-12  7:32 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-12  7:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53384

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Since this is distclean bug, this is a dup of bug 25470.

*** This bug has been marked as a duplicate of bug 25470 ***

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

end of thread, other threads:[~2021-09-12  7:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-17  0:44 [Bug bootstrap/53384] New: checksum (comparison) differs wrongly jrt at worldlinc dot net
2012-05-17  6:45 ` [Bug bootstrap/53384] " pinskia at gcc dot gnu.org
2012-05-17 17:09 ` jrt at worldlinc dot net
2012-05-17 23:34 ` jrt at worldlinc dot net
2012-05-18 15:12 ` jrt at worldlinc dot net
2012-05-21 21:01 ` jrt at worldlinc dot net
2021-09-12  7:32 ` pinskia at gcc dot gnu.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).