From bdff8df409696288f1de5f7919dbfe59a2ea7894 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 14 Jan 2026 10:00:06 -0800 Subject: [PATCH] grpc: Upgrade to 1.76.0 Backport a fix to build with latest gcc and clang Signed-off-by: Khem Raj --- ...001-build-add-missing-includes-41351.patch | 58 +++++++++++++++++++ .../grpc/{grpc_1.71.0.bb => grpc_1.76.0.bb} | 7 ++- 2 files changed, 62 insertions(+), 3 deletions(-) create mode 100644 meta-oe/recipes-devtools/grpc/grpc/0001-build-add-missing-includes-41351.patch rename meta-oe/recipes-devtools/grpc/{grpc_1.71.0.bb => grpc_1.76.0.bb} (92%) diff --git a/meta-oe/recipes-devtools/grpc/grpc/0001-build-add-missing-includes-41351.patch b/meta-oe/recipes-devtools/grpc/grpc/0001-build-add-missing-includes-41351.patch new file mode 100644 index 0000000000..bf1f22b906 --- /dev/null +++ b/meta-oe/recipes-devtools/grpc/grpc/0001-build-add-missing-includes-41351.patch @@ -0,0 +1,58 @@ +From a976f66ac7d1b9f43a3071e22b5014fcfeab04b3 Mon Sep 17 00:00:00 2001 +From: "Mark D. Roth" +Date: Tue, 6 Jan 2026 10:09:45 -0800 +Subject: [PATCH] [build] add missing includes (#41351) + +Fixes #41305. + +Closes #41351 + +COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/41351 from markdroth:add_missing_includes 223be6932adb00d085149c53167c1b0318745f6c +PiperOrigin-RevId: 852829597 + +Upstream-Status: Backport [https://github.com/grpc/grpc/commit/d54219b508423f0a2ff6a0b98c16fb6dafd44b84] +Signed-off-by: Khem Raj +--- + include/grpc/event_engine/memory_request.h | 2 ++ + src/core/channelz/v2tov1/property_list.cc | 1 + + src/core/util/glob.cc | 2 ++ + 3 files changed, 5 insertions(+) + +diff --git a/include/grpc/event_engine/memory_request.h b/include/grpc/event_engine/memory_request.h +index 76bcbb2036..ad8cab842e 100644 +--- a/include/grpc/event_engine/memory_request.h ++++ b/include/grpc/event_engine/memory_request.h +@@ -17,6 +17,8 @@ + #include + #include + ++#include ++ + #include "absl/strings/string_view.h" + + namespace grpc_event_engine { +diff --git a/src/core/channelz/v2tov1/property_list.cc b/src/core/channelz/v2tov1/property_list.cc +index 64bbb6307c..03367cce7c 100644 +--- a/src/core/channelz/v2tov1/property_list.cc ++++ b/src/core/channelz/v2tov1/property_list.cc +@@ -15,6 +15,7 @@ + #include "src/core/channelz/v2tov1/property_list.h" + + #include ++#include + #include + #include + +diff --git a/src/core/util/glob.cc b/src/core/util/glob.cc +index 1b1c16e23d..22e54259f0 100644 +--- a/src/core/util/glob.cc ++++ b/src/core/util/glob.cc +@@ -12,6 +12,8 @@ + // See the License for the specific language governing permissions and + // limitations under the License. + ++#include ++ + #include "absl/strings/string_view.h" + + namespace grpc_core { diff --git a/meta-oe/recipes-devtools/grpc/grpc_1.71.0.bb b/meta-oe/recipes-devtools/grpc/grpc_1.76.0.bb similarity index 92% rename from meta-oe/recipes-devtools/grpc/grpc_1.71.0.bb rename to meta-oe/recipes-devtools/grpc/grpc_1.76.0.bb index 53867b8fe6..39c9fb98de 100644 --- a/meta-oe/recipes-devtools/grpc/grpc_1.71.0.bb +++ b/meta-oe/recipes-devtools/grpc/grpc_1.76.0.bb @@ -23,10 +23,11 @@ RDEPENDS:${PN}-dev:append:class-native = " ${PN}-compiler" # Both dependencies are mutually exclusive # RDEPENDS:${PN}-dev += "${PN}-compiler" -SRCREV_grpc = "4e9357bca1408596663a218c0c608a4c0560a867" -BRANCH = "v1.71.x" -SRC_URI = "gitsm://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \ +SRCREV = "f5ffb68d8a2fd603dff16287e90a4ac571e1fec6" +BRANCH = "v1.76.x" +SRC_URI = "gitsm://github.com/grpc/grpc.git;protocol=https;branch=${BRANCH};tag=v${PV} \ file://0001-cmake-Link-with-libatomic-on-rv32-rv64.patch \ + file://0001-build-add-missing-includes-41351.patch \ " inherit cmake pkgconfig