Go to file
Philipp Rudo 395e648256 libdrgn: orc_info: work around ORC backports in RHEL 9.6
Resolves: RHEL-136527
Upstream: https://github.com/osandov/drgn

This problem is fixed in the kernel with b9f174c811e3 ("x86/unwind/orc:
Add ELF section with ORC version identifier"). But the fix won't work as
expected due to missing commit 321648455061 ("kbuild: use obj-y instead
extra-y for objects placed at the head"). The second commit however is
very invasive and shouldn't be backported this late in the RHEL9 cycle
(see RHEL-27234 for details). So backport the workaround in drgn
instead.

commit 8660ee186377aabf28cd54d76beb942b9a06d09a
Author: Stephen Brennan <stephen.s.brennan@oracle.com>
Date:   Fri Dec 5 10:43:44 2025 -0800

    libdrgn: orc_info: work around ORC backports in RHEL 9.6

    Add a special case to detect RHEL 9 kernel versions since release
    5.14.0-517.el9, and use ORC "v3" for these kernels.

    Fixes #578.

    Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>

Signed-off-by: Philipp Rudo <prudo@redhat.com>
2025-12-17 15:23:10 +01:00
tests Fix regression in selftest introduced in 0.0.31-3 2025-07-16 17:07:47 +02:00
.gitignore Rebase to upstream 0.0.33 2025-11-13 16:42:21 +01:00
0001-libdrgn-orc_info-work-around-ORC-backports-in-RHEL-9.patch libdrgn: orc_info: work around ORC backports in RHEL 9.6 2025-12-17 15:23:10 +01:00
gating.yaml Enable brew-build.tier0.functional test 2024-08-08 17:48:46 +12:00
python-drgn.spec libdrgn: orc_info: work around ORC backports in RHEL 9.6 2025-12-17 15:23:10 +01:00
sources Rebase to upstream 0.0.33 2025-11-13 16:42:21 +01:00