https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64234
Boris Kolpackov <boris at kolpackov dot net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |boris at kolpackov dot net --- Comment #7 from Boris Kolpackov <boris at kolpackov dot net> --- > But why do you want to use -static-libasan ? Just link it dynamically... Another reason is shared linking clobbers executable's RUNPATH: https://github.com/google/sanitizers/issues/1219