Re: bootstrap comparison failure ppc64 FreeBSD

2012-11-15 Thread Andreas Tobler
On 14.11.12 21:57, Peter Bergner wrote: > On Wed, 2012-11-14 at 18:51 +0100, Andreas Tobler wrote: >> Hello, >> >> on trunk (193501) I get a comparison failure: >> --- >> Bootstrap comparison failure! >> gcc/tree-ssa-forwprop.o differs >> --- >>

Re: bootstrap comparison failure ppc64 FreeBSD

2012-11-14 Thread Peter Bergner
On Wed, 2012-11-14 at 18:51 +0100, Andreas Tobler wrote: > Hello, > > on trunk (193501) I get a comparison failure: > --- > Bootstrap comparison failure! > gcc/tree-ssa-forwprop.o differs > --- > > This is with --disable-checking. Leaving disable-checking away

bootstrap comparison failure ppc64 FreeBSD

2012-11-14 Thread Andreas Tobler
Hello, on trunk (193501) I get a comparison failure: --- Bootstrap comparison failure! gcc/tree-ssa-forwprop.o differs --- This is with --disable-checking. Leaving disable-checking away, the bootstrap completes succesfully. --- andreast% stage2-gcc/xgcc -v Using built-in specs. COLLECT_GCC

Re: Bootstrap comparison failure! (gcc 4.6.x with -O3)

2011-03-28 Thread Witold Baryluk
On 03-27 09:42, Andi Kleen wrote: > Witold Baryluk writes: > > > > make BOOT_CFLAGS="$CFLAGS -flto" CFLAGS_FOR_BUILD="$CFLAGS" > > CXXFLAGS_FOR_BUILD="$CXXFLAGS" bootstrap > > Easier is to configure with --with-build-config=bootstrap-lto > then you don't need all the magic CFLAGS lines. As you s

Re: Bootstrap comparison failure! (gcc 4.6.x with -O3)

2011-03-27 Thread Eric Botcazou
> Is this because I manually changed BOOT_CFLAGS as passed to make? As previously said, you ought to avoid fiddling with BOOT_CFLAGS in any case. Configure --with-build-config=bootstrap-lto --with-fpmath=sse --with-arch=xxx and so on, and just type "make". > And why it took so long? Probably

Re: Bootstrap comparison failure! (gcc 4.6.x with -O3)

2011-03-27 Thread Andi Kleen
Witold Baryluk writes: > > make BOOT_CFLAGS="$CFLAGS -flto" CFLAGS_FOR_BUILD="$CFLAGS" > CXXFLAGS_FOR_BUILD="$CXXFLAGS" bootstrap Easier is to configure with --with-build-config=bootstrap-lto then you don't need all the magic CFLAGS lines. > And then waited > > I actually waited 5 days... (e

Bootstrap comparison failure! (gcc 4.6.x with -O3)

2011-03-27 Thread Witold Baryluk
math=sse -flto -flto=jobserver -frandom-seed=1" "STAGE3_CXXFLAGS=-O3 -march=core2 -Wl,-O1 -mfpmath=sse -flto -f lto=jobserver -frandom-seed=1" "STAGE3_TFLAGS=" "STAGE4_CFLAGS=-O3 -march=core2 -Wl,-O1 -mfpmath=sse -flto" "STAG E4_CXXFLAGS=-O3 -march=core2 -

Re: trunk: bootstrap comparison failure

