Re: [rvm-research] Unable to produce working build of Jikes - Ubuntu Precise 32 bit

Jonathan Bell <[email protected]>
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
Thanks Erik & Andreas. To clarify, I was just including the bit about other VMs there for context - I understand that Jikes only supports GNU class path right now. Using the most recent version from mercurial worked - I was able to build and get it to run some trivial programs.

To address the other questions (now irrelevant to me, since it’s working using the HEAD version):
For the build issues on 64 bit unix + OS X, it looked mostly like dependency mayhem on my side. I don’t mind using the 32 bit version though.

I added -verbose:jni when invoking Jikes, and got no additional output. 

On Jul 3, 2014, at 5:17 AM, Erik Brangs wrote:
> iHi,
> 
> On 03.07.2014 05:15, Jonathan Bell wrote:
>>  I have spent the better part of my day trying to get a working build of Jikes, and trying to search the internet for information that may guide me, but to no avail - so my apologies if this information is documented elsewhere.
> 
> If the User Guide is not sufficient to solve a build problem (and in your case it isn't), it's best to ask questions on this mailing list.
> 
>>  I am trying to build Jikes so that I can evaluate whether my JVM taint tracking system [1] works with Jikes (I have since gotten it working with Hotspot 7/8, Icedtea 7/8, Kaffe 6 and Harmony 6).
> 
> Just for the record, support for Apache Harmony is currently broken in the Jikes RVM. It's unlikely to get fixed because Apache Harmony is no longer developed.
> 
>> I am using a VM with Ubuntu “precise” 32 bit. I am able to get a successful build of Jikes 3.1.3, but then when I try to run it (the as built version, before I try to do anything with my taint tracking system), I get the message "Exception in thread “Jikes_RBoot_Thread”” and no further information (Jikes hangs).
> 
> Does this also occur with the newest version from the repository?
> 
> If it does, the next step could be to exclude a problem with the optimizing compiler by reproducing the problem with the prototype configuration.
> 
>> I have tried both the development and production builds. I am willing to try with a different version of a different distribution (or architecture - I first tried OS X 64 bit and then Ubuntu 64 bit but had significant issues building).
> 
> We might be able to help you with the build issues if you give us more information. Where did the build fail? Any error messages? Which host configurations are you using?
> 
>>  Any pointers would be useful. I’ve also attached below the complete log that I get when setting verboseBoot to max.
> 
> It seems like the VM fails during the load of the "javaio" library via JNI in org.jikesrvm.VM.boot(). You can add "-verbose:jni" to the command line arguments to confirm that. The first few lines in boot sequence after "Running late class initializers" should be:
> 
> [Dynamic-linking native method org.jikesrvm.runtime.DynamicLibrary.runJNI_OnLoad (Lorg/vmmagic/unboxed/Address;)I
> [Loaded native library: ./libjavaio.so]
> running class intializer for java.lang.Math
> invoking method < BootstrapCL, Ljava/lang/Math; >.<clinit> ()V
> [Loaded native library: ./libjavalang.so]
> running class intializer for java.util.TreeMap
> invoking method < BootstrapCL, Ljava/util/TreeMap; >.<clinit> ()V
> running class intializer for gnu.java.nio.VMChannel
> 
> 
> Kind regards,
> 
> Erik Brangs
> 


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
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.