public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Bootstrap comparison failure
@ 2002-01-08 18:30 Jubin
  0 siblings, 0 replies; 2+ messages in thread
From: Jubin @ 2002-01-08 18:30 UTC (permalink / raw)
  To: gcc-help

At 01.04 09/01/2002 (GMT +0530), Jubin wrote:

>When i am compiling gcc on HP UX 11 i am getting the error
>Bootstrap comparison failure!
>
>Anybody knows what it is ??

When you bootstrap gcc, it does 4 things:
1) build gcc with the system compiler (1st stage)
2) build gcc with the 1st stage gcc built compiler
3) build gcc with the 2nd stage gcc built compiler
4) compares 2nd and 3rd stage built compilers, to ensure that everything is
working fine.

I've read in this list that the HP assembler embeds time stamps in the .o
files, so they ALWAYS look diferent.

>How to solve  this ??

I don't know if it is possible to disable this in the HP assembler, or to
tell gcc not to care about this.
The alternative would be to build and use GNU binutils (assembler, linker,
etc.), which don't have this problem.


This does'nt work out any other ways ?????

Regrads
jubin



DISCLAIMER: This email is bound by the terms and conditions described at 
http://www.subexgroup.com/mail-disclaimer.htm


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

* bootstrap comparison failure
@ 2007-01-31 11:03 Christian Keil
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Keil @ 2007-01-31 11:03 UTC (permalink / raw)
  To: gcc-help

Hi,

I'm trying to bootstrap gcc 4.1.1 for c, c++, and fortran on an OpenSUSE
10.2 box.

$uname -a
Linux psi 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 i686
i686 i386 GNU/Linux

The installed gcc is
$gcc -v
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2
--enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib
--with-system-zlib --enable-shared --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --program-suffix=-4.1
--enable-version-specific-runtime-libs --without-system-libunwind
--with-cpu=generic --host=i586-suse-linux
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)

I started the build with
$../src/configure --prefix=[...]
$make bootstrap 2>&1 | tee make.log

The build seems to run fine, make bootstrap issues some warnings but
finally fails with a bootstrap comparison failure. I checked the
prerequisites and these seem to be fine. objdump -xtWD'ing the differing
files shows no differences while cmp does, so I'm a bit lost on how to
proceed.

Today I tried to compile a very simple c program, just a couple of lines
that print the ASCII character set. Comparing 5 builds of this showed
differences between some of them. Is this a reasonable indicator for my
system being one of the few systems where "meaningful comparison of
object files is impossible"? With previous releases of SUSE
bootstrapping worked, so this would have to be connected to the OS release.

Please let me know if you need any more information.

Cheers,
Christian

-- 
Christian Keil                        /"\
Institute for Reliable Computing      \ /    ASCII Ribbon Campaign
Hamburg University of Technology       X  against HTML email & vCards
mail:c.keil@tu-harburg.de             / \

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

end of thread, other threads:[~2007-01-31 11:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-08 18:30 Bootstrap comparison failure Jubin
2007-01-31 11:03 bootstrap " Christian Keil

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).