> "BHASKAR G. REDDY" <bhaskar@xxxxxxxxxxxxxx> writes: > >> Hi, i'm trying to integrate BURS-based code generator into GCC-4.1.1. I >> modified corresponding files, print-rtl.c and final.c and my burs-based >> codegenrator is working fine. >> But when i'm trying to build compiler proper, its giving segmentation >> fault. I'm successful with GCC-4.0.0. >> >> error message: >> >> ../../gcc-4.1.1/gcc/crtstuff.c: In function Â?__do_global_dtors_auxÂ?: >> ../../gcc-4.1.1/gcc/crtstuff.c:301: internal compiler error: >> Segmentation >> fault >> >> >> what is this crtstuff? I'm new to this gcc. I need some information >> regarding this error. > > crtstuff.c is a file which is being built with the new compiler. The > details are relatively unimportant. Your make output will print the > exact command line which is being used to run the newly built > compiler. > > This error indicates a bug in gcc itself. The bug is most likely > related to the changes you made to the compiler. can u please let me knw how to proceed for debugging it? can i use already installed gdb for it. if so, please tell me starter commands to fire gdb in this case. Thanks. :) > > Ian > -- Bhaskar G. Reddy, Graduate Student, Department of CSE, IIT Bombay