- 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 <plugwash@raspbian.org> 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 <plugwash@raspbian.org> 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 <plugwash@raspbian.org> 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 <plugwash@raspbian.org> at Tue, 03 Jun 2025 16:16:20 +0000]
++ * Remove armhf from architecture list for libunwind-19-dev dependency.
++
++ -- Peter Michael Green <plugwash@raspbian.org> 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 <sylvestre@debian.org> 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 <doko@debian.org> 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 <doko@debian.org> 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 <doko@debian.org> 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 <doko@debian.org> 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 <doko@debian.org> 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 <doko@debian.org> 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/<multiarch>. 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 <doko@debian.org> 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 <doko@debian.org> 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 <doko@debian.org> 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 <doko@debian.org> 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 <sylvestre@debian.org> 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 <doko@debian.org> 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 <hyucek@gmail.com> 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 <root@raspbian.org> Mon, 31 Mar 2025 13:39:54 +0000
+ -- Sylvestre Ledru <sylvestre@debian.org> Sat, 26 Apr 2025 22:36:24 +0200
llvm-toolchain-19 (1:19.1.7-3) unstable; urgency=medium
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
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
# 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
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