gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] FW: Change in glusterfs[master]: Add support for --e


From: Kaleb S. KEITHLEY
Subject: Re: [Gluster-devel] FW: Change in glusterfs[master]: Add support for --enable-debug configure option
Date: Thu, 16 Aug 2012 10:32:47 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0

On 08/16/2012 10:21 AM, Joe Julian wrote:
I am no expert here, but isn't the default on at least some distributions -O2?

John Mark Walker <address@hidden> wrote:

_______________________________________________
Gluster-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/gluster-devel
_______________________________________________
Gluster-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/gluster-devel


The configure.ac template is -O0, and thus the configure script produced by autoconf is also -O0.

For the current Fedora and EPEL builds configure.ac is patched to -O2 as part of the build process.

We discussed at the community architecture planning meeting in July that going forward we would leave it -O0 for x.y.0 and x.y.1 releases and switch to -O2 for x.y.2 and later releases. (Although I haven't made that change for Fedora and EPEL yet.)

But note that for RPMs anyway, everything _is_ actually compiled with -g; the debug symbols are stripped from the binaries after the debuginfo RPM is produced. Off hand I'm not sure there's a lot of value in adding and --enable-debug option — just install the debuginfo RPMs instead if you want to debug.

--

Kaleb



reply via email to

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