On 2025-12-10 00:26, Riccardo Mottola wrote:
Paul Floyd via macports-users wrote:
I'm in the process of updating Valgrind's macOS support. We're a long
way behind. At the moment 10.13 is the latest that we support. I
expect that 10.14 support will land soon (and if all goes smoothly,
10.15 soon after that). 11 might take a bit more work.
I can provide 10.9, but also 10.5 up to 10.7, including 10.5 PPC. 10.8
missing... almost thinking about buying a Mac to have it in collection :)
Hi Riccardo
Here are the steps to see if the build is possible. This requires
autotools. Ideally I just want to have the XCode compilers in the path -
no custom builds of gcc or LLVM.
git clone https://sourceware.org/git/valgrind.git
cd valgrind
./autogen.sh
./configure
If all goes well you should see the usual load of autoconf tests and then
Version: 3.27.0.GIT
Maximum build arch: amd64
Primary build arch: amd64
Secondary build arch: x86
Build OS: darwin
Link Time Optimisation: no
Primary build target: AMD64_DARWIN
Secondary build target: X86_DARWIN
Platform variant: vanilla
Primary -DVGPV string: -DVGPV_amd64_darwin_vanilla=1
Default supp files: ./xfree-3.supp ./xfree-4.supp
./darwin-drd.supp ./darwin.supp ./
darwin-helgrind.supp
And if it fails you'll probably see an xcrun error or a C11 not
supported error.
I'd like to know which was the last macOS version where this works (I
know 10.13 is OK and 10.7 fails).
Regards
Paul