* [PATCH 1/2] flac: fix compile failed on musl
@ 2026-01-13 12:45 Hongxu Jia
2026-01-13 12:45 ` [PATCH 2/2] webkitgtk: upgrade 2.50.0 -> 2.50.4 Hongxu Jia
2026-01-19 18:07 ` [OE-core] [PATCH 1/2] flac: fix compile failed on musl Ross Burton
0 siblings, 2 replies; 7+ messages in thread
From: Hongxu Jia @ 2026-01-13 12:45 UTC (permalink / raw)
To: openembedded-core, alex, mathieu.dubois-briand
$ echo "TCLIBC = 'musl'" >> conf/local.conf
$ echo "MACHINE = 'qemux86'" >> conf/local.conf
$ bitbake flac
...
| libtool: link: (cd .libs/libFLAC++-static.lax/libFLAC-static.a && i686-oe-linux-musl-gcc-arx
"/buildarea5/hjia/oe-core/build/tmp/work/core2-32-oe-linux-musl/flac/1.5.0/build/src/libFLAC++/
../libFLAC/.libs/libFLAC-static.a")
| build/tmp/work/core2-32-oe-linux-musl/flac/1.5.0/recipe-sysroot-native/usr/bin/
i686-oe-linux-musl/../../libexec/i686-oe-linux-musl/gcc/i686-oe-linux-musl/15.2.0/ld:
.libs/metadata.o: in function `FLAC::Metadata::VorbisCo
mment::set_comment(unsigned int, FLAC::Metadata::VorbisComment::Entry const&)':
| /usr/src/debug/flac/1.5.0/src/libFLAC++/metadata.cpp:913:(.text+0x2032): undefined reference to `__stack_chk_fail_local'
...
Disable stack smash protection to workaround the failure
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
meta/recipes-multimedia/flac/flac_1.5.0.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-multimedia/flac/flac_1.5.0.bb b/meta/recipes-multimedia/flac/flac_1.5.0.bb
index d6df801aec..1813b75faa 100644
--- a/meta/recipes-multimedia/flac/flac_1.5.0.bb
+++ b/meta/recipes-multimedia/flac/flac_1.5.0.bb
@@ -26,6 +26,10 @@ EXTRA_OECONF = "--disable-oggtest \
--without-libiconv-prefix \
"
+# /usr/src/debug/flac/1.5.0/src/libFLAC++/metadata.cpp:913:
+# (.text+0x2032): undefined reference to `__stack_chk_fail_local'
+EXTRA_OECONF:append:libc-musl = " --disable-stack-smash-protection"
+
PACKAGECONFIG ??= " \
ogg \
"
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] webkitgtk: upgrade 2.50.0 -> 2.50.4
2026-01-13 12:45 [PATCH 1/2] flac: fix compile failed on musl Hongxu Jia
@ 2026-01-13 12:45 ` Hongxu Jia
2026-01-13 15:25 ` [OE-core] " Alexander Kanavin
2026-01-19 18:07 ` [OE-core] [PATCH 1/2] flac: fix compile failed on musl Ross Burton
1 sibling, 1 reply; 7+ messages in thread
From: Hongxu Jia @ 2026-01-13 12:45 UTC (permalink / raw)
To: openembedded-core, alex, mathieu.dubois-briand
Refresh patches
- 0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch
- 0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
- 0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch
- fix-ftbfs-riscv64.patch
- reproducibility.patch
- sys_futex.patch
- t6-not-declared.patch
Drop backport fix-musl-compilation.patch which already exists
in 2.50.4
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
- Fix compile failure on qemux86 [1] to
drop fix_op_instanceof_handler_for_32-bit_C-loop_build.patch,
which conflicts with upstream solution [2]
- Fix compile failure on qemuriscv64
...
Source/ThirdParty/skia/modules/skcms/src/Transform_inl.h:810:71: error: cannot tail-call: tail call production failed
810 | DECLARE_STAGE(name, arg, [[clang::musttail]] return (*list.fn)(list, ctx, src, dst, \
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
811 | r, g, b, a, i))
| ~~~~~~~~~~~~~~
...
[1] https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/2907
[2] https://github.com/WebKit/WebKit/commit/fcaa289f6015595a638eb96b9f728eaaa7b13ab8
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
...able-to-control-macro-__PAS_ALWAYS_I.patch | 8 +-
...spection.cmake-prefix-variables-obta.patch | 2 +-
...-on-RISCV-https-bugs.webkit.org-show.patch | 4 +-
.../webkit/webkitgtk/fix-ftbfs-riscv64.patch | 24 +++-
.../webkitgtk/fix-musl-compilation.patch | 94 --------------
...ceof_handler_for_32-bit_C-loop_build.patch | 122 ------------------
.../webkit/webkitgtk/reproducibility.patch | 2 +-
.../webkit/webkitgtk/sys_futex.patch | 11 +-
.../webkit/webkitgtk/t6-not-declared.patch | 6 +-
...ebkitgtk_2.50.0.bb => webkitgtk_2.50.4.bb} | 8 +-
10 files changed, 44 insertions(+), 237 deletions(-)
delete mode 100644 meta/recipes-sato/webkit/webkitgtk/fix-musl-compilation.patch
delete mode 100644 meta/recipes-sato/webkit/webkitgtk/fix_op_instanceof_handler_for_32-bit_C-loop_build.patch
rename meta/recipes-sato/webkit/{webkitgtk_2.50.0.bb => webkitgtk_2.50.4.bb} (96%)
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch b/meta/recipes-sato/webkit/webkitgtk/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch
index f990384511..a2c315a7cc 100644
--- a/meta/recipes-sato/webkit/webkitgtk/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch
@@ -1,4 +1,4 @@
-From bbf661310448d430350eb2ad8c5869ace648dcf8 Mon Sep 17 00:00:00 2001
+From ec0a881bb05e5a4eed9a71b4494e64373cdd4d25 Mon Sep 17 00:00:00 2001
From: Kai Kang <kai.kang@windriver.com>
Date: Fri, 11 Aug 2023 14:20:48 +0800
Subject: [PATCH] Add a variable to control macro
@@ -44,7 +44,7 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com>
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h b/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h
-index 5d5fb38c..a554f700 100644
+index ea511e5b..2e8df1e5 100644
--- a/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h
+++ b/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h
@@ -44,7 +44,7 @@ __PAS_BEGIN_EXTERN_C;
@@ -57,10 +57,10 @@ index 5d5fb38c..a554f700 100644
#else
#define __PAS_ALWAYS_INLINE_BUT_NOT_INLINE
diff --git a/Source/cmake/WebKitCompilerFlags.cmake b/Source/cmake/WebKitCompilerFlags.cmake
-index f5ec0a55..dfd741e7 100644
+index 77a292fb..bf53d809 100644
--- a/Source/cmake/WebKitCompilerFlags.cmake
+++ b/Source/cmake/WebKitCompilerFlags.cmake
-@@ -503,3 +503,10 @@ endif ()
+@@ -512,3 +512,10 @@ endif ()
# FIXME: Enable pre-compiled headers for all ports <https://webkit.org/b/139438>
set(CMAKE_DISABLE_PRECOMPILE_HEADERS ON)
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch b/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
index b11a18ba22..56d532749a 100644
--- a/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
@@ -1,4 +1,4 @@
-From e0dfc113b016227da8a654d625e8f568b56761d0 Mon Sep 17 00:00:00 2001
+From 14b50f50e1c8198f3a14767b8d62e25093babe51 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 27 Oct 2015 16:02:19 +0200
Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch
index 40a7133052..66ffd1266b 100644
--- a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch
@@ -1,4 +1,4 @@
-From 984538dcce7b184269efc1e1b0fb78e1cb932b5d Mon Sep 17 00:00:00 2001
+From 7fe5b5ef35441a2e40cac13a51c6af10afa1dbe2 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 21 Mar 2025 01:21:22 -0700
Subject: [PATCH] Fix build errors on RISCV
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 1 insertion(+)
diff --git a/Source/WebCore/contentextensions/ContentExtensionActions.h b/Source/WebCore/contentextensions/ContentExtensionActions.h
-index 0b75d2e1df78..61cb33c94ce8 100644
+index a600f410..80512454 100644
--- a/Source/WebCore/contentextensions/ContentExtensionActions.h
+++ b/Source/WebCore/contentextensions/ContentExtensionActions.h
@@ -28,6 +28,7 @@
diff --git a/meta/recipes-sato/webkit/webkitgtk/fix-ftbfs-riscv64.patch b/meta/recipes-sato/webkit/webkitgtk/fix-ftbfs-riscv64.patch
index e436896098..82eb56a0f6 100644
--- a/meta/recipes-sato/webkit/webkitgtk/fix-ftbfs-riscv64.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/fix-ftbfs-riscv64.patch
@@ -1,13 +1,23 @@
+From 9d09d47c01b8ee92a02662d58d2570160064fa5d Mon Sep 17 00:00:00 2001
From: Alberto Garcia <berto@igalia.com>
-Description: Use WTF_CPU_UNKNOWN when building for riscv64
- WebKitGTK doesn't build on riscv64 even with the JIT disabled.
- Treating the CPU as unknown is perhaps a bit severe, but it allows us
- to get the build done until someone steps up to maintain this
- properly.
+Date: Fri, 19 Dec 2025 10:10:41 +0000
+Subject: Use WTF_CPU_UNKNOWN when building for riscv64
+
+WebKitGTK doesn't build on riscv64 even with the JIT disabled.
+Treating the CPU as unknown is perhaps a bit severe, but it allows us
+to get the build done until someone steps up to maintain this
+properly.
Bug: https://bugs.webkit.org/show_bug.cgi?id=271371
Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=271371#c1]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ Source/WTF/wtf/PlatformCPU.h | 8 --------
+ Source/cmake/WebKitCommon.cmake | 2 --
+ 2 files changed, 10 deletions(-)
+
+diff --git a/Source/WTF/wtf/PlatformCPU.h b/Source/WTF/wtf/PlatformCPU.h
+index 8aac1024..d9d69a40 100644
--- a/Source/WTF/wtf/PlatformCPU.h
+++ b/Source/WTF/wtf/PlatformCPU.h
@@ -286,14 +286,6 @@
@@ -25,9 +35,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
#if !CPU(KNOWN)
#define WTF_CPU_UNKNOWN 1
#endif
+diff --git a/Source/cmake/WebKitCommon.cmake b/Source/cmake/WebKitCommon.cmake
+index 98ee788a..3861c0a4 100644
--- a/Source/cmake/WebKitCommon.cmake
+++ b/Source/cmake/WebKitCommon.cmake
-@@ -125,8 +125,6 @@ if (NOT HAS_RUN_WEBKIT_COMMON)
+@@ -129,8 +129,6 @@ if (NOT HAS_RUN_WEBKIT_COMMON)
set(WTF_CPU_PPC64 1)
elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64le")
set(WTF_CPU_PPC64LE 1)
diff --git a/meta/recipes-sato/webkit/webkitgtk/fix-musl-compilation.patch b/meta/recipes-sato/webkit/webkitgtk/fix-musl-compilation.patch
deleted file mode 100644
index c0112cad18..0000000000
--- a/meta/recipes-sato/webkit/webkitgtk/fix-musl-compilation.patch
+++ /dev/null
@@ -1,94 +0,0 @@
-From 820e4bb46d7e72ba2b14b15819166919c2e81205 Mon Sep 17 00:00:00 2001
-From: Adrian Perez de Castro <aperez@igalia.com>
-Date: Wed, 15 Oct 2025 00:58:59 +0300
-Subject: [PATCH] [libpas] Build fails with libc implementations that lack
- execinfo.h https://bugs.webkit.org/show_bug.cgi?id=300701
-
-Reviewed by NOBODY (OOPS!).
-
-Change guards to use backtrace() and execinfo.h on Linux only when using
-glibc as the C library. The PlayStation and Windows cases no longer need
-to be matched, as they are neither Linux nor Darwin, both of which are now
-explicitly listed. The Android check is kept as it was.
-
-* Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c:
-* Source/bmalloc/libpas/src/test/PGMTests.cpp:
-(addPGMTests):
-
-
-Fixes the following error in OE, when compiled with musl:
-
-| ${UNPACKDIR}/webkitgtk-2.50.0/Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c:52:10: fatal error: execinfo.h: No such file or directory
-| 52 | #include <execinfo.h>
-
-
-Upstream-Status: Backport [https://github.com/WebKit/WebKit/pull/52300]
-Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
-
----
- .../pas_probabilistic_guard_malloc_allocator.c | 4 ++--
- Source/bmalloc/libpas/src/test/PGMTests.cpp | 13 ++++++-------
- 2 files changed, 8 insertions(+), 9 deletions(-)
-
-diff --git a/Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c b/Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c
-index ff3adefa7dcc..58ec32eb4fed 100644
---- a/Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c
-+++ b/Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c
-@@ -43,8 +43,8 @@
- #include <unistd.h>
- #endif
-
--/* PlayStation does not currently support the backtrace API. Android API versions < 33 don't, either. Windows does not either. */
--#if !PAS_PLATFORM(PLAYSTATION) && (!PAS_OS(ANDROID) || __ANDROID_API__ >= 33) && !PAS_OS(WINDOWS)
-+/* PlayStation does not currently support the backtrace API. Android API versions < 33 don't, either. Windows does not either. Linux only with GLibc and not uCLibc/Musl. */
-+#if (PAS_OS(ANDROID) && __ANDROID_API__ >= 33) || PAS_OS(DARWIN) || (PAS_OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))
- #include <execinfo.h>
- #else
- size_t backtrace(void** buffer, size_t size)
-diff --git a/Source/bmalloc/libpas/src/test/PGMTests.cpp b/Source/bmalloc/libpas/src/test/PGMTests.cpp
-index 0432f46ba3b0..dfbf957a3421 100644
---- a/Source/bmalloc/libpas/src/test/PGMTests.cpp
-+++ b/Source/bmalloc/libpas/src/test/PGMTests.cpp
-@@ -43,9 +43,9 @@
- #include "pas_report_crash.h"
- #include "pas_root.h"
-
--#if !PAS_PLATFORM(PLAYSTATION)
-+#if (PAS_OS(ANDROID) && __ANDROID_API__ >= 33) || PAS_OS(DARWIN) || (PAS_OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))
- #include <execinfo.h>
--#endif // !PAS_PLATFORM(PLAYSTATION)
-+#endif
-
- using namespace std;
-
-@@ -383,8 +383,7 @@ void testPGMMetadataVectorManagementFewDeallocations()
- pas_heap_lock_unlock();
- }
-
--/* Backtrace API is currently not supported on PlayStation. */
--#if !PAS_PLATFORM(PLAYSTATION)
-+#if (PAS_OS(ANDROID) && __ANDROID_API__ >= 33) || PAS_OS(DARWIN) || (PAS_OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))
- void testPGMMetadataDoubleFreeBehavior()
- {
- pas_probabilistic_guard_malloc_initialize_pgm_as_enabled(1);
-@@ -583,7 +582,7 @@ void testPGMAllocMetadataOnly()
- CHECK(!dealloc_metadata);
- }
- }
--#endif // !PAS_PLATFORM(PLAYSTATION)
-+#endif
-
- } // anonymous namespace
-
-@@ -598,9 +597,9 @@ void addPGMTests()
- ADD_TEST(testPGMMetadataVectorManagement());
- ADD_TEST(testPGMMetadataVectorManagementFewDeallocations());
- ADD_TEST(testPGMMetadataVectorManagementRehash());
--#if !PAS_PLATFORM(PLAYSTATION)
-+#if (PAS_OS(ANDROID) && __ANDROID_API__ >= 33) || PAS_OS(DARWIN) || (PAS_OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))
- ADD_TEST(testPGMMetadataDoubleFreeBehavior());
- ADD_TEST(testPGMBmallocAllocationBacktrace());
- ADD_TEST(testPGMAllocMetadataOnly());
--#endif // !PAS_PLATFORM(PLAYSTATION)
-+#endif
- }
diff --git a/meta/recipes-sato/webkit/webkitgtk/fix_op_instanceof_handler_for_32-bit_C-loop_build.patch b/meta/recipes-sato/webkit/webkitgtk/fix_op_instanceof_handler_for_32-bit_C-loop_build.patch
deleted file mode 100644
index aa3b53e1bb..0000000000
--- a/meta/recipes-sato/webkit/webkitgtk/fix_op_instanceof_handler_for_32-bit_C-loop_build.patch
+++ /dev/null
@@ -1,122 +0,0 @@
-From 0000000000000000000000000000000000000000 Fri Sep 19 11:55:30 2025
-From: amaxcz <amaxcz@gmail.com>
-Date: Fri, 19 Sep 2025 11:55:30 +0000
-Subject: [PATCH] JSC: fix op_instanceof handler for 32-bit C-loop build
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-JSC: fix op_instanceof handler for 32-bit C-loop build
-
-Fixes missing 'op_instanceof' handler in LowLevelInterpreter32_64.asm
-which breaks 32‑bit builds.
-
-* No ChangeLog (raw external patch).
-
-Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=299166]
-Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
-
---- ./Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2025-08-08 11:17:51.552549400 +0200
-+++ ./Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2025-09-19 12:34:26.253563496 +0200
-@@ -3445,4 +3445,97 @@
- slowPathOp(mod)
-
- llintSlowPathOp(has_structure_with_flags)
--llintSlowPathOp(instanceof)
-+
-+llintOpWithMetadata(op_instanceof, OpInstanceof, macro (size, get, dispatch, metadata, return)
-+
-+ macro getAndLoadConstantOrVariable(fieldName, tagReg, payloadReg)
-+ get(fieldName, t5)
-+ loadConstantOrVariable(size, t5, tagReg, payloadReg)
-+ end
-+
-+ macro isObject(field, falseLabel)
-+ getAndLoadConstantOrVariable(field, t0, t1)
-+ bineq t0, CellTag, falseLabel
-+ bbneq JSCell::m_type[t1], ObjectType, falseLabel
-+ end
-+
-+ macro overridesHasInstance(hasInstanceField, constructorField, trueLabel)
-+ getAndLoadConstantOrVariable(hasInstanceField, t0, t1)
-+ bineq t0, CellTag, trueLabel
-+ loadp CodeBlock[cfr], t2
-+ loadp CodeBlock::m_globalObject[t2], t2
-+ loadp JSGlobalObject::m_functionProtoHasInstanceSymbolFunction[t2], t2
-+ bpneq t1, t2, trueLabel
-+
-+ get(constructorField, t5)
-+ loadConstantOrVariablePayload(size, t5, CellTag, t1, trueLabel)
-+ btbz JSCell::m_flags[t1], ImplementsDefaultHasInstance, trueLabel
-+ end
-+
-+ macro storeValue(tagReg, payloadReg, fieldName)
-+ move tagReg, t0
-+ move payloadReg, t1
-+ get(fieldName, t5)
-+ storei t0, TagOffset[cfr, t5, 8]
-+ storei t1, PayloadOffset[cfr, t5, 8]
-+ end
-+
-+.getHasInstance:
-+ isObject(m_constructor, .throwStaticError)
-+ get(m_constructor, t5)
-+ metadata(t2, t6)
-+ loadConstantOrVariablePayload(size, t5, CellTag, t3, .getHasInstanceSlow)
-+ performGetByIDHelper(OpInstanceof, m_hasInstanceModeMetadata, m_hasInstanceValueProfile, .getHasInstanceSlow, size,
-+ macro (resultTag, resultPayload)
-+ storeValue(resultTag, resultPayload, m_hasInstanceOrPrototype)
-+ jmp .getPrototype
-+ end)
-+ jmp .getPrototype
-+
-+.getHasInstanceSlow:
-+ callSlowPath(_llint_slow_path_get_hasInstance_from_instanceof)
-+ branchIfException(_llint_throw_from_slow_path_trampoline)
-+ jmp .getPrototype
-+
-+.getHasInstanceInlinedGetterOSRReturnPoint:
-+ # This path is taken when exiting to the LLInt from an inlined getter for Symbol.hasInstance.
-+ getterSetterOSRExitReturnPoint(op_instanceof, size)
-+ valueProfile(size, OpInstanceof, m_hasInstanceValueProfile, r1, r0, t2)
-+ storeValue(r1, r0, m_hasInstanceOrPrototype)
-+
-+.getPrototype:
-+ overridesHasInstance(m_hasInstanceOrPrototype, m_constructor, .instanceofCustom)
-+ isObject(m_value, .false)
-+ get(m_constructor, t5)
-+ metadata(t2, t6)
-+ loadConstantOrVariablePayload(size, t5, CellTag, t3, .getPrototypeSlow)
-+ performGetByIDHelper(OpInstanceof, m_prototypeModeMetadata, m_prototypeValueProfile, .getPrototypeSlow, size,
-+ macro (resultTag, resultPayload)
-+ storeValue(resultTag, resultPayload, m_hasInstanceOrPrototype)
-+ jmp .instanceof
-+ end)
-+ jmp .instanceof
-+
-+.getPrototypeSlow:
-+ callSlowPath(_llint_slow_path_get_prototype_from_instanceof)
-+ branchIfException(_llint_throw_from_slow_path_trampoline)
-+ jmp .instanceof
-+
-+.instanceof:
-+ callSlowPath(_llint_slow_path_instanceof_from_instanceof)
-+ dispatch()
-+
-+.throwStaticError:
-+ callSlowPath(_slow_path_throw_static_error_from_instanceof)
-+ dispatch()
-+
-+.instanceofCustom:
-+ callSlowPath(_slow_path_instanceof_custom_from_instanceof)
-+ dispatch()
-+
-+.false:
-+ get(m_dst, t5)
-+ storei BooleanTag, TagOffset[cfr, t5, 8]
-+ storei 0, PayloadOffset[cfr, t5, 8]
-+ dispatch()
-+end)
-
---
-2.45.0
diff --git a/meta/recipes-sato/webkit/webkitgtk/reproducibility.patch b/meta/recipes-sato/webkit/webkitgtk/reproducibility.patch
index 436ad2f02c..14784a38a0 100644
--- a/meta/recipes-sato/webkit/webkitgtk/reproducibility.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/reproducibility.patch
@@ -1,4 +1,4 @@
-From 65e9a68c9d05f4902c2fc34303b7f8233ffa98d5 Mon Sep 17 00:00:00 2001
+From d8a41103d268c7d7de12326a15642508c3541d85 Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Mon, 3 Jan 2022 14:18:34 +0000
Subject: [PATCH] webkitgtk: Add reproducibility fix
diff --git a/meta/recipes-sato/webkit/webkitgtk/sys_futex.patch b/meta/recipes-sato/webkit/webkitgtk/sys_futex.patch
index 19d18dea88..c473e81705 100644
--- a/meta/recipes-sato/webkit/webkitgtk/sys_futex.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/sys_futex.patch
@@ -1,7 +1,16 @@
-Fix build on newer 32bit architectures with only 64bit time_t
+From 5a82a729903fcd6943334c160838a143dc9a3b3c Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 18 Dec 2024 20:24:22 -0800
+Subject: [PATCH] Fix build on newer 32bit architectures with only 64bit time_t
Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/angle/angle/+/6108397]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp b/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp
+index 4ed0af51..11feda6c 100644
--- a/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp
+++ b/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp
@@ -17,6 +17,9 @@
diff --git a/meta/recipes-sato/webkit/webkitgtk/t6-not-declared.patch b/meta/recipes-sato/webkit/webkitgtk/t6-not-declared.patch
index 4b0cf364d8..97af0bce8f 100644
--- a/meta/recipes-sato/webkit/webkitgtk/t6-not-declared.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/t6-not-declared.patch
@@ -1,4 +1,4 @@
-From 29431aec88764072a032aa4411e26e566a3a6c0b Mon Sep 17 00:00:00 2001
+From 367cc1e4bdb122a72666314abdb09dad266fd8a6 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@redhat.com>
Date: Mon, 5 Feb 2024 11:00:49 -0600
Subject: [PATCH] =?UTF-8?q?LowLevelInterpreter.cpp:339:21:=20error:=20?=
@@ -21,10 +21,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 2 deletions(-)
diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
-index 76c46889..500be433 100644
+index d80e882a..84448df2 100644
--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
+++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
-@@ -336,8 +336,6 @@ JSValue CLoop::execute(OpcodeID entryOpcodeID, void* executableAddress, VM* vm,
+@@ -340,8 +340,6 @@ JSValue CLoop::execute(OpcodeID entryOpcodeID, void* executableAddress, VM* vm,
UNUSED_VARIABLE(t2);
UNUSED_VARIABLE(t3);
UNUSED_VARIABLE(t5);
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.50.0.bb b/meta/recipes-sato/webkit/webkitgtk_2.50.4.bb
similarity index 96%
rename from meta/recipes-sato/webkit/webkitgtk_2.50.0.bb
rename to meta/recipes-sato/webkit/webkitgtk_2.50.4.bb
index b4173c08dd..54ac1463b2 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.50.0.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.50.4.bb
@@ -17,10 +17,8 @@ SRC_URI = "https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
file://sys_futex.patch \
file://0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch \
file://fix-ftbfs-riscv64.patch \
- file://fix-musl-compilation.patch \
- file://fix_op_instanceof_handler_for_32-bit_C-loop_build.patch \
"
-SRC_URI[sha256sum] = "e564b8099f9a3ae32409539b290bbd2ad084e99b6d22d4aac5e51e4554df8bc2"
+SRC_URI[sha256sum] = "d3bfa473845acfab72635bada5e0d134fda6792c5b95c5c5cd141b46125bd8e4"
inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gi-docgen
@@ -109,6 +107,10 @@ CXXFLAGS:append:arc = " -mlong-calls"
# Needed for non-mesa graphics stacks when x11 is disabled
CXXFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}"
+# Fix Source/ThirdParty/skia/modules/skcms/src/Transform_inl.h:810:71:
+# error: cannot tail-call: tail call production failed
+CXXFLAGS:append:riscv64 = " -DSKCMS_HAS_MUSTTAIL=0"
+
# Javascript JIT is not supported on powerpc
EXTRA_OECMAKE:append:powerpc = " -DENABLE_JIT=OFF "
EXTRA_OECMAKE:append:powerpc64 = " -DENABLE_JIT=OFF "
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [OE-core] [PATCH 2/2] webkitgtk: upgrade 2.50.0 -> 2.50.4
2026-01-13 12:45 ` [PATCH 2/2] webkitgtk: upgrade 2.50.0 -> 2.50.4 Hongxu Jia
@ 2026-01-13 15:25 ` Alexander Kanavin
2026-01-14 2:15 ` Hongxu Jia
[not found] ` <188A774745AD7FE0.3093368@lists.openembedded.org>
0 siblings, 2 replies; 7+ messages in thread
From: Alexander Kanavin @ 2026-01-13 15:25 UTC (permalink / raw)
To: hongxu.jia; +Cc: openembedded-core, alex, mathieu.dubois-briand
On Tue, 13 Jan 2026 at 13:45, hongxu via lists.openembedded.org
<hongxu.jia=windriver.com@lists.openembedded.org> wrote:
> Drop backport fix-musl-compilation.patch which already exists
> in 2.50.4
>
> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
>
> - Fix compile failure on qemux86 [1] to
> drop fix_op_instanceof_handler_for_32-bit_C-loop_build.patch,
> which conflicts with upstream solution [2]
>
> - Fix compile failure on qemuriscv64
> ...
> Source/ThirdParty/skia/modules/skcms/src/Transform_inl.h:810:71: error: cannot tail-call: tail call production failed
> 810 | DECLARE_STAGE(name, arg, [[clang::musttail]] return (*list.fn)(list, ctx, src, dst, \
> | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
> 811 | r, g, b, a, i))
> | ~~~~~~~~~~~~~~
> ...
>
> [1] https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/2907
> [2] https://github.com/WebKit/WebKit/commit/fcaa289f6015595a638eb96b9f728eaaa7b13ab8
>
> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> +# Fix Source/ThirdParty/skia/modules/skcms/src/Transform_inl.h:810:71:
> +# error: cannot tail-call: tail call production failed
> +CXXFLAGS:append:riscv64 = " -DSKCMS_HAS_MUSTTAIL=0"
Thanks for completing the update. Perhaps this last risc-v tweak
should be reported with an upstream ticket?
Alex
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [OE-core] [PATCH 2/2] webkitgtk: upgrade 2.50.0 -> 2.50.4
2026-01-13 15:25 ` [OE-core] " Alexander Kanavin
@ 2026-01-14 2:15 ` Hongxu Jia
[not found] ` <188A774745AD7FE0.3093368@lists.openembedded.org>
1 sibling, 0 replies; 7+ messages in thread
From: Hongxu Jia @ 2026-01-14 2:15 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: openembedded-core, alex, mathieu.dubois-briand
On 1/13/26 23:25, Alexander Kanavin wrote:
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
> On Tue, 13 Jan 2026 at 13:45, hongxu via lists.openembedded.org
> <hongxu.jia=windriver.com@lists.openembedded.org> wrote:
>> Drop backport fix-musl-compilation.patch which already exists
>> in 2.50.4
>>
>> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
>>
>> - Fix compile failure on qemux86 [1] to
>> drop fix_op_instanceof_handler_for_32-bit_C-loop_build.patch,
>> which conflicts with upstream solution [2]
>>
>> - Fix compile failure on qemuriscv64
>> ...
>> Source/ThirdParty/skia/modules/skcms/src/Transform_inl.h:810:71: error: cannot tail-call: tail call production failed
>> 810 | DECLARE_STAGE(name, arg, [[clang::musttail]] return (*list.fn)(list, ctx, src, dst, \
>> | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
>> 811 | r, g, b, a, i))
>> | ~~~~~~~~~~~~~~
>> ...
>>
>> [1] https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/2907
>> [2] https://github.com/WebKit/WebKit/commit/fcaa289f6015595a638eb96b9f728eaaa7b13ab8
>>
>> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
>> +# Fix Source/ThirdParty/skia/modules/skcms/src/Transform_inl.h:810:71:
>> +# error: cannot tail-call: tail call production failed
>> +CXXFLAGS:append:riscv64 = " -DSKCMS_HAS_MUSTTAIL=0"
> Thanks for completing the update. Perhaps this last risc-v tweak
> should be reported with an upstream ticket?
Sure, I will try it later
//Hongxu
> Alex
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [OE-core] [PATCH 2/2] webkitgtk: upgrade 2.50.0 -> 2.50.4
[not found] ` <188A774745AD7FE0.3093368@lists.openembedded.org>
@ 2026-01-19 2:26 ` Hongxu Jia
2026-01-19 12:45 ` Alexander Kanavin
0 siblings, 1 reply; 7+ messages in thread
From: Hongxu Jia @ 2026-01-19 2:26 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: openembedded-core, alex, mathieu.dubois-briand
Ping,
On 1/14/26 10:15, hongxu via lists.openembedded.org wrote:
> On 1/13/26 23:25, Alexander Kanavin wrote:
>> CAUTION: This email comes from a non Wind River email account!
>> Do not click links or open attachments unless you recognize the
>> sender and know the content is safe.
>>
>> On Tue, 13 Jan 2026 at 13:45, hongxu via lists.openembedded.org
>> <hongxu.jia=windriver.com@lists.openembedded.org> wrote:
>>> Drop backport fix-musl-compilation.patch which already exists
>>> in 2.50.4
>>>
>>> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
>>>
>>> - Fix compile failure on qemux86 [1] to
>>> drop fix_op_instanceof_handler_for_32-bit_C-loop_build.patch,
>>> which conflicts with upstream solution [2]
>>>
>>> - Fix compile failure on qemuriscv64
>>> ...
>>> Source/ThirdParty/skia/modules/skcms/src/Transform_inl.h:810:71:
>>> error: cannot tail-call: tail call production failed
>>> 810 | DECLARE_STAGE(name, arg, [[clang::musttail]] return
>>> (*list.fn)(list, ctx, src, dst, \
>>> | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
>>> 811 | r, g, b, a, i))
>>> | ~~~~~~~~~~~~~~
>>> ...
>>>
>>> [1]
>>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/2907
>>> [2]
>>> https://github.com/WebKit/WebKit/commit/fcaa289f6015595a638eb96b9f728eaaa7b13ab8
>>>
>>> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
>>> +# Fix Source/ThirdParty/skia/modules/skcms/src/Transform_inl.h:810:71:
>>> +# error: cannot tail-call: tail call production failed
>>> +CXXFLAGS:append:riscv64 = " -DSKCMS_HAS_MUSTTAIL=0"
>> Thanks for completing the update. Perhaps this last risc-v tweak
>> should be reported with an upstream ticket?
>
> Sure, I will try it later
>
File https://bugs.webkit.org/show_bug.cgi?id=305745 for upstream
//Hongxu
> //Hongxu
>
>> Alex
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#229301): https://lists.openembedded.org/g/openembedded-core/message/229301
> Mute This Topic: https://lists.openembedded.org/mt/117242049/3617049
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [hongxu.jia@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [OE-core] [PATCH 2/2] webkitgtk: upgrade 2.50.0 -> 2.50.4
2026-01-19 2:26 ` Hongxu Jia
@ 2026-01-19 12:45 ` Alexander Kanavin
0 siblings, 0 replies; 7+ messages in thread
From: Alexander Kanavin @ 2026-01-19 12:45 UTC (permalink / raw)
To: hongxu.jia; +Cc: openembedded-core, alex, mathieu.dubois-briand
On Mon, 19 Jan 2026 at 03:26, hongxu via lists.openembedded.org
<hongxu.jia=windriver.com@lists.openembedded.org> wrote:
> >>> +# Fix Source/ThirdParty/skia/modules/skcms/src/Transform_inl.h:810:71:
> >>> +# error: cannot tail-call: tail call production failed
> >>> +CXXFLAGS:append:riscv64 = " -DSKCMS_HAS_MUSTTAIL=0"
> >> Thanks for completing the update. Perhaps this last risc-v tweak
> >> should be reported with an upstream ticket?
> >
> > Sure, I will try it later
> >
> File https://bugs.webkit.org/show_bug.cgi?id=305745 for upstream
Can you include this link into the patch and resend please?
Alex
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [OE-core] [PATCH 1/2] flac: fix compile failed on musl
2026-01-13 12:45 [PATCH 1/2] flac: fix compile failed on musl Hongxu Jia
2026-01-13 12:45 ` [PATCH 2/2] webkitgtk: upgrade 2.50.0 -> 2.50.4 Hongxu Jia
@ 2026-01-19 18:07 ` Ross Burton
1 sibling, 0 replies; 7+ messages in thread
From: Ross Burton @ 2026-01-19 18:07 UTC (permalink / raw)
To: hongxu.jia@windriver.com; +Cc: openembedded-core@lists.openembedded.org
> On 13 Jan 2026, at 12:45, hongxu via lists.openembedded.org <hongxu.jia=windriver.com@lists.openembedded.org> wrote:
>
> $ echo "TCLIBC = 'musl'" >> conf/local.conf
> $ echo "MACHINE = 'qemux86'" >> conf/local.conf
> $ bitbake flac
> ...
> | libtool: link: (cd .libs/libFLAC++-static.lax/libFLAC-static.a && i686-oe-linux-musl-gcc-arx
> "/buildarea5/hjia/oe-core/build/tmp/work/core2-32-oe-linux-musl/flac/1.5.0/build/src/libFLAC++/
> ../libFLAC/.libs/libFLAC-static.a")
> | build/tmp/work/core2-32-oe-linux-musl/flac/1.5.0/recipe-sysroot-native/usr/bin/
> i686-oe-linux-musl/../../libexec/i686-oe-linux-musl/gcc/i686-oe-linux-musl/15.2.0/ld:
> .libs/metadata.o: in function `FLAC::Metadata::VorbisCo
> mment::set_comment(unsigned int, FLAC::Metadata::VorbisComment::Entry const&)':
> | /usr/src/debug/flac/1.5.0/src/libFLAC++/metadata.cpp:913:(.text+0x2032): undefined reference to `__stack_chk_fail_local'
> ...
>
> Disable stack smash protection to workaround the failure
Disabling stack smash protection in a library whose sole job is to parse untrusted files sounds dangerous. Can we just fix the linkage instead?
If this is a case where musl doesn’t implement enough support for GCC’s functionality then the disabling should probably be done globally in security_flags.inc with good references as to why that is being done.
Ross
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-01-19 18:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-13 12:45 [PATCH 1/2] flac: fix compile failed on musl Hongxu Jia
2026-01-13 12:45 ` [PATCH 2/2] webkitgtk: upgrade 2.50.0 -> 2.50.4 Hongxu Jia
2026-01-13 15:25 ` [OE-core] " Alexander Kanavin
2026-01-14 2:15 ` Hongxu Jia
[not found] ` <188A774745AD7FE0.3093368@lists.openembedded.org>
2026-01-19 2:26 ` Hongxu Jia
2026-01-19 12:45 ` Alexander Kanavin
2026-01-19 18:07 ` [OE-core] [PATCH 1/2] flac: fix compile failed on musl Ross Burton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox