Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1627700

Summary: Backport "net/mlx{4,5}: avoid stripping the glue library" commits
Product: Red Hat Enterprise Linux 7 Reporter: Timothy Redaelli <tredaelli>
Component: openvswitch2.10Assignee: Timothy Redaelli <tredaelli>
Status: CLOSED WONTFIX QA Contact: Jean-Tsung Hsiao <jhsiao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.5CC: ctrautma, jhsiao, ovs-qe, ovs-team, qding
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openvswitch2.10-2.10.0-2.el7fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1627285 Environment:
Last Closed: 2021-02-15 07:42:30 UTC 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:

Description Timothy Redaelli 2018-09-11 09:37:34 UTC
+++ This bug was initially created as a clone of Bug #1627285 +++

In current dpdk package, librte_pmd_mlx4_glue.so and librte_pmd_mlx5_glue.so are built with debug symbols stripped.

Please backport the following 2 commits in order to avoid stripping debug symbols:

commit c7684b6be4977e7d343b17f798192062b312461d
Author: Timothy Redaelli <tredaelli>
Date:   Tue Jul 31 15:15:28 2018 +0200

    net/mlx5: avoid stripping the glue library
    
    Stripping binaries at build time is usually a bad thing since it makes
    impossible to generate (split) debug symbols and this can lead to a more
    difficult debugging.
    
    Fixes: 59b91bec12c6 ("net/mlx5: spawn rdma-core dependency plug-in")
    Cc: stable
    
    Signed-off-by: Timothy Redaelli <tredaelli>
    Acked-by: Luca Boccassi <bluca>
    Acked-by: Christian Ehrhardt <christian.ehrhardt>

commit d7a4e99d84f961c72eca7541e090cc3f43b60fb8
Author: Timothy Redaelli <tredaelli>
Date:   Tue Jul 31 15:15:27 2018 +0200

    net/mlx4: avoid stripping the glue library
    
    Stripping binaries at build time is usually a bad thing since it makes
    impossible to generate (split) debug symbols and this can lead to a more
    difficult debugging.
    
    Fixes: 27cea11686ff ("net/mlx4: spawn rdma-core dependency plug-in")
    Cc: stable
    
    Signed-off-by: Timothy Redaelli <tredaelli>
    Acked-by: Luca Boccassi <bluca>
    Acked-by: Christian Ehrhardt <christian.ehrhardt>

Comment 4 Jean-Tsung Hsiao 2019-02-20 15:20:24 UTC
[root@netqe10 ~]# rpm -qi openvswitch2.10-debuginfo
Name        : openvswitch2.10-debuginfo
Version     : 2.10.0
Release     : 28.el7fdp
Architecture: x86_64
Install Date: Wed 20 Feb 2019 10:18:29 AM EST
Group       : Development/Debug
Size        : 212649772
License     : ASL 2.0 and LGPLv2+ and SISSL
Signature   : (none)
Source RPM  : openvswitch2.10-2.10.0-28.el7fdp.src.rpm
Build Date  : Fri 09 Nov 2018 01:14:58 PM EST
Build Host  : x86-037.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : http://www.openvswitch.org/
Summary     : Debug information for package openvswitch2.10
Description :
This package provides debug information for package openvswitch2.10.
Debug information is useful when developing applications that use this
package or when debugging this package.
[root@netqe10 ~]# rpm -ql !$ | grep -i mlx
rpm -ql openvswitch2.10-debuginfo | grep -i mlx
/usr/lib/debug/usr/lib64/openvswitch/librte_pmd_mlx4_glue.so.17.11.4.debug
/usr/lib/debug/usr/lib64/openvswitch/librte_pmd_mlx5_glue.so.17.11.4.debug

Comment 7 RHEL Program Management 2021-02-15 07:42:30 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.