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 1627285

Summary: Backport "net/mlx{4,5}: avoid stripping the glue library" commits
Product: Red Hat Enterprise Linux 7 Reporter: Timothy Redaelli <tredaelli>
Component: dpdkAssignee: Timothy Redaelli <tredaelli>
Status: CLOSED ERRATA QA Contact: Jean-Tsung Hsiao <jhsiao>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.5CC: ovs-team
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dpdk-17.11-14.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1627700 1627711 (view as bug list) Environment:
Last Closed: 2018-11-28 08:01:53 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-10 15:01:22 UTC
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-11-09 06:31:37 UTC
The bug fix has been verified. Please check the the following console log:

[root@netqe24 ~]# rpm -qi dpdk-debuginfo
Name        : dpdk-debuginfo
Version     : 17.11
Release     : 14.el7
Architecture: x86_64
Install Date: Fri 09 Nov 2018 01:20:27 AM EST
Group       : Development/Debug
Size        : 35809992
License     : BSD and LGPLv2 and GPLv2
Signature   : (none)
Source RPM  : dpdk-17.11-14.el7.src.rpm
Build Date  : Fri 14 Sep 2018 10:03:04 AM EDT
Build Host  : x86-040.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : http://dpdk.org
Summary     : Debug information for package dpdk
Description :
This package provides debug information for package dpdk.
Debug information is useful when developing applications that use this
package or when debugging this package.
[root@netqe24 ~]# rpm -ql dpdk-debuginfo | grep librte_pmd_mlx4_glue.so
/usr/lib/debug/usr/lib64/dpdk-pmds-glue/librte_pmd_mlx4_glue.so.17.11.1.debug
/usr/lib/debug/usr/lib64/librte_pmd_mlx4_glue.so.17.11.1.debug
[root@netqe24 ~]# rpm -ql dpdk-debuginfo | grep librte_pmd_mlx5_glue.so
/usr/lib/debug/usr/lib64/dpdk-pmds-glue/librte_pmd_mlx5_glue.so.17.11.1.debug
/usr/lib/debug/usr/lib64/librte_pmd_mlx5_glue.so.17.11.1.debug
[root@netqe24 ~]#

Comment 6 errata-xmlrpc 2018-11-28 08:01:53 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/RHBA-2018:3717