2010-12-15 Thread Ian Lance Taylor
Jan Hubicka writes: > The problem is that GCC produce constructors/destructors at various places > and they all used to be called GLOBAL__I > and GLOBAL__D. Then in some cases (on targets that don't have global > ctors/dtors or with LTO and ctor/dtor merging) > it actually collect them into si

Re: trunk: bootstrap comparison failure

2010-12-15 Thread Jan Hubicka
> I don't understand this at all. > > I thought you were saying that these are static functions, and that gcc > gathers them all together into a single global constructor. Are there > cases where gcc does not gather them together? Why would that be? At the moment we don't gather when there is o

Re: trunk: bootstrap comparison failure

2010-12-15 Thread Ian Lance Taylor
Jan Hubicka writes: > 2) Do the actual renaming of _GLOBAL__I into something else (fully local > name like static_ctor.1234 at a time it is being inserted > into merged ctor. > > We can't avoid producing these names early since on target that havecdtors > we avoid producing merged c

Re: trunk: bootstrap comparison failure

2010-12-15 Thread Jan Hubicka
> Jan Hubicka writes: > > > The problem is that GCC produce constructors/destructors at various places > > and they all used to be called GLOBAL__I > > and GLOBAL__D. Then in some cases (on targets that don't have global > > ctors/dtors or with LTO and ctor/dtor merging) > > it actually collec

Re: trunk: bootstrap comparison failure

2010-12-15 Thread Ian Lance Taylor
Jan Hubicka writes: >> Jan Hubicka writes: >> >> > I think bootstrap with C++ or GO is broken for a while on targets not >> > having ctor support, but now it broke >> > on targets with ctor support as a result of my patch renaming some of the >> > ctors from GLOBAL__I into GLOBAL__sub_I. >>

Re: trunk: bootstrap comparison failure

2010-12-15 Thread Jan Hubicka
> Now if this breaks other logic in ld & friends on have_cdtor targets, I guess > we could 0) return to always inlining on non_have_cdtors targets and hope for the best :) > 1) du _sub_I/sub_D mangling only on targets not having ctors/dtors where > merged constructor is always produced >

Re: trunk: bootstrap comparison failure

2010-12-15 Thread Jan Hubicka
> > Jan Hubicka writes: > > > > > I think bootstrap with C++ or GO is broken for a while on targets not > > > having ctor support, but now it broke > > > on targets with ctor support as a result of my patch renaming some of the > > > ctors from GLOBAL__I into GLOBAL__sub_I. > > > > I didn't kn

Re: trunk: bootstrap comparison failure

2010-12-15 Thread Jan Hubicka
> Jan Hubicka writes: > > > I think bootstrap with C++ or GO is broken for a while on targets not > > having ctor support, but now it broke > > on targets with ctor support as a result of my patch renaming some of the > > ctors from GLOBAL__I into GLOBAL__sub_I. > > I didn't know you were maki

Re: trunk: bootstrap comparison failure

2010-12-15 Thread Ian Lance Taylor
Jan Hubicka writes: > I think bootstrap with C++ or GO is broken for a while on targets not having > ctor support, but now it broke > on targets with ctor support as a result of my patch renaming some of the > ctors from GLOBAL__I into GLOBAL__sub_I. I didn't know you were making that change.

Re: trunk: bootstrap comparison failure

2010-12-15 Thread martin capitanio
On Wed, 2010-12-15 at 13:57 +0100, Jan Hubicka wrote: > Hi, > the problem is that we special case constructors and avoid random seed on > them on targets that have global ctors. > I think bootstrap with C++ or GO is broken for a while on targets not having > ctor support, but now it broke > on ta

Re: trunk: bootstrap comparison failure

2010-12-15 Thread Jan Hubicka
Hi, the problem is that we special case constructors and avoid random seed on them on targets that have global ctors. I think bootstrap with C++ or GO is broken for a while on targets not having ctor support, but now it broke on targets with ctor support as a result of my patch renaming some of t

Re: trunk: bootstrap comparison failure

2010-12-15 Thread Jan Hubicka
> -696 > .text.startup._GLOBAL__sub_I_.._.._.._.._gccgo_git_libstdc___v3_src_wlocale_inst.cc_76D38880_14146711 > 00b6 00011580 2**4 > +696 > .text.startup._GLOBAL__sub_I_.._.._.._.._gccgo_git_libstdc___v3_src_wlocale_inst.cc_76D38880_EB7C2B89 > 00b6

trunk: bootstrap comparison failure

2010-12-15 Thread martin capitanio
I believe, something broke the trunk tip build recently: Comparing stages 2 and 3 warning: gcc/cc1plus-checksum.o differs warning: gcc/cc1-checksum.o differs Bootstrap comparison failure! x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/wlocale-inst.o differs x86_64-unknown-linux-gnu/libstdc++-v3

"Bootstrap comparison failure!"

2010-07-17 Thread Michael Witten
checksum.o differs Bootstrap comparison failure! gcc/reg-stack.o differs gcc/i386.o differs gcc/reload.o differs gcc/recog.o differs gcc/dwarf2out.o differs libiberty/hashtab.o differs Source Information: Revision 162274 No modifications. Build Environment: GNU/Linux 2.6.35-r

