1:BUILD_BY[name] student7 1:BUILD_ENVIRONMENT[operating system 32 vs 64] 1:END_BUILD_ENVIRONMENT 1:DEPENDENCIES[list of dependencies with where to get them] Mercurial : downloaded by using $sudo apt-get install mercuial Ant : downloaded by using $sudo apt-get install ant Btrace: can be downloaded from http://kenai.com/projects/btrace 1:END_DEPENDENCIES 1:NOTES[notes on attempted build] I installed mercurial and then I tried to use the command $hg clone http://jikesrvm.hg.sourceforge.net:8000/hgroot/jikesrvm/jikesrvm I got abort: error: connection timed out, I tried 3 times and got the same error Installed ant succesfully and Btrace works student@ubuntu:~/documents/oopsla12/kalabera$ btrace Usage: btrace [-s] [-t] [-w N] [-n N] [-b N] [-a ...] [-r ] ... given proper files as an input btrace will run 1:END_NOTES 2:BUILD_BY[name] student8 2:BUILD_ENVIRONMENT[operating system 32 vs 64] Ubuntu 12.04 64-bit jdk 1.7.0 2:END_BUILD_ENVIRONMENT 2:DEPENDENCIES[list of dependencies with where to get them] sudo apt-get ant sudo apt-get install bison Download dacapo-2006-10-MR2.jar and dacapo-9.12-bach.jar from http://sourceforge.net/projects/dacapobench/files/ and put them in the jikesrvm directory. 2:END_DEPENDENCIES 2:NOTES[notes on attempted build] There are two indenpendent modules. ### Module 1 - bytecode-instrumentation ### I opened the modified btrace project using NetBeans. Imported the tools.jar from /usr/local/jdk1.7.0_10/lib/tools.jar Project built successfully To set JAVA_HOME: export JAVA_HOME="/usr/local/jdk1.7.0_10" btrance and btrancec could be run. ### Module 2 - jikes-estension ### Put dacapo-2006-10-MR2.jar and dacapo-9.12-bach.jar in the directory jikesrvm. Ran ./make.sh in the directory jikesrvm. Got the following errors: BUILD FAILED /lhome/student/repro_lab/KaliberaMJV12/oopsla_src/jikes-extension/jikesrvm/build.xml:252: The following error occurred while executing this line: /lhome/student/repro_lab/KaliberaMJV12/oopsla_src/jikes-extension/jikesrvm/build.xml:258: The following error occurred while executing this line: /lhome/student/repro_lab/KaliberaMJV12/oopsla_src/jikes-extension/jikesrvm/build/components/classpath.xml:305: The following error occurred while executing this line: /lhome/student/repro_lab/KaliberaMJV12/oopsla_src/jikes-extension/jikesrvm/build/components/base.xml:70: The following error occurred while executing this line: /lhome/student/repro_lab/KaliberaMJV12/oopsla_src/jikes-extension/jikesrvm/build/components/base.xml:76: The following error occurred while executing this line: /lhome/student/repro_lab/KaliberaMJV12/oopsla_src/jikes-extension/jikesrvm/build/components/classpath.xml:254: exec returned: 1 Total time: 9 seconds ecoopDaCapo2009Callback.java:6: error: invalid method declaration; return type required public dc2009CB(CommandLineArgs args) { ^ 1 error Modified ecoopDaCapo2009Callback.java and made line six look like this: public ecoopDaCapo2009Callback(CommandLineArgs args) { Ran make.sh again. This time, I got: BUILD FAILED /lhome/student/repro_lab/KaliberaMJV12/oopsla_src/jikes-extension/jikesrvm/build.xml:252: The following error occurred while executing this line: /lhome/student/repro_lab/KaliberaMJV12/oopsla_src/jikes-extension/jikesrvm/build.xml:258: The following error occurred while executing this line: /lhome/student/repro_lab/KaliberaMJV12/oopsla_src/jikes-extension/jikesrvm/build/components/classpath.xml:305: The following error occurred while executing this line: /lhome/student/repro_lab/KaliberaMJV12/oopsla_src/jikes-extension/jikesrvm/build/components/base.xml:70: The following error occurred while executing this line: /lhome/student/repro_lab/KaliberaMJV12/oopsla_src/jikes-extension/jikesrvm/build/components/base.xml:76: The following error occurred while executing this line: /lhome/student/repro_lab/KaliberaMJV12/oopsla_src/jikes-extension/jikesrvm/build/components/classpath.xml:254: exec returned: 1 Total time: 9 seconds Note: ecoopDaCapo2009Callback.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. I checked out the orig inal jikesrvm and got the same errors. From jikesrvm: x86_64 is currently only supported using the legacy 32bit addressing mode and instructions (track progress on full 64bit support here). You need to install the 32-bit versions of the required libraries to build and use the x86_64 configurations. Tried to install on 32-bit Ubuntu 14.04 running on VirtualBox. In the jikesrvm directory: $ export JAVA_HOME="/usr/lib/jvm/java-6-openjdk-i386" $ hg clone http://jikesrvm.hg.sourceforge.net:8000/hgroot/jikesrvm/jikesrvm $ cd jikesrvm $ hg checkout 858c03297679 $ patch -p1 < ../oopsla.patch When asked which file to patch, I answered: ./tools/bootImageRunner/ia32/libvm.c $ cp ../make.sh ./ Added " -f test.xml" to end of line 18 of make.sh $ cp ../ecoopDaCapo200*.java ./ $ cp ../dacapo-2006-10-MR2.jar ./ $ cp ../dacapo-9.12-bach.jar ./ Modified line six of ecoopDaCapo2009Callback.java to make it look like: public ecoopDaCapo2009Callback(CommandLineArgs args) { $ ./make.sh .. .. ... report: BUILD SUCCESSFUL Total time: 31 seconds Note: ecoopDaCapo2009Callback.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. But I have no idea how to run rvm from here. 2:END_NOTES