Bug 130128 (IT#42221)
Summary: | 64bit gdb install overwrites installed 32bit gdb | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Alexandre Oliva <aoliva> |
Component: | gdb | Assignee: | Elena Zannoni <ezannoni> |
Status: | CLOSED ERRATA | QA Contact: | Jay Turner <jturner> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | cagney, jjohnstn, srevivo, tao |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-08-31 15:05:37 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: | 115047 | ||
Bug Blocks: |
Description
Alexandre Oliva
2004-08-17 12:28:25 UTC
*** This bug has been marked as a duplicate of 126853 *** Questions asked by customer not answered in the other bug. Current resolution is not good enough in that it doesn't solve the other related bug, listed as a dependency of this one. Reopening. This is the behavior of rpm, not gdb. it prefers elf64 over elf32. Besides, the 32 bit gdb should be overwritten, since the 64 bit gdb for ppc can debug 32 bit binaries. But they should use a more recent gdb. Also there have been fixes to rpm to deal with packages installing multiple binaries. What are they running? RHEL3 U3? If so, the gdb64 package has been obsolete. They should now just have a binary named gdb which is elf64. I realize the base problem is in RPM. That's why this bug depends on the relevant rpm bug. The bug was originally reported against RHEL3 U2, the latest released update for RHEL3 at this time. It was also tested on a U3 beta available as of June 28. They didn't ever mention the gdb64 package. They mentioned ppc and ppc64 gdb packages, and that, if you install both, one of the binaries becomes permanently inacessible. This is a bug. You can't, for example, compare the behavior of a 32-bit gdb with that of a 64-bit gdb unless you take a copy of the 32-bit gdb. Feel free to not act on this bug at all until the dependency rpm bug is regarded as resolved. The current approach is far from optimal. That said, gdb could take the lead towards a reasonable solution and install say gdb32 and gdb64 in the 32- and 64-bit packages, respectively, and have gdb be a hard link, such that, whatever rpm picks up by default, both binaries will still be available (as expected). Hopefully rpm will eventually take such a reasonable approach (maybe not naming the files exactly like this, but something along these lines). Gdb cannot take the lead, because it needs to interoperate with RHN, up2date, rpm, and there are other requirements besides this ibm "bug". So I am closing this yet again. Tell them to run up2date and get the new gdb. 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-2004-561.html |