mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
mozjs-102: Disable mozilla stackwalk on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
Musl does not have stack unwinder like glibc therefore
|
||||||
|
we can not assume that its always available on musl, we
|
||||||
|
do need to check for target environment as well which
|
||||||
|
could be musl or glibc.
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
--- a/mozglue/misc/StackWalk.cpp
|
||||||
|
+++ b/mozglue/misc/StackWalk.cpp
|
||||||
|
@@ -44,7 +44,7 @@ using namespace mozilla;
|
||||||
|
# define MOZ_STACKWALK_SUPPORTS_MACOSX 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#if (defined(linux) && \
|
||||||
|
+#if (defined(linux) && defined(__GLIBC__) && \
|
||||||
|
((defined(__GNUC__) && (defined(__i386) || defined(PPC))) || \
|
||||||
|
defined(HAVE__UNWIND_BACKTRACE)))
|
||||||
|
# define MOZ_STACKWALK_SUPPORTS_LINUX 1
|
||||||
@@ -14,6 +14,7 @@ SRC_URI = "https://archive.mozilla.org/pub/firefox/releases/${PV}esr/source/fire
|
|||||||
file://0001-util.configure-fix-one-occasionally-reproduced-confi.patch \
|
file://0001-util.configure-fix-one-occasionally-reproduced-confi.patch \
|
||||||
file://0001-rewrite-cargo-host-linker-in-python3.patch \
|
file://0001-rewrite-cargo-host-linker-in-python3.patch \
|
||||||
file://py-3.11.patch \
|
file://py-3.11.patch \
|
||||||
|
file://musl-disable-stackwalk.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[sha256sum] = "017dd44b1285913f477074802707a4c76ed1a28270ec5a327bbb76574cc057d8"
|
SRC_URI[sha256sum] = "017dd44b1285913f477074802707a4c76ed1a28270ec5a327bbb76574cc057d8"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user