[compiler-rt] [rtsan] Intercept aligned_alloc on all versions of OSX if available on build machine (PR #112780)

Chris Apple via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 16:48:48 PDT 2024


cjappl wrote:

> Unfortunately this breaks the build on our (automerger) bots, which have -mmacosx-version-min=10.13 and also -Werror=unguarded-availability-new . I was thinking about patching it via wrapping in __builtin_available check (which I believe is the right one to use, as it should match the -mmacosx-version-min ) - but can't actually think of a quick fix, due to interceptors being defined via C macros.
> 
> Can I ask you to revert this for a while, so we can come up with a right remedy?

Sorry for the breakage @wrotki !

Can you share the exact error message that is the problem? I was hopeful that the __builtin_available I used in the unit test was enough to cover us.

After I have a look at that, happy to revert if there is no clear solution.

https://github.com/llvm/llvm-project/pull/112780


More information about the llvm-commits mailing list