[Bug sanitizer/118204] Clang is dropping -fsanitize=vptr from default -fsanitize=undefined
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 26 06:58:20 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118204
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> > c++abi, or linking error
>
> What does that mean? Is it because for clang, msvc abi can be used and it is
> incompatible there?
>
>
> It is not obvious. How i wish the explanation would be easier to understand.
Oh it just means the c++ library must be linked in too.
I had to look into the documentation change to understand that.
Not a big issue for gcc, since you either have to link using g++ or add
-lstdc++ already.
More information about the Gcc-bugs
mailing list