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

--- Comment #22 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> 2012-05-08 15:36:03 UTC ---
> --- Comment #21 from Hin-Tak Leung <htl10 at users dot sourceforge.net> 
> 2012-05-08 14:15:52 UTC ---

I think there was a misunderstanding: I specificially asked for the
smallest of the differing .o files *other than cc1*-checksum.o* since
the latter are expected to differ between stages.  But for the moment, I
think we can do with cc1-checksum.o alone.

> There are two curious things:
> 1. why does the 2nd stage drops to only about 600 byte. (I assume 20-30k is
> normal).

That's certainly completely unexpected.  I'd ask you to rebuild
cc1-checksum.o for stage2 and stage3 (move the .o's aside, run make -n
cc1-checksum.o, then manually add -v -save-temps to the compilation
line.  Then attach a tarball with the .c and output files and the gcc -v
output to see if there are any obvious diffences between the compilations.

> 2. I did have a success with 4.6.1 (and I believe with both make/make
> bootstrap4 or 4-lean) a while ago, therefore I closed the bug. I did not

Please always try this with a plain make/make bootstrap.  I don't
currently want to debug issues which might be caused by non-default
targets.  I don't see why they should be, but please let us stay with
the basics.

> install 4.6.1 at the time but stayed at 4.3.3 (mostly to test and verify the
> other issues), but now I cannot build 4.6.1 correctly again. The system has 
> not
> been changed much since then, the only changes I can think of which is 
> relevant
> is that I installed updated versions of the gcc dependencies
> (mpfr-3.1.0,mpc-0.9,gmp-5.0.5)
> from the most updated versions the last time I looked at gcc.

This is certainly a problem: the installation guide states

   Several support libraries are necessary to build GCC, some are required,
   others optional. While any sufficiently new version of required tools
   usually work, library requirements are generally stricter. Newer
   versions may work in some cases, but it's safer to use the exact
   versions documented. We appreciate bug reports about problems with newer
   versions, though.

The sentence about newer versions is there for a reason.  In fact, on
Tru64 UNIX the situation is even worse: gmp 4.3.2 make check fails for
me, so I'm currently staying with gmp 4.2.1, mpfr 2.3.2, and mpc 0.8.

Before using *any* version of gmp/mpfr/mpc with gcc (or for any other
purpose), make sure that they pass make check, as prominently stated in
e.g. the gmp announcements.

    Rainer

Reply via email to