libnfs: Drop -Wno-implicit-function-declaration
PATCH 1/2 libnfs: Drop -Wno-implicit-function-declaration
clang builds work without this Workaround
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-connectivity/libnfs/libnfs_5.0.2.bb | 3 --- 1 file changed, 3 deletions(-)
meta-oe/recipes-connectivity/libnfs/libnfs_5.0.2.bb +0 -3
@@ -15,6 +15,3 @@ inherit cmake do_install:append() { rm -f ${D}${libdir}/cmake/libnfs/libnfs-config.cmake } - -# Workaround for clang -CFLAGS += "-Wno-implicit-function-declaration"
Signature · 1 line
2.42.0
PATCH 2/2 webkitgtk3: Do not use musttail with clang on arm
Fixes
https://github.com/llvm/llvm-project/issues/67767
Signed-off-by Khem Raj <[email protected]>
--- .../webkitgtk3/no-musttail-arm.patch | 21 +++++++++++++++++++ .../webkitgtk/webkitgtk3_2.42.0.bb | 1 + 2 files changed, 22 insertions(+) create mode 100644 meta-oe/recipes-support/webkitgtk/webkitgtk3/no-musttail-arm.patch
meta-oe/recipes-support/webkitgtk/webkitgtk3/no-musttail-arm.patch new file +21 -0
@@ -0,0 +1,21 @@ +clang/arm: Do not use MUST_TAIL_CALL + +This causes clang-17 to crash see [1] +this code is new in webkit 2.42[2] thats why we do not see the crash in older webkit + +[1] https://github.com/llvm/llvm-project/issues/67767 +[2] https://github.com/WebKit/WebKit/commit/4d816460b765acd8aef90ab474615850b91ecc35 + +Upstream-Status: Pending +Signed-off-by: Khem Raj <[email protected]> +--- a/Source/WTF/wtf/Compiler.h ++++ b/Source/WTF/wtf/Compiler.h +@@ -284,7 +284,7 @@ + /* MUST_TAIL_CALL */ + + #if !defined(MUST_TAIL_CALL) && defined(__cplusplus) && defined(__has_cpp_attribute) +-#if __has_cpp_attribute(clang::musttail) ++#if __has_cpp_attribute(clang::musttail) && !defined(__arm__) + #define MUST_TAIL_CALL [[clang::musttail]] + #endif + #endif
meta-oe/recipes-support/webkitgtk/webkitgtk3_2.42.0.bb +1 -0
@@ -13,6 +13,7 @@ SRC_URI = "https://www.webkitgtk.org/releases/webkitgtk-${PV}.tar.xz \ file://0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch \ file://reproducibility.patch \ file://0d3344e17d258106617b0e6d783d073b188a2548.patch \ + file://no-musttail-arm.patch \ " SRC_URI[sha256sum] = "828f95935861fae583fb8f2ae58cf64c63c178ae2b7c2d6f73070813ad64ed1b"
Signature · 1 line
2.42.0