Bug 41348 - Bootstrap fails with --with-arch=i686
Summary: Bootstrap fails with --with-arch=i686
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.5.0
: P3 major
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-13 15:58 UTC by Artem Anisimov
Modified: 2010-01-24 12:12 UTC (History)
1 user (show)

See Also:
Host: i486-slackware-linux
Target: i486-slackware-linux
Build: i486-slackware-linux
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artem Anisimov 2009-09-13 15:58:01 UTC
Compiling GCC started to fail in revision 151361 with the following error:
> Comparing stages 2 and 3
> warning: gcc/cc1-checksum.o differs
> warning: gcc/cc1plus-checksum.o differs

Revision 151360 compiles fine.

I used the following arguments to configure GCC:

../gcc/configure --prefix=/tmp/gcc45 --enable-shared --enable-bootstrap --enable-languages=c,c++ --enable-threads=posix --enable-checking=release --with-system-zlib --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --with-gnu-ld --verbose --with-arch=i686 --target=i486-slackware-linux --build=i486-slackware-linux --host=i486-slackware-linux
Comment 1 Richard Biener 2009-09-14 10:08:15 UTC
> Comparing stages 2 and 3
> warning: gcc/cc1-checksum.o differs
> warning: gcc/cc1plus-checksum.o differs

that one is expected and doesn't fail the build.  What's the output after that?
Comment 2 Artem Anisimov 2009-09-19 12:32:07 UTC
> that one is expected and doesn't fail the build.  What's the output after that?

Indeed, I've messed up a bit last time. Rev. 151361 builds fine, but with rev. 151362 I get

Comparing stages 2 and 3
warning: gcc/cc1-checksum.o differs
warning: gcc/cc1plus-checksum.o differs
Bootstrap comparison failure!
gcc/cfgloopmanip.o differs
libiberty/pic/make-temp-file.o differs
libiberty/make-temp-file.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/home/artem/testing/gcc-build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/home/artem/testing/gcc-build'
make: *** [all] Error 2
Comment 3 Artem Anisimov 2010-01-24 12:12:37 UTC
No longer fails.