From 781654add05ac967f1e338220feba39d36371b08 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 05:12:32 +0200 Subject: Adding debian version 0.0~git20230821.ec4566b-1. Signed-off-by: Daniel Baumann --- debian/changelog | 7 +++++++ debian/control | 2 +- debian/patches/llvm-17-compat.patch | 12 ++++++++++++ debian/patches/series | 1 + debian/rules | 6 +++--- 5 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 debian/patches/llvm-17-compat.patch diff --git a/debian/changelog b/debian/changelog index 9cf58b7..899d951 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +wasi-libc (0.0~git20230821.ec4566b-1) experimental; urgency=medium + + * new upstream version needed for rustc 1.73+ + * switch to LLVM 17 + + -- Fabian Grünbichler Mon, 27 May 2024 14:49:41 +0200 + wasi-libc (0.0~git20230621.7018e24-2) unstable; urgency=medium * upload to unstable diff --git a/debian/control b/debian/control index d386211..3346493 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: Debian Rust Maintainers , Fabian Grünbichler -Build-Depends: debhelper-compat (= 13), clang-16, llvm-16 +Build-Depends: debhelper-compat (= 13), clang-17, llvm-17 Standards-Version: 4.6.2 Homepage: https://github.com/CraneStation/wasi-libc Vcs-Browser: https://salsa.debian.org/rust-team/wasi-libc diff --git a/debian/patches/llvm-17-compat.patch b/debian/patches/llvm-17-compat.patch new file mode 100644 index 0000000..5b4b117 --- /dev/null +++ b/debian/patches/llvm-17-compat.patch @@ -0,0 +1,12 @@ +diff --git a/expected/wasm32-wasi/undefined-symbols.txt b/expected/wasm32-wasi/undefined-symbols.txt +index 6d3b2b7..98ce67e 100644 +--- a/expected/wasm32-wasi/undefined-symbols.txt ++++ b/expected/wasm32-wasi/undefined-symbols.txt +@@ -63,6 +63,7 @@ __main_argc_argv + __netf2 + __stack_pointer + __subtf3 ++__tls_base + __trunctfdf2 + __trunctfsf2 + __unordtf2 diff --git a/debian/patches/series b/debian/patches/series index bedf490..fe4e4db 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ dont-rebuild-install.patch disable-warning.patch +llvm-17-compat.patch diff --git a/debian/rules b/debian/rules index 4a62a41..2744c0b 100755 --- a/debian/rules +++ b/debian/rules @@ -5,9 +5,9 @@ include /usr/share/dpkg/buildflags.mk -export NM = llvm-nm-16 -export AR = llvm-ar-16 -export CC = clang-16 +export NM = llvm-nm-17 +export AR = llvm-ar-17 +export CC = clang-17 # stack protector not yet supported, see # https://github.com/CraneStation/wasi-libc/issues/157 -- cgit v1.2.3