Blame SOURCES/0002-net-mlx5-avoid-stripping-the-glue-library.patch

343f6f
From a22c6d90c0d7cecbde923014b398787fe56978c1 Mon Sep 17 00:00:00 2001
343f6f
Message-Id: <a22c6d90c0d7cecbde923014b398787fe56978c1.1536572113.git.tredaelli@redhat.com>
343f6f
In-Reply-To: <b60115a1c00e30e15395ca0c4bcaf22c3ac431cb.1536572113.git.tredaelli@redhat.com>
343f6f
References: <b60115a1c00e30e15395ca0c4bcaf22c3ac431cb.1536572113.git.tredaelli@redhat.com>
343f6f
From: Timothy Redaelli <tredaelli@redhat.com>
343f6f
Date: Tue, 31 Jul 2018 15:15:28 +0200
343f6f
Subject: [PATCH 2/2] net/mlx5: avoid stripping the glue library
343f6f
343f6f
Stripping binaries at build time is usually a bad thing since it makes
343f6f
impossible to generate (split) debug symbols and this can lead to a more
343f6f
difficult debugging.
343f6f
343f6f
Fixes: 59b91bec12c6 ("net/mlx5: spawn rdma-core dependency plug-in")
343f6f
Cc: stable@dpdk.org
343f6f
343f6f
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
343f6f
Acked-by: Luca Boccassi <bluca@debian.org>
343f6f
Acked-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
343f6f
(cherry picked from commit c7684b6be4977e7d343b17f798192062b312461d)
343f6f
---
343f6f
 drivers/net/mlx5/Makefile | 2 +-
343f6f
 1 file changed, 1 insertion(+), 1 deletion(-)
343f6f
343f6f
diff --git a/drivers/net/mlx5/Makefile b/drivers/net/mlx5/Makefile
343f6f
index 589a06798..d4cba7329 100644
343f6f
--- a/drivers/net/mlx5/Makefile
343f6f
+++ b/drivers/net/mlx5/Makefile
343f6f
@@ -184,7 +184,7 @@ $(LIB): $(LIB_GLUE)
343f6f
 $(LIB_GLUE): mlx5_glue.o
343f6f
 	$Q $(LD) $(LDFLAGS) $(EXTRA_LDFLAGS) \
343f6f
 		-Wl,-h,$(LIB_GLUE) \
343f6f
-		-s -shared -o $@ $< -libverbs -lmlx5
343f6f
+		-shared -o $@ $< -libverbs -lmlx5
343f6f
 
343f6f
 mlx5_glue.o: mlx5_autoconf.h
343f6f
 
343f6f
-- 
343f6f
2.17.1
343f6f