Replies: 2 comments 2 replies
-
This is usually supposed to be handled internally by the compiler with the |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thank you. I get the same error with the compilers for the Intel architecture, though. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. I'm building a mixed C-C++-Fortran project with Meson and trying to enable the address sanitizer. I use the flag
Db_sanitize=address,undefined
. I've also tried-Db_sanitize=address -Db_lundef=false
. Invariably, the build results inIndeed, I cannot find a
libasan
on my system. I use gcc/g++/gfortran version 13 installed with Homebrew. I tried the arm64 and intel versions. Both fail with the same error message.I have tried using the clang/clang++/gfortran-13 combination with the clang that ships with macOS, but sadly, clang does not support OpenMP, which is needed in the project.
I guess I'm a bit confused as to how one is supposed to be using the address sanitizer with gcc on macOS exactly. Could someone provide any guidance here?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions