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 1627711 - Backport "net/mlx{4,5}: avoid stripping the glue library" commits
Summary: Backport "net/mlx{4,5}: avoid stripping the glue library" commits
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openvswitch
Version: 7.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Timothy Redaelli
QA Contact: Jean-Tsung Hsiao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-11 10:05 UTC by Timothy Redaelli
Modified: 2018-11-05 14:59 UTC (History)
9 users (show)

Fixed In Version: openvswitch-2.9.0-61.el7fdn
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of: 1627285
Environment:
Last Closed: 2018-11-05 14:59:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Timothy Redaelli 2018-09-11 10:05:50 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 2018-10-15 03:04:17 UTC
The bug fix has been verified:

[root@netqe10 ~]# rpm -ql openvswitch-debuginfo | grep librte_pmd_mlx4_glue.so
/usr/lib/debug/usr/lib64/openvswitch/librte_pmd_mlx4_glue.so.17.11.1.debug
 
[root@netqe10 ~]# ^mlx4^mlx5
rpm -ql openvswitch-debuginfo | grep librte_pmd_mlx5_glue.so
/usr/lib/debug/usr/lib64/openvswitch/librte_pmd_mlx5_glue.so.17.11.1.debug

Comment 6 errata-xmlrpc 2018-11-05 14:59:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:3500


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