<div dir="ltr"><div><div><div>Hey guys,<br><br></div>Yesterday valgrind rolled out a new release which _actually_ works on OSX.<br>  <a href="http://valgrind.org/downloads/current.html">http://valgrind.org/downloads/current.html</a><br><br></div>I tried it on my 10.9 system using this configure line<br>  ./configure --prefix=/Users/dmay/software CC=/opt/local/bin/gcc-mp-4.8 --enable-only64bit --build=amd64-darwin<br><br></div><div>I did encounter this error during make<br><span style="font-family:monospace,monospace"><br>m_syscall.c:708:1: error: unknown type name '__private_extern__'<br> __private_extern__ UWord <br> ^<br>m_syscall.c:709:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'do_syscall_unix_WRK'<br> do_syscall_unix_WRK ( UWord a1, UWord a2, UWord a3, /* rdi, rsi, rdx */<br> ^<br>m_syscall.c:732:1: error: unknown type name '__private_extern__'<br> __private_extern__ UWord <br> ^<br>m_syscall.c:733:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'do_syscall_mach_WRK'<br> do_syscall_mach_WRK ( UWord a1, UWord a2, UWord a3, /* rdi, rsi, rdx */<br> ^<br>m_syscall.c: In function 'vgPlain_do_syscall':<br>m_syscall.c:1017:10: warning: implicit declaration of function 'do_syscall_unix_WRK' [-Wimplicit-function-declaration]<br>          wLO = do_syscall_unix_WRK(a1,a2,a3,a4,a5,a6,a7,a8,<br>          ^<br>m_syscall.c:1022:10: warning: implicit declaration of function 'do_syscall_mach_WRK' [-Wimplicit-function-declaration]<br>          wLO = do_syscall_mach_WRK(a1,a2,a3,a4,a5,a6,a7,a8, <br>          ^<br>make[3]: *** [libcoregrind_amd64_darwin_a-m_syscall.o] Error 1<br>make[2]: *** [all] Error 2<br>make[1]: *** [all-recursive] Error 1<br>make: *** [all] Error 2<br></span><br></div><div>Following the instructions here<br>  <a href="http://superuser.com/questions/630674/valgrind-installation-errors-on-osx-10-8">http://superuser.com/questions/630674/valgrind-installation-errors-on-osx-10-8</a><br></div><div>I was successful building valgrind. Tests revealed it functions correctly.<br><br></div><div>My buddy using OSX 10.10 pulled it down from HomeBrew and this worked out of the box.<br></div><div><br><br></div><div>About f***ing time :)<br><br></div><div>Cheers,<br></div><div>  Dave<br></div><div><br></div><br></div>