RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2082948 - The stap binary is not linked against shared libraries provided by gcc-toolset-11-dyninst
Summary: The stap binary is not linked against shared libraries provided by gcc-toolse...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: systemtap
Version: 8.7
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Frank Ch. Eigler
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-08 17:07 UTC by Eirik Fuller
Modified: 2022-05-10 10:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-10 10:56:03 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-121338 0 None None None 2022-05-08 17:11:07 UTC

Description Eirik Fuller 2022-05-08 17:07:37 UTC
Description of problem:
/usr/bin/stap links against four dyninst shared libraries provided by either dyninst or gcc-toolset-11-dyninst.
The four libraries provided by gcc-toolset-11-dyninst are in a directory which stap does not search.
In the absence of a compatible dyninst package, stap does not find those shared libraries without LD_LIBRARY_PATH.

Version-Release number of selected component (if applicable):
systemtap-4.6-4.el8

How reproducible:
Consistently reproducible

Steps to Reproduce:
1. Install a recent compose, with dyninst-12.1.0-1.el8 and systemtap-4.6-4.el8
2. Run /usr/bin/stap

Actual results:
/usr/bin/stap: error while loading shared libraries: libparseAPI.so.11.0: cannot open shared object file: No such file or directory

Expected results:
/usr/bin/stap should not report runtime link errors

Additional info:

https://beaker.engineering.redhat.com/jobs/6599650 demonstrates three workarounds for this issue.

The first recipe ran stap with and without LD_LIBRARY_PATH=/opt/rh/gcc-toolset-11/root/usr/lib64/dyninst/ in the environment.

The second recipe installed dyninst-11.0.0-3.el8, which is compatible with systemtap-4.6-4.el8

The third recipe used systemtap-4.7-1.el8, which is compatible with dyninst-12.1.0-1.el8

The only task failure in that job was in the first recipe, without the LD_LIBRARY_PATH setting (the task with the LD_LIBRARY_PATH setting passed).


Newer composes will eventually prevent this problem, when dyninst and systemtap are back in sync, until the next time they get out of sync.

Comment 5 Frank Ch. Eigler 2022-05-10 10:56:03 UTC
Thanks, Martin!


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