llvm-toolchain-14.git
3 years agomips-force-nomadd4
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
mips-fpxx-enable

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

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

3 years agolibcxx-armhf-ftbfs
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
libcxx-armhf-ftbfs

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

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-armhf-ftbfs.diff

3 years agolibcxxabi-fix-link-builtins
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
libcxxabi-fix-link-builtins

if LIBCXXABI_USE_COMPILER_RT=ON, add builtins to libcxxabi library
flags, otherwise add libgcc following how libunwind does the same

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxxabi-fix-link-builtins.diff

3 years agolibcxx-libatomic-only-with-gcc-rtlib
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
libcxx-libatomic-only-with-gcc-rtlib

if libatomic is found only link it if libgcc is the rtlib

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-libatomic-only-with-gcc-rtlib.diff

3 years agolibcxx-silent-failure-arm64
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
openmp-mips-affinity

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

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

3 years agoopenmp-check-execstack
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
openmp-check-execstack

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

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

3 years agodisable-error-xray
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
disable-error-xray

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

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

3 years agolldb-disable-swig-error
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
fix-scan-view-path

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

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

3 years agoscan-view-fix-path
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
scan-view-fix-path

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

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

3 years agoscan-build-clang-path
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
scan-build-clang-path

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

3 years agotest-keep-alive
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
test-keep-alive

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

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

3 years agodisable-path-test-failing
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
disable-path-test-failing

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

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

3 years agoSilent a test failing on yakkety amd64
Sylvestre [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
remove-test-freezing

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

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

3 years agosilent-llvm-isel-fuzzer
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
silent-llvm-isel-fuzzer

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

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

3 years agosilent-test-macho
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
silent-test-macho

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

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

3 years agosilent-amd-tet
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
silent-amd-tet

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

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

3 years agosilent-test-failing-codeverage
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
silent-test-failing-codeverage

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

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

3 years agosilent-gold-utils
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
silent-gold-utils

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

3 years agosilent-MCJIIT-tests
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
silent-MCJIIT-tests

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

3 years agosilent-more-tests
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
openmp-soname

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

Gbp-Pq: Name openmp-soname.diff

3 years agolldb-soname
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
lldb-soname

Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-soname.diff

3 years agosoname
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
soname

Gbp-Pq: Name 0044-soname.diff

3 years agodisable-display-PASS-UNSUPPORTED-XFAIL
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
clang-tidy-run-bin

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

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

3 years agosymbolizer-path
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
fix-clang-path-and-build

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

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

3 years agopython-clangpath
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
python-clangpath

Gbp-Pq: Name python-clangpath.diff

3 years agoatomic_library_1
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
atomic_library_1

Gbp-Pq: Name atomic_library_1.diff

3 years agounwind-chain-inclusion
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
declare_clear_cache

Gbp-Pq: Name declare_clear_cache.diff

3 years agostrlcpy_strlcat_warning_removed
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
strlcpy_strlcat_warning_removed

Gbp-Pq: Name 23-strlcpy_strlcat_warning_removed.diff

3 years agoclang-analyzer-force-version
LLVM Packaging Team [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
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, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
clang-format-version

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

3 years agollvm-toolchain-14 (1:14.0.6-8) unstable; urgency=medium
Sylvestre Ledru [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
llvm-toolchain-14 (1:14.0.6-8) unstable; urgency=medium

  * Fix the lldb swig issues (closes: #1023444)
  * Enable LLVM_USE_RELATIVE_PATHS_IN_DEBUG_INFO to help with caching
  * Adjust to protobuf 3.21 (Closes: #1023533)

[dgit import unpatched llvm-toolchain-14 1:14.0.6-8]

3 years agoImport llvm-toolchain-14_14.0.6-8.debian.tar.xz
Sylvestre Ledru [Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)]
Import llvm-toolchain-14_14.0.6-8.debian.tar.xz

[dgit import tarball llvm-toolchain-14 1:14.0.6-8 llvm-toolchain-14_14.0.6-8.debian.tar.xz]

3 years agoImport llvm-toolchain-14_14.0.6.orig.tar.xz
Sylvestre Ledru [Sat, 25 Jun 2022 07:56:23 +0000 (08:56 +0100)]
Import llvm-toolchain-14_14.0.6.orig.tar.xz

[dgit import orig llvm-toolchain-14_14.0.6.orig.tar.xz]