From 789e2dc1360e998a0735052f5350636500d30099 Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Tue, 29 Jul 2025 16:48:33 +0100 Subject: [PATCH] wasi-sdk-27. --- embed/bcw2/build.sh | 3 ++- embed/build.sh | 3 ++- sqlite3/libc/build.sh | 3 ++- sqlite3/tools.sh | 2 +- util/sql3util/wasm/build.sh | 3 ++- vfs/tests/mptest/wasm/build.sh | 3 ++- vfs/tests/speedtest1/wasm/build.sh | 3 ++- 7 files changed, 13 insertions(+), 7 deletions(-) diff --git a/embed/bcw2/build.sh b/embed/bcw2/build.sh index b3d4a0e..f244c06 100755 --- a/embed/bcw2/build.sh +++ b/embed/bcw2/build.sh @@ -49,7 +49,8 @@ cd ~- -mmutable-globals -mnontrapping-fptoint \ -msimd128 -mbulk-memory -msign-ext \ -mreference-types -mmultivalue \ - -fno-stack-protector -fno-stack-clash-protection \ + -mno-extended-const \ + -fno-stack-protector \ -Wl,--stack-first \ -Wl,--import-undefined \ -Wl,--initial-memory=327680 \ diff --git a/embed/build.sh b/embed/build.sh index c96a186..e078c10 100755 --- a/embed/build.sh +++ b/embed/build.sh @@ -17,7 +17,8 @@ trap 'rm -f sqlite3.tmp' EXIT -mmutable-globals -mnontrapping-fptoint \ -msimd128 -mbulk-memory -msign-ext \ -mreference-types -mmultivalue \ - -fno-stack-protector -fno-stack-clash-protection \ + -mno-extended-const \ + -fno-stack-protector \ -Wl,--stack-first \ -Wl,--import-undefined \ -Wl,--initial-memory=327680 \ diff --git a/sqlite3/libc/build.sh b/sqlite3/libc/build.sh index 4e13232..794ca77 100755 --- a/sqlite3/libc/build.sh +++ b/sqlite3/libc/build.sh @@ -22,7 +22,8 @@ EOF -mmutable-globals -mnontrapping-fptoint \ -msimd128 -mbulk-memory -msign-ext \ -mreference-types -mmultivalue \ - -fno-stack-protector -fno-stack-clash-protection \ + -mno-extended-const \ + -fno-stack-protector \ -Wl,-z,stack-size=4096 \ -Wl,--stack-first \ -Wl,--import-undefined \ diff --git a/sqlite3/tools.sh b/sqlite3/tools.sh index 6edff65..149fb77 100755 --- a/sqlite3/tools.sh +++ b/sqlite3/tools.sh @@ -26,7 +26,7 @@ elif [[ "$OSTYPE" == "darwin"* ]]; then fi fi -WASI_SDK="https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/wasi-sdk-25.0-$WASI_SDK.tar.gz" +WASI_SDK="https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-27/wasi-sdk-27.0-$WASI_SDK.tar.gz" BINARYEN="https://github.com/WebAssembly/binaryen/releases/download/version_123/binaryen-version_123-$BINARYEN.tar.gz" # Download tools diff --git a/util/sql3util/wasm/build.sh b/util/sql3util/wasm/build.sh index 4146943..3310e90 100755 --- a/util/sql3util/wasm/build.sh +++ b/util/sql3util/wasm/build.sh @@ -17,7 +17,8 @@ trap 'rm -f sql3parse_table.tmp' EXIT -mmutable-globals -mnontrapping-fptoint \ -msimd128 -mbulk-memory -msign-ext \ -mreference-types -mmultivalue \ - -fno-stack-protector -fno-stack-clash-protection \ + -mno-extended-const \ + -fno-stack-protector \ -Wl,--stack-first \ -Wl,--import-undefined \ -Wl,--export=sql3parse_table diff --git a/vfs/tests/mptest/wasm/build.sh b/vfs/tests/mptest/wasm/build.sh index 151c8cc..03ee45a 100755 --- a/vfs/tests/mptest/wasm/build.sh +++ b/vfs/tests/mptest/wasm/build.sh @@ -13,7 +13,8 @@ WASI_SDK="$ROOT/tools/wasi-sdk/bin" -mmutable-globals -mnontrapping-fptoint \ -msimd128 -mbulk-memory -msign-ext \ -mreference-types -mmultivalue \ - -fno-stack-protector -fno-stack-clash-protection \ + -mno-extended-const \ + -fno-stack-protector \ -Wl,--stack-first \ -Wl,--import-undefined \ -D_HAVE_SQLITE_CONFIG_H -DSQLITE_USE_URI \ diff --git a/vfs/tests/speedtest1/wasm/build.sh b/vfs/tests/speedtest1/wasm/build.sh index 1b2d548..39e1c49 100755 --- a/vfs/tests/speedtest1/wasm/build.sh +++ b/vfs/tests/speedtest1/wasm/build.sh @@ -13,7 +13,8 @@ WASI_SDK="$ROOT/tools/wasi-sdk/bin" -mmutable-globals -mnontrapping-fptoint \ -msimd128 -mbulk-memory -msign-ext \ -mreference-types -mmultivalue \ - -fno-stack-protector -fno-stack-clash-protection \ + -mno-extended-const \ + -fno-stack-protector \ -Wl,--stack-first \ -Wl,--import-undefined \ -D_HAVE_SQLITE_CONFIG_H -DSQLITE_USE_URI \