Does anyone recognize this --enable-checking=all bootstrap failure?

2007-01-30 Thread Brooks Moses
I've been trying to track down an build failure that I was pretty sure 
came about from some patches I've been trying to merge, but I've now 
reduced things to a bare unmodified tree and it's still failing.  I 
could have sworn that it wasn't doing that until I started adding 
things, though, so I'm posting about it here before I make a bug report 
so y'all can tell me if I did something dumb.


Essentially, what's happening is that I've got a build tree configured 
with --enable-checking=all, and the first time it tries to use xgcc to 
compile something, it dies with an ICE.  Here are the gory details:


* Build system: Debian stable, up-to-date, on an Intel P3 machine, 
running in a VMWare virtual machine.


* I updated my build tree to version 121332.

* I reverted all changes in the tree by pulling a patch with svn diff, 
applying it with patch -R, and then rerunning svn diff to confirm 
that absolutely no differences from the svn mainline were found.


* I created a new empty directory, and ran the following configure 
command in it:  ../svn-source/configure --verbose 
--prefix=/home/brooks/bin-callexpr-c --enable-checking=all 
--disable-bootstrap --enable-languages=c


* Then, I ran make.  It died with the following error, in what I believe 
is the first time it tries to use the newly-created xgcc:


---
make[3]: Leaving directory 
`/home/brooks/gcc-callexpr/build-c/i686-pc-linux-gnu/libgcc'
/home/brooks/gcc-callexpr/build-c/./gcc/xgcc 
-B/home/brooks/gcc-callexpr/build-c/./gcc/ 
-B/home/brooks/bin-callexpr-c/i686-pc-linux-gnu/bin/ 
-B/home/brooks/bin-callexpr-c/i686-pc-linux-gnu/lib/ -isystem 
/home/brooks/bin-callexpr-c/i686-pc-linux-gnu/include -isystem 
/home/brooks/bin-callexpr-c/i686-pc-linux-gnu/sys-include -O2 -g -O2 -O2 
 -O2 -g -O2  -DIN_GCC-W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC 
-g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. 
-I../.././gcc -I../../../svn-source/libgcc 
-I../../../svn-source/libgcc/. -I../../../svn-source/libgcc/../gcc 
-I../../../svn-source/libgcc/../include 
-I../../../svn-source/libgcc/../libdecnumber -I../../libdecnumber -o 
_muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c 
../../../svn-source/libgcc/../gcc/libgcc2.c \

  -fvisibility=hidden -DHIDE_EXPORTS
../../../svn-source/libgcc/../gcc/libgcc2.c: In function '__muldi3':
../../../svn-source/libgcc/../gcc/libgcc2.c:557: internal compiler 
error: in fold_checksum_tree, at fold-const.c:12101

Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
make[2]: *** [_muldi3.o] Error 1
make[2]: Leaving directory 
`/home/brooks/gcc-callexpr/build-c/i686-pc-linux-gnu/libgcc'

make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/home/brooks/gcc-callexpr/build-c'
make: *** [all] Error 2

---

Any ideas?  Is this just me?

If this is something reproducable, I'll file a PR in the morning.

Thanks much!
- Brooks



Re: Does anyone recognize this --enable-checking=all bootstrap failure?

2007-01-30 Thread Richard Guenther

On 1/30/07, Brooks Moses [EMAIL PROTECTED] wrote:

I've been trying to track down an build failure that I was pretty sure
came about from some patches I've been trying to merge, but I've now
reduced things to a bare unmodified tree and it's still failing.  I
could have sworn that it wasn't doing that until I started adding
things, though, so I'm posting about it here before I make a bug report
so y'all can tell me if I did something dumb.

Essentially, what's happening is that I've got a build tree configured
with --enable-checking=all, and the first time it tries to use xgcc to
compile something, it dies with an ICE.  Here are the gory details:


This is fold-checking tripping over bugs - this is also well-known, just
don't use --enable-checking=all.  (but =yes)

Richard.