Internal compiler error.

Philipp Thomas kthomas@gwdg.de
Mon Sep 1 20:36:00 GMT 1997


On Mon, 01 Sep 1997 13:19:18 -0700, you wrote:

>	First of all, it didn't compile out of the box, the reason was,
>	that while compiling in the gcc dir at a point gcc(2.7.2.2) read its own
>	./specs file which gave him other cpp flags.
>
>I have seen one other report of this problem, but since I have no idea how
>it can happen, I am unable to fix it.  Please provide more info, such as
>the exact command that failed.  Preferably, I would like to see the output
>of that command with -v added.

Jim,
this is exactly the same problem I had, i.e. that building stage1 stopped
exactly when the new specs file was generated and cpp suddenly complained of
wrong options. I'm pretty sure this wasn't a problem of misconfiguration as I
had built 2.7.2.2 from source and not used a binary distribution. I solved the
problem by copying the old specs into the gcc build dir and then copying the
new specs into the stage1 dir after 'make stage1'.

Although disk space is scarce at the moment (approx. 200 mb free and a glibc
2.1 snapshot build is in the queue) I could try and rebuild 2.7.2.2 (I deleted
it because of space), add the -v to the egcs  makefile and catch the output, if
only to give you (and me :) a hint of where the problem is/was.

Philipp




More information about the Gcc-bugs mailing list