I am trying to build with the latest frysk cvs tree on FC5. and got the following error while running "make -j2": if gcj --coverage -g -O -MT frysk2137/frysk2137_Gcov-Gcov.o -MD -MP -MF "frysk2137/.deps/frysk2137_Gcov-Gcov.Tpo" -c -o frysk2137/frysk2137_Gcov-Gcov.o `test -f 'frysk2137/Gcov.java' || echo '../../../frysk/frysk-imports/tests/'`frysk2137/Gcov.java; \ then mv -f "frysk2137/.deps/frysk2137_Gcov-Gcov.Tpo" "frysk2137/.deps/frysk2137_Gcov-Gcov.Po"; else rm -f "frysk2137/.deps/frysk2137_Gcov-Gcov.Tpo"; exit 1; fi ../../../frysk/frysk-imports/tests/frysk2137/Gcov.java:3: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. If I manually build Gcov.java like above, it reports the same error. If I delete the "--coverage" option, it report no error: [woodzltc@woodzltc tests]$ gcj --coverage -g -O -MT frysk2137/frysk2137_Gcov-Gcov.o -MD -MP -MF "frysk2137/.deps/frysk2137_Gcov-Gcov.Tpo" -c -o frysk2137/frysk2137_Gcov-Gcov.o `test -f 'frysk2137/Gcov.java' || echo '../../../frysk/frysk-imports/tests/'`frysk2137/Gcov.java ../../../frysk/frysk-imports/tests/frysk2137/Gcov.java:3: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. [woodzltc@woodzltc tests]$ gcj -g -O -MT frysk2137/frysk2137_Gcov-Gcov.o -MD -MP -MF "frysk2137/.deps/frysk2137_Gcov-Gcov.Tpo" -c -o frysk2137/frysk2137_Gcov-Gcov.o `test -f 'frysk2137/Gcov.java' || echo '../../../frysk/frysk-imports/tests/'`frysk2137/Gcov.java [woodzltc@woodzltc tests]$ Maybe I am not using the same gcj version as what you are using? Any comments?
There have been some similar problems with previous versions of GCJ and building Frysk; currently we're running 4.1.1-1 and have avoided this problem...
Would you please tell me where I can get the gcj-4.1.1-1 you are using? Thanks a lot!
Well depends; if you're running fedora, a 'yum update' should do it; otherwise you can grab the gcc RPM from http://mirror.linux.duke.edu/pub/fedora/linux/core/updates/5/i386/gcc-4.1.1-1.fc5.i386.rpm or the source from a GNU mirror such as ftp://mirrors.kernel.org/gnu/gcc
Wu, did that fix your build problem?
Yes. this can fix my build problem. Close it.