Bug 166910 - lm_sensors-debuginfo doesn't contain any debuginfo
lm_sensors-debuginfo doesn't contain any debuginfo
Product: Fedora
Classification: Fedora
Component: lm_sensors (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Knirsch
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2005-08-27 02:52 EDT by Hans de Goede
Modified: 2015-03-04 20:15 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-01 13:37:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Hans de Goede 2005-08-27 02:52:30 EDT
I've been busy writing a driver for a sensors chip on my new motherboard, the
driver worked ok, but I had trouble accessing it through libsensors based
programs, so I wanted to debug libsensors. However even after installing
lm_sensors-debuginfo, debugging was still inpossible.

The problem is that the current spec- (and make-) file don't pass -g to gcc when
building. Actually the current specfile doesn't pass any of the Fedora specific
CFLAGS to make, thus causing lm_sensors to be build without debuginfo,
fortifysource and stacksmashing protection.

I fixed this by adding:
export CFLAGS="%{optflags}"

Directly under %build, or you could add CFLAGS="%{optflags}" to the make command
under %build.
Comment 1 Phil Knirsch 2005-09-01 13:37:27 EDT
Fixed in latest development version.

Read ya, Phil

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