Re: combined enable-build-with-cxx bootstrap comparison failure

2009-09-19 Thread Dave Korn
Ralf Wildenhues wrote: > Comparing stages 2 and 3 > Bootstrap comparison failure! > Now, what do I do to (help) debug this? Open a PR? Attach some of the > object files (which)? Well, ultimately, you could rebuild everything with --save-temps and take a look at the .s

combined enable-build-with-cxx bootstrap comparison failure

2009-09-19 Thread Ralf Wildenhues
able-sim' '--enable-gold' '--enable-build-with-cxx' 'CC=/home/ralf/recent/bin/gcc' 'CXX=/home/ralf/recent/bin/g++' '--enable-languages=c,c++,fortran,java,objc,obj-c++'" and a very recent GCC as $build compiler: | gcc (GCC) 4.5.0 20090916 (

Re: The return of the bootstrap comparison failure on i386

2009-09-13 Thread Ryan Hill
On Sat, 12 Sep 2009 13:29:35 +0200 (CEST) Gerald Pfeifer wrote: > On Sat, 12 Sep 2009, Ryan Hill wrote: > >> I haven't been able to bootstrap x86_64-unknown-linux-gnu at all since this > >> started. Latest attempt was with r151649. > >> Configured as: > > I was able to build using --enable-checki

Re: The return of the bootstrap comparison failure on i386

2009-09-12 Thread Gerald Pfeifer
On Sat, 12 Sep 2009, Ryan Hill wrote: >> I haven't been able to bootstrap x86_64-unknown-linux-gnu at all since this >> started. Latest attempt was with r151649. >> Configured as: > I was able to build using --enable-checking. Should I file a new PR? If you are still seeing this, I think that wou

Re: The return of the bootstrap comparison failure on i386

2009-09-12 Thread Ryan Hill
On Fri, 11 Sep 2009 21:09:22 -0600 Ryan Hill wrote: > I haven't been able to bootstrap x86_64-unknown-linux-gnu at all since this > started. Latest attempt was with r151649. > Configured as: > > /var/tmp/portage/sys-devel/gcc-4.5.0_pre/work/gcc-4.5.0-/configure > --prefix=/usr --bindir=

Re: The return of the bootstrap comparison failure on i386

2009-09-11 Thread Ryan Hill
1plus-checksum.o differs > warning: gcc/cc1obj-checksum.o differs > Bootstrap comparison failure! > gcc/coverage.o differs > gcc/gcov.o differs > gcc/gcov-dump.o differs > gmake[2]: *** [compare] Error 1 > gmake[2]: Leaving directory `/usr/nabil-files/pfeifer/OBJ-0909-2216'

The return of the bootstrap comparison failure on i386

2009-09-09 Thread Gerald Pfeifer
; "`echo 'LANGUAGES=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "LEAN=:" "STAGE1_CFLAGS=-g -fkeep-inline-functions" "STAGE1_TFLAGS=" "STAGE2_CFLAGS=-g -O2 -fomit-frame-pointer -gtoggle" "STAGE2_TFLAGS=" "STAGE3_CFLAGS=-g

Re: GCC4.3.3: Bootstrap comparison failure!

2009-05-22 Thread chenyang
>> I tried --save-temps and the resulting .s files were identical. >> I found that the problem was introduced by "as". >> I ran "as" twice with the same arguments. The two resulting .o files >> were different. >> I upgraded the binutils to the latest version: 2.19. The problem >> hasn't gone away.

Re: GCC4.3.3: Bootstrap comparison failure!

2009-05-21 Thread Ian Lance Taylor
chenyang writes: >> Try running your commands with the --save-temps options and compare the >> resulting .s files.  Also, try running the commands with the >> -fdump-tree-all -fdump-rtl-all options and see where the dump files >> first differ. >> > I tried --save-temps and the resulting .s files

Re: GCC4.3.3: Bootstrap comparison failure!

2009-05-21 Thread chenyang
Thanks, Ian, > These kinds of issues are always difficult to debug.  There have been a > couple of patches to stabilize different sorts which I don't think are > in 4.3.3.  That could conceivably cause differences if address space > randomization is turned on.  I don't know of any specific bug rep

