|
From: mathew r. <mat...@gm...> - 2013-12-23 23:41:17
|
The brew install explicitly only installs 64bit support:
==> ./configure --prefix=/opt/homebrew/Cellar/valgrind/3.9.0
--enable-only64bit --build=amd64-darwin
so, I am trying to compile the svn version working with x86 and 64bit
support. After autogen and configure, I can see it looks to be set up
properly:
config.status: executing depfiles commands
Maximum build arch: amd64
Primary build arch: amd64
Secondary build arch: x86
Build OS: darwin
Primary build target: AMD64_DARWIN
Secondary build target: X86_DARWIN
Platform variant: vanilla
Primary -DVGPV string: -DVGPV_amd64_darwin_vanilla=1
Default supp files: exp-sgcheck.supp xfree-3.supp
xfree-4.supp darwin10-drd.supp darwin12.supp
I am not doing 'make install' and running valgrind from the coregrind
directory and it doesnt seem to be able to find support files.
~/Desktop/valgrind/coregrind ➤ ./valgrind -h
valgrind: Unknown/uninstalled VG_PLATFORM 'amd64-darwin'
It seems that the libraries for my specific architectures worked based
on looking at the other files in the coregrind directory. Some
googling showed a previous version of a brew install did not have the
.so libs +x, but that is not the problem:
~/Desktop/valgrind/coregrind ➤ ls -lah *.so
-rwxr-xr-x 1 m staff 36K Dec 23 18:25 vgpreload_core-amd64-darwin.so
-rwxr-xr-x 1 m staff 24K Dec 23 18:25 vgpreload_core-x86-darwin.so
Any help would be appreciated. Thanks.
|