diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2025-03-25 17:01:08 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-25 09:33:50 -0700 |
| commit | ada16eff73426004efb5066fd5c0a315c120e52c (patch) | |
| tree | 168b900cf923b4c443344f3d243650e72497ee80 | |
| parent | 868c11831bb5932d57d6a19b9a5feb3902863748 (diff) | |
| download | meta-openembedded-ada16eff73426004efb5066fd5c0a315c120e52c.tar.gz | |
abseil-cpp: upgrade 20250127.0 -> 20250127.1
0001-Actually-use-the-hint-space-instruction-to-strip-PAC.patch
removed since it's inclued in 20250127.1
abseil-cpp/0004-abseil-ppc-fixes.patch
refreshed for 20250127.1
Changelog:
=============
- Added support for Bazel 8.0
- Added support for Bazel Platforms for better portability
- Added ABSL_ATTRIBUTE_VIEW and ABSL_ATTRIBUTE_OWNER for diagnosing certain lifetime issues
- Many performance improvements
- A security issue in hash container create/resize has been fixed. Note that the latest patch releases for previous LTS versions also address this issue.
- Bazel BUILD files now reference repositories by their canonical names from the Bazel Central Registry.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-Actually-use-the-hint-space-instruction-to-strip-PAC.patch | 32 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-abseil-ppc-fixes.patch | 11 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250127.1.bb (renamed from meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250127.0.bb) | 7 |
3 files changed, 7 insertions, 43 deletions
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-Actually-use-the-hint-space-instruction-to-strip-PAC.patch b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-Actually-use-the-hint-space-instruction-to-strip-PAC.patch deleted file mode 100644 index a235797de9..0000000000 --- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-Actually-use-the-hint-space-instruction-to-strip-PAC.patch +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From 5852b47a81e5334a667d1e12dbfa55c0f8111100 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Derek Mauro <dmauro@google.com> | ||
| 3 | Date: Fri, 7 Feb 2025 08:49:06 -0800 | ||
| 4 | Subject: [PATCH] Actually use the hint space instruction to strip PAC bits for | ||
| 5 | return addresses in stack traces as the comment says | ||
| 6 | |||
| 7 | https://android.googlesource.com/platform/libcore/+/71f2c75111e87091616f0f3b86bea6c4d345dad1/src/hotspot/os_cpu/linux_aarch64/pauth_linux_aarch64.inline.hpp | ||
| 8 | |||
| 9 | PiperOrigin-RevId: 724360415 | ||
| 10 | Change-Id: I691160e43354131a04919765ce283e07c3c933a9 | ||
| 11 | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> | ||
| 12 | Signed-off-by: Alex Kiernan <alexk@a-squared-projects.uk> | ||
| 13 | Upstream-Status: Backport [https://github.com/abseil/abseil-cpp/commit/5852b47a81e5334a667d1e12dbfa55c0f8111100] | ||
| 14 | --- | ||
| 15 | absl/debugging/internal/stacktrace_aarch64-inl.inc | 4 +++- | ||
| 16 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
| 17 | |||
| 18 | diff --git a/absl/debugging/internal/stacktrace_aarch64-inl.inc b/absl/debugging/internal/stacktrace_aarch64-inl.inc | ||
| 19 | index 4490c4e13cae..dccadaeb7c24 100644 | ||
| 20 | --- a/absl/debugging/internal/stacktrace_aarch64-inl.inc | ||
| 21 | +++ b/absl/debugging/internal/stacktrace_aarch64-inl.inc | ||
| 22 | @@ -188,7 +188,9 @@ inline void* ClearPacBits(void* ptr) { | ||
| 23 | // compatibility with ARM platforms that do not support pointer | ||
| 24 | // authentication, we use the hint space instruction XPACLRI instead. Hint | ||
| 25 | // space instructions behave as NOPs on unsupported platforms. | ||
| 26 | - asm("xpaclri" : "+r"(x30)); | ||
| 27 | +#define ABSL_XPACLRI_HINT "hint #0x7;" | ||
| 28 | + asm(ABSL_XPACLRI_HINT : "+r"(x30)); // asm("xpaclri" : "+r"(x30)); | ||
| 29 | +#undef ABSL_XPACLRI_HINT | ||
| 30 | return x30; | ||
| 31 | } | ||
| 32 | |||
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-abseil-ppc-fixes.patch b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-abseil-ppc-fixes.patch index ba0cd66920..a0b99dd206 100644 --- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-abseil-ppc-fixes.patch +++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-abseil-ppc-fixes.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From f9607924225ca59fb6c60222e6424b84e6f70029 Mon Sep 17 00:00:00 2001 | 1 | From 5891332fecd3bf707b58dda56b4b3f80583b5ef9 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 21 Sep 2024 20:53:06 +0800 | 3 | Date: Sat, 21 Sep 2024 20:53:06 +0800 |
| 4 | Subject: [PATCH] abseil: ppc fixes | 4 | Subject: [PATCH] abseil: ppc fixes |
| @@ -23,7 +23,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 23 | 4 files changed, 12 insertions(+), 5 deletions(-) | 23 | 4 files changed, 12 insertions(+), 5 deletions(-) |
| 24 | 24 | ||
| 25 | diff --git a/absl/base/internal/unscaledcycleclock.cc b/absl/base/internal/unscaledcycleclock.cc | 25 | diff --git a/absl/base/internal/unscaledcycleclock.cc b/absl/base/internal/unscaledcycleclock.cc |
| 26 | index a0bf3a65..103b4f6a 100644 | 26 | index 68f92730..5dbfaab6 100644 |
| 27 | --- a/absl/base/internal/unscaledcycleclock.cc | 27 | --- a/absl/base/internal/unscaledcycleclock.cc |
| 28 | +++ b/absl/base/internal/unscaledcycleclock.cc | 28 | +++ b/absl/base/internal/unscaledcycleclock.cc |
| 29 | @@ -20,7 +20,7 @@ | 29 | @@ -20,7 +20,7 @@ |
| @@ -86,10 +86,10 @@ index 3dd6ba1a..f923b055 100644 | |||
| 86 | return reinterpret_cast<void*>(context->uc_mcontext.__gregs[REG_PC]); | 86 | return reinterpret_cast<void*>(context->uc_mcontext.__gregs[REG_PC]); |
| 87 | #elif defined(__s390__) && !defined(__s390x__) | 87 | #elif defined(__s390__) && !defined(__s390x__) |
| 88 | diff --git a/absl/debugging/internal/stacktrace_config.h b/absl/debugging/internal/stacktrace_config.h | 88 | diff --git a/absl/debugging/internal/stacktrace_config.h b/absl/debugging/internal/stacktrace_config.h |
| 89 | index 3929b1b7..23d5e504 100644 | 89 | index 88949fe9..4e26a6b7 100644 |
| 90 | --- a/absl/debugging/internal/stacktrace_config.h | 90 | --- a/absl/debugging/internal/stacktrace_config.h |
| 91 | +++ b/absl/debugging/internal/stacktrace_config.h | 91 | +++ b/absl/debugging/internal/stacktrace_config.h |
| 92 | @@ -60,7 +60,7 @@ | 92 | @@ -67,7 +67,7 @@ |
| 93 | #elif defined(__i386__) || defined(__x86_64__) | 93 | #elif defined(__i386__) || defined(__x86_64__) |
| 94 | #define ABSL_STACKTRACE_INL_HEADER \ | 94 | #define ABSL_STACKTRACE_INL_HEADER \ |
| 95 | "absl/debugging/internal/stacktrace_x86-inl.inc" | 95 | "absl/debugging/internal/stacktrace_x86-inl.inc" |
| @@ -98,6 +98,3 @@ index 3929b1b7..23d5e504 100644 | |||
| 98 | #define ABSL_STACKTRACE_INL_HEADER \ | 98 | #define ABSL_STACKTRACE_INL_HEADER \ |
| 99 | "absl/debugging/internal/stacktrace_powerpc-inl.inc" | 99 | "absl/debugging/internal/stacktrace_powerpc-inl.inc" |
| 100 | #elif defined(__aarch64__) | 100 | #elif defined(__aarch64__) |
| 101 | -- | ||
| 102 | 2.25.1 | ||
| 103 | |||
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250127.0.bb b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250127.1.bb index f217d4daf8..5368dfaada 100644 --- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250127.0.bb +++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250127.1.bb | |||
| @@ -7,15 +7,14 @@ SECTION = "libs" | |||
| 7 | LICENSE = "Apache-2.0" | 7 | LICENSE = "Apache-2.0" |
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=df52c6edb7adc22e533b2bacc3bd3915" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=df52c6edb7adc22e533b2bacc3bd3915" |
| 9 | 9 | ||
| 10 | SRCREV = "9ac7062b1860d895fb5a8cbf58c3e9ef8f674b5f" | 10 | SRCREV = "d9e4955c65cd4367dd6bf46f4ccb8cd3d100540b" |
| 11 | BRANCH = "lts_2025_01_27" | 11 | BRANCH = "lts_2025_01_27" |
| 12 | SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH};protocol=https \ | 12 | SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH};protocol=https \ |
| 13 | file://0001-absl-always-use-asm-sgidefs.h.patch \ | 13 | file://0001-absl-always-use-asm-sgidefs.h.patch \ |
| 14 | file://0002-Remove-maes-option-from-cross-compilation.patch \ | 14 | file://0002-Remove-maes-option-from-cross-compilation.patch \ |
| 15 | file://0003-Remove-neon-option-from-cross-compilation.patch \ | 15 | file://0003-Remove-neon-option-from-cross-compilation.patch \ |
| 16 | file://0004-abseil-ppc-fixes.patch \ | 16 | file://0004-abseil-ppc-fixes.patch \ |
| 17 | file://0001-Actually-use-the-hint-space-instruction-to-strip-PAC.patch \ | 17 | " |
| 18 | " | ||
| 19 | 18 | ||
| 20 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
| 21 | 20 | ||
