|
From: Anton P. <po...@un...> - 2012-11-08 17:11:35
|
Hi,
plain gcc compiler issue is solved, please consider my patch to valgrind
(attached).
From the directory that CONTAINS original valgrind-3.8.0 directory run
the command:
patch -p0 < plain_gcc_osx.patch
I use gcc-4.7 installed by macports to /opt/local/bin/gcc-mp-4.7
It recognizes Mac "-arch" compiler flags
After patching configure like this (for example):
./configure CC=/opt/local/bin/gcc-mp-4.7 --prefix=/opt/valgrind
--enable-only64bit
After installation valgrind is accessible from prefix directory. For me
it works.
The issue was caused by using __private_extern__, which is now replaced
with equivalent __attribute__((visibility("hidden")))
Anton
|