Failing to get a clang-sanitize build #992
-
I'm trying to debug an issue using
I am building using: At some point I'm getting the following build error:
From what I can see |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
It's normal for clang to use libstdc++ (gcc's standard library). It seems like this is specifically some bug with clang & libstdc++12: llvm/llvm-project#76515. I'd say install g++-13 (to get libstdc++13) or downgrade to 11 instead. |
Beta Was this translation helpful? Give feedback.
-
CmakePreset has -Wno-deprecated-declarations for clang, can you check the output whether it is being passed correctly? |
Beta Was this translation helpful? Give feedback.
-
Thanks, I solved it by removing |
Beta Was this translation helpful? Give feedback.
It's normal for clang to use libstdc++ (gcc's standard library). It seems like this is specifically some bug with clang & libstdc++12: llvm/llvm-project#76515. I'd say install g++-13 (to get libstdc++13) or downgrade to 11 instead.