On Mon, Sep 01, 2014 at 07:55:52PM +0400, Marat Zakirov wrote:
> >>I have a fix for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61875.
> >>This situation occurs when somebody decides to build GCC with
> >>-fexeptions and -frtti which are forbidden for libsanitizer. They get
> >>strange error (see bug above) which I know how to fix but think that I
> >>should not. Instead of it attached patch forces configure to fail when
> >>meet -fexceptions or -frtti option in CXXFLAGS.
I don't see a reason for this, simply don't do that, libsanitizer AFAIK
isn't the only library where it is highly undesirable to have these flags in
CXXFLAGS.  libatomic and libgtm are another examples of libraries that
shouldn't be compiled with those flags.

        Jakub

Reply via email to