Hi All, I'm trying to build gcc 4.8 on MAC OS X 10.7.5. The configure command used : ./configure --prefix=$(pwd) --enable-languages=c,c++,java Build is successful for c and c++ but not for java. The build fails while compiling libjava. The error is as follows: /Users/abhilash/Desktop/gcc/gccSource4.8/libjava/java/lang/PosixProcess.java: In class 'java.lang.PosixProcess$ProcessManager': /Users/abhilash/Desktop/gcc/gccSource4.8/libjava/java/lang/PosixProcess.java: In method 'java.lang.PosixProcess$ProcessManager.waitUntilReady()': In file included from /Users/abhilash/Desktop/gcc/gccSource4.8/libjava/java/lang/PosixProcess.java:470:0, from <built-in>:14: /Users/abhilash/Desktop/gcc/gccSource4.8/libjava/java/lang/PosixProcess.java:90:0: internal compiler error: gimple check: expected gimple_cond(error_mark), have gimple_assign(component_ref) in gimple_cond_lhs, at gimple.h:2560 synchronized (this) ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[5]: *** [java/process-Posix.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [all-recursive] Error 1 make[3]: *** [multi-do] Error 1 make[2]: *** [all-multi] Error 2 make[1]: *** [all-target-libjava] Error 2 make: *** [all] Error 2 The details of the installed java on the system : java version "1.6.0_37" Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909) Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode) I have set the $JAVA_HOME to /use/libexec/java_home. What are the other pre-requisities that I might have missed out? Please help. PFA attached the complete dump for your reference. Thanks and Regards, Abhilash
Attachment:
error.log
Description: Binary data