[dpdk-stable] patch 'app/pipeline: fix build with gcc 10' has been queued to LTS release 18.11.9

Kevin Traynor ktraynor at redhat.com
Thu May 28 18:21:48 CEST 2020


Hi,

FYI, your patch has been queued to LTS release 18.11.9

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/03/20. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/101855ea0def0dc98a8464c643885131984a680d

Thanks.

Kevin.

---
>From 101855ea0def0dc98a8464c643885131984a680d Mon Sep 17 00:00:00 2001
From: Timothy Redaelli <tredaelli at redhat.com>
Date: Wed, 5 Feb 2020 15:12:20 +0100
Subject: [PATCH] app/pipeline: fix build with gcc 10

[ upstream commit 20c1854f079e0a09f9c0383ccd896aafe6f41b0a ]

GCC 10 defaults to -fno-common, this means a linker error will now be
reported if the same global variable is defined in more than one
compilation unit.

Fixes: 48f31ca50cc4 ("app/pipeline: packet framework benchmark")

Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>
---
 test/test-pipeline/config.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/test/test-pipeline/config.c b/test/test-pipeline/config.c
index 28ac9fcc0e..33f3f1c827 100644
--- a/test/test-pipeline/config.c
+++ b/test/test-pipeline/config.c
@@ -43,6 +43,4 @@
 #include "main.h"
 
-struct app_params app;
-
 static const char usage[] = "\n";
 
-- 
2.21.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-05-28 17:12:59.255154372 +0100
+++ 0001-app-pipeline-fix-build-with-gcc-10.patch	2020-05-28 17:12:59.024558143 +0100
@@ -1 +1 @@
-From 20c1854f079e0a09f9c0383ccd896aafe6f41b0a Mon Sep 17 00:00:00 2001
+From 101855ea0def0dc98a8464c643885131984a680d Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 20c1854f079e0a09f9c0383ccd896aafe6f41b0a ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -16 +17 @@
- app/test-pipeline/config.c | 2 --
+ test/test-pipeline/config.c | 2 --
@@ -19 +20 @@
-diff --git a/app/test-pipeline/config.c b/app/test-pipeline/config.c
+diff --git a/test/test-pipeline/config.c b/test/test-pipeline/config.c
@@ -21,2 +22,2 @@
---- a/app/test-pipeline/config.c
-+++ b/app/test-pipeline/config.c
+--- a/test/test-pipeline/config.c
++++ b/test/test-pipeline/config.c



More information about the stable mailing list