Bug 147378 (IT_65082)
Summary: | makefiles strip debug symbols from autofs binaries before debuginfo package is built | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Neil Horman <nhorman> | ||||||
Component: | autofs | Assignee: | Jeff Moyer <jmoyer> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Brock Organ <borgan> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 3.0 | CC: | berrange, tao | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | RHEL3U7NAK | ||||||||
Fixed In Version: | RHBA-2006-0459 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-07-20 14:42:48 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 181405 | ||||||||
Attachments: |
|
Description
Neil Horman
2005-02-07 18:55:20 UTC
Created attachment 110737 [details]
patch to remove stripping from build Makefiles
This patch removes the stripping stage from the Makefile.rules makefile used to
build autofs. This allows rpmbuild to generate a symboled debuginfo package
and still produce a stripped distribution package.
Yeah. this has been bugging me for a while, but I haven't gotten around to fixing it yet. Thanks for doing the work! -Jeff No worries, happy to help! Given that I can debug most any problem with the automounter through the logging facility, I'm NAKing this fix for this round of updates. There is no real need for this functionality. Having said that, I would accept patches which implement this. For testing, you should be able to install the autofs and autofs-debuginfo packages, and run: $ gdb /usr/sbin/automount At the gdb prompt, issue the following commands. If you get the output listed here, then the debuginfo packages are useful. (gdb) whatis ap type = struct autofs_point (gdb) p (struct autofs_point) ap $2 = {path = 0x0, pipefd = 0, ioctlfd = 0, dev = 0, maptype = 0x0, type = 0, exp_timeout = 0, exp_runfreq = 0, ghost = 0, exp_process = 0, mounts = 0x0, lookup = 0x0, state = ST_INIT, state_pipe = {0, 0}, dir_created = 0} Created attachment 127359 [details]
Add a make option to not strip binaries.
This patch adds the ability to specify "DONTSTRIP=1" on the make command line,
in order to keep the build process from stripping binaries. The .spec file
needs to be modified to use this option in the %build section.
This issue is on Red Hat Engineering's list of planned work items for the upcoming Red Hat Enterprise Linux 3.8 release. Engineering resources have been assigned and barring unforeseen circumstances, Red Hat intends to include this item in the 3.8 release. A fix for this problem was committed in autofs-4.1.3-176. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0459.html |