patch 'vhost: fix linker script syntax' has been queued to stable release 21.11.1

Kevin Traynor ktraynor at redhat.com
Tue Mar 8 15:14:47 CET 2022


Hi,

FYI, your patch has been queued to stable release 21.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/14/22. 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

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/36466e89e56a9685e783ce0247461c4f34664ba7

Thanks.

Kevin

---
>From 36466e89e56a9685e783ce0247461c4f34664ba7 Mon Sep 17 00:00:00 2001
From: Peng Yu <penyu at amazon.com>
Date: Tue, 15 Feb 2022 05:55:52 +0000
Subject: [PATCH] vhost: fix linker script syntax

[ upstream commit 4f670c5af0253f5276fd19f38fdfa72772c68cd0 ]

The punctuation after the `global` keyword should be colon, not
semicolon. The default gcc linker accepts both colon and semicolon, but
the gold linker will report syntax error if we use semicolon after the
`global` keyword.

Fixes: 94c16e89d779 ("vhost: mark vDPA driver API as internal")

Signed-off-by: Peng Yu <penyu at amazon.com>
Reviewed-by: Chenbo Xia <chenbo.xia at intel.com>
---
 lib/vhost/version.map | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vhost/version.map b/lib/vhost/version.map
index a7ef7f1976..0f315ed2a5 100644
--- a/lib/vhost/version.map
+++ b/lib/vhost/version.map
@@ -88,5 +88,5 @@ EXPERIMENTAL {
 
 INTERNAL {
-	global;
+	global:
 
 	rte_vdpa_register_device;
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-03-08 13:55:29.211901947 +0000
+++ 0032-vhost-fix-linker-script-syntax.patch	2022-03-08 13:55:28.504315185 +0000
@@ -1 +1 @@
-From 4f670c5af0253f5276fd19f38fdfa72772c68cd0 Mon Sep 17 00:00:00 2001
+From 36466e89e56a9685e783ce0247461c4f34664ba7 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 4f670c5af0253f5276fd19f38fdfa72772c68cd0 ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -21 +22 @@
-index 1202ba9c1a..0a66c5840c 100644
+index a7ef7f1976..0f315ed2a5 100644
@@ -24 +25 @@
-@@ -91,5 +91,5 @@ EXPERIMENTAL {
+@@ -88,5 +88,5 @@ EXPERIMENTAL {



More information about the stable mailing list