Re: FW: Change in glusterfs[master]: Add support for --enable-debug configure option

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

 



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 <johnmark@xxxxxxxxxx> wrote:

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxx
https://lists.nongnu.org/mailman/listinfo/gluster-devel
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxx
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



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux