Re: [rvm-research] Unable to produce working build of Jikes - Ubuntu Precise 32 bit
Robin Garner <[email protected]>
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <[email protected]> |
On 04/07/14 11:57, Jonathan Bell wrote: > Yes - I was building a completely unmodified version on 12.04 64bit. I think that I had some user error with having 32 and 64 bit libs setup - the errors I were getting were very clearly related to library dependencies which is why I switched to trying on 32 bit. But to reiterate, the HEAD version worked just fine for me. The usual suspects are gcc-multilib and g++-multilib. I'd suggest you might find it easier to fix the 64-bit build environment than to fix the 32-bit build, since more people use x86_64. Try checking for library conflicts. Do ldd dist/production_ia32-linux/JikesRVM and check that none of the listed addresses are between 0x5B000000 and 0xa0000000. If so, you need to adjust the relevant heap parameters (in build/targets/ia32-linux.properties) to maneouver around the offending library. hth, Robin > Sent from my iPhone > >> On Jul 3, 2014, at 9:11 PM, Robin Garner <[email protected]> wrote: >> >> Hi Jonathan, >> >> I build and run Jikes RVM routinely on Ubuntu, as do many others, >> including our nightly regression tests. I suspect that fewer people >> build on 32-bit platforms these days, but there's no a priori reason why >> it should fail. >> >> Just to double check, I have just built and run Jikes RVM 3.1.3 out of >> the box on both Ubuntu 14.04 and 12.04.3 LTS, both 64-bit. >> >> Basically once you get the right packages installed, this should "just >> work". >> >> Can I just confirm: >> >> - you're building/running an unmodified Jikes RVM ? >> - you're running with the default classpath, ie 97.2 ? >> >> cheers, >> Robin >> >>> On 04/07/14 01:18, Jonathan Bell wrote: >>> 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 >>> _______________________________________________ >>> Jikesrvm-researchers mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers >> >> >> ------------------------------------------------------------------------------ >> 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 >> _______________________________________________ >> Jikesrvm-researchers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers >> > ------------------------------------------------------------------------------ > 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 > _______________________________________________ > Jikesrvm-researchers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers > ------------------------------------------------------------------------------ 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 _______________________________________________ Jikesrvm-researchers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers