Bug 2213228
| Summary: | Don't hardcode gdb.minimal use in gdb-add-index | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Nikita Popov <npopov> | |
| Component: | gcc-toolset-13-gdb | Assignee: | Keith Seitz <keiths> | |
| Status: | VERIFIED --- | QA Contact: | Michal Kolar <mkolar> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 9.3 | CC: | tstellar | |
| Target Milestone: | rc | Keywords: | Bugfix, Triaged | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | gcc-toolset-13-gdb-12.1-3.el9 | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2214593 (view as bug list) | Environment: | ||
| Last Closed: | Type: | Bug | ||
| 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: | 2188418, 2214593 | |||
|
Description
Nikita Popov
2023-06-07 14:49:29 UTC
This patch has recently been rewritten, and is available in rawhide: https://src.fedoraproject.org/rpms/gdb/blob/rawhide/f/gdb-add-index.patch The most obvious change here is that the environment variable "GDB" is no longer ignored, and is used if set/valid. Would that suffice? I can mock up a test build for you, if you'd like to verify. Just let me know. Would we need this for RHEL8, too? Thanks! This patch should work for us. I did the following in a mock environment: > source scl_source enable gcc-toolset-13 > vim /opt/rh/gcc-toolset-13/root/bin/gdb-add-index (and replace with the new script) > export GDB=/opt/rh/gcc-toolset-13/root/usr/bin/gdb > gdb-add-index build/BUILD/lldb-16.0.1.src/redhat-linux-build/bin/lldb-server And this worked without error. > Would we need this for RHEL8, too? Just RHEL 9 is enough for our purposes. Verified with gcc-toolset-13-gdb-12.1-3.el9. |