1

I keep seeing mixed results for Valgrind's status on MacOS Mojave. Some responses say to use the head url change workaround ( & brew install --HEAD valgrind), but this did not work as I still get:

-bash: valgrind: command not found

Some say it's just not compatible at all with OS Mojave.

Valgrind is a mandatory spec for my C project. How do I go about this?

Ryan Cocuzzo
  • 3,109
  • 7
  • 35
  • 64
  • There are various options — none of them as helpful as you'd like. One is to get a VM (VMWare Fusion or alternatives to suit — Docker, …) and install a Linux VM with development system and Valgrind. This works. I've got a Valgrind that was built on High Sierra that still sort of runs on Mojave. I need to do some work on the suppressions; there are a lot of new ones that should be handled. It seems to work (but I've not stressed it hard). Whether you can compile a new version is open to debate — I had a go, but it requires at new version of at least one file and I didn't finish (lack of time). – Jonathan Leffler Feb 26 '19 at 01:56
  • @JonathanLeffler, Hi, Jonathan! What do you mean? You installed Valgrind on macOS HighSierra and after updating to Mojave it is working, right? – isnullxbh Mar 01 '19 at 13:54
  • 1
    I built Valgrind on High Sierra, and it worked there fine. I since upgraded the machine to Mojave. The old Valgrind still hobbles along badly on Mojave, but it is barely usable (at best) — and will still only be barely usable if I fix up the suppressions. – Jonathan Leffler Mar 01 '19 at 15:06

0 Answers0