Re: GCC4.3.3: Bootstrap comparison failure!

2009-05-20 Thread Ian Lance Taylor
chenyang writes: > I got a "Bootstrap comparison failure!" error when building gcc 4.3.3: These kinds of issues are always difficult to debug. There have been a couple of patches to stabilize different sorts which I don't think are in 4.3.3. That could conceivably cause diff

GCC4.3.3: Bootstrap comparison failure!

2009-05-20 Thread chenyang
Hi everyone, I got a "Bootstrap comparison failure!" error when building gcc 4.3.3: Comparing stages 2 and 3 warning: ./cc1-checksum.o differs warning: ./cc1plus-checksum.o differs Bootstrap comparison failure! ./tree-cfg.o differs ./double-int.o differs ./gimple-low.o differs ./tree-

Can't bootstrap gcc-4.2.2 with Ada on cygwin: Bootstrap comparison failure! ./ada/exp_aggr.o differs

2007-10-15 Thread Christian Joensson
Comparing stages 2 and 3 warning: ./cc1-checksum.o differs warning: ./cc1obj-checksum.o differs warning: ./cc1objplus-checksum.o differs warning: ./cc1plus-checksum.o differs warning: ./libgcc/_chkstk.o differs Bootstrap comparison failure! ./ada/exp_aggr.o differs make[2]: *** [compare] Erro

Bootstrap comparison failure on sparc64/sparc linux

2007-09-21 Thread Christian Joensson
For quite some time now, I've been getting bootstrap comparison failures with trunk on sparc64/sparc linux I kind of guess that they might be related to other big endian bootstrap comparison failures. Would you benefit from me posting something specific from my failures or do you suggest that

Re: Bootstrap comparison failure on powerpc64 for Ada

2007-06-24 Thread Revital1 Eres
[EMAIL PROTECTED] wrote on 24/06/2007 01:17:34: > > I tested it on powerpc64-linux with the default option > > --with-cpu=default32. > > Ah, so this is a 32-bit compiler like on sparc64-linux? --with-cpu=default32 means that the compiler itself and it's produced code are 32 bits by default. Re

Re: Bootstrap comparison failure on powerpc64 for Ada

2007-06-23 Thread Eric Botcazou
> I tested it on powerpc64-linux with the default option > --with-cpu=default32. Ah, so this is a 32-bit compiler like on sparc64-linux? -- Eric Botcazou

Re: Bootstrap comparison failure on powerpc64 for Ada

2007-06-23 Thread Revital1 Eres
Eric Botcazou <[EMAIL PROTECTED]> wrote on 23/06/2007 21:50:57: > > I'm going to try the 64-bit variant. > > SPARC/Solaris 64-bit is OK, as well as IA-64/Linux according to: > http://gcc.gnu.org/ml/gcc-testresults/2007-06/msg01044.html > > Do you test PowerPC 32-bit or should I try a build on

Re: Bootstrap comparison failure on powerpc64 for Ada

2007-06-23 Thread Eric Botcazou
> I'm going to try the 64-bit variant. SPARC/Solaris 64-bit is OK, as well as IA-64/Linux according to: http://gcc.gnu.org/ml/gcc-testresults/2007-06/msg01044.html Do you test PowerPC 32-bit or should I try a build on Darwin or AIX? -- Eric Botcazou

Re: Bootstrap comparison failure on powerpc64 for Ada

2007-06-23 Thread Eric Botcazou
> Maybe the problem will arise on other platforms and we'll be able to debug > it. SPARC/Solaris 32-bit is OK. I'm going to try the 64-bit variant. -- Eric Botcazou

Re: Bootstrap comparison failure on powerpc64 for Ada

2007-06-21 Thread Revital1 Eres
Eric Botcazou <[EMAIL PROTECTED]> wrote on 21/06/2007 21:10:15: > > I am now bootstrapping only c. If that will pass OK I can check Ada on > > an older revision if you wish. > > I'm not sure that would really help in this case. The fact that x86 and > x86-64 are both clean with structural alia

Re: Bootstrap comparison failure on powerpc64 for Ada

