[Bug sanitizer/98165] Use of the UB sanitizer links the the program with libstdc++

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Dec 6 16:14:54 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98165

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
You can use -static-libubsan option to achieve the same effect as clang does,
LLVM doesn't think linking dynamically is a good idea.


More information about the Gcc-bugs mailing list