This is the mail archive of the gcc-bugs@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]

Re: error compiling egcs-1.1.2



  In message <Pine.LNX.3.96.990316225633.32559A-100000@localhost>you write:
  > Yes, like I said, I got exactly the same problem on exactly the same file
  > using egcs-1.1.1 to bootstrap (2 tries, once with CCFLAGS = -O2 -g, once
  > with CCFLAGS = -g), and also using gcc-2.7.2.3 (CCFLAGS = -g) to
  > bootstrap.  I started from the beginning (I removed the egcs-1.1.2
  > directory and untarred from the original archive before each test).
Extremely odd.

About the only thing I can suggest is for you to do some analysis to
track this down -- I'm certainly not seeing this problem if I bootstrap
with gcc-2.7.2 or egcs-1.1.1 on a similar platform.

The first step is to compile the offending module with the "-save-temps"
option (in addition to all the other options).  That should create a .i
file which can be fed directly to the compiler.

Then you can do something like

gdb stage2/cc1
r -O2 unprotoize.i


Then debug it a little to find out why it core dumped.

jeff


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