2007-06-21 Thread Eric Botcazou
> I am now bootstrapping only c. If that will pass OK I can check Ada on > an older revision if you wish. I'm not sure that would really help in this case. The fact that x86 and x86-64 are both clean with structural alias analysis would seem to show that there is no fundamental bad interaction

Re: Bootstrap comparison failure on powerpc64 for Ada

2007-06-21 Thread Eric Botcazou
> Note that if cc1-checksum.o differs, it likely means the issue is unrelated > to Ada. cc1-checksum.o very offen differs on my machine, it doesn't stop the build. -- Eric Botcazou

Re: Bootstrap comparison failure on powerpc64 for Ada

2007-06-21 Thread Revital1 Eres
> > > > Which revision? The Ada compiler bootstraps fine on i586 and x86-64 at > > revision 125912:125915M (i.e with structural alias analysis enabled). > > Note that if cc1-checksum.o differs, it likely means the issue is unrelated to > Ada. I am now bootstrapping only c. If that will pass OK

Re: Bootstrap comparison failure on powerpc64 for Ada

2007-06-21 Thread Revital1 Eres
> Which revision? The Ada compiler bootstraps fine on i586 and x86-64 at > revision 125912:125915M (i.e with structural alias analysis enabled). > revision 125915. Thanks, Revital

Re: Bootstrap comparison failure on powerpc64 for Ada

2007-06-21 Thread Arnaud Charlet
2 and 3 > > warning: ./cc1-checksum.o differs > > Bootstrap comparison failure! > > ./ada/a-except.o differs > > Which revision? The Ada compiler bootstraps fine on i586 and x86-64 at > revision 125912:125915M (i.e with structural alias analysis enabled). Note that if cc1-checksum.o differs, it likely means the issue is unrelated to Ada. Arno

Re: Bootstrap comparison failure on powerpc64 for Ada

2007-06-21 Thread Eric Botcazou
> I get the following bootstrap comparison failure on powerpc64 > for Ada (--enable-languages=ada) with BOOT_CFLAGS='-O2'. > > Revital > > make[2]: Entering directory `/home/revital/mainline_ccp/build' > make[3]: Entering directory `/home/revital/mainline_ccp/b

Bootstrap comparison failure on powerpc64 for Ada

2007-06-21 Thread Revital1 Eres
Hello, I get the following bootstrap comparison failure on powerpc64 for Ada (--enable-languages=ada) with BOOT_CFLAGS='-O2'. Revital make[2]: Entering directory `/home/revital/mainline_ccp/build' make[3]: Entering directory `/home/revital/mainline_ccp/build' rm -f

[4.2.0] Can't bootstrap for cywin: bootstrap comparison failure in ./ada/exp_aggr.o differs

2007-05-22 Thread Christian Joensson
As I posted on http://gcc.gnu.org/ml/gcc/2007-05/msg00058.html, I still have this problem for the released 4.2.0. -- Cheers, /ChJ

oopsie, bootstrap comparison failure

2007-04-22 Thread Dave Korn
paring stages 2 and 3 warning: ./cc1-checksum.o differs warning: ./cc1plus-checksum.o differs Bootstrap comparison failure! ./attribs.o differs ./c-aux-info.o differs ./c-common.o differs ./c-convert.o differs ./c-cppbuiltin.o differs ./c-decl.o differs ./c-dump.o differs ./c-errors.o differs ./c-forma

Bootstrap comparison failure with -O2 -funroll-loops -funsafe-math-optimizations

2007-03-24 Thread Revital1 Eres
c1obj-checksum.o differs warning: ./cc1-checksum.o differs Bootstrap comparison failure! ./ipa-inline.o differs make[2]: *** [compare] Error 1 make[2]: Leaving directory `/home/revitale/mainline_zero_mve/build' make[1]: *** [stage3-bubble] Error 2 make[1]: Leaving directory `/hom

Re: Bootstrap comparison failure

2005-12-19 Thread Richard Earnshaw
On Mon, 2005-12-19 at 13:58, Daniel Jacobowitz wrote: > > I suspect that if you run a bootstrap of gcc on Linux with > > PWDCMD=/bin/pwd it will fail too. > > Yes, I saw a suggestion about this on IRC, but I tried it - it doesn't > fail. The path that matters is not one ever returned by PWDCMD bu

