https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98165
Bruno Haible changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98165
--- Comment #2 from Jakub Jelinek ---
You can use -static-libubsan option to achieve the same effect as clang does,
LLVM doesn't think linking dynamically is a good idea.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98165
--- Comment #1 from Bruno Haible ---
Created attachment 49691
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49691&action=edit
Test case