diff --git a/debian/changelog b/debian/changelog index a98d8c81..499cbb0f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,16 +16,71 @@ llvm-toolchain-snapshot (1:19~++20240125092523+41fe98a6e7e5-1~exp1) experimental -- Sylvestre Ledru Thu, 25 Jan 2024 14:51:10 +0100 -llvm-toolchain-18 (1:18~++20240124100819+22683463740e-1~exp1) experimental; urgency=medium +llvm-toolchain-18 (1:18.1.0~rc2-2) unstable; urgency=medium + + [ Gianfranco Costamagna ] + * Try gold linker on mips64el + * Add also lfs on top of time64, to fix FTBFS on 32bit + + [ Sylvestre Ledru ] + * add new symbols in libomp5 + + -- Gianfranco Costamagna Thu, 08 Feb 2024 16:38:35 +0100 + +llvm-toolchain-18 (1:18.1.0~rc2-1) unstable; urgency=medium + + * New snapshot release + + -- Sylvestre Ledru Wed, 07 Feb 2024 21:15:53 +0100 + +llvm-toolchain-18 (1:18.1.0~rc1-3) unstable; urgency=medium + + * Fix previus upload, time64 is effective only in one specific place of + rules file + * Fix some test using still clang-17 + * Switch testing to 18 line + * Fix an underlinking on qualify-clang.sh + + -- Gianfranco Costamagna Wed, 07 Feb 2024 15:05:08 +0100 + +llvm-toolchain-18 (1:18.1.0~rc1-2) unstable; urgency=medium + + [ Steve Langasek ] + * Use ABI time64 to avoid a transition for a new package + + -- Gianfranco Costamagna Mon, 05 Feb 2024 08:26:26 +0100 + +llvm-toolchain-18 (1:18.1.0~rc1-1) unstable; urgency=medium + + [ Samuel Thibault ] + * control: Avoid hello build-dep getting pulled in on buildds. + + [ Gianfranco Costamagna ] + * Fixup rc versioning, and go for sid + + [ Sylvestre Ledru ] + * hwasan_symbolize is now built also on i386 + + -- Gianfranco Costamagna Wed, 31 Jan 2024 10:36:07 +0100 + +llvm-toolchain-18 (1:18.1.0-rc1-1~exp1) experimental; urgency=medium + + * First RC + + -- Sylvestre Ledru Tue, 30 Jan 2024 09:01:06 +0100 + +llvm-toolchain-18 (1:18.1.0~++20240126095841+0991d3c7b53d-1~exp1) experimental; urgency=medium * Branching of 18 + note that it is normal that the versionning starts from 18.1 + See https://discourse.llvm.org/t/rfc-name-the-first-release-from-a-branch-n-1-0-instead-of-n-0-0/75384 * refresh libomp5 symbol list * For the usage of -DLIBCXXABI_USE_LLVM_UNWINDER=OFF when we don't build unwind https://github.com/llvm/llvm-project/issues/77846 * remove the unconditionnaly defined -DLIBUNWIND_USE_COMPILER_RT=ON * Also pass -DLIBCXXABI_USE_LLVM_UNWINDER:BOOL=OFF to libcxx-wasm32-wasi builds - -- Sylvestre Ledru Wed, 24 Jan 2024 22:14:15 +0100 + -- Sylvestre Ledru Fri, 26 Jan 2024 09:44:56 +0100 llvm-toolchain-snapshot (1:18~++20231211102647+75193b192ad9-1~exp1) experimental; urgency=medium diff --git a/debian/control b/debian/control index bb6f6e23..63c87b03 100644 --- a/debian/control +++ b/debian/control @@ -23,15 +23,17 @@ Build-Depends: debhelper (>= 10.0), cmake, ninja-build, libctypes-ocaml-dev [amd64 arm64 armhf ppc64el riscv64 s390x], dh-exec, dh-ocaml [amd64 arm64 armhf ppc64el riscv64 s390x], libpfm4-dev [linux-any], python3-setuptools, libz3-dev, - llvm-spirv-17 [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] | hello, - spirv-tools [linux-any] | hello [!i386], +# "| hello" is for older buster/bionic distros without spirv support +# We need to keep the constraints coherent between the two alternatives, otherwise +# hello would get installed unexpectedly and prevent e.g. wasi-libc from getting pulled + llvm-spirv-17 [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] | hello [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] , + spirv-tools [linux-any] | hello [linux-any], wasi-libc | hello, libcurl4-openssl-dev | libcurl-dev, libgrpc++-dev [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x], protobuf-compiler-grpc [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x], libprotobuf-dev [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x], protobuf-compiler [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x] -# "| hello" is for older buster/bionic distros without spirv support Build-Conflicts: oprofile Standards-Version: 4.6.2 Homepage: https://www.llvm.org/ diff --git a/debian/control.in b/debian/control.in index fcd449a2..d47e0cc4 100644 --- a/debian/control.in +++ b/debian/control.in @@ -23,15 +23,17 @@ Build-Depends: debhelper (>= 10.0), cmake, ninja-build, libctypes-ocaml-dev [amd64 arm64 armhf ppc64el riscv64 s390x], dh-exec, dh-ocaml [amd64 arm64 armhf ppc64el riscv64 s390x], libpfm4-dev [linux-any], python3-setuptools, libz3-dev, - llvm-spirv-17 [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] | hello, - spirv-tools [linux-any] | hello [!i386], +# "| hello" is for older buster/bionic distros without spirv support +# We need to keep the constraints coherent between the two alternatives, otherwise +# hello would get installed unexpectedly and prevent e.g. wasi-libc from getting pulled + llvm-spirv-17 [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] | hello [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] , + spirv-tools [linux-any] | hello [linux-any], wasi-libc | hello, libcurl4-openssl-dev | libcurl-dev, libgrpc++-dev [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x], protobuf-compiler-grpc [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x], libprotobuf-dev [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x], protobuf-compiler [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x] -# "| hello" is for older buster/bionic distros without spirv support Build-Conflicts: oprofile Standards-Version: 4.6.2 Homepage: https://www.llvm.org/ diff --git a/debian/libomp5-X.Y.symbols.in b/debian/libomp5-X.Y.symbols.in index 8875fc10..25ac2195 100644 --- a/debian/libomp5-X.Y.symbols.in +++ b/debian/libomp5-X.Y.symbols.in @@ -1364,8 +1364,8 @@ libomptarget.rtl.amdgpu.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER# __tgt_rtl_data_submit_async@VERS1.0 17 __tgt_rtl_data_unlock@VERS1.0 17 __tgt_rtl_destroy_event@VERS1.0 17 - __tgt_rtl_get_function@VERS1.0 19 - __tgt_rtl_get_global@VERS1.0 19 + __tgt_rtl_get_function@VERS1.0 18 + __tgt_rtl_get_global@VERS1.0 18 __tgt_rtl_init_async_info@VERS1.0 17 __tgt_rtl_init_device@VERS1.0 17 __tgt_rtl_init_device_info@VERS1.0 17 @@ -1373,7 +1373,7 @@ libomptarget.rtl.amdgpu.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER# __tgt_rtl_init_requires@VERS1.0 17 __tgt_rtl_initialize_record_replay@VERS1.0 18 __tgt_rtl_is_data_exchangable@VERS1.0 17 - __tgt_rtl_is_valid_binary@VERS1.0 19 + __tgt_rtl_is_valid_binary@VERS1.0 18 __tgt_rtl_launch_kernel@VERS1.0 17 __tgt_rtl_load_binary@VERS1.0 17 __tgt_rtl_number_of_devices@VERS1.0 17 @@ -1385,7 +1385,7 @@ libomptarget.rtl.amdgpu.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER# #MISSING: 19# __tgt_rtl_supports_empty_images@VERS1.0 17 __tgt_rtl_sync_event@VERS1.0 17 __tgt_rtl_synchronize@VERS1.0 17 - __tgt_rtl_use_auto_zero_copy@VERS1.0 19 + __tgt_rtl_use_auto_zero_copy@VERS1.0 18 __tgt_rtl_wait_event@VERS1.0 17 libomptarget.rtl.cuda.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER# VERS1.0@VERS1.0 17 @@ -1403,8 +1403,8 @@ libomptarget.rtl.cuda.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER# __tgt_rtl_data_submit_async@VERS1.0 17 __tgt_rtl_data_unlock@VERS1.0 17 __tgt_rtl_destroy_event@VERS1.0 17 - __tgt_rtl_get_function@VERS1.0 19 - __tgt_rtl_get_global@VERS1.0 19 + __tgt_rtl_get_function@VERS1.0 18 + __tgt_rtl_get_global@VERS1.0 18 __tgt_rtl_init_async_info@VERS1.0 17 __tgt_rtl_init_device@VERS1.0 17 __tgt_rtl_init_device_info@VERS1.0 17 @@ -1412,7 +1412,7 @@ libomptarget.rtl.cuda.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER# __tgt_rtl_init_requires@VERS1.0 17 __tgt_rtl_initialize_record_replay@VERS1.0 18 __tgt_rtl_is_data_exchangable@VERS1.0 17 - __tgt_rtl_is_valid_binary@VERS1.0 19 + __tgt_rtl_is_valid_binary@VERS1.0 18 __tgt_rtl_launch_kernel@VERS1.0 17 __tgt_rtl_load_binary@VERS1.0 17 __tgt_rtl_number_of_devices@VERS1.0 17 @@ -1424,7 +1424,7 @@ libomptarget.rtl.cuda.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER# #MISSING: 19# __tgt_rtl_supports_empty_images@VERS1.0 17 __tgt_rtl_sync_event@VERS1.0 17 __tgt_rtl_synchronize@VERS1.0 17 - __tgt_rtl_use_auto_zero_copy@VERS1.0 19 + __tgt_rtl_use_auto_zero_copy@VERS1.0 18 __tgt_rtl_wait_event@VERS1.0 17 libomptarget.rtl.x86_64.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER# VERS1.0@VERS1.0 17 @@ -1442,8 +1442,8 @@ libomptarget.rtl.x86_64.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER# __tgt_rtl_data_submit_async@VERS1.0 17 __tgt_rtl_data_unlock@VERS1.0 17 __tgt_rtl_destroy_event@VERS1.0 17 - __tgt_rtl_get_function@VERS1.0 19 - __tgt_rtl_get_global@VERS1.0 19 + __tgt_rtl_get_function@VERS1.0 18 + __tgt_rtl_get_global@VERS1.0 18 __tgt_rtl_init_async_info@VERS1.0 17 __tgt_rtl_init_device@VERS1.0 17 __tgt_rtl_init_device_info@VERS1.0 17 @@ -1451,7 +1451,7 @@ libomptarget.rtl.x86_64.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER# __tgt_rtl_init_requires@VERS1.0 17 __tgt_rtl_initialize_record_replay@VERS1.0 18 __tgt_rtl_is_data_exchangable@VERS1.0 17 - __tgt_rtl_is_valid_binary@VERS1.0 19 + __tgt_rtl_is_valid_binary@VERS1.0 18 __tgt_rtl_launch_kernel@VERS1.0 17 __tgt_rtl_load_binary@VERS1.0 17 __tgt_rtl_number_of_devices@VERS1.0 17 @@ -1463,7 +1463,7 @@ libomptarget.rtl.x86_64.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER# #MISSING: 19# __tgt_rtl_supports_empty_images@VERS1.0 17 __tgt_rtl_sync_event@VERS1.0 17 __tgt_rtl_synchronize@VERS1.0 17 - __tgt_rtl_use_auto_zero_copy@VERS1.0 19 + __tgt_rtl_use_auto_zero_copy@VERS1.0 18 __tgt_rtl_wait_event@VERS1.0 17 libomptarget.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER# VERS1.0@VERS1.0 17 diff --git a/debian/qualify-clang.sh b/debian/qualify-clang.sh index 9d2e4197..aa9f5e2f 100755 --- a/debian/qualify-clang.sh +++ b/debian/qualify-clang.sh @@ -1395,7 +1395,7 @@ int main() { EmitBackendOutput(*diags, *hsOpts, *cgOpts, *tOpts, *lOpts, *tDesc, m, *action, VFS, std::move(AsmOutStream)); } EOF -clang++-$VERSION foo.cpp -o test -lclangBasic -lclangCodeGen -lclangDriver -lclangFrontend -lclangFrontendTool -lclangCodeGen -lclangRewriteFrontend -lclangARCMigrate -lclangStaticAnalyzerFrontend -lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore -lclangCrossTU -lclangIndex -lclangFrontend -lclangDriver -lclangParse -lclangSerialization -lclangSema -lclangAnalysis -lclangEdit -lclangFormat -lclangToolingInclusions -lclangToolingCore -lclangRewrite -lclangASTMatchers -lclangAST -lclangLex -lclangBasic -ldl /usr/lib/llvm-$VERSION/lib/libLLVM-$VERSION.so -lclangCodeGen -lclangDriver -lclangFrontend -lclangFrontendTool -lclangRewriteFrontend -lclangARCMigrate -lclangStaticAnalyzerFrontend -lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore -lclangCrossTU -lclangIndex -lclangParse -lclangSerialization -lclangSema -lclangAnalysis -lclangEdit -lclangFormat -lclangToolingInclusions -lclangToolingCore -lclangRewrite -lclangASTMatchers -lclangAST -lclangLex -ldl -I /usr/lib/llvm-$VERSION/include/ -L/usr/lib/llvm-$VERSION/lib/ -lPolly -lPollyISL +clang++-$VERSION foo.cpp -o test -lclangCodeGen -lclangDriver -lclangFrontend -lclangFrontendTool -lclangCodeGen -lclangRewriteFrontend -lclangARCMigrate -lclangStaticAnalyzerFrontend -lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore -lclangCrossTU -lclangIndex -lclangFrontend -lclangDriver -lclangParse -lclangSerialization -lclangSema -lclangAnalysis -lclangEdit -lclangFormat -lclangToolingInclusions -lclangToolingCore -lclangRewrite -lclangASTMatchers -lclangAST -lclangLex -lclangAPINotes -lclangSupport -lclangBasic -ldl /usr/lib/llvm-$VERSION/lib/libLLVM-$VERSION.so -lclangCodeGen -lclangDriver -lclangFrontend -lclangFrontendTool -lclangRewriteFrontend -lclangARCMigrate -lclangStaticAnalyzerFrontend -lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore -lclangCrossTU -lclangIndex -lclangParse -lclangSerialization -lclangSema -lclangAnalysis -lclangEdit -lclangFormat -lclangToolingInclusions -lclangToolingCore -lclangRewrite -lclangASTMatchers -lclangAST -lclangLex -ldl -I /usr/lib/llvm-$VERSION/include/ -L/usr/lib/llvm-$VERSION/lib/ -lPolly -lPollyISL if test ! -f /usr/bin/lldb-$VERSION; then echo "Install lldb-$VERSION"; @@ -1521,7 +1521,7 @@ rm -rf cmaketest && mkdir cmaketest cat > cmaketest/CMakeLists.txt < CMakeLists.txt cmake_minimum_required(VERSION 3.22) project(cmake-clang-test) -find_package(Clang) +find_package(Clang $LLVM_VERSION.1 REQUIRED) EOF diff --git a/debian/tests/cmake-llvm-test b/debian/tests/cmake-llvm-test index abaee6a2..28d95b32 100755 --- a/debian/tests/cmake-llvm-test +++ b/debian/tests/cmake-llvm-test @@ -2,7 +2,7 @@ set -e -LLVM_VERSION=17 +LLVM_VERSION=18 # this is taken from libjsoncpp package # Presence of $AUTOPKGTEST_TMP implies that someone will handle cleanup for us, so we @@ -20,7 +20,7 @@ cd "$AUTOPKGTEST_TMP" cat < CMakeLists.txt cmake_minimum_required(VERSION 3.22) project(cmake-llvm-test) -find_package(LLVM $LLVM_VERSION REQUIRED +find_package(LLVM $LLVM_VERSION.1 REQUIRED COMPONENTS Analysis BitReader diff --git a/debian/tests/control b/debian/tests/control index 1e3e72a6..97fdb374 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -2,7 +2,7 @@ Test-Command: bash -v ./debian/qualify-clang.sh Depends: @, cmake, make, g++, file, dpkg-dev # Comment the dbgsym package because of bug #917528 # dbgsym packages not being available in testing -# clang-17-dbgsym, libclang1-17-dbgsym +# clang-18-dbgsym, libclang1-18-dbgsym Restrictions: allow-stderr Architecture: amd64 arm64 i386 @@ -12,13 +12,13 @@ Restrictions: allow-stderr Architecture: amd64 arm64 Tests: cmake-llvm-test -Depends: gcc, build-essential, cmake, llvm-17-dev +Depends: gcc, build-essential, cmake, llvm-18-dev Tests: cmake-clang-test -Depends: gcc, build-essential, cmake, llvm-17-dev, clang-17, libclang-17-dev +Depends: gcc, build-essential, cmake, llvm-18-dev, clang-18, libclang-18-dev Test-Command: python3 -c "import lldb; print(lldb.__file__); print(lldb)" -Depends: python3-lldb-17 +Depends: python3-lldb-18 Test-Command: python3 -c "import clang; print(clang.__file__); print(clang)" -Depends: python3-clang-17 +Depends: python3-clang-18 diff --git a/debian/tests/integration-test-suite-test b/debian/tests/integration-test-suite-test index b3bd0a6e..3524400b 100755 --- a/debian/tests/integration-test-suite-test +++ b/debian/tests/integration-test-suite-test @@ -2,7 +2,7 @@ set -e -LLVM_VERSION=17 +LLVM_VERSION=18 # this is taken from libjsoncpp package # Presence of $AUTOPKGTEST_TMP implies that someone will handle cleanup for us, so we