diff options
Diffstat (limited to 'meta-oe/recipes-extended/mozjs/mozjs-115/musl-disable-stackwalk.patch')
-rw-r--r-- | meta-oe/recipes-extended/mozjs/mozjs-115/musl-disable-stackwalk.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/musl-disable-stackwalk.patch b/meta-oe/recipes-extended/mozjs/mozjs-115/musl-disable-stackwalk.patch deleted file mode 100644 index 590cddfe5f..0000000000 --- a/meta-oe/recipes-extended/mozjs/mozjs-115/musl-disable-stackwalk.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From 9aae71c6ee73431d2609be0ef74ffd4b22b36c75 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 22 Sep 2023 22:59:56 +0000 | ||
4 | Subject: [PATCH] Musl does not have stack unwinder like glibc therefore we can | ||
5 | not assume that its always available on musl, we do need to check for target | ||
6 | environment as well which could be musl or glibc. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | |||
11 | --- | ||
12 | mozglue/misc/StackWalk.cpp | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/mozglue/misc/StackWalk.cpp b/mozglue/misc/StackWalk.cpp | ||
16 | index 307715b170..a8d3cb40c0 100644 | ||
17 | --- a/mozglue/misc/StackWalk.cpp | ||
18 | +++ b/mozglue/misc/StackWalk.cpp | ||
19 | @@ -43,7 +43,7 @@ using namespace mozilla; | ||
20 | # define MOZ_STACKWALK_SUPPORTS_MACOSX 0 | ||
21 | #endif | ||
22 | |||
23 | -#if (defined(linux) && \ | ||
24 | +#if (defined(linux) && defined(__GLIBC__) && \ | ||
25 | ((defined(__GNUC__) && (defined(__i386) || defined(PPC))) || \ | ||
26 | defined(HAVE__UNWIND_BACKTRACE))) | ||
27 | # define MOZ_STACKWALK_SUPPORTS_LINUX 1 | ||