<br><br><div class="gmail_quote">On Thu, Feb 5, 2009 at 3:01 PM, YC <span dir="ltr"><<a href="mailto:yinso.chen@gmail.com">yinso.chen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div class="Ih2E3d">On Thu, Feb 5, 2009 at 2:32 PM, Jay McCarthy <span dir="ltr"><<a href="mailto:jay.mccarthy@gmail.com" target="_blank">jay.mccarthy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes, dump-memory-stats is what I mean. When you compile with<br>
backtracing, you'll get additional options from dms.<br>
<font color="#888888"><br></font></blockquote></div><div><br>Thanks Jay - is there a way for me to tell whether I have compiled with the backtracing or not?<br></div></div></blockquote><div><br>Now it's clear my built does not have backtrace enabled as I got a compilation error - anyone seen this error before? I am on centos 5.1. <br>
<br><span style="font-family: courier new,monospace;">./newgc.c:1271: warning: dereferencing type-punned pointer will break strict-aliasing rules</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">In file included from ./newgc.c:1789,</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> from ./gc2.c:15:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">./backtrace.c: In function 'print_out_pointer':</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">./backtrace.c:48: warning: implicit declaration of function 'find_page'</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">./backtrace.c:48: warning: assignment makes pointer from integer without a cast</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">./backtrace.c: In function 'print_traced_objects':</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">./backtrace.c:97: error: 'avoid_collection' undeclared (first use in this function)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">./backtrace.c:97: error: (Each undeclared identifier is reported only once</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">./backtrace.c:97: error: for each function it appears in.)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make[4]: *** [gc2.o] Error 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[4]: Leaving directory `/home/yc/tmp/plt-4.1.3/src/mzscheme/gc2'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make[3]: *** [all] Error 2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[3]: Leaving directory `/home/yc/tmp/plt-4.1.3/src/mzscheme/gc2'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make[2]: *** [3m] Error 2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: Leaving directory `/home/yc/tmp/plt-4.1.3/src/mzscheme'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make[1]: *** [3m] Error 2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[1]: Leaving directory `/home/yc/tmp/plt-4.1.3/src'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make: *** [all] Error 2</span><br style="font-family: courier new,monospace;"><br>Thanks,<br>yc<br><br></div></div>