This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bootstrap failures with today's CVS


On Fri, Nov 16, 2001 at 02:40:24PM -0500, Jeff Sturm wrote:
> 
> I cannot build even a stage1 compiler on sparc-sun-solaris2.7:
...
> It seems like the integrated preprocessor is misbehaving.  I'm at a loss
> on how to debug it...

Your best bet is to use the -dy switch, which will produce tons of
output.  Redirect stderr to a file, and after it's done, look through
and see what tokens were being processed immediately before the parse
error.

If there isn't any obvious problem, do the same thing for the .i file
and diff the debug output.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]