Bug 746599 - cman debuginfo package does not contain all symbols
Summary: cman debuginfo package does not contain all symbols
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cman
Version: 5.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Fabio Massimo Di Nitto
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-17 08:16 UTC by Fabio Massimo Di Nitto
Modified: 2012-02-21 05:25 UTC (History)
3 users (show)

Fixed In Version: cman-2.0.115-93.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-21 05:25:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch from sdake (52 bytes, text/plain)
2011-10-17 08:17 UTC, Fabio Massimo Di Nitto
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0167 0 normal SHIPPED_LIVE cman bug fix and enhancement update 2012-02-20 14:54:50 UTC

Description Fabio Massimo Di Nitto 2011-10-17 08:16:45 UTC
Description of problem:

cman lcrso service is built without "-g" CFLAGS option that causes
gcc to build without debugging symbols.

This makes all gdb stack trace useless.

See for example: bz#590101

The fix does not affect runtime at any way.

Comment 1 Fabio Massimo Di Nitto 2011-10-17 08:17:31 UTC
Created attachment 528487 [details]
patch from sdake

Comment 2 Fabio Massimo Di Nitto 2011-10-17 08:18:53 UTC
Patch from Steven

diff -uNr cman-2.0.115/cman/daemon/Makefile cman-2.0.115.dashg/cman/daemon/Makefile
--- cman-2.0.115/cman/daemon/Makefile	2009-08-05 05:16:27.000000000 -0700
+++ cman-2.0.115.dashg/cman/daemon/Makefile	2010-05-11 12:00:31.439550962 -0700
@@ -21,7 +21,7 @@
 ifeq ($(DEBUG),y)
 CFLAGS+= -O0 -g -DDEBUG
 else
-CFLAGS+= -O2
+CFLAGS+= -O2 -g
 endif
 
 TARGET=service_cman.lcrso

Comment 6 errata-xmlrpc 2012-02-21 05:25:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0167.html


Note You need to log in before you can comment on or make changes to this bug.