{"id":176,"date":"2009-09-02T10:11:39","date_gmt":"2009-09-01T23:11:39","guid":{"rendered":"http:\/\/blog.mozilla.org\/nnethercote\/?p=176"},"modified":"2009-09-02T10:11:39","modified_gmt":"2009-09-01T23:11:39","slug":"valgrind-and-mac-os-10-6","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/nnethercote\/2009\/09\/02\/valgrind-and-mac-os-10-6\/","title":{"rendered":"Valgrind and Mac OS 10.6"},"content":{"rendered":"<p>A new entry in the annals of unfortunate software release dates:<\/p>\n<ul>\n<li>On August 19, Valgrind 3.5.0 was released. It added support for Mac OS 10.5.<\/li>\n<li>On August 28, Mac OS 10.6 was released.<\/li>\n<li>Valgrind 3.5.0 does not support Mac OS 10.6.<\/li>\n<\/ul>\n<p>If you try to install Valgrind on a machine running Mac OS 10.6, it will fail at configure-time.\u00a0 If you hack the configure file appropriately so that the install completes, Valgrind will run but crash quickly on any program.\u00a0 <a href=\"https:\/\/bugs.kde.org\/show_bug.cgi?id=205241\">Bug 205241<\/a> has the details.\u00a0 Greg Parker says he has a series of patches to make Valgrind work and he&#8217;s just waiting for the open source release of xnu (the core of Mac OS X) before making them public.\u00a0 With some luck, these fixes will make it into Valgrind 3.5.1 relatively soon.<\/p>\n<p>However, once that&#8217;s fixed, there&#8217;s another problem.\u00a0 Mac OS 10.6 uses 64-bit executables by default.\u00a0 In comparison, 10.5 uses 32-bit executables by default, even though it&#8217;s capable of creating and running 64-bit executables.\u00a0 Unfortunately Valgrind&#8217;s support for 64-bit executables on Mac OS X isn&#8217;t very good.\u00a0 The main problem is that start-up is sloooooow, which means that even Hello World takes over four seconds to run on my MacBook Pro.\u00a0 Fixing this one will be harder, as it will require reworking the Mac OS X start-up sequence.\u00a0 <a href=\"http:\/\/bugs.kde.org\/show_bug.cgi?id=205938\">Bug 205938<\/a> is tracking this problem.<\/p>\n<p>Related to this: does anyone know if there is an easy way to have both 10.5 and 10.6 installed on a single machine?\u00a0 That would be a big help when it comes to developing and testing Valgrind&#8217;s Mac OS X support.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A new entry in the annals of unfortunate software release dates: On August 19, Valgrind 3.5.0 was released. It added support for Mac OS 10.5. On August 28, Mac OS 10.6 was released. Valgrind 3.5.0 does not support Mac OS 10.6. If you try to install Valgrind on a machine running Mac OS 10.6, it [&hellip;]<\/p>\n","protected":false},"author":139,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[487,484],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/176"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/users\/139"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/comments?post=176"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/176\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/media?parent=176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/categories?post=176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/tags?post=176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}