Hi... I have inserted some code for available analysis in the source code of GCC4.0.2 But "make" fails at the file mf-runtime.c the error i got is as follow:
/home/divya/GCC-4.0.2/build/gcc/xgcc -B/home/divya/GCC-4.0.2/build/gcc/ -B/home/divya/GCC-4.0.2/target/i686-pc-linux-gnu/bin/ -B/home/divya/GCC-4.0.2/target/i686-pc-linux-gnu/lib/ -isystem /home/divya/GCC-4.0.2/target/i686-pc-linux-gnu/include -isystem /home/divya/GCC-4.0.2/target/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../src/gcc-4.0.2/libmudflap -I. -Wall -ffunction-sections -fdata-sections -O2 -g -O2 -MT mf-runtime.lo -MD -MP -MF .deps/mf-runtime.Tpo -c ../../../src/gcc-4.0.2/libmudflap/mf-runtime.c -fPIC -DPIC -o .libs/mf-runtime.o ../../../src/gcc-4.0.2/libmudflap/mf-runtime.c: In function '__mf_sigusr1_respond': ../../../src/gcc-4.0.2/libmudflap/mf-runtime.c:2192: internal compiler error: Segmentation fault i tried to debug this code with gdb as follow: # gdb /home/divya/GCC-4.0.2/build/gcc/xgcc # set args -B/home/divya/GCC-4.0.2/target/i686-pc-linux-gnu/bin/ -B/home/divya/GCC-4.0.2/target/i686-pc-linux-gnu/lib/ -isystem /home/divya/GCC-4.0.2/target/i686-pc-linux-gnu/include -isystem /home/divya/GCC-4.0.2/target/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../src/gcc-4.0.2/libmudflap -I. -Wall -ffunction-sections -fdata-sections -O2 -g -O2 -MT mf-runtime.lo -MD -MP -MF .deps/mf-runtime.Tpo -c ../../../src/gcc-4.0.2/libmudflap/mf-runtime.c -fPIC -DPIC -o .libs/mf-runtime.o #run Then segmentation fault message flashed by gdb was as follow: Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0x833000 Detaching after fork from child process 26021. ../../../src/gcc-4.0.2/libmudflap/mf-runtime.c: In function ‘__mf_sigusr1_respond’: ../../../src/gcc-4.0.2/libmudflap/mf-runtime.c:2192: internal compiler error: Segmentation fault What could be the possible reasons for such error?? -- Seema S. Ravandale, Research Fellow, Centre for Formal Design and Verification of Softwares, Indian Institute of Technology, Bombay.