Re: [rvm-research] Jikes Setup

Michael Bond <[email protected]>
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
Hi Rich,

I think this error is related to building Jikes RVM 3.1.2 with OpenJDK 
1.7. See this bug report:

http://jira.codehaus.org/browse/RVM-969

I suggest upgrading to Jikes RVM 3.1.3 and/or building with OpenJDK 1.6.

Also, if you're actually on a 64-bit machine (pretty likely these days), 
I think you need to use the x86_64 target (which still builds a 32-bit 
VM, but on a 64-bit platform).

Cheers,
Mike

On 03/06/2013 09:16 PM, Thai, Richard P wrote:
>
> I'm currently trying to follow the Quick Start guide at this link 
> <http://jikesrvm.org/Quick+Start+Guide> and I'm getting an issue at 
> instruction 4 of the quick start guide (the ant command) with this error:
>
> /.../
>
> /build-bootimage:/
>
> /     [echo] Building bootimage. Output redirected to : 
> /home/csse/jikesrvm-3.1.2/target/prototype-opt_ia32-linux/BootImageWriterOutput.txt/
>
> /     [echo] MMTk properties = 
> /home/csse/jikesrvm-3.1.2/build/mmtk/default.properties/
>
> /     [java] Java Result: 1/
>
> /     [echo] BootImageCompiler: init (opt compiler)/
>
> /     [echo] writing the lock field./
>
> /     [echo] writing the lock field./
>
> /     [echo] writing the lock field./
>
> /     [echo] writing the lock field./
>
> /     [echo] writing the lock field./
>
> /     [echo] Exception in thread "main" 
> java.lang.IllegalArgumentException: Comparison method violates its 
> general contract!/
>
> /     [echo] at java.util.TimSort.mergeLo(TimSort.java:747)/
>
> /     [echo] at java.util.TimSort.mergeAt(TimSort.java:483)/
>
> /     [echo] at java.util.TimSort.mergeCollapse(TimSort.java:410)/
>
> /     [echo] at java.util.TimSort.sort(TimSort.java:214)/
>
> /     [echo] at java.util.TimSort.sort(TimSort.java:173)/
>
> /     [echo] at java.util.Arrays.sort(Arrays.java:659)/
>
> /     [echo] at 
> org.jikesrvm.tools.bootImageWriter.BootImageWriter.spaceReport(BootImageWriter.java:1193)/
>
> /     [echo] at 
> org.jikesrvm.tools.bootImageWriter.BootImageWriter.main(BootImageWriter.java:1090)/
>
> //
>
> /BUILD FAILED/
>
> //home/csse/jikesrvm-3.1.2/build.xml:1542: The following error 
> occurred while executing this line:/
>
> //home/csse/jikesrvm-3.1.2/build.xml:1551: Failed to write bootimage./
>
> /.../
>
> I'm running Ubuntu 12.10 x32 if that helps. Let me know if I can 
> provide more info.
>
> Rich
>
>
>
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
>
>
> _______________________________________________
> Jikesrvm-researchers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev

_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.