llvm-toolchain-13.git
3 years agoset correct float abi settings for armel and armhf
Peter Michael Green [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
set correct float abi settings for armel and armhf

debian armel supports systems that don't have a fpu so should use a "float abi"
setting of soft by default.

Debian armhf needs a float abi setting of "hard"

Gbp-Pq: Name 26-set-correct-float-abi.diff

3 years ago[PATCH] [MC][ELF] Work around R_MIPS_LO16 relocation handling problem
Dimitry Andric [Mon, 3 May 2021 18:08:49 +0000 (20:08 +0200)]
[PATCH] [MC][ELF] Work around R_MIPS_LO16 relocation handling problem

This fixes PR49821, and avoids "ld.lld: error: test.o:(.rodata.str1.1):
offset is outside the section" errors when linking MIPS objects with
negative R_MIPS_LO16 implicit addends.

ld.lld handles R_MIPS_HI16/R_MIPS_LO16 separately, not as a whole, so it
doesn't know that an R_MIPS_HI16 with implicit addend 1 and an
R_MIPS_LO16 with implicit addend -32768 represents 32768, which is in
range of a MergeInputSection. We could introduce a new RelExpr member
(like R_RISCV_PC_INDIRECT for R_RISCV_PCREL_HI20 / R_RISCV_PCREL_LO12)
but the complexity is unnecessary given that GNU as keeps the original
symbol for this case as well.

Reviewed By: atanasyan, MaskRay

Differential Revision: https://reviews.llvm.org/D101773

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-D101773-reloc.patch

3 years agomips-force-nomadd4
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
mips-force-nomadd4

The MIPS port aims to support the Loongson 3 family of CPUs in addition
of the other MIPS CPUs. On the Loongson 3 family the MADD4 instructions
are fused, while they are not fused on the other MIPS CPUs. In order to
support both, we have to disabled those instructions.

For that, the patch below basically corresponds to the --with-madd4=no
used on the GCC side.

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-force-nomadd4.patch

3 years agomips-fpxx-enable
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
mips-fpxx-enable

===================================================================

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-fpxx-enable.diff

3 years agolibcxx-silent-failure-arm64
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
libcxx-silent-failure-arm64

===================================================================

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-silent-failure-arm64.diff

3 years agolibcxx-silent-failure-ppc64el
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
libcxx-silent-failure-ppc64el

===================================================================

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-silent-failure-ppc64el.diff

3 years agolibcxx-silent-test-libcxx
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
libcxx-silent-test-libcxx

===================================================================

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-silent-test-libcxx.diff

3 years agolibcxxabi-arm-ehabi-fix
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
libcxxabi-arm-ehabi-fix

Fix arm EHABI code to work. armhf had exception test failing without EHABI support.

No known upstream bug about this. Actual code change is more like workaround than
something that upstream would accept. Proper fix would be adding _Unwind_Control_Block
to clang unwind.h. _Unwind_Control_Block should also extend _Unwind_Exception to make
sure their ABI stays in sync.

No known upstream bug about this.

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxxabi-arm-ehabi-fix.patch

3 years agolibcxx-test-fix-lockfree-test-for-i386
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
libcxx-test-fix-lockfree-test-for-i386

Lock is_always_lock free test fails on i386 because std::atomic is aligned

Lock is_always_lock free test fails on i386 because std::atomic is aligned
to 8 bytes while long long is aligned to 4 bytes. clang can't generate inline
code for unaligned 8 byte atomics even tough instruction set and gcc support
it.

That makes it expected thaqt ATOMIC_LLONG_LOCK_FREE and
std::atomic<long long>::is_always_lock_free don't match on i386. Correct test
for std::atomic<long long> is to check if target cpu support cmpxchg8 instruction.
To set instruction support one can check __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 define.

Bug: https://llvm.org/bugs/show_bug.cgi?id=19355

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-test-fix-lockfree-test-for-i386.patch

3 years agolibcxxabi-test-don-t-fail-extended-long-double
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
libcxxabi-test-don-t-fail-extended-long-double

Powerpc has extended double that doesn't match x86 coding. Power format would
need special tests to verify correctness but for now it is enough to prevent
incorrect test from running.

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxxabi-test-don-t-fail-extended-long-double.patch

3 years agoopenmp-mips-affinity
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
openmp-mips-affinity

===================================================================

Gbp-Pq: Topic openmp
Gbp-Pq: Name openmp-mips-affinity.patch

3 years agoopenmp-check-execstack
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
openmp-check-execstack

===================================================================

Gbp-Pq: Topic openmp
Gbp-Pq: Name openmp-check-execstack.diff

3 years agodisable-error-xray
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
disable-error-xray

===================================================================

Gbp-Pq: Name disable-error-xray.diff

3 years agolldb-disable-swig-error
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
lldb-disable-swig-error

===================================================================

Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-disable-swig-error.diff

3 years agolldb-missing-install
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
lldb-missing-install

===================================================================

Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-missing-install.diff

3 years agolldb-addversion-suffix-to-llvm-server-exec
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
lldb-addversion-suffix-to-llvm-server-exec

lldb-server exec users always /usr/bin/lldb-server. Server is required
for any debugging with lldb which makes it unusable unless default version
package has been installed. Small changes to code and debian/rules allows
a workaround for lldb-server start up.

To use this one needs to add cmake definition during configure. eg
-DDEBIAN_VERSION_SUFFIX=-$(LLVM_VERSION)

Better implementation would be to use /usr/share/llvm-$(VERSION)/bin but
that change seems to require a big change to the path handling code
which could then break something else.

This probably should have upstream bug but I couldn't find any existing report.

Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-addversion-suffix-to-llvm-server-exec.patch

3 years agoLink with -latomic when mips* processor is detected
Gianfranco Costamagna [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
Link with -latomic when mips* processor is detected

Last-Update: 2016-07-27

Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-link-atomic-cmake.patch

3 years agofix-scan-view-path
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
fix-scan-view-path

===================================================================

Gbp-Pq: Name fix-scan-view-path.diff

3 years agoscan-view-fix-path
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
scan-view-fix-path

===================================================================

Gbp-Pq: Name scan-view-fix-path.diff

3 years agoscan-build-clang-path
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
scan-build-clang-path

Gbp-Pq: Name scan-build-clang-path.diff

3 years agotest-keep-alive
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
test-keep-alive

===================================================================

Gbp-Pq: Name test-keep-alive.diff

3 years agodisable-path-test-failing
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
disable-path-test-failing

===================================================================

Gbp-Pq: Name disable-path-test-failing.diff

3 years agoSilent a test failing on yakkety amd64
Sylvestre [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
Silent a test failing on yakkety amd64

Last-Update: 2016-08-26

/tmp/buildd/llvm-toolchain-snapshot-4.0~svn279801/llvm/test/tools/llvm-symbolizer/print_context.c:16:11: error: expected string not found in input
// CHECK: inc
         ^
<stdin>:1:1: note: scanning from here
_fini
^
<stdin>:1:3: note: possible intended match here
_fini
 ^

Gbp-Pq: Name disable-llvm-symbolizer-test.diff

3 years agoremove-test-freezing
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
remove-test-freezing

===================================================================

Gbp-Pq: Name remove-test-freezing.diff

3 years agosilent-llvm-isel-fuzzer
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
silent-llvm-isel-fuzzer

===================================================================

Gbp-Pq: Name silent-llvm-isel-fuzzer.diff

3 years agosilent-test-macho
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
silent-test-macho

===================================================================

Gbp-Pq: Name silent-test-macho.diff

3 years agosilent-amd-tet
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
silent-amd-tet

===================================================================

Gbp-Pq: Name silent-amd-tet.diff

3 years agosilent-test-failing-codeverage
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
silent-test-failing-codeverage

===================================================================

Gbp-Pq: Name silent-test-failing-codeverage.diff

3 years agosilent-gold-utils
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
silent-gold-utils

Gbp-Pq: Name silent-gold-utils.diff

3 years agosilent-MCJIIT-tests
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
silent-MCJIIT-tests

Gbp-Pq: Name silent-MCJIIT-tests.diff

3 years agosilent-more-tests
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
silent-more-tests

# Comment the tests for the code coverage (fails otherwise)

Gbp-Pq: Name silent-more-tests.diff

3 years agofails on debian unstable amd64
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
fails on debian unstable amd64

Command Output (stderr):
--
/build/llvm-toolchain-snapshot-4.0~svn279916/llvm/test/tools/gold/X86/start-lib-common.ll:22:10: error: expected string not found in input
; CHECK: @x = common global i32 0, align 8
         ^
<stdin>:1:1: note: scanning from here
; ModuleID = '/build/llvm-toolchain-snapshot-4.0~svn279916/build-llvm/llvm/test/tools/gold/X86/Output/start-lib-common.ll.tmp3.o'
^
<stdin>:4:1: note: possible intended match here
@x = common global i32 0, align 4
^

Gbp-Pq: Name silent-gold-test.diff

3 years agoopenmp-soname
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
openmp-soname

===================================================================

Gbp-Pq: Name openmp-soname.diff

3 years agolldb-soname
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
lldb-soname

Gbp-Pq: Name lldb-soname.diff

3 years agosoname
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
soname

Gbp-Pq: Name 0044-soname.diff

3 years ago[PATCH] [llvm] cmake: resolve symlinks in LLVMConfig.cmake
Peter Wu [Fri, 4 May 2018 13:43:06 +0000 (15:43 +0200)]
[PATCH] [llvm] cmake: resolve symlinks in LLVMConfig.cmake

Ensure that symlinks such as /usr/lib/llvm-X.Y/cmake (pointing to
lib/cmake/llvm) are resolved. This ensures that LLVM_INSTALL_PREFIX
becomes /usr/lib/llvm-X.Y instead of /usr.

Partially addresses PR37128

Gbp-Pq: Name 0001-llvm-cmake-resolve-symlinks-in-LLVMConfig.cmake.patch

3 years agodisable-display-PASS-UNSUPPORTED-XFAIL
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
disable-display-PASS-UNSUPPORTED-XFAIL

===================================================================

Gbp-Pq: Name disable-display-PASS-UNSUPPORTED-XFAIL.diff

3 years agodo-not-fail-on-unexpected-pass
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
do-not-fail-on-unexpected-pass

===================================================================

Gbp-Pq: Name do-not-fail-on-unexpected-pass.diff

3 years agodebug-jit-path
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
debug-jit-path

===================================================================

Gbp-Pq: Name debug-jit-path.diff

3 years ago[PATCH] [clang] cmake: resolve symlinks in ClangConfig.cmake
Peter Wu [Fri, 4 May 2018 13:55:26 +0000 (15:55 +0200)]
[PATCH] [clang] cmake: resolve symlinks in ClangConfig.cmake

Ensure that symlinks such as /usr/lib/cmake/clang-X.Y (pointing to
/usr/lib/llvm-X.Y/lib/cmake/llvm) are resolved. This ensures that
CLANG_INSTALL_PREFIX ends up to be /usr/lib/llvm-X.Y instead of /usr.

Partially addresses PR37128

Gbp-Pq: Name 0001-tools-clang-cmake-resolve-symlinks-in-ClangConfig.cmake.patch

3 years agoclang-tidy-run-bin
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
clang-tidy-run-bin

===================================================================

Gbp-Pq: Name clang-tidy-run-bin.diff

3 years agosymbolizer-path
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
symbolizer-path

===================================================================

Gbp-Pq: Name symbolizer-path.diff

3 years agoSet html_static_path = ['_static'] everywhere.
Nicholas D Steeves [Sun, 11 Feb 2018 02:00:55 +0000 (21:00 -0500)]
Set html_static_path = ['_static'] everywhere.

Gbp-Pq: Name 0048-Set-html_static_path-_static-everywhere.patch

3 years agofix-clang-path-and-build
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
fix-clang-path-and-build

===================================================================

Gbp-Pq: Name fix-clang-path-and-build.diff

3 years agopython-clangpath
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
python-clangpath

Gbp-Pq: Name python-clangpath.diff

3 years agoatomic_library_1
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
atomic_library_1

Gbp-Pq: Name atomic_library_1.diff

3 years agounwind-chain-inclusion
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
unwind-chain-inclusion

# Without this patch, the first local include of unwind.h might, with the
# __has_include_next, try to include the one from the system.
# It might be /usr/include/clang/3.4/include/unwind.h
# Because of the #ifndef __CLANG_UNWIND_H, it might never include any declaration
# from the system.

Gbp-Pq: Name unwind-chain-inclusion.diff

3 years agodeclare_clear_cache
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
declare_clear_cache

Gbp-Pq: Name declare_clear_cache.diff

3 years agostrlcpy_strlcat_warning_removed
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
strlcpy_strlcat_warning_removed

Gbp-Pq: Name 23-strlcpy_strlcat_warning_removed.diff

3 years agoclang-analyzer-force-version
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
clang-analyzer-force-version

# Force the version of clang in the analyzer
# This was causing the static analyzer to fail silently if the clang & clang++ are
# not installed

Gbp-Pq: Name clang-analyzer-force-version.diff

3 years agoclang-format-version
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
clang-format-version

Gbp-Pq: Name clang-format-version.diff

3 years agoDebian-version-info-and-bugreport
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
Debian-version-info-and-bugreport

Gbp-Pq: Name 0003-Debian-version-info-and-bugreport.patch

3 years agoclang_debian_version
LLVM Packaging Team [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
clang_debian_version

===================================================================

Gbp-Pq: Name 19-clang_debian_version.patch

3 years agollvm-toolchain-13 (1:13.0.1-7) unstable; urgency=medium
Sylvestre Ledru [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
llvm-toolchain-13 (1:13.0.1-7) unstable; urgency=medium

  [ Michael Biebl ]
  * Add support for systemd-binfmt (Closes: #1012367)

  [ Sam McCall ]
  * Add conventional symlink to libc++ headers in /usr/include/c++/v1
    See https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/merge_requests/95
    for more information

[dgit import unpatched llvm-toolchain-13 1:13.0.1-7]

3 years agoImport llvm-toolchain-13_13.0.1-7.debian.tar.xz
Sylvestre Ledru [Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)]
Import llvm-toolchain-13_13.0.1-7.debian.tar.xz

[dgit import tarball llvm-toolchain-13 1:13.0.1-7 llvm-toolchain-13_13.0.1-7.debian.tar.xz]

3 years agoImport llvm-toolchain-13_13.0.1.orig.tar.xz
Sylvestre Ledru [Thu, 3 Feb 2022 09:21:56 +0000 (09:21 +0000)]
Import llvm-toolchain-13_13.0.1.orig.tar.xz

[dgit import orig llvm-toolchain-13_13.0.1.orig.tar.xz]