Re: [rvm-research] Researching the Jikes RVM
Kathiravelu Pradeeban <[email protected]>
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <CAAarrSm5UG+7oDdU6V-UacLUPeAWrCzFEojdvCa7qiUwSD8PDQ@mail.gmail.com> |
Hi,
Thanks for the pointers.
I was trying to build jikes with GCspy [1] heap visualization
framework, using the command,
ant -Dconfig.name=BaseBaseSemiSpaceGCSpy
-Dconfig.include.gcspy-client=1 -Dhost.name=x86_64-linux
-Dtarget.name=x86_64-linux -Dcp.enable.gtk-peer="--disable-gtk-peer"
I fixed a minor issue - gcspy.dir was pointing to a wrong location in
build/components/gcspy.xml (patch attached herewith, as gcspy.diff).
However, now I am getting the below exception. Could you pls help me
rectify this issue?
build:
[exec] rm -rf obj
[exec] rm -rf bin
.....
[exec] gcc -shared -o lib/libgcspy.so obj/gcspy_array_input.o
obj/gcspy_array_output.o obj/gcspy_buffered_input.o
obj/gcspy_buffered_output.o obj/gcspy_color_db.o
obj/gcspy_command_stream.o obj/gcspy_comm.o obj/gcspy_d_utils.o
obj/gcspy_gc_driver.o obj/gcspy_gc_stream.o obj/gcspy_interpreter.o
obj/gcspy_main_server.o obj/gcspy_shape_stream.o obj/gcspy_timer.o
obj/gcspy_utils.o
[exec] /usr/bin/ld: obj/gcspy_buffered_input.o: relocation
R_X86_64_32 against `.rodata' can not be used when making a shared
object; recompile with -fPIC
[exec] obj/gcspy_buffered_input.o: could not read symbols: Bad value
[exec] collect2: ld returned 1 exit status
[exec] make: *** [lib/libgcspy.so] Error 1
BUILD FAILED
/home/pradeeban/jikesrvm/build.xml:301: The following error occurred
while executing this line:
/home/pradeeban/jikesrvm/build.xml:311: The following error occurred
while executing this line:
/home/pradeeban/jikesrvm/build/components/gcspy.xml:122: The following
error occurred while executing this line:
/home/pradeeban/jikesrvm/build/components/base.xml:70: The following
error occurred while executing this line:
/home/pradeeban/jikesrvm/build/components/base.xml:76: The following
error occurred while executing this line:
/home/pradeeban/jikesrvm/build/components/gcspy.xml:101: exec returned: 2
Full log is attached as log.txt, for the interested.
[1] http://jikesrvm.org/Using+GCSpy
Thank you.
Regards,
Pradeeban.
On Tue, Mar 5, 2013 at 2:29 PM, Erik Brangs <[email protected]> wrote:
> Hi,
>
> On 04.03.2013 14:13, Kathiravelu Pradeeban wrote:
>> I would also like to know the status of the Compressor Mark-Compact
>> Garbage Collector project listed in [5]. I found that a GSoC student
>> worked on it, during 2010. Is it already completed?
>
> Michael Gendelman worked on the Compressor in 2010. The code and some
> information about the design is available at
> http://code.google.com/p/jikesrvm-compressor/.
>
> IIRC the Compressor implementation wasn't stable enough for mainline, so
> there is still work to do.
>
>> I had a look at the GSoC 2013 project ideas [6], but it is not included
>> there.
>
> We're still in the progress of collecting ideas for projects. I'm sure
> that researchers and students working on memory management will add or
> suggest appropriate ideas in the near future.
>
> You can also write a proposal that is not based on an project suggestion
> from the list.
>
>> If it is already implemented, could you point me to some other
>> feature requests, that fits an equal amount of work load?
>
> There were some MMTk projects in GSoC 2011 that could be continued. Take
> a look at point 2) and 3) on
> http://docs.codehaus.org/display/RVM/Google+Summer+of+Code+2011 . You
> can also take a look at the idea lists from the previous GSoC.
>
>> I tried to
>> view the rfe from [7]. But they are marked as 'historic' and are
>> empty. Am I looking into a wrong place?
>
> We've got a JIRA instace at http://jira.codehaus.org/browse/RVM (as
> described
> on http://www.jikesrvm.org/Issue+Tracker).
>
>
> Kind regards,
>
> Erik Brangs
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Jikesrvm-researchers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
--
Kathiravelu Pradeeban.
Postgraduate Student,
Erasmus Mundus European Master in Distributed Computing,
Instituto Superior Técnico, Lisbon, Portugal.
Blog: [Llovizna] http://kkpradeeban.blogspot.com/
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
log.txt
(text/plain, 8.9 KB)
fetch:
[echo] Downloading (no cache available)
[get] Getting: http://www.cs.kent.ac.uk/projects/gc/gcspy/gcspy1_012.tar.gz
[get] To: /home/pradeeban/jikesrvm/components/gcspy/1_012/gcspy1_012.tar.gz
[untar] Expanding: /home/pradeeban/jikesrvm/components/gcspy/1_012/gcspy1_012.tar.gz into /home/pradeeban/jikesrvm/components/gcspy/1_012
build-gcspy-client:
build:
[exec] rm -rf obj
[exec] rm -rf bin
[exec] rm -rf lib
[exec] mkdir -p obj
[exec] mkdir -p lib
[exec] gcc -c -D_LINUX_ -I./include -o obj/gcspy_array_input.o src/gcspy_array_input.c
[exec] gcc -c -D_LINUX_ -I./include -o obj/gcspy_array_output.o src/gcspy_array_output.c
[exec] gcc -c -D_LINUX_ -I./include -o obj/gcspy_buffered_input.o src/gcspy_buffered_input.c
[exec] gcc -c -D_LINUX_ -I./include -o obj/gcspy_buffered_output.o src/gcspy_buffered_output.c
[exec] gcc -c -D_LINUX_ -I./include -o obj/gcspy_color_db.o src/gcspy_color_db.c
[exec] gcc -c -D_LINUX_ -I./include -o obj/gcspy_command_stream.o src/gcspy_command_stream.c
[exec] gcc -c -D_LINUX_ -I./include -o obj/gcspy_comm.o src/gcspy_comm.c
[exec] gcc -c -D_LINUX_ -I./include -o obj/gcspy_d_utils.o src/gcspy_d_utils.c
[exec] src/gcspy_d_utils.c: In function ‘gcspy_dUtilsTileNum’:
[exec] src/gcspy_d_utils.c:23:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:23:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c: In function ‘gcspy_dUtilsRangeString’:
[exec] src/gcspy_d_utils.c:51:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘char *’ [-Wformat]
[exec] src/gcspy_d_utils.c:51:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘char *’ [-Wformat]
[exec] src/gcspy_d_utils.c: In function ‘gcspy_dUtilsSetPerc’:
[exec] src/gcspy_d_utils.c:62:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:62:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:63:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:63:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:69:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:69:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:71:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:71:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:86:5: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘char *’ [-Wformat]
[exec] src/gcspy_d_utils.c:86:5: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘char *’ [-Wformat]
[exec] src/gcspy_d_utils.c:86:5: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘char *’ [-Wformat]
[exec] src/gcspy_d_utils.c:86:5: warning: format ‘%x’ expects argument of typgcc -c -D_LINUX_ -I./include -o obj/gcspy_gc_driver.o src/gcspy_gc_driver.c
[exec] e ‘unsigned int’, but argument 5 has type ‘char *’ [-Wformat]
[exec] src/gcspy_d_utils.c: In function ‘gcspy_dUtilsAddOne’:
[exec] src/gcspy_d_utils.c:97:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:97:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:98:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:98:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c: In function ‘gcspy_dUtilsSet’:
[exec] src/gcspy_d_utils.c:114:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:114:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:115:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:115:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c: In function ‘gcspy_dUtilsAddSingle’:
[exec] src/gcspy_d_utils.c:128:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:128:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c: In function ‘gcspy_dUtilsUpdateEnumDesc’:
[exec] src/gcspy_d_utils.c:140:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:140:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:141:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_d_utils.c:141:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[exec] src/gcspy_gc_driver.c: In function ‘gcspy_driverInit’:
[exec] src/gcspy_gc_driver.c:114:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
[exec] src/gcspy_gc_driver.c:123:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
[exec] src/gcspy_gc_driver.c:132:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
[exec] src/gcspy_gc_driver.c:144:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
[exec] gcc -c -D_LINUX_ -I./include -o obj/gcspy_gc_stream.o src/gcspy_gc_stream.c
[exec] gcc -c -D_LINUX_ -I./include -o obj/gcspy_interpreter.o src/gcspy_interpreter.c
[exec] src/gcspy_gc_stream.c: In function ‘gcspy_streamInit’:
[exec] src/gcspy_gc_stream.c:45:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
[exec] src/gcspy_gc_stream.c: In function ‘gcspy_streamAddEnumName’:
[exec] src/gcspy_gc_stream.c:107:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
[exec] gcc -c -D_LINUX_ -I./include -o obj/gcspy_main_server.o src/gcspy_main_server.c
[exec] src/gcspy_main_server.c: In function ‘gcspy_mainServerInit’:
[exec] src/gcspy_main_server.c:100:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat]
[exec] src/gcspy_main_server.c: In function ‘gcspy_mainServerAddEvent’:
[exec] src/gcspy_main_server.c:162:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
[exec] gcc -c -D_LINUX_ -I./include -o obj/gcspy_shape_stream.o src/gcspy_shape_stream.c
[exec] gcc -c -D_LINUX_ -I./include -o obj/gcspy_timer.o src/gcspy_timer.c
[exec] gcc -c -D_LINUX_ -I./include -o obj/gcspy_utils.o src/gcspy_utils.c
[exec] gcc -shared -o lib/libgcspy.so obj/gcspy_array_input.o obj/gcspy_array_output.o obj/gcspy_buffered_input.o obj/gcspy_buffered_output.o obj/gcspy_color_db.o obj/gcspy_command_stream.o obj/gcspy_comm.o obj/gcspy_d_utils.o obj/gcspy_gc_driver.o obj/gcspy_gc_stream.o obj/gcspy_interpreter.o obj/gcspy_main_server.o obj/gcspy_shape_stream.o obj/gcspy_timer.o obj/gcspy_utils.o
[exec] /usr/bin/ld: obj/gcspy_buffered_input.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
[exec] obj/gcspy_buffered_input.o: could not read symbols: Bad value
[exec] collect2: ld returned 1 exit status
[exec] make: *** [lib/libgcspy.so] Error 1
BUILD FAILED
/home/pradeeban/jikesrvm/build.xml:301: The following error occurred while executing this line:
/home/pradeeban/jikesrvm/build.xml:311: The following error occurred while executing this line:
/home/pradeeban/jikesrvm/build/components/gcspy.xml:122: The following error occurred while executing this line:
/home/pradeeban/jikesrvm/build/components/base.xml:70: The following error occurred while executing this line:
/home/pradeeban/jikesrvm/build/components/base.xml:76: The following error occurred while executing this line:
/home/pradeeban/jikesrvm/build/components/gcspy.xml:101: exec returned: 2
gcspy.diff
(application/octet-stream, 691 B)
diff -r 63a24b696c23 build/components/gcspy.xml
--- a/build/components/gcspy.xml Wed Feb 27 16:00:27 2013 +0100
+++ b/build/components/gcspy.xml Mon Mar 04 18:19:31 2013 +0000
@@ -20,7 +20,7 @@
<property name="gcspy.component.dir" location="${components.dir}/gcspy"/>
<property name="gcspy.package.dir" value="${gcspy.component.dir}/${gcspy.version}"/>
- <property name="gcspy.dir" value="${gcspy.package.dir}/gcspy"/>
+ <property name="gcspy.dir" value="${gcspy.package.dir}/gcspy${gcspy.version}"/>
<!-- **************************************************************************** -->
<!-- * * -->