Cannot use asan or ubsan

Paul Floyd pjfloyd at wanadoo.fr
Wed Jun 3 06:34:43 UTC 2026


On 2026-06-02 13:51, Ryan Carsten Schmidt wrote:
> On Jun 1, 2026, at 17:20, Christopher Jones wrote:
> This was on Mac OS X 10.7 Lion.

With a bit of effort you might be able to get Valgrind running on 10.7.

10.8 is the oldest that we support at the moment because Valgrind 
requires C11 to build. We only use xcode upstream and 10.8 was the first 
macOS to have an xcode with C11.

You would need to checkout the Valgrind git source code and go back to 
the change one before the one below. There are likely to be more issues 
as the Darwin port had been rather neglected up to about Dec 2025.

Author: Paul Floyd <pjfloyd at wanadoo.fr>  2025-12-09 09:41:01
Committer: Paul Floyd <pjfloyd at wanadoo.fr>  2025-12-09 09:41:01
Parent: 9d46e3648f315b96ccc383f677448623c9236191 (Darwin suppressions: 
merge old suppression files to darwin-legacy.supp)
Child:  d74347eb4d36c94bb621e0e9fc23e547ad032bdb (Darwin: add macOS 
10.14 support)
Branches: master, remotes/origin/master and many more (23)
Follows: VALGRIND_3_26_0
Precedes: VALGRIND_3_27_0

     Darwin: remove support for old systems

     Valgrind no longer builds on Darwin 11 / Mac OS X 10.7. So remove 
support
     for Darwin 9 to Darwin 11 inclusive.

A+

Paul



More information about the macports-users mailing list