nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] mhstore dumps core

2017-08-20 07:04:57
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.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>