From: Peter Michael Green Date: Thu, 12 Feb 2026 01:10:03 +0000 (+0000) Subject: Manual merge of version 1:19.1.7-3+rpi2 and 1:19.1.7-20 to produce 1:19.1.7-20+rpi1 X-Git-Tag: archive/raspbian/1%19.1.7-20+rpi1~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fe6fc91a36c5784ab4445b0696284d5a504733c7;p=llvm-toolchain-19.git Manual merge of version 1:19.1.7-3+rpi2 and 1:19.1.7-20 to produce 1:19.1.7-20+rpi1 --- fe6fc91a36c5784ab4445b0696284d5a504733c7 diff --cc debian/changelog index 9f17971ac7,f06a65172c..9d2b9a7536 --- a/debian/changelog +++ b/debian/changelog @@@ -1,55 -1,224 +1,271 @@@ - llvm-toolchain-19 (1:19.1.7-3+rpi2) trixie-staging; urgency=medium - - * Remove armhf from architecture list for libunwind-19-dev dependency. - - -- Peter Michael Green Tue, 03 Jun 2025 16:16:20 +0000 - - llvm-toolchain-19 (1:19.1.7-3+rpi1) trixie-staging; urgency=medium ++llvm-toolchain-19 (1:19.1.7-20+rpi1) forky-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. ++ [changes brought forward from 1:19.1.7-3+rpi2 by Peter Michael Green at Tue, 03 Jun 2025 16:16:20 +0000] ++ * Remove armhf from architecture list for libunwind-19-dev dependency. ++ ++ -- Peter Michael Green Thu, 12 Feb 2026 01:09:26 +0000 ++ + llvm-toolchain-19 (1:19.1.7-20) unstable; urgency=medium + + [ Matthias Klose ] + * Fix syntax for OR-ed build profiles. + + [ Sylvestre Ledru ] + * Add the missing comma n the uploaders field + (Closes: #1123968) + + -- Sylvestre Ledru Thu, 25 Dec 2025 17:38:13 +0100 + + llvm-toolchain-19 (1:19.1.7-19) unstable; urgency=medium + + * Clarify the libunwind package descriptions, that it is not compatible + with glibc. + * Add more breaks/replaces for the common runtime libraries. Closes: #1121561. + * Fix some lintian warnings. + * Add myself as uploader to fix the lintian warning. + + -- Matthias Klose Sat, 29 Nov 2025 14:40:51 +0100 + + llvm-toolchain-19 (1:19.1.7-18) unstable; urgency=medium + + * Fix typo in last upload. Closes: #1121224. + + -- Matthias Klose Sun, 23 Nov 2025 09:58:14 +0100 + + llvm-toolchain-19 (1:19.1.7-17) unstable; urgency=medium + + * Adjust breaks/replaces for clang-scan-deps move. Closes: #1121175. + + -- Matthias Klose Sat, 22 Nov 2025 17:36:53 +0100 + + llvm-toolchain-19 (1:19.1.7-16) unstable; urgency=medium + + * d/rules: Mark usage of SLOPPY_BUILD to ease searching in the build log. + * Add a llvm.noclang build profile (not enabled by default). + * liboffload-19: Remove M-A: same attribute. + * Re(?)-enable omp on i386. + * d/control: Only use one build profile per binary package for now. The ORing + of build profiles seems to be not working. + * Rename build profiles from llvm.* to pkg.llvm.*. + * CVE-2024-7883, issue using Arm Cortex-M Security Extensions (CMSE). + Closes: #1104015. + + -- Matthias Klose Fri, 21 Nov 2025 18:18:41 +0100 + + llvm-toolchain-19 (1:19.1.7-15) experimental; urgency=medium + + * d/rules: Differentiate between COMMON_PKGS and COMMON_BUILD_DEPS. + * d/rules: Really separate the definition of OMP_ARCHS and OFFLOAD_ARCHS. + * d/control.in: Fix architectures for offload packages. + * Install asan_symbolize in clang-tools, same as hwasan_sybolize. + * d/rules: Use a d/shlibs.local file when not building the common libraries. + * Fix installation of the asan_symbolize binary. + * Rename the python extension ompdModule.so to one with the + architecture specific extension. + * d/rules, d/*.{install,links,lintian-overrides}.in: Use a macro LLVM_DIR. + * d/rules: Move OFFLOAD_ARCHS macros usage after definition. + * ompd is not available on armhf. + + -- Matthias Klose Wed, 05 Nov 2025 04:55:47 +0100 + + llvm-toolchain-19 (1:19.1.7-12) experimental; urgency=medium + + * d/rules: Don't remove the intermediate build files. This increases + the build form 15GB to 35GB, far lower than the 100GB buildd limit. + * llvm-X.Y-dev: Create a debian_config.mk Makefile snippet to record + component builds for every architecture. Used by llvm-defaults to + avoid hard-coding these again. + * Fix build dependencies when not building the common library packages. + + -- Matthias Klose Sun, 02 Nov 2025 21:41:53 +0100 + + llvm-toolchain-19 (1:19.1.7-11) experimental; urgency=medium + + [ Norbert Lange ] + * Move clang-cl and clang-scan-deps from clang-tools to the clang package. + * Drop major version from libc++1-19, libc++abi1-19, and libunwind-19 + package names (eg, libc++1-19 -> libc++1). Upstream guarantees a stable + ABI. + * Never use libunwind for libc++abi. + * Build build compiler-rt for mingw-w64. + + [ Matthias Klose ] + * Rename libunwind1 to llvm-libunwind1, the namespace is already taken + by the libunwind source package. + * For the new llvm-libunwind1, libc++abi1 and libc++1 packages: + - Add symbols files. + - Add proper breaks/replaces for the previous packages built from + this source. + - Relax the dependency from the corresponding -dev packages + from = to >=, needed when these new packages will be built from + newer LLVM versions. + - These should be Multi-Arch: same, but it is not yet possible, + because these also exist in /usr/lib/llvm-19/lib ... + * Drop major version from libomp5-19, rename to libomp5. + * Introduce a macro SKIP_COMMON_PACKAGES to disable the build of packages built + from an newer LLVM version (libc++1, libc++abi1, libomp5, llvm-libunwind1). + When not building these packages, move the links in /usr/lib/llvm-X.Y/lib + into the corresponding -dev packages and add a replaces to the last version + building the common packages. + * Turn off offloading on armhf, ppc64 and hurd-amd64. Unsupported. + * Backport changes from 21: + [ Sylvestre Ledru ] + * Ship liboffload in a new package. + * debian/qualify-clang.sh: Reformat and sort LIST. + * Move libomptarget library from libomp5 to liboffload-X.Y. + * d/libclang1-X.Y.symbols.in: Remove symvers for older LLVMs. + * Reset the libc++1 and libc++abi1 symbols files, generated by + pkgkde-symbolshelper. Let the buildds collect the symbols + for the other architectures. + * d/rules: New macro SMALL_DISK to remove intermediate files during the build. + Turned on by default for buildd constraints. + * d/rules: New macro SLOPPY_BUILD to avoid build failures caused by + additional build artifacts or missing symbols. Better to collect + that information in build logs and apply it in follow-up uploads. + Turn it on for architectures other than amd64 and arm64 for now. + * Set explicit architecture list for libfuzzer-dev. + * Make the library packages libc++1, libc++abi1, libomp5 and llvm-libunwind1 + M-A: same, moving the real files to /usr/lib/. Provide the + symlinks in /usr/lib/llvm-X.Y/lib in the correspinding -dev packages. + Addresses: #1116212. + * Revert parts of the SKIP_COMMON_PACKAGES changes, the move of the files + to another package and the breaks/replaces are not needed anymore. + * Factor out BOLT_ARCHS and HWASAN_ARCHS. + * d/rules: Use POLLY_ARCHS instead of POLLY_NO_ARCHS. + * Don't build the common library packages. + + -- Matthias Klose Sat, 01 Nov 2025 18:37:56 +0100 + + llvm-toolchain-19 (1:19.1.7-10) unstable; urgency=medium + + * d/rules: Add dependencies for various build targets. Closes: #1105541. + * Fix libPolly installation on powerpc. + + -- Matthias Klose Tue, 28 Oct 2025 22:02:28 +0100 + + llvm-toolchain-19 (1:19.1.7-9) unstable; urgency=medium + + * Remove some binutils-gold left overs. + * Fix the binary-indep only build. + + -- Matthias Klose Tue, 28 Oct 2025 10:38:16 +0100 + + llvm-toolchain-19 (1:19.1.7-8) unstable; urgency=medium + + [ Matthias Klose ] + * Define -DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=ON on all architectures for correct + cross compilers. Except on powerpc and ppc64, where it thinks it has this + feature also on the host. + * Drop the build dependency on binutils-gold. + * Build using lld on some architecture, use the BFD linker elsewhere. + * Always build the LLVMgold plugin, independent of the linker used for + the build. + * Update libomp symbols file. + * Introduce the Ubuntu Questing and Resolute distros. + * d/rules: Factor out LIBUNWIND_ARCHS macro. + * Limit architecture of binary packages to the ones supported by LLVM. + * d/rules: Make grep a bit more quiet. + * python3-lldb-X.Y: Remove some dangling symlinks and use dh-python + to create proper dependencies for the package. Closes: #1106112. + * d/p/protobuf_3.21.patch: Remove obsolete patch. Closes: #1093963. + * Remove obsolete build dependencies libjsoncpp-dev and pkg-config. + Closes: #1093961. + * Add command completion for the versioned clang binary. Closes: #1109370. + * Bump the debhelper dependency to 11, d/compat was already at 11. + * Build polly again on powerpc. + * Make the installation of hwasan_symbolize dependent on the architecture. + * Fix stripping RPATH/RUNPATH. + * Also call dh_python3 for python3-clang-X.Y. + + [ Gianfranco Costamagna ] + * Cherry-pick PR: #137403, #137440 and #149140 to fix sanitizer build + in glibc-2.42 (termio/termios issues). + + -- Matthias Klose Mon, 27 Oct 2025 17:29:37 +0100 + + llvm-toolchain-19 (1:19.1.7-7) unstable; urgency=medium + + [ John Paul Adrian Glaubitz ] + * Add powerpc-fix-SIGILL.diff to fix SIGILL on powerpc + + [ Samuel Thibault ] + * debian/patches/hurd/47211c4b96e99a3344a71570a99b991c5f5c1c01.patch: Fix + build on hurd. + + [ Sylvestre Ledru ] + * Remove Provides: libunwind-dev (Closes: #1100482) + d/control.in: Reinstate Multi-Arch: same on libllvm${VERSION} + (Closes: #1115227) + Thanks to Simon McVittie for the patch + + -- Sylvestre Ledru Sun, 28 Sep 2025 16:59:15 +0200 + + llvm-toolchain-19 (1:19.1.7-6) unstable; urgency=medium + + [ Matthias Klose ] + * On ppc64el configure with -DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=ON for + upcoming distros. Closes: #1113935. + * Fix ftbfs with GCC 15. + * Relax with binary objects in the testsuite. + + [ Jianfeng Liu ] + * Add CFLAGS/CXXFLAGS -mcmodel=medium on loong64 (Closes: #1107858) + + -- Matthias Klose Fri, 12 Sep 2025 14:30:06 +0200 + + llvm-toolchain-19 (1:19.1.7-5) unstable; urgency=medium + + * Non-maintainer upload. + * Drop Multi-Arch: same from packages installing to non-multiarch paths. + (Closes: #1100981) + + -- Yuce Kurum Sun, 27 Apr 2025 14:30:26 +0200 + + llvm-toolchain-19 (1:19.1.7-4) unstable; urgency=medium + + * Remove "Provides: libunwind-dev" (Closes: #1100481) - -- Raspbian forward porter Mon, 31 Mar 2025 13:39:54 +0000 + -- Sylvestre Ledru Sat, 26 Apr 2025 22:36:24 +0200 llvm-toolchain-19 (1:19.1.7-3) unstable; urgency=medium diff --cc debian/control index ae3c356111,7bb9c4746a..0b5837524b --- a/debian/control +++ b/debian/control @@@ -828,36 -850,22 +850,22 @@@ Description: OpenCL C language implemen # ------------- libunwind ------------- - Package: libunwind-19 - Section: libs - Architecture: amd64 arm64 armhf i386 loong64 ppc64el ppc64 riscv64 - Multi-Arch: same - Depends: ${shlibs:Depends}, - ${misc:Depends} - Provides: ${t64:Provides}, libunwind-x.y - Conflicts: libunwind-x.y - Replaces: libunwind-x.y - Description: production-quality unwinder - libunwind is a production-quality unwinder, with platform support for DWARF - unwind info, SjLj, and ARM EHABI. - . - The low level libunwind API was designed to work either in-process (aka local) - or to operate on another process (aka remote), but only the local path has - been implemented. Remote unwinding remains as future work. - Package: libunwind-19-dev + Build-Profiles: Section: libdevel -Architecture: amd64 arm64 armhf i386 loong64 ppc64 ppc64el riscv64 +Architecture: amd64 arm64 i386 loong64 ppc64el ppc64 riscv64 - Multi-Arch: same Depends: ${misc:Depends}, - libunwind-19 (= ${binary:Version}) - Provides: libunwind-dev, libunwind-x.y-dev + llvm-libunwind1 (>= ${binary:Version}) + Provides: libunwind-x.y-dev Conflicts: libunwind-dev, libunwind-x.y-dev - Replaces: libunwind-dev, libunwind-x.y-dev - Description: production-quality unwinder - libunwind is a production-quality unwinder, with platform support for DWARF - unwind info, SjLj, and ARM EHABI. + Breaks: llvm-libunwind1 (<< 1:19.1.7-11), libunwind-19 (<< 1:19.1.7-11) + Replaces: libunwind-dev, libunwind-x.y-dev, + llvm-libunwind1 (<< 1:19.1.7-11), libunwind-19 (<< 1:19.1.7-11) + Description: LLVM unwinder, not compatible with glibc + llvm-libunwind is the LLVM unwinder, with platform support for DWARF + unwind info, SjLj, and ARM EHABI. Using it for packaging work inside + Debian is not recommended, incompatible with glibc. . The low level libunwind API was designed to work either in-process (aka local) or to operate on another process (aka remote), but only the local path has diff --cc debian/patches/series index f7a8f30ee7,8b446bcdf2..dcb9705723 --- a/debian/patches/series +++ b/debian/patches/series @@@ -74,8 -90,12 +74,9 @@@ remove-apple-clang-manpage.dif # Hurd port hurd/hurd-pathmax.diff hurd/hurd-f_type.diff + hurd/47211c4b96e99a3344a71570a99b991c5f5c1c01.patch - 930008-arm.diff bootstrap-fix-include-next.diff - # bug 939472 #try-to-unbreak-thinlto.diff #D67877-cmake-clang-example.patch @@@ -90,7 -112,7 +91,6 @@@ openmp-fix-runtimes-build.dif libclc-fix-prepare_builtins-rpath.diff llvm-runtimes-builtins-build-check.diff issue-54242.diff - protobuf_3.21.patch - # compiler-rt compiler-rt/compilerrt-builtins-arch-fix-armhf.diff compiler-rt/compilerrt-build-scudo-standalone-option.diff @@@ -114,4 -140,11 +114,12 @@@ mips-mlir-xgot.dif ubuntu-plucky.patch bolt-disable-proc-check.diff python3.13-quote.diff + gcc-15.diff + powerpc-fix-SIGILL.diff + ubuntu-questing.patch + ubuntu-resolute.patch + sanitizer-137440.patch + sanitizer-137403.patch + sanitizer-149140.patch + CVE-2024-7883.diff +raspbian-triplet.patch diff --cc debian/rules index 658de9cec8,fa9e137317..b4f16eb814 --- a/debian/rules +++ b/debian/rules @@@ -431,8 -495,9 +502,9 @@@ ifneq (,$(filter $(DEB_HOST_ARCH), $(PO endif # Enable libunwind (or not) -LIBUNWIND_ARCHS := amd64 arm64 armhf i386 loong64 ppc64 ppc64el riscv64 ++LIBUNWIND_ARCHS := amd64 arm64 i386 loong64 ppc64 ppc64el riscv64 LIBUNWIND_ENABLE=yes - ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel armhf m68k mipsel mips64el hurd-i386 hurd-amd64 powerpc sparc sparc64 x32)) + ifeq (,$(filter $(DEB_HOST_ARCH), $(LIBUNWIND_ARCHS))) LIBUNWIND_ENABLE=no # do not use compiler-rt builtins for libcxx (libcxxabi) when libunwind is # disabled since the gnu implementation in libgcc_s will then be required @@@ -1253,9 -1432,10 +1445,11 @@@ endi endif override_dh_auto_install: + mkdir -p build-llvm/docs/ocamldoc/html/ + ifeq ($(SMALL_DISK),yes) # 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) + endif # install/fast enables a make install without recompiling temporary files LD_LIBRARY_PATH=$(STAGE_2_LIB_DIR):$$LD_LIBRARY_PATH DESTDIR=$(DEB_INST)/ ninja -C $(TARGET_BUILD) $(VERBOSE) stage2-install @@@ -1619,15 -1934,15 +1948,15 @@@ override_dh_installdeb: stamps/repack_a # the openmp header files moved to the same path as lib clang headers. # To make sure they aren't conflicting ( https://bugs.llvm.org/show_bug.cgi?id=46977 ) # Remove them from the libclang-common package - rm -f $(CURDIR)/debian/libclang-common-$(LLVM_VERSION)-dev/usr/lib/llvm-$(LLVM_VERSION)/lib/clang/$(LLVM_VERSION)/include/omp*.h + rm -f $(CURDIR)/debian/libclang-common-$(LLVM_VERSION)-dev/$(LLVM_DIR)/lib/clang/$(LLVM_VERSION)/include/omp*.h # Remove some libc++ abi files in the libc++ file. See bug #969274 - rm -f $(CURDIR)/debian/libc++-$(LLVM_VERSION)-dev/usr/lib/llvm-$(LLVM_VERSION)/include/c++/__cxxabi_config.h $(CURDIR)/debian/libc++-$(LLVM_VERSION)-dev/usr/lib/llvm-$(LLVM_VERSION)/include/c++/cxxabi.h + rm -f $(CURDIR)/debian/libc++-$(LLVM_VERSION)-dev/$(LLVM_DIR)/include/c++/__cxxabi_config.h $(CURDIR)/debian/libc++-$(LLVM_VERSION)-dev/$(LLVM_DIR)/include/c++/cxxabi.h # Remove auto generated python pyc - find $(CURDIR)/debian/llvm-$(LLVM_VERSION)-tools/usr/lib/llvm-$(LLVM_VERSION)/ -name '*.pyc' | xargs -r rm -f + find $(CURDIR)/debian/llvm-$(LLVM_VERSION)-tools/$(LLVM_DIR)/ -name '*.pyc' | xargs -r rm -f -ifeq (${RUN_TEST},yes) +ifeq (false,true) # List of the archs we know we have 100 % tests working ARCH_LLVM_TEST_OK := i386 amd64 @@@ -1735,19 -2051,7 +2065,20 @@@ override_dh_auto_clean rm -f $(CURDIR)/clang/tools/clang-format/clang-format-$(LLVM_VERSION).py rm -rf libclc/build rm -rf build-wasm + rm -f `find . -name '*.pyc'` + rm -rf debian/usr + rm -rf clang/tools/*-3.9 + rm -f `find . -name '*3.9.vim'` + rm -f clang/tools/scan-build/man/scan-build-3.9.1 utils/vim/llvm-3.9-vimrc + rm -f debian/*.install + rm -f clang/tools/scan-view-7.0/share/FileRadar.scpt clang/tools/scan-view-7.0/share/bugcatcher.ico + rm -f `cat debian/morecraptoremove` + rm -rf debian/man + rm -f debian/*.links debian/c*.lintian-overrides debian/l*.lintian-overrides debian/*.META debian/*.dirs debian/*.docs debian/*.symbols debian/*.postinst debian/*.manpages debian/*.examples debian/*.binfmt debian/*.prerm + -rmdir clang/include/clang/Debian/ + -rmdir lldb/docs/doc/ + chmod 644 llvm/cmake/config.guess.hack + rm -rf build-mingw if test -f lld/docs/ld.lld-$(LLVM_VERSION).1; then \ mv lld/docs/ld.lld-$(LLVM_VERSION).1 lld/docs/ld.lld.1; \ fi