From: root Date: Thu, 31 Oct 2024 20:08:07 +0000 (+0000) Subject: Merge tag '1%17.0.6-12+rpi1' of 172.17.3.10:/build/git/l/llvm-toolchain-17 into trixie X-Git-Tag: archive/raspbian/1%19.1.3-1+rpi1^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2df44d1eb6ebd8fc9d7f7176a9f21f141534c909;p=llvm-toolchain-19.git Merge tag '1%17.0.6-12+rpi1' of 172.17.3.10:/build/git/l/llvm-toolchain-17 into trixie --- 2df44d1eb6ebd8fc9d7f7176a9f21f141534c909 diff --cc debian/changelog index 2d0b385cef,5de41f7cc8..50d8bb4cac --- a/debian/changelog +++ b/debian/changelog @@@ -1,494 -1,50 +1,541 @@@ -llvm-toolchain-17 (1:17.0.6-12+rpi1) trixie-staging; urgency=medium ++llvm-toolchain-18 (1:18.1.8-12+rpi1) trixie-staging; urgency=medium + + [changes brought forward from llvm-toolchain-3.8 1:3.8-2+rpi1 by Peter Michael Green at Sat, 14 May 2016 21:43:35 +0000] + * Cleanup .pyc files in clean target. + * Add a hack to the cmake based build to force armv6 (unfortunately the cmake + based build relies on config.guess which assumes you want to build for the + hardware you are running on). + * Add -DCOMPILER_RT_BUILD_BUILTINS=OFF to disable parts of compiler-rt that + are broken on lower arm architectures. + + [changes introduced in llvm-toolchain-3.9 1:3.9.1-1 by Peter Michael Green] + * disable testsuite (using a method that is hopefully less likely to cause diff conflicts than previously). + * Remove -march=armv7-a in compiler-rt/cmake/config-ix-base.cmake + * Clean up debian/usr in clean target. + * Clean up clang/tools/*-3.9 in clean target. + * Clean up stray *3.9.vim files + * Clean up clang/tools/scan-build/man/scan-build-3.9.1 and utils/vim/llvm-3.9-vimrc + * Clean up debian/*.install + + [changes introduced in llvm-toolchain-6.0 1:6.0-1+rpi1 by Peter michael green] + * create build-llvm/docs/ocamldoc/html/ so the install target doesn't complain + about it not existing. + * clean up more crap left behind by build process. + + [changes introduced in llvm-toolchain-6.0 1:6.0-3+rpi1 by Peter Michael Green] + * Remove debian/man in clean target. + + [changes introduced in llvm-toolchain-7 1:7-6+rpi1 by Peter Michael Green] + * Use libatomic on armhf + * Set cmake/config.guess.hack back to mode 644 in clean target to keep + git/dgit happy. + * Yet more clean target fixes. + + [changes introduced in llvm-toolchain-7 1:7.0.1-1+rpi2 by Peter Michael Green] + * Change triplet in debian/rules to use armv6k rather than armv7l + + [changes introduced in llvm-toolchain-12 1:12.0.1-16 by Peter Michael Green] + * Disable llvm libunwind on armhf, it seems to come out armv7 contaminated. + + [changes introduced in llvm-toolchain-13 (1:13.0.0-9+rpi1 by Peter Michael Green] + * Disable scudo on armhf, it needs atomics which we do not want to enable. + + [changes brought forward from 1:13.0.0-9+rpi2 by Peter Michael Green at Tue, 23 Nov 2021 22:37:30 +0000] + * Remove armhf from architecture list for libunwind-13-dev dependency. + + -- Peter Michael Green Thu, 30 May 2024 19:02:37 +0000 + +llvm-toolchain-18 (1:18.1.8-12) unstable; urgency=medium + + * Ensure that at least 1 CPU is used for build + Thanks to Santiago Vila for the patch + (Closes: #1082359) + * Don't enable intel-pt on Ubuntu Bionic + * Backport a miscompilation fix (Closes: #1082727) + * Fix the bootstrapping (Closes: #1082610) + Thanks to Andrey Feofilaktov for the patch + * clang provides objc++-compiler (Closes: #1082744) + * Update Standards version to 4.7.0 + + -- Sylvestre Ledru Mon, 23 Sep 2024 13:23:31 +0200 + +llvm-toolchain-18 (1:18.1.8-11) unstable; urgency=medium + + * Drop ocaml on armhf, ocamlopt disappeared making build ftbfs + * Drop extra space in changelog + * Sync spirv architectures with sid builds + * Fix x32 build failure due to orc library not being installed + * Add back LLVM_EXPERIMENTAL_TARGETS_TO_BUILD to PASSTHROUGH variables, to help m68k + + -- Gianfranco Costamagna Mon, 09 Sep 2024 08:42:27 +0200 + +llvm-toolchain-18 (1:18.1.8-10) unstable; urgency=medium + + [ Matthias Klose ] + * ld.lld: When no package-metadata option is given, fall-back + to the envvar ELF_PACKAGE_METADATA. + + [ Emanuele Rocca ] + * Enable bolt on arm64, now supported upstream. + + [ Bo YU ] + * Backport two commits to fix riscv64 issue. (Closes: #1080435) + + -- Sylvestre Ledru Sat, 07 Sep 2024 23:08:26 +0200 + +llvm-toolchain-18 (1:18.1.8-9) unstable; urgency=medium + + [ Gianfranco Costamagna ] + * Mention in changelog also the SVE fixes from llvm-17 + * Drop mips D154390 patch, already upstream + + [ Sylvestre Ledru ] + * Really fix breaks/replaces (Closes: #1077587) + + -- Sylvestre Ledru Sat, 03 Aug 2024 20:07:17 +0200 + +llvm-toolchain-18 (1:18.1.8-8) unstable; urgency=medium + + [ Sylvestre Ledru ] + * Fix breaks/replaces (Closes: #1077587) + + [ Gianfranco Costamagna ] + * Merge llvm-toolchain-17 1:17.0.6-13 into llvm-18 branch + - Make SVE types available in device targets (Closes: #1076578) + + -- Sylvestre Ledru Tue, 30 Jul 2024 10:48:59 +0200 + +llvm-toolchain-18 (1:18.1.8-7) unstable; urgency=medium + + * Unbreak the cmake tools + + -- Sylvestre Ledru Sun, 28 Jul 2024 09:49:06 +0200 + +llvm-toolchain-18 (1:18.1.8-6) unstable; urgency=medium + + * Make libllvm multi arch ready again ... (Closes: #1076131) + * bring back spirv + + -- Sylvestre Ledru Fri, 26 Jul 2024 17:34:31 +0200 + +llvm-toolchain-18 (1:18.1.8-5) unstable; urgency=medium + + * Fix the broken Breaks/replaces for apt.llvm.org + Closes: https://github.com/llvm/llvm-project/issues/99502 + * Bring back libLLVM.so.18.1 as symlink library + (LP: #2073604) + * temporary disable spirv to unbreak the build + + [ John Paul Adrian Glaubitz ] + * Make regexp to grep for LLVM_DEFAULT_TARGET_TRIPLE less ambigious + + -- Sylvestre Ledru Wed, 24 Jul 2024 11:54:39 +0200 + +llvm-toolchain-18 (1:18.1.8-4) unstable; urgency=medium + + * fix the symlinks after LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF + Probably caused + https://github.com/llvm/llvm-project/issues/99017 + * Move back /usr/lib/llvm-18/lib/libLLVM-18.so.1 to libllvm18 (Closes: #1076469) + And add breaks/replaces to make sure the upgrade goes smoothly + + [ Matthias Klose ] + * Construct the --package-metadata option just from ELF_PACKAGE_METADATA. + + -- Sylvestre Ledru Tue, 16 Jul 2024 18:02:17 +0200 + +llvm-toolchain-18 (1:18.1.8-3) unstable; urgency=medium + + [ Sylvestre Ledru ] + * Revert LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON + 9ca35f30383d89e4fdd45d15e0eb82c832df4b8c + For causing https://github.com/llvm/llvm-project/issues/96210 + * Disable LLDB_BUILD_INTEL_PT on Ubuntu bionic + * Make libllvm co-installable again (Closes: #1076131) + + -- Sylvestre Ledru Mon, 15 Jul 2024 09:49:47 +0200 + +llvm-toolchain-18 (1:18.1.8-2) unstable; urgency=medium + + [ Matthias Klose ] + * Pass --package-metadata on distros with supporting linkers (starting + with Debian trixie and Ubuntu noble). + The package metadata is constructed from the environment variables + DEB_BUILD_OS_RELEASE_ID, DEB_SOURCE, DEB_VERSION and DEB_HOST_ARCH. + Setting NO_PKG_METADATA=1 disables the generation of the package metadata. + + [ Sylvestre Ledru ] + * Try to unbreak powerpc & sparc64 + + -- Sylvestre Ledru Sun, 07 Jul 2024 22:01:17 +0200 + +llvm-toolchain-17 (1:17.0.6-13) unstable; urgency=medium + + [ Emanuele Rocca ] + * Make SVE types available in device targets (Closes: #1076578) + + [ Matthias Klose ] + * Pass --package-metadata on distros with supporting linkers (starting + with Debian trixie and Ubuntu noble). + The package metadata is constructed from the environment variables + DEB_BUILD_OS_RELEASE_ID, DEB_SOURCE, DEB_VERSION and DEB_HOST_ARCH. + Setting NO_PKG_METADATA=1 disables the generation of the package metadata. + + -- Gianfranco Costamagna Tue, 30 Jul 2024 09:15:47 +0200 + +llvm-toolchain-18 (1:18.1.8-2~exp2) experimental; urgency=medium + + * Change the LLVM_HOST_TRIPLE option from i386-linux-gnu to + i386-pc-linux-gnu + and arm-linux-gnueabihf to arm-pc-linux-gnueabihf + Otherwise, it will fail with: + Cannot find builtins library for the target architecture + + -- Sylvestre Ledru Sun, 07 Jul 2024 00:38:27 +0200 + +llvm-toolchain-18 (1:18.1.8-2~exp1) experimental; urgency=medium + + [ Sylvestre Ledru ] + * Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR + to move the libraries into multi archi directories + * Bring back libLLVM to be installed in /usr/lib/llvm-18/lib/libLLVM-18.so + instead of /usr/lib/llvm-18/lib/libLLVM.so + Same for libclang (remove usr/lib/llvm-18/lib/libclang.so.1 + This should make the packages multiarch co installable again + (Closes: #1067699, #1067005) + (LP: #2063207) + * Introduce the new variable @DEB_HOST_MULTIARCH_LLVM@ in the build system + because the LLVM triple is different than Debian + x86_64-pc-linux-gnu instead of x86_64-linux-gnu + * autopkgtest: only run libllvmlibc test on supported archs + + [ John Paul Adrian Glaubitz ] + * Don't install Gold plugin on sparc64 + * Disable LLVM testsuite on x32 + * Install liborc_rt-x86_64.a on x32 + * Install hwasan_symbolize on x32 + + [ Norbert Lange ] + * build lldb with Intel PT support on x86, amd64 + + [ Aurelien Jarno ] + * Enable lldb on riscv64. + + [ Zixing Liu ] + * d/p/clang-record-gcc-switches-by-default.patch: add a patch to force clang + record gcc switches by default + + [ Gianfranco Costamagna ] + * Rename check-libcxxabi in check-cxxabi. + * Rename check-libcxx in check-cxx + * Drop removed check-sanitizer (Closes: #1073201) + + -- Sylvestre Ledru Mon, 01 Jul 2024 22:27:25 +0200 + +llvm-toolchain-18 (1:18.1.8-1) unstable; urgency=medium + + * New upstream release + + -- Sylvestre Ledru Fri, 21 Jun 2024 22:00:49 +0200 + +llvm-toolchain-18 (1:18.1.7-1) unstable; urgency=medium + + * New upstream release + + -- Sylvestre Ledru Fri, 14 Jun 2024 10:14:20 +0200 + +llvm-toolchain-18 (1:18.1.7~++20240605091817+7e6ece9b4f2d-1~exp1) UNRELEASED; urgency=medium + + * experimental New snapshot release + + -- Sylvestre Ledru Wed, 05 Jun 2024 09:18:34 +0200 + +llvm-toolchain-18 (1:18.1.6-1) unstable; urgency=medium + + * New upstream release + * Don't install gold on mips64el armel loong64 + * Unbreak autopkgtest + + -- Sylvestre Ledru Sun, 19 May 2024 09:27:44 +0200 + +llvm-toolchain-18 (1:18.1.5-3) unstable; urgency=medium + + * Do not try to install gold on riscv64 (Closes: #1070909) + Thanks to Aurelien Jarno for the fix + * Disable --as-needed on armel (Closes: #1070811) + + -- Sylvestre Ledru Sun, 12 May 2024 09:03:09 +0200 + +llvm-toolchain-18 (1:18.1.5-2) unstable; urgency=medium + + * Add oracular as supported release + + -- Gianfranco Costamagna Sat, 04 May 2024 07:32:59 +0200 + +llvm-toolchain-18 (1:18.1.5-1) unstable; urgency=medium + + * New upstream release + * Be explicit with what ships in llvm-18-linker-tools + to make sure we always ships gold. + Will avoid issues like: + https://github.com/llvm/llvm-project/issues/87553 + Might break the build on some Debian archs. + + -- Sylvestre Ledru Fri, 03 May 2024 11:18:56 +0200 + +llvm-toolchain-18 (1:18.1.5~++20240430100627+f341c76b9461-1~exp1) UNRELEASED; urgency=medium + + * experimental New snapshot release + + -- Sylvestre Ledru Tue, 30 Apr 2024 10:06:39 +0200 + +llvm-toolchain-18 (1:18.1.4-1) unstable; urgency=medium + + * New upstream release + + -- Sylvestre Ledru Thu, 18 Apr 2024 11:45:22 +0200 + +llvm-toolchain-18 (1:18.1.3-1) unstable; urgency=medium + + * New upstream release + * Only install mold when used + but disabled for now because of https://github.com/rui314/mold/issues/1224 + + -- Sylvestre Ledru Thu, 04 Apr 2024 07:57:13 +0200 + +llvm-toolchain-18 (1:18.1.2-1) unstable; urgency=medium + + [ Matthias Klose ] + * Build-depend on llvm-spirv-18 instead of llvm-spirv-17. + * Add a stage1 profile to disable curl, grpc and spirv. + * Build with --as-needed. + + [ Sylvestre Ledru ] + * New upstream release + * Build using mold as a linker + + -- Sylvestre Ledru Fri, 22 Mar 2024 21:24:08 +0100 + +llvm-toolchain-18 (1:18.1.1-1) unstable; urgency=medium + [ Matthias Klose ] + * Fix sanitizer build on 32bit time_t64 architectures. + * Enable compiler-rt runtime again for 32bit time_t64 architectures. + * Revert: mark profile and xray include files as optional on armel and armhf. + + [ Sylvestre Ledru ] + * Disable libc on bionic for apt.llvm.org + * Try to address a link issue with libclang-cpp.so.18 (GH: #83986) + + -- Sylvestre Ledru Fri, 08 Mar 2024 20:27:05 +0100 + +llvm-toolchain-18 (1:18.1.0-2) unstable; urgency=medium + + * Uncomment wrong removal of rm code from last upload. + - this should fix the current FTBFS + + -- Gianfranco Costamagna Wed, 06 Mar 2024 21:49:10 +0100 + +llvm-toolchain-18 (1:18.1.0-1) unstable; urgency=medium + + * New stable release + * Add a test to verify C++ modules tests + + -- Sylvestre Ledru Wed, 06 Mar 2024 11:29:56 +0100 + +llvm-toolchain-18 (1:18.1.0~rc4-2) unstable; urgency=medium + + [ Sylvestre Ledru ] + * Disable libllvmlibc-18-dev on armhf (Closes: #1065503) + * Adjust some symlinks with the rc4 changes + + [ Matthias Klose ] + * Make libclang-common-18-dev architecture dependent, mark profile and xray + include files as optional on armel and armhf. + + [ Gianfranco Costamagna ] + * Simplify rules file now that time64_t is default. + * Use mxgot on mips64el + * Disable tests on mips64el, they do timeout + + -- Sylvestre Ledru Wed, 06 Mar 2024 09:21:57 +0100 + +llvm-toolchain-18 (1:18.1.0~rc4-1) unstable; urgency=medium + + [ John Paul Adrian Glaubitz ] + * Install *clang_rt* on sparc and sparc64 + * Run chrpath for libclang on sparc and sparc64 + + [ Sylvestre Ledru ] + * New snapshot release + * add -DLIBCXX_INSTALL_MODULES=ON to install libc++ C++-20 modules + see https://discourse.llvm.org/t/libc-c-23-module-installation-support/77061/1 + * Add a new package libllvmlibc-18-dev to ship LLVM libc (experimental for now) + (amd64, arm64 and armhf) + + -- Sylvestre Ledru Wed, 28 Feb 2024 11:08:41 +0100 + +llvm-toolchain-18 (1:18.1.0~rc2-4) unstable; urgency=medium + + * Fix 32bit builds, exclude i386, don't build clang-rt there + * Revert gold linker on mips64el + * Disable stack protector on mips64el + + -- Gianfranco Costamagna Thu, 22 Feb 2024 17:58:05 +0100 + +llvm-toolchain-18 (1:18.1.0~rc2-3) unstable; urgency=medium + + * Add abi=+time64,+lfs only on 64bits system + + -- Sylvestre Ledru Sun, 11 Feb 2024 14:29:31 +0100 + +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 Fri, 26 Jan 2024 09:44:56 +0100 + +llvm-toolchain-snapshot (1:18~++20231211102647+75193b192ad9-1~exp1) experimental; urgency=medium + + [ Matthias Klose ] + * Set the cpu defaults for the ARM32 architectures: + - armel: arm926ej-s. Addresses: #1056115. + - armhf: cortex-a8. + Thanks to Arnd Bergmann and Ard Biesheuvel for the fixes. + * Apply the proposed fix for D158491, build failure on mips64el, still + unreviewed upstream. Addresses: #1056116. + + [ Sylvestre Ledru ] + * New snapshot release + * Fix a libc++ conflicts (Closes: #1057899) + + -- Sylvestre Ledru Mon, 11 Dec 2023 10:26:59 +0100 + +llvm-toolchain-snapshot (1:18~++20231203063627+9f78edbd20ed-1~exp1) experimental; urgency=medium + + [ Sylvestre Ledru ] + * replace python3-recommonmark by myst-parser + to follow upstream change b7ff03206d668cd5a620a9d4e1b22ea112ed56e3 + And disable generation of the doc on old distro + * Ship tblgen-to-irdl as part of mlir-tools + * Rename lldb-vscode => lldb-dap + * Ship tblgen-to-irdl as part of mlir-tools + * Remove __tgt_rtl_deinit_plugin & __tgt_rtl_deinit_device symbols from + openmp https://github.com/llvm/llvm-project/pull/73557 + + [ Matthias Klose ] + * Limit the number of parallel processes based on the available memory + and the packages to be built (flang has some memory hogs). + * Also install liborc_rt*.a on ppc64 and ppc64el. + * Fix stripping build flags on Ubuntu/ppc64el. + * libclang1-18: Only encode the major version in the soname. See #1056126. + * Restore the patch for D148945, searching /usr/lib/llvm-18/lib by default. + Addresses: #1056580. + * Also use the free swap to determine the number of parallel processes. + * Set the cpu defaults for the ARM32 architectures: + - armel: arm9e. Closes: #1056115. + - armhf: cortex-a7. + + [ John Paul Adrian Glaubitz ] + * Don't install *clang_rt* on sparc and sparc64 + + -- Sylvestre Ledru Sun, 03 Dec 2023 18:38:51 +0100 + +llvm-toolchain-17 (1:17.0.3-1~exp1) experimental; urgency=medium + + [ Matthias Klose ] + * Consolidate the build flags for the wasm builds. + * Disable the clc and wasm builds when not building binary indep packages. + * Limit the parallel links to 2 on riscv64. + * d/rules: Be less noisy when building without grpc. + * Build-depend on libncurses-dev instead of libncurses5-dev. + * Use a stamps subdirectory for all build stamps. + * Factor-out the calls to dh_listpackages. + * d/rules/preconfigure: Print info about build environment. + + -- Matthias Klose Sun, 08 Oct 2023 08:10:51 +0200 + +llvm-toolchain-snapshot (1:18~++20230818040015+c931f2e6fd0c-1~exp2) UNRELEASED; urgency=medium + + [ John Paul Adrian Glaubitz ] + * Disable wasm support on powerpc and powerpcspe + * Remove powerpc from BINUTILS_GOLD_ARCHS again + + -- John Paul Adrian Glaubitz Wed, 30 Aug 2023 11:49:01 +0200 + +llvm-toolchain-snapshot (1:18~++20230818040015+c931f2e6fd0c-1~exp1) experimental; urgency=medium + + * snapshot is now 18 + * Remove llvm-remark-size-diff & llvm-tapi-diff from llvm-X.Y-dev + * Remove lldb-disable-swig-error.diff - no longer necessary + + -- Sylvestre Ledru Fri, 18 Aug 2023 16:00:36 +0200 + +llvm-toolchain-snapshot (1:18~++20230725115106+b6847edfc235-1~exp1) experimental; urgency=medium + + * snapshot is now 18 + + -- Sylvestre Ledru Tue, 25 Jul 2023 23:52:42 +0200 + llvm-toolchain-17 (1:17.0.6-12) unstable; urgency=medium * Add oracular as supported release diff --cc debian/control index 79c3255d46,5f715b8076..14f4c96c22 --- a/debian/control +++ b/debian/control @@@ -849,9 -856,9 +849,9 @@@ Description: production-quality unwinde or to operate on another process (aka remote), but only the local path has been implemented. Remote unwinding remains as future work. -Package: libunwind-17-dev +Package: libunwind-18-dev Section: libdevel - Architecture: amd64 arm64 armhf i386 loong64 ppc64el ppc64 riscv64 + Architecture: amd64 arm64 i386 loong64 ppc64el ppc64 riscv64 Multi-Arch: same Depends: ${misc:Depends}, diff --cc debian/control.in index d362cbe7c3,3fc9b2e140..6b1a9b6990 --- a/debian/control.in +++ b/debian/control.in @@@ -832,9 -838,10 +832,9 @@@ Description: OpenCL C language implemen # ------------- libunwind ------------- -Package: libunwind-@LLVM_VERSION@t64 -Breaks: libunwind-@LLVM_VERSION@ (<< ${source:Version}) +Package: libunwind-@LLVM_VERSION@ Section: libs - Architecture: amd64 arm64 armhf i386 loong64 ppc64el ppc64 riscv64 + Architecture: amd64 arm64 i386 loong64 ppc64el ppc64 riscv64 Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} diff --cc debian/patches/series index eddf146492,a2c5c81cf1..a062cbfbbd --- a/debian/patches/series +++ b/debian/patches/series @@@ -51,11 -44,9 +43,9 @@@ fix-scan-view-path.dif # lldb lldb/lldb-addversion-suffix-to-llvm-server-exec.patch lldb/lldb-missing-install.diff -lldb/lldb-disable-swig-error.diff + # Fix arch issue disable-error-xray.diff - # OpenMP openmp/openmp-check-execstack.diff @@@ -148,14 -127,9 +127,15 @@@ link-grpc.dif libclang-major-version-only.diff D148945-revert.diff arm32-defaults.diff -mips/D154390-pre-R6.diff libsanitizer-timebits.diff -D154931-revert-loong64.patch +ubuntu-releases.patch +clang-record-gcc-switches-by-default.patch +rename-libllvm.diff +link-with-package-metadata.diff +llvm-toolchain-17-sve-types-aux-target.diff +env-lld-package-metadata.diff + +rv64-fix-PCREL_HI20-issue.diff +rv64-fix-mm-leak.diff +backport-miscompile-floating-point.diff + raspbian-triplet.patch diff --cc debian/rules index add0cfed13,8fefd8cfb1..d14089e834 --- a/debian/rules +++ b/debian/rules @@@ -197,11 -201,18 +197,18 @@@ ifneq (,$(findstring $(DEB_HOST_ARCH),a endif ifneq (,$(findstring $(DEB_HOST_ARCH),armhf)) - STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=arm-linux-gnueabihf + STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=arm-pc-linux-gnueabihf # align arch profile with debian baseline # https://wiki.debian.org/ArmHardFloatPort#Minimum_CPU_.26_FPU - CFLAGS_EXTRA += -march=armv7-a -mfpu=vfpv3-d16 - CXXFLAGS_EXTRA += -march=armv7-a -mfpu=vfpv3-d16 + CFLAGS_EXTRA += -march=armv6 -mfpu=vfpv2 + CXXFLAGS_EXTRA += -march=armv6 -mfpu=vfpv2 + STAGE_ALL_CMAKE_EXTRA += -DCOMPILER_RT_BUILD_BUILTINS=OFF + COMPILER_RT_USE_BUILTINS_LIBRARY := OFF + LIBCXX_USE_COMPILER_RT := OFF + # disable scudo standalone (not supported for baseline armel arch: armv6) + # note: we don't build with "k" in raspbian even though the CPU supports + # it because armv6k atomics have forward-compatibility problems. + STAGE_ALL_CMAKE_EXTRA += -DCOMPILER_RT_BUILD_SCUDO_STANDALONE=OFF endif ifneq (,$(filter $(DEB_HOST_ARCH),i386)) @@@ -648,13 -617,15 +654,19 @@@ stamps/preconfigure @echo "COMPILER_RT_WASM_ENABLE=$(COMPILER_RT_WASM_ENABLE)" @echo "LIBCXX_WASM_ENABLE=$(LIBCXX_WASM_ENABLE)" @echo "SCCACHE_ENABLE=$(SCCACHE_ENABLE)" + @echo "LIBC_ENABLE=$(LIBC_ENABLE)" + @echo "MOLD_ENABLE=$(MOLD_ENABLE)" @echo "LLVM_SPIRV=$(LLVM_SPIRV)" @echo "LLVM_SPIRV_INSTALLED=$(LLVM_SPIRV_INSTALLED)" + @echo "DOC_GENERATION=$(DOC_GENERATION)" + @echo "control_vars=$(control_vars)" + # add executable flag to script we added as part of triplet hack + # --plugwash + chmod 755 llvm/cmake/config.guess.hack + # also make sure config.guess is executable + chmod 755 llvm/cmake/config.guess + for f in debian/*.in; do \ f2=$$(echo $$f | sed 's/\.in$$//;s/X\.Y/$(LLVM_VERSION)/'); \ echo "$$f => $$f2"; \ @@@ -1165,9 -1123,9 +1177,10 @@@ endi cd openmp/runtime/doc/doxygen/generated/html/ && rm jquery.js && ln -s /usr/share/javascript/jquery/jquery.js; \ fi touch $@ +endif override_dh_auto_install: + mkdir -p build-llvm/docs/ocamldoc/html/ # Clean up temporary files to make sure the install works rm -rf $(find $(TARGET_BUILD) -wholename '*CMakeFiles*' -not -name CMakeLists.txt -a -name "*.dir" -type d)