From 561480493fa444e263dd58557a722f186835a271 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Sat, 16 Nov 2024 02:03:21 +0000 Subject: [PATCH] Bug 1927242 - Update wasi-libc build-time check for latest LLVM trunk. r=firefox-build-system-reviewers,ahochheiden Submitted upstream at https://github.com/WebAssembly/wasi-libc/pull/546 Differential Revision: https://phabricator.services.mozilla.com/D228232 UltraBlame original commit: 9a4d10439e8016ab83773c94681e1b5c8ac5b5c2 --- taskcluster/scripts/misc/wasi-sdk.patch | 49 +++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 4 deletions(-) diff --git a/taskcluster/scripts/misc/wasi-sdk.patch b/taskcluster/scripts/misc/wasi-sdk.patch index c49f0901a5928..679cc897df6e0 100644 --- a/taskcluster/scripts/misc/wasi-sdk.patch +++ b/taskcluster/scripts/misc/wasi-sdk.patch @@ -555,7 +555,7 @@ imports 10 + 671 -18 +20 check - symbols @@ -754,6 +754,23 @@ mcpu = generic . ++ +# +TODO +: +Undefine +__wasm_nontrapping_fptoint__ +and +__wasm_bulk_memory__ +that +are ++ +# +new +to +clang +20 +. # TODO : @@ -797,8 +814,8 @@ SYSROOT_INC 691 6 + -698 -8 +700 +10 check - symbols @@ -822,6 +839,30 @@ U__wasm_multivalue__ - U__wasm_reference_types__ \ ++ +- +U__wasm_nontrapping_fptoint__ +\ ++ +( +if +( +filter +- +out +wasm32 +- +wasi +- +threads +( +TARGET_TRIPLE +) +) +- +U__wasm_bulk_memory__ +) +\ - U__GNUC__ \ @@ -835,7 +876,7 @@ U__GNUC_PATCHLEVEL__ 702 6 + -712 +716 12 check -