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.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users