[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] mhstore dumps core

From: David Levine
Subject: Re: [Nmh-workers] mhstore dumps core
Date: Sun, 20 Aug 2017 08:04:37 -0400

Ralph wrote:

>     With -D_FORTIFY_SOURCE=2:
>         -O0  Compile fails;  optimisation needed.

configure.ac doesn't add -D_FORTIFY_SOURCE if CFLAGS contains -O0, but
that can be easily fooled at compile time.

> So valgrind looks best with -O2, but gcc spots some problems itself at
> -O3 if no -D_FORTIFY_SOURCE=2.

Interesting.  build_nmh uses -O2, coincidentally.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]