|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Building problemHi, guys,
I successfully built Jikes 3.10 before. Recently, I download a new copy of Jikes-3.1.0 and build it. When doing "ant -f build/components/classpath.xml", I got errors as follows. I guess it may be related to my environment because I built it before without problem. Do you have any idea that what's going on and how to fix it. Thanks a lot! Du Li ...... [exec] /home/dli/Jikes/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ecj -J-Xmx768M -source 1.5 -target 1.5 -bootclasspath '' -classpath ../vm/reference:..:../external/w3c_dom:../external/sax:../external/relaxngDatatype:../external/jsr166:.:: -d . @classes [exec] # [exec] # An unexpected error has been detected by HotSpot Virtual Machine: [exec] # [exec] # SIGSEGV (0xb) at pc=0xb79d3730, pid=22003, tid=2637351824 [exec] # [exec] # Java VM: Java HotSpot(TM) Server VM (1.5.0_21-b01 mixed mode) [exec] # Problematic frame: [exec] # V [libjvm.so+0x47e730] [exec] # [exec] # An error report file with more information is saved as hs_err_pid22003.log [exec] # [exec] # If you would like to submit a bug report, please visit: [exec] # http://java.sun.com/webapps/bugreport/crash.jsp [exec] # [exec] /home/dli/Jikes/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ecj: line 2: 22003 Aborted java -Xmx256m -jar "`dirname "$0"`/ecj.jar" -warn:-unusedPrivate "$@" [exec] make[1]: *** [compile-classes] Error 134 [exec] make: *** [all-recursive] Error 1 [exec] make[1]: Leaving directory `/home/dli/Jikes/jikesrvm-3.1.0/components/classpath/97.2p8/classpath/lib' BUILD FAILED /home/dli/Jikes/jikesrvm-3.1.0/build/components/classpath.xml:245: exec returned: 2 |
|
|
Re: [rvm-research] Building problemI've seen this before - it's a bug in the Sun Java implementation.
Can you try installing a different version of Sun's Java? Perhaps, try the Java 6 JDK. Then you need to tell Ant to use the different version of Java - typically, putting it your path will do that, provided that your $JAVA_HOME isn't set. -Filip On Oct 13, 2009, at 12:33 AM, Colin(Du Li) wrote: > > Hi, guys, > > I successfully built Jikes 3.10 before. Recently, I download a new > copy of > Jikes-3.1.0 and build it. When doing "ant -f > build/components/classpath.xml", I got errors as follows. I guess it > may be > related to my environment because I built it before without problem. > Do you > have any idea that what's going on and how to fix it. > Thanks a lot! > > Du Li > > > > ...... > [exec] /home/dli/Jikes/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ > ecj > -J-Xmx768M -source 1.5 -target 1.5 -bootclasspath '' -classpath > ../vm/reference:..:../external/w3c_dom:../external/sax:../external/ > relaxngDatatype:../external/jsr166:.:: > -d . @classes > [exec] # > [exec] # An unexpected error has been detected by HotSpot Virtual > Machine: > [exec] # > [exec] # SIGSEGV (0xb) at pc=0xb79d3730, pid=22003, > tid=2637351824 > [exec] # > [exec] # Java VM: Java HotSpot(TM) Server VM (1.5.0_21-b01 mixed > mode) > [exec] # Problematic frame: > [exec] # V [libjvm.so+0x47e730] > [exec] # > [exec] # An error report file with more information is saved as > hs_err_pid22003.log > [exec] # > [exec] # If you would like to submit a bug report, please visit: > [exec] # http://java.sun.com/webapps/bugreport/crash.jsp > [exec] # > [exec] /home/dli/Jikes/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ > ecj: > line 2: 22003 Aborted java -Xmx256m -jar "`dirname > "$0"`/ecj.jar" -warn:-unusedPrivate "$@" > [exec] make[1]: *** [compile-classes] Error 134 > [exec] make: *** [all-recursive] Error 1 > [exec] make[1]: Leaving directory > `/home/dli/Jikes/jikesrvm-3.1.0/components/classpath/97.2p8/ > classpath/lib' > > BUILD FAILED > /home/dli/Jikes/jikesrvm-3.1.0/build/components/classpath.xml:245: > exec > returned: 2 > > -- > View this message in context: http://www.nabble.com/Building-problem-tp25867077p25867077.html > Sent from the jikesrvm-researchers mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Jikesrvm-researchers mailing list > Jikesrvm-researchers@... > https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Jikesrvm-researchers mailing list Jikesrvm-researchers@... https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers |
|
|
Re: [rvm-research] Building problemI changed to JDK 1.6.2, but it doesn't work. I still get errors as follows:
.............. [exec] Adding java source files from srcdir '..'. [exec] Adding java source files from VM directory ../vm/reference [exec] /home/dli/Jikes/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ecj -J-Xmx768M -source 1.5 -target 1.5 -bootclasspath '' -classpath ../vm/reference:..:../external/w3c_dom:../external/sax:../external/relaxngDatatype:../external/jsr166:.:: -d . @classes [exec] # [exec] # An unexpected error has been detected by Java Runtime Environment: [exec] # [exec] # SIGSEGV (0xb) at pc=0x063dbf15, pid=16223, tid=2692922256 [exec] # [exec] # Java VM: Java HotSpot(TM) Server VM (1.6.0_02-ea-b02 mixed mode) [exec] # Problematic frame: [exec] # V [libjvm.so+0x3dbf15] [exec] # [exec] # An error report file with more information is saved as hs_err_pid16223.log [exec] # [exec] # If you would like to submit a bug report, please visit: [exec] # http://java.sun.com/webapps/bugreport/crash.jsp [exec] # [exec] /home/dli/Jikes/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ecj: line 2: 16223 Aborted java -Xmx256m -jar "`dirname "$0"`/ecj.jar" -warn:-unusedPrivate "$@" [exec] make[1]: *** [compile-classes] Error 134 [exec] make: *** [all-recursive] Error 1 [exec] make[1]: Leaving directory `/home/dli/Jikes/jikesrvm-3.1.0/components/classpath/97.2p8/classpath/lib' BUILD FAILED /home/dli/Jikes/jikesrvm-3.1.0/build/components/classpath.xml:245: exec returned: 2
|
|
|
Re: [rvm-research] Building problemOn Tue, Oct 13, 2009 at 11:40 AM, Colin(Du Li) <dawn2004@...> wrote:
> > I changed to JDK 1.6.2, but it doesn't work. I still get errors as follows: > > .............. > [exec] Adding java source files from srcdir '..'. > [exec] Adding java source files from VM directory ../vm/reference > [exec] /home/dli/Jikes/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ecj > -J-Xmx768M -source 1.5 -target 1.5 -bootclasspath '' -classpath > ../vm/reference:..:../external/w3c_dom:../external/sax:../external/relaxngDatatype:../external/jsr166:.:: > -d . @classes > [exec] # > [exec] # An unexpected error has been detected by Java Runtime > Environment: > [exec] # > [exec] # SIGSEGV (0xb) at pc=0x063dbf15, pid=16223, tid=2692922256 > [exec] # > [exec] # Java VM: Java HotSpot(TM) Server VM (1.6.0_02-ea-b02 mixed > mode) > [exec] # Problematic frame: > [exec] # V [libjvm.so+0x3dbf15] > [exec] # > [exec] # An error report file with more information is saved as > hs_err_pid16223.log > [exec] # > [exec] # If you would like to submit a bug report, please visit: > [exec] # http://java.sun.com/webapps/bugreport/crash.jsp > [exec] # > [exec] /home/dli/Jikes/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ecj: > line 2: 16223 Aborted java -Xmx256m -jar "`dirname > "$0"`/ecj.jar" -warn:-unusedPrivate "$@" > [exec] make[1]: *** [compile-classes] Error 134 > [exec] make: *** [all-recursive] Error 1 > [exec] make[1]: Leaving directory > `/home/dli/Jikes/jikesrvm-3.1.0/components/classpath/97.2p8/classpath/lib' > > BUILD FAILED > /home/dli/Jikes/jikesrvm-3.1.0/build/components/classpath.xml:245: exec > returned: 2 That's a crash of the build JVM. I think you have either corrupt hardware or software. Maybe run memtest? Try building some other large Java software and to stress the hardware? ~David > Filip Pizlo-2 wrote: >> >> I've seen this before - it's a bug in the Sun Java implementation. >> Can you try installing a different version of Sun's Java? Perhaps, >> try the Java 6 JDK. Then you need to tell Ant to use the different >> version of Java - typically, putting it your path will do that, >> provided that your $JAVA_HOME isn't set. >> >> -Filip >> >> >> >> On Oct 13, 2009, at 12:33 AM, Colin(Du Li) wrote: >> >>> >>> Hi, guys, >>> >>> I successfully built Jikes 3.10 before. Recently, I download a new >>> copy of >>> Jikes-3.1.0 and build it. When doing "ant -f >>> build/components/classpath.xml", I got errors as follows. I guess it >>> may be >>> related to my environment because I built it before without problem. >>> Do you >>> have any idea that what's going on and how to fix it. >>> Thanks a lot! >>> >>> Du Li >>> >>> >>> >>> ...... >>> [exec] /home/dli/Jikes/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ >>> ecj >>> -J-Xmx768M -source 1.5 -target 1.5 -bootclasspath '' -classpath >>> ../vm/reference:..:../external/w3c_dom:../external/sax:../external/ >>> relaxngDatatype:../external/jsr166:.:: >>> -d . @classes >>> [exec] # >>> [exec] # An unexpected error has been detected by HotSpot Virtual >>> Machine: >>> [exec] # >>> [exec] # SIGSEGV (0xb) at pc=0xb79d3730, pid=22003, >>> tid=2637351824 >>> [exec] # >>> [exec] # Java VM: Java HotSpot(TM) Server VM (1.5.0_21-b01 mixed >>> mode) >>> [exec] # Problematic frame: >>> [exec] # V [libjvm.so+0x47e730] >>> [exec] # >>> [exec] # An error report file with more information is saved as >>> hs_err_pid22003.log >>> [exec] # >>> [exec] # If you would like to submit a bug report, please visit: >>> [exec] # http://java.sun.com/webapps/bugreport/crash.jsp >>> [exec] # >>> [exec] /home/dli/Jikes/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ >>> ecj: >>> line 2: 22003 Aborted java -Xmx256m -jar "`dirname >>> "$0"`/ecj.jar" -warn:-unusedPrivate "$@" >>> [exec] make[1]: *** [compile-classes] Error 134 >>> [exec] make: *** [all-recursive] Error 1 >>> [exec] make[1]: Leaving directory >>> `/home/dli/Jikes/jikesrvm-3.1.0/components/classpath/97.2p8/ >>> classpath/lib' >>> >>> BUILD FAILED >>> /home/dli/Jikes/jikesrvm-3.1.0/build/components/classpath.xml:245: >>> exec >>> returned: 2 >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Building-problem-tp25867077p25867077.html >>> Sent from the jikesrvm-researchers mailing list archive at Nabble.com. >>> >>> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart >>> your >>> developing skills, take BlackBerry mobile applications to market and >>> stay >>> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >>> http://p.sf.net/sfu/devconference >>> _______________________________________________ >>> Jikesrvm-researchers mailing list >>> Jikesrvm-researchers@... >>> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Jikesrvm-researchers mailing list >> Jikesrvm-researchers@... >> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers >> >> > > -- > View this message in context: http://www.nabble.com/Building-problem-tp25867077p25877473.html > Sent from the jikesrvm-researchers mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Jikesrvm-researchers mailing list > Jikesrvm-researchers@... > https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Jikesrvm-researchers mailing list Jikesrvm-researchers@... https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers |
|
|
Re: [rvm-research] Building problemYes, the gcc library is corrupted. I reinstall GCC, then the error is gone.
Thanks. Du Li
|
| Free embeddable forum powered by Nabble | Forum Help |