@@ -1,7 +1,8 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From 4b5c47f16a89c16cac1b6f5ee6259ea4ca428409 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 24 Jun 2026 00:00:00 +0000
-Subject: [PATCH] abseil: raw_hash_set: include <immintrin.h> instead of <bmi2intrin.h>
+Date: Wed, 24 Jun 2026 00:00:00 +0000
+Subject: [PATCH] abseil: raw_hash_set: include <immintrin.h> instead of
+ <bmi2intrin.h>
Clang refuses a direct include of <bmi2intrin.h> and errors out with:
@@ -16,21 +17,23 @@ Upstream-Status: Backport [https://github.com/abseil/abseil-cpp/commit/d851fdd76
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
- third_party/abseil-cpp/absl/container/internal/raw_hash_set.h | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ .../abseil-cpp/absl/container/internal/raw_hash_set.h | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+diff --git a/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h b/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h
+index a50a488..1964e7b 100644
--- a/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h
+++ b/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h
@@ -225,9 +225,9 @@
#include <ranges> // NOLINT(build/c++20)
#endif
-
+
-#ifdef __BMI2__
-#include <bmi2intrin.h>
-#endif // __BMI2__
+#if defined(__i386__) || defined(__x86_64__)
+#include <immintrin.h>
+#endif
-
+
namespace absl {
ABSL_NAMESPACE_BEGIN
@@ -1,4 +1,4 @@
-From 55405c161ec71068229d13ef19d2f01ff59c2b77 Mon Sep 17 00:00:00 2001
+From cec28bc7abdd9fcb123f4403b9ffa2071c9b2516 Mon Sep 17 00:00:00 2001
From: Peter Marko <peter.marko@siemens.com>
Date: Wed, 5 Feb 2025 21:06:50 +0100
Subject: [PATCH] python: enable unbundled cross compilation
@@ -12,9 +12,11 @@ Signed-off-by: Peter Marko <peter.marko@siemens.com>
setup.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
+diff --git a/setup.py b/setup.py
+index 0a811c9..21577ef 100644
--- a/setup.py
+++ b/setup.py
-@@ -345,25 +345,25 @@
+@@ -345,25 +345,25 @@ if BUILD_WITH_SYSTEM_OPENSSL:
CORE_C_FILES = filter(
lambda x: "third_party/boringssl" not in x, CORE_C_FILES
)
@@ -1,4 +1,4 @@
-From 42b215f964b2c13db4adb0ee72f024607f74e6d1 Mon Sep 17 00:00:00 2001
+From 1aa6db269ca0293cb0ad0ecdcea0085a4487ed6a Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 13 Mar 2021 10:26:25 -0800
Subject: [PATCH] An all-in-one patch that fixes several issues:
@@ -22,7 +22,7 @@ Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
4 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc
-index 68f9273..5dbfaab 100644
+index 73e4145..52cffa7 100644
--- a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc
+++ b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc
@@ -20,7 +20,7 @@
@@ -44,7 +44,7 @@ index 68f9273..5dbfaab 100644
int64_t UnscaledCycleClock::Now() {
#ifdef __GLIBC__
diff --git a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h
-index 43a3dab..196a853 100644
+index 9a0841d..934d5d7 100644
--- a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h
+++ b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h
@@ -21,7 +21,8 @@
@@ -58,7 +58,7 @@ index 43a3dab..196a853 100644
#define ABSL_HAVE_UNSCALED_CYCLECLOCK_IMPLEMENTATION 1
#else
diff --git a/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc b/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc
-index 3dd6ba1..9f0601c 100644
+index 9a47f19..005239f 100644
--- a/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc
+++ b/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc
@@ -36,6 +36,10 @@
@@ -72,7 +72,7 @@ index 3dd6ba1..9f0601c 100644
#include "absl/base/attributes.h"
#include "absl/base/internal/raw_logging.h"
#include "absl/base/macros.h"
-@@ -177,8 +181,10 @@ void* GetProgramCounter(void* const vuc) {
+@@ -191,8 +195,10 @@ void* GetProgramCounter(void* const vuc) {
return reinterpret_cast<void*>(context->uc_mcontext.pc);
#elif defined(__powerpc64__)
return reinterpret_cast<void*>(context->uc_mcontext.gp_regs[32]);
@@ -85,10 +85,10 @@ index 3dd6ba1..9f0601c 100644
return reinterpret_cast<void*>(context->uc_mcontext.__gregs[REG_PC]);
#elif defined(__s390__) && !defined(__s390x__)
diff --git a/third_party/abseil-cpp/absl/debugging/internal/stacktrace_config.h b/third_party/abseil-cpp/absl/debugging/internal/stacktrace_config.h
-index 88949fe..4e26a6b 100644
+index c82d4a3..f7ee6cb 100644
--- a/third_party/abseil-cpp/absl/debugging/internal/stacktrace_config.h
+++ b/third_party/abseil-cpp/absl/debugging/internal/stacktrace_config.h
-@@ -67,7 +67,7 @@
+@@ -68,7 +68,7 @@
#elif defined(__i386__) || defined(__x86_64__)
#define ABSL_STACKTRACE_INL_HEADER \
"absl/debugging/internal/stacktrace_x86-inl.inc"
similarity index 95%
rename from meta-python/recipes-devtools/python/python3-grpcio_1.85.3.bb
rename to meta-python/recipes-devtools/python/python3-grpcio_1.85.4.bb
@@ -14,7 +14,7 @@ SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \
file://abseil-ppc-fixes.patch \
file://0001-abseil-raw_hash_set-include-immintrin.h-instead-of-b.patch \
"
-SRC_URI[sha256sum] = "8e18f15d1b09b8771edbf59d634b26cbe4903bc2577cb667264934a6655eb8b4"
+SRC_URI[sha256sum] = "45c4efd77dbfbb92cfebe493518c7e2a97ef3f4da2673508f81214b7493d7cca"
RDEPENDS:${PN} = "python3-protobuf python3-typing-extensions"
Upgrade to release 1.85.4: This is release gRPC Core 1.85.4 (googol). For gRPC documentation, see grpc.io. For previous releases, see Releases. This release contains refinements, improvements, and bug fixes. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> --- ...h_set-include-immintrin.h-instead-of-b.patch | 17 ++++++++++------- ...hon-enable-unbundled-cross-compilation.patch | 6 ++++-- .../python3-grpcio/abseil-ppc-fixes.patch | 14 +++++++------- ...rpcio_1.85.3.bb => python3-grpcio_1.85.4.bb} | 2 +- 4 files changed, 22 insertions(+), 17 deletions(-) rename meta-python/recipes-devtools/python/{python3-grpcio_1.85.3.bb => python3-grpcio_1.85.4.bb} (95%)