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 1259835 - libpsm2 library conflict with infinipath-psm
Summary: libpsm2 library conflict with infinipath-psm
Keywords:
Status: CLOSED DUPLICATE of bug 1273155
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libpsm2
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 7.3
Assignee: Michal Schmidt
QA Contact: yanfu,wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-03 15:15 UTC by Michal Schmidt
Modified: 2016-08-05 14:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-05 14:11:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
small reproducer program (1.03 KB, application/x-gzip)
2015-09-03 15:16 UTC, Michal Schmidt
no flags Details

Description Michal Schmidt 2015-09-03 15:15:56 UTC
Description of problem:
libpsm_infinipath.so.1 from infinipath-psm provides the PSM API to use TrueScale devices.
libpsm2.so.2 from libpsm2 provides the PSM2 API to use OmniPath devices.

The two APIs clash with each other when a process links to both libraries.
For instance, both libraries provide a function called "psm_init".

Version-Release number of selected component (if applicable):
libpsm2-0.7-3.el7.x86_64
infinipath-psm-3.3-0.g6f42cdb1bb8.2.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. tar -xvf test-psm-conflict.tar.gz && cd test-psm-conflict && make
2. ./test

Actual results:
./plugin0.so initialized
PSM loaded an unexpected/unsupported version (2.0)
./plugin1.so initialization failed


Expected results:
./plugin0.so initialized
./plugin1.so initialized

(The expected result would appear if the implemented solution unified the two libraries into one, usable for both TrueScale and OmniPath.
A different solution may be an new non-conflicting API for PSM2, in which case the test program would need changes to work.)

Additional info:
This affects openmpi. A workaround has been put in place in openmpi to avoid loading both PSM libraries at the same time.
I will reference this BZ from openmpi's config file with the workaround, so I do not wish to mark the BZ private.

Comment 1 Michal Schmidt 2015-09-03 15:16:48 UTC
Created attachment 1069924 [details]
small reproducer program

Comment 2 Michal Schmidt 2016-08-05 14:11:51 UTC
The conflict is resolved in libpsm2 by changing the function names from psm_* to psm2_*.

*** This bug has been marked as a duplicate of bug 1273155 ***


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