Re: [PATCH] Fix static libasan link

2013-11-18 Thread Yury Gribov
> Ok with those changes. >Jakub Thanks. Committed revision 204934. -Y

Re: [PATCH] Fix static libasan link

2013-11-17 Thread Jakub Jelinek
On Mon, Nov 18, 2013 at 10:45:16AM +0400, Yury Gribov wrote: > 2013-11-18 Yury Gribov > > PR sanitizer/59106 > * asan/Makefile.am: Disable RTTI. * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti. > * interception/Makefile.am: Likewise. * interception/Makefile.

[PATCH] Fix static libasan link

2013-11-17 Thread Yury Gribov
Hi, This patch is supposed to fix PR59106 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59106). The bug manifests when we link static sanitizer libs (asan, tsan or ubsan) against pure C programs. The patch adds -fno-rtti to LDFLAGS of sanitizer runtime libs (based on Kcc's recommendation).