Skip to contentSkip to conversation

webkitgtk: allow usign clang to compile for arm target

PATCH In review João Marcos Costa 2 participants 2 messages Jun 29

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 webkitgtk: allow usign clang to compile for arm target

This commit reverts:
be459bf17d: "webkitgtk: Use gcc to compile for arm target"

The issue #132322 [1] was resolved, and the corresponding fix [2] is available in LLVM's v22.1.8 (currently used in oe-core master). It is actually available since v22.1.0.

[1] https://github.com/llvm/llvm-project/issues/132322
[2] https://github.com/llvm/llvm-project/commit/5e803587eee0

I tested it with MACHINE="qemuarm", and it builds correctly.

---
 meta/recipes-sato/webkit/webkitgtk_2.50.6.bb | 3 ---
 1 file changed, 3 deletions(-)
meta/recipes-sato/webkit/webkitgtk_2.50.6.bb +0 -3
index 5d2c970b29..0cfeaf9ae7 100644
@@ -172,9 +172,6 @@ src_package_preprocess () {
             ${B}/WebKitGTK/DerivedSources/webkit/*.cpp
 }
 
-# Clang-20 issue - https://github.com/llvm/llvm-project/issues/132322
-TOOLCHAIN:arm = "gcc"
-
 # Pass -g1 to massively reduce the size of the
 # debug symbols (4.3GB to 700M at time of writing)
 # workaround error:
Signature · 1 line
2.47.0
#1 lore raw

Looks good

Quoted 37 lines · João Marcos Costa

This commit reverts:
be459bf17d: "webkitgtk: Use gcc to compile for arm target"

The issue #132322 [1] was resolved, and the corresponding fix [2] is available in LLVM's v22.1.8 (currently used in oe-core master). It is actually available since v22.1.0.

[1] https://github.com/llvm/llvm-project/issues/132322
[2] https://github.com/llvm/llvm-project/commit/5e803587eee0

I tested it with MACHINE="qemuarm", and it builds correctly.

---
 meta/recipes-sato/webkit/webkitgtk_2.50.6.bb | 3 ---
 1 file changed, 3 deletions(-)
meta/recipes-sato/webkit/webkitgtk_2.50.6.bb +0 -2
index 5d2c970b29..0cfeaf9ae7 100644
@@ -172,9 +172,6 @@ src_package_preprocess () {
             ${B}/WebKitGTK/DerivedSources/webkit/*.cpp
 }
 
-# Clang-20 issue - https://github.com/llvm/llvm-project/issues/132322
-TOOLCHAIN:arm

<https://github.com/llvm/llvm-project/issues/132322-TOOLCHAIN:arm> = "gcc" -
# Pass -g1 to massively reduce the size of the

 # debug symbols (4.3GB to 700M at time of writing)
 # workaround error:
--
2.47.0