Merge tag '1%9.0.1-8+rpi1' of 172.17.3.10:/build/git/l/llvm-toolchain-9 into bullseye... archive/raspbian/1%10.0.0-1+rpi1 raspbian/1%10.0.0-1+rpi1
authorPeter Michael Green <plugwash@raspbian.org>
Thu, 2 Apr 2020 00:32:40 +0000 (00:32 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 2 Apr 2020 00:45:57 +0000 (00:45 +0000)
1  2 
compiler-rt/cmake/base-config-ix.cmake
debian/changelog
debian/control
debian/patches/series
debian/rules

index 20d62fb1806516587cd03d715611efcb619956c7,c28ac1f4158d030454696588744f760bbc2c3c39..97843de80290fb4feed35f9d18203eed7fb3de77
 -llvm-toolchain-9 (1:9.0.1-8+rpi1) bullseye-staging; urgency=medium
++llvm-toolchain-10 (1:10.0.0-1+rpi1) bullseye-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
 - -- Raspbian forward porter <root@raspbian.org>  Sat, 01 Feb 2020 20:35:27 +0000
++ -- Raspbian forward porter <root@raspbian.org>  Thu, 02 Apr 2020 00:28:06 +0000
++
 +llvm-toolchain-10 (1:10.0.0-1) unstable; urgency=medium
 +
 +  * New release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 24 Mar 2020 17:37:07 +0100
 +
 +llvm-toolchain-10 (1:10.0.0~+rc6-1) unstable; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * Sixth RC release
 +  * Really fix the arm64 autopkgtest
 +
 +  [ Gianfranco Costamagna ]
 +  * debian/patches/d21664cce1db8debe2528f36b1fbd2b8af9c9401.patch:
 +    - cherry-pick upstream commit to hopefully unbreak mesa builds
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 23 Mar 2020 20:39:36 +0100
 +
 +llvm-toolchain-10 (1:10.0.0~+rc5-1) unstable; urgency=medium
 +
 +  * Fith RC release
 +  * Make autopkgtest/qualify-clang.sh work on arm64
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 19 Mar 2020 15:59:43 +0100
 +
 +llvm-toolchain-10 (1:10.0.0~+rc4-1) unstable; urgency=medium
 +
 +  * Fourth RC release
 +  * Disable the emmintrin.h build test in qualify-clang.sh on arm64
 +  * Add some tests for clangd usage
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 13 Mar 2020 20:42:36 +0100
 +
 +llvm-toolchain-10 (1:10.0.0~+rc3-1) unstable; urgency=medium
 +
 +  * Third RC release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 04 Mar 2020 14:56:12 +0100
 +
 +llvm-toolchain-10 (1:10.0.0~+rc2-3) unstable; urgency=medium
 +
 +  * Disable libfuzzer on x86
 +    https://bugs.llvm.org/show_bug.cgi?id=43677
 +    FTBFS otherwise
 +  * Add a libclang-cpp10-dev package (needed to unbreak the cmake)
 +    https://bugs.llvm.org/show_bug.cgi?id=42432
 +    This makes libclang-cpp10 usable and polish the links and dups
 +  * Fix the *clang* desc as C++17 is supported
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 01 Mar 2020 20:59:25 +0100
 +
 +llvm-toolchain-10 (1:10.0.0~+rc2-2) unstable; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * Bring back libfuzzer, for some reasons I don't remember
 +    I disabled it:
 +    https://bugs.llvm.org/show_bug.cgi?id=41956
 +  * Silent the polly tests in debian/qualify-clang.sh
 +    clang (LLVM option parsing): Unknown command line argument
 +    '-polly'.  Try: 'clang (LLVM option parsing) --help'
 +
 +  [ Aurelien Jarno ]
 +  * Also disable hwasan_symbolize on mipsel mips64el riscv64
 +
 +  [ Gianfranco Costamagna ]
 +  * Patch to convert old python3 cgi method into the new html one
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 29 Feb 2020 14:04:22 +0100
 +
 +llvm-toolchain-10 (1:10.0.0~+rc2-1) unstable; urgency=medium
 +
 +  * Upload to unstable to get ci.debian.net testing
 +  * Also disable hwasan_symbolize on armel s390x powerpc ppc64
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 16 Feb 2020 14:50:53 +0100
 +
 +llvm-toolchain-10 (1:10.0.0~+rc2-1~exp1) experimental; urgency=medium
 +
 +  * Second RC release
 +    - Should fix the s390x issue (reported upstream)
 +    (Closes: #950900)
 +  * Do not try to install hwasan_symbolize on armhf ppc64el
 +    as it isn't built
 +    (Closes: #950899)
 +
 +  [ Samuel Thibault ]
 +  * hurd/hurd-cxx-paths.diff: Fix patch so it can be applied.
 +  * clang-tools-X.Y.install.in: Do not try to install hwasan_symbolize on
 +    hurd-any.
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 06 Feb 2020 10:37:39 +0100
 +
 +llvm-toolchain-10 (1:10.0.0~+rc1-1~exp1) experimental; urgency=medium
 +
 +  [ Gianfranco Costamagna ]
 +  * fix lldb-10 -P path print (Closes: #945445)
 +  * Fix lldb python installation path and symlinks
 +  * Drop version constraint from libffi-dev library, satisfied since
 +    old-old-stable
 +
 +  [ Sylvestre Ledru ]
 +  * First RC release
 +  * For now, disable ThinLTO usage because:
 +      - LLVM_ENABLE_LTO doesn't work with gcc >= 9 (option not accepted)
 +      - BOOTSTRAP_LLVM_ENABLE_LTO is producing some large binary
 +        (uses llvm ir instead of binary code)
 +        See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943623
 +  * Thanks to this previous change, don't hardcode gcc 8
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 03 Feb 2020 10:30:50 +0100
 +
 +llvm-toolchain-10 (1:10~++20200121023453+de4b2a7fad6-1~exp1) experimental; urgency=medium
 +
 +  * Branch llvm-toolchain-10 into its own branch
 +  * Merge recent 9 changes (python 3 and testsuite mostly)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 21 Jan 2020 14:38:02 +0100
 +
 +llvm-toolchain-snapshot (1:10~+20191229111838+6991d5728f1-1~exp1) experimental; urgency=medium
 +
 +  * experimental New snapshot release
 +  * Add a '+' in the version (as the old upload is high than the one without)
 +    Will be removed in 11
 +  * Sync 9 into 10
 +  * Change of the version layout date+short git version
 +  * Install /usr/lib/llvm-@LLVM_VERSION@/lib/libarcher_static.a
 +    /usr/lib/llvm-@LLVM_VERSION@/lib/libarcher.so in libomp-X-dev
 +  * Install usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION_FULL@/bin/hwasan_symbolize in clang-tools-X.Y
 +  * Introduce python3-clang-10 (closes: #942826)
 +  * Remove python-lldb-10
 +  * Remove Python 2 deps (Closes: #945695)
 +  * Disable the polly testsuite:
 +    - freezing in the current build
 +    - not a big deal if failing
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 29 Dec 2019 12:47:15 +0100
 +
 +llvm-toolchain-snapshot (1:10~+201911120943210600592dd459242-1~exp1) experimental; urgency=medium
 +
 +  * Repack to move to git
 +  * Change the versionning scheme to git:
 +    Infos of the last commit
 +    - ~+ (this syntax is to make sure that this version > ~svn)
 +    - date
 +    - hour/minute/second
 +    - short git hash
 +  * Move the checkout of the sources from svn to git
 +  * Use -DLLVM_ENABLE_PROJECTS instead of symlinks
 +  * Use -DBOOTSTRAP_LLVM_ENABLE_LTO instead of
 +    -DLLVM_ENABLE_LTO (not sure what it wasn't done)
 +  * clang: Force the installation of libclang-cpp with the exact same version
 +    and remove libclang as dep
 +  * Bunch of changes coming from the branch 9
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 12 Nov 2019 16:51:40 +0100
 +
 +llvm-toolchain-snapshot (1:10~svn375339-1~exp1) experimental; urgency=medium
 +
 +  * New snapshot release
 +  * Last upload before the move to git
 +  * lldb-libname.diff: disable for now, seems it that it is now handled
 +    by cmake https://reviews.llvm.org/D68858. TODO: check it still work
 +  * Remove "revert-r373786-libclang-cpp.diff" (applied upstream)
 +  * Add dependency between libclang-cpp => libllvm with the exact version
 +    (Closes: #942526)
 +  * Build using -DCLANG_LINK_CLANG_DYLIB=ON to force the usage of dynamic
 +    library instead of static library when building clang tools.
 +    Decreases the total size from 510M to 278M (amd64)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 19 Oct 2019 12:19:36 +0200
 +
 +llvm-toolchain-snapshot (1:10~svn374655-1~exp1) experimental; urgency=medium
 +
 +  * New snapshot release
 +  * Install pp-trace, clang-move and clang-offload-wrapper in
 +    clang-tools-10
 +  * Revert
 +    "[clang-tools-extra] [cmake] Link against libclang-cpp whenever
 +    possible" as it introduces a dep from libclang to libclang-cpp
 +    Breaking the symbol list (and people should like to libclang-cpp
 +    if they want to use C++ api)
 +    https://bugs.llvm.org/show_bug.cgi?id=43589
 +  * Added a check in debian/rules to prevent that from happening again
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 12 Oct 2019 16:27:53 +0200
 +
 +llvm-toolchain-snapshot (1:10~svn372920-1~exp1) experimental; urgency=medium
 +
 +  * New snapshot release
 +  * Add two new symbols to libclang1:
 +    - clang_install_aborting_llvm_fatal_error_handler
 +    - clang_uninstall_llvm_fatal_error_handler
 +  * site-packages renamed to dist-packages in python3-lldb-10
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 07 Sep 2019 09:07:01 +0200
 +
 +llvm-toolchain-snapshot (1:10~svn370840-1~exp1) experimental; urgency=medium
 +
 +  * New snapshot release
 +  * Update of the license file. Upstream moved to Apache 2
 +    with LLVM exception (Closes: #935149)
 +  * Debian moved to gcc-9. This gcc version now refuses -flto="Thin"
 +    Move from LLVM_ENABLE_LTO="Thin" to BOOTSTRAP_LLVM_ENABLE_LTO="Thin"
 +    to mitigate the issue (the argument should be passed only at the
 +    second stage of the build process)
 +    See https://bugs.llvm.org/show_bug.cgi?id=43193
 +  * Rename libclang-cpp1-10 to libclang-cpp10 to match the soname and libllvm10
 +    naming (at some point, all libs should do that ...)
 +  * New symbols in libomp5:
 +   - GOMP_loop_nonmonotonic_dynamic_next
 +   - GOMP_loop_nonmonotonic_dynamic_start
 +   - GOMP_loop_nonmonotonic_guided_next
 +   - GOMP_loop_nonmonotonic_guided_start
 +   - GOMP_loop_ull_nonmonotonic_dynamic_next
 +   - GOMP_loop_ull_nonmonotonic_dynamic_start
 +   - GOMP_loop_ull_nonmonotonic_guided_next
 +   - GOMP_loop_ull_nonmonotonic_guided_start
 +   - GOMP_parallel_loop_nonmonotonic_dynamic
 +   - GOMP_parallel_loop_nonmonotonic_guided
 +  * Workaround bug https://bugs.llvm.org/show_bug.cgi?id=42994
 +    (fails to link on Debian buster)
 +  * for Ubuntu xenial: pass PYTHON_EXE to the stage2 build
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 04 Sep 2019 11:42:50 +0200
 +
 +llvm-toolchain-snapshot (1:10~svn368740-1~exp1) experimental; urgency=medium
 +
 +  [ Gianfranco Costamagna ]
 +  * Fixed wrong shlib generation of libomp5 library
 +  * clangd: fix missing epoch in breaks/replaces relationship
 +  * testsuite, add python, used in some test
 +  * Cherry-pick various fixes from branch 8 and 9, do not break anymore with libllvm3.9v4
 +
 +  [ Aurelien Jarno ]
 +  * Add support for riscv64:
 +    - Always link with -latomic on riscv64.
 +    - patches/clang-riscv64-multiarch.diff: add multiarch paths for riscv64.
 +    - patches/clang-riscv64-rv64gc.diff: default to lp64d ABI and rv64gc ISA.
 +  * Document riscv64 debian specific changes in README.source.
 +
 +  [ Sylvestre Ledru ]
 +  * New snapshot release
 +  * lldb-mi removed
 +  * Ship clangd-10 as a new package (Closes: #932432)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 13 Aug 2019 21:37:46 +0200
 +
 +llvm-toolchain-snapshot (1:10~svn368706-1~exp1) experimental; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * lldb-mi removed
 +
 +  [ Gianfranco Costamagna ]
 +  * clangd: fix missing epoch in breaks/replaces relationship
 +  * testsuite, add python, used in some test
 +  * Cherry-pick various fixes from branch 8 and 9, do not break anymore with libllvm3.9v4
 +
 +  [ Sylvestre Ledru ]
 +  * New snapshot release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 13 Aug 2019 17:55:41 +0200
 +
 +llvm-toolchain-snapshot (1:10~svn366440-1~exp1) experimental; urgency=medium
 +
 +  * New version in snapshot (10)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 18 Jul 2019 18:58:32 +0200
  
  llvm-toolchain-9 (1:9.0.1-8) unstable; urgency=medium
  
diff --cc debian/control
index 253bec635d585c10491e2f8ca81ef2064a7c9e7c,e64da258d71f7ac245ed86c2e6f5db4cd92b505a..452f75a8d3019f49722f0ef5b388120d7ddb0385
@@@ -19,11 -19,12 +19,11 @@@ Build-Depends: debhelper (>= 9.0), cmak
      libctypes-ocaml-dev [amd64 arm64 armhf i386 ppc64el s390x],
      dh-exec, dh-ocaml [amd64 arm64 armhf i386 ppc64el s390x],
      libpfm4-dev [linux-any], python3-setuptools, libz3-dev,
- Build-Conflicts: oprofile, ocaml
 -    g++-8 | g++-7 | g++-6 | g++-5 | g++-4.7
+ Build-Conflicts: oprofile, ocaml, libllvm-3.8-ocaml-dev, libllvm-3.9-ocaml-dev
  Standards-Version: 4.2.1
  Homepage: https://www.llvm.org/
 -Vcs-Git: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain.git -b 9
 -Vcs-Browser: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/tree/9
 +Vcs-Git: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain.git -b 10
 +Vcs-Browser: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/tree/10
  
  # ------------- clang -------------
  
index f727360b588841a84ffa6627008d88b9dd08892e,0e6f4261cbb8c0f71c2661edf46d27faf5fe9ab0..2c5acb46bfd1aca61b90e26c23d4c44a919b5126
@@@ -32,10 -27,8 +27,8 @@@ fix-llvm-config-obj-src-root.patc
  # Lib names
  0044-soname.diff
  lldb-soname.diff
 -lldb-libname.diff
 +#lldb-libname.diff
  openmp-soname.diff
  # Disable some tests
  silent-gold-test.diff
  silent-more-tests.diff
@@@ -95,11 -79,10 +79,10 @@@ clangd-atomic-cmake.patc
  #  https://reviews.llvm.org/D60380
  remove-apple-clang-manpage.diff
  0049-Use-Debian-provided-MathJax-everywhere.patch
  # Hurd port
 -hurd/hurd-pathmax.diff
 -hurd/impl-path-hurd.diff
  hurd/hurd-cxx-paths.diff
 +hurd/hurd-pathmax.diff
 +
  # powerpcspe
  #powerpcspe/D49754-powerpcspe-clang.diff
  #powerpcspe/D54583-powerpcspe-double-parameter.diff
  # kfreebsd/lldb_source_Host_freebsd_Host.cpp.diff
  # kfreebsd/lldb_source_Plugins_Process_FreeBSD.diff
  # kfreebsd/tools_llvm-shlib_CMakeLists.txt.diff
  930008-arm.diff
  bootstrap-fix-include-next.diff
  # riscv64
  clang-riscv64-multiarch.diff
 -clang-riscv64-rv64gc.diff
 -llvm-riscv64-fix-cffi.diff
 -D60657-riscv-pcrel_lo.diff
 +
 +# Compiler-rt - workaround
 +workaround-bug-42994-use-linker.diff
 +
 +# bug 939472
  #try-to-unbreak-thinlto.diff
  D67877.patch
 -disable-lit-cpuid-install.diff
 -disable-fuzzer-compiler-rt.diff
 +disable-fuzzer-compiler-rt-x86.diff
  no-z3.patch
 -# bug #946874
 -D71028-mips-rust-test.diff
 +
  python3-shebang.patch
  print-lldb-path.patch
 +no-cgi.patch
 +d21664cce1db8debe2528f36b1fbd2b8af9c9401.patch
+ raspbian-triplet.patch
diff --cc debian/rules
Simple merge