Re: Bootstrap comparison failure

2005-12-19 Thread Daniel Jacobowitz
On Mon, Dec 19, 2005 at 01:18:21PM +, Richard Earnshaw wrote: > I think the problem is PWDCMD (defaults to pwd) in the top-level > makefile. If your shell builds in pwd, then things will work. If it > doesn't then you'll get /bin/pwd which gives the canonical path. Bash > has a built-in pwd,

Re: Bootstrap comparison failure

2005-12-19 Thread Richard Earnshaw
On Sun, 2005-12-18 at 16:49, Daniel Jacobowitz wrote: > On Sun, Dec 18, 2005 at 01:28:48PM +0100, Mark Kettenis wrote: > > Looks like the new toplevel bootstrap infrastructure broke > > bootstrapping on OpenBSD. I get a bootstrap comparison which is > > caused by differences in the compilation dir

Re: Bootstrap comparison failure

2005-12-19 Thread Paolo Bonzini
Paolo, what do you think? I think I agree. After all when I added the "ln -s" support we did not have anything remotely similar to the current logic for "make all", "make unstage", "make stage". Paolo

Re: Bootstrap comparison failure

2005-12-18 Thread Daniel Jacobowitz
On Sun, Dec 18, 2005 at 07:49:13PM +0100, Mark Kettenis wrote: > Heh, the shell does set PWD, but does not export it. If I explicitly > say "export PWD", before "make bootstrap" it seems to work. Weird. > > I've been considering disabling ln -s support. It's too fragile, > > though this is the

Re: Bootstrap comparison failure

2005-12-18 Thread Mark Kettenis
> Date: Sun, 18 Dec 2005 11:49:37 -0500 > From: Daniel Jacobowitz <[EMAIL PROTECTED]> > > On Sun, Dec 18, 2005 at 01:28:48PM +0100, Mark Kettenis wrote: > > Looks like the new toplevel bootstrap infrastructure broke > > bootstrapping on OpenBSD. I get a bootstrap comparison which is > > caused by

Re: Bootstrap comparison failure

2005-12-18 Thread Daniel Jacobowitz
On Sun, Dec 18, 2005 at 01:28:48PM +0100, Mark Kettenis wrote: > Looks like the new toplevel bootstrap infrastructure broke > bootstrapping on OpenBSD. I get a bootstrap comparison which is > caused by differences in the compilation directory encoded in the > object files from different stages. >

Bootstrap comparison failure

2005-12-18 Thread Mark Kettenis
Looks like the new toplevel bootstrap infrastructure broke bootstrapping on OpenBSD. I get a bootstrap comparison which is caused by differences in the compilation directory encoded in the object files from different stages. Forcing the coplevel configure to use "mv" instead of "ln -s" by setting

Re: 4.0.2 bootstrap comparison failure on AIX 5.3

2005-10-12 Thread Albert Chin
On Mon, Oct 10, 2005 at 11:58:04PM -0400, David Edelsohn wrote: > >>>>> Albert Chin writes: > > Albert> I've built gcc-4.0.2 as follows on AIX 5.3 and am receiving a > Albert> bootstrap comparison failure: > Albert> $ CC=/usr/vac/bin/cc CONFIG_SHELL=

Re: 4.0.2 bootstrap comparison failure on AIX 5.3

2005-10-10 Thread David Edelsohn
>>>>> Albert Chin writes: Albert> I've built gcc-4.0.2 as follows on AIX 5.3 and am receiving a Albert> bootstrap comparison failure: Albert> $ CC=/usr/vac/bin/cc CONFIG_SHELL=/opt/fsw/bin/bash \ Albert> I don't see anything on Albert> http://gcc.gnu.org/

4.0.2 bootstrap comparison failure on AIX 5.3

2005-10-10 Thread Albert Chin
I've built gcc-4.0.2 as follows on AIX 5.3 and am receiving a bootstrap comparison failure: $ cd /opt/build $ bzip2 -dc gcc-4.0.2.tar.bz2 | tar xf - $ mkdir gcc $ cd gcc $ CC=/usr/vac/bin/cc CONFIG_SHELL=/opt/fsw/bin/bash \ /opt/fsw/bin/bash /opt/build/gcc-4.0.2/configure \ -