Commit Graph

72 Commits

Author SHA1 Message Date
Ubuntu Developers 725146a125 disable-fuzzer-compiler-rt-x86
===================================================================

Gbp-Pq: Name disable-fuzzer-compiler-rt-x86.diff
2022-07-16 17:45:43 +08:00
Ubuntu Developers ea5c4ab3ac D67877
Origin: https://reviews.llvm.org/D67877
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941082

Gbp-Pq: Name D67877.patch
2022-07-16 17:45:43 +08:00
Ubuntu Developers 6e164cbe6c workaround-bug-42994-use-linker
===================================================================

Gbp-Pq: Name workaround-bug-42994-use-linker.diff
2022-07-16 17:45:43 +08:00
Jessica Clarke b8ca7eeeeb [PATCH] [LegalizeTypes][RISCV] Correctly sign-extend comparison for ATOMIC_CMP_XCHG
Summary:
Currently, the comparison argument used for ATOMIC_CMP_XCHG is legalised
with GetPromotedInteger, which leaves the upper bits of the value
undefind. Since this is used for comparing in an LR/SC loop with a
full-width comparison, we must sign extend it. We introduce a new
getExtendForAtomicCmpSwapArg to complement getExtendForAtomicOps, since
many targets have compare-and-swap instructions (or pseudos) that
correctly handle an any-extend input, and the existing function
determines the extension of the result, whereas we are concerned with
the input.

This is related to https://reviews.llvm.org/D58829, which solved the
issue for ATOMIC_CMP_SWAP_WITH_SUCCESS, but not the simpler
ATOMIC_CMP_SWAP.

Reviewers: asb, lenary, efriedma

Reviewed By: asb

Subscribers: arichardson, hiraditya, rbar, johnrusso, simoncook, sabuasal, niosHD, kito-cheng, shiva0217, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, jfb, PkmX, jocewei, psnobl, benna, Jim, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, evandro, llvm-commits

Tags: #llvm

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

Gbp-Pq: Name D74453-riscv-atomic_cmp_xchg.diff
2022-07-16 17:45:43 +08:00
Ubuntu Developers c2e2be7dd8 clang-riscv64-multiarch
===================================================================

Gbp-Pq: Name clang-riscv64-multiarch.diff
2022-07-16 17:45:43 +08:00
Ubuntu Developers 3accf96e48 bootstrap-fix-include-next
When doing a bootstrap, we use a newly built clang.
When this one is used, if already installed on the system,
we have clang header in two places:
llvm-toolchain-7-7/build-llvm/lib/clang/7.0.0/include/inttypes.h
and
/usr/include/clang/7.0.0/include/inttypes.h

Because clang expects only one of his headers to be available, it uses
include_next to get the glibc (libc6-dev package) header.

However, in the previous example, because we have inttypes.h twice in the
include search path, clang's header will call itself without any effect.
Therefore, it will do include_next until the define from the libc is existing (ex: _INTTYPES_H)



Gbp-Pq: Name bootstrap-fix-include-next.diff
2022-07-16 17:45:42 +08:00
Ubuntu Developers 7c81bd4ad0 arm
===================================================================

Gbp-Pq: Name 930008-arm.diff
2022-07-16 17:45:42 +08:00
Ubuntu Developers 63109ea12d hurd-pathmax
===================================================================

Gbp-Pq: Topic hurd
Gbp-Pq: Name hurd-pathmax.diff
2022-07-16 17:45:42 +08:00
Ubuntu Developers 5149035362 hurd-cxx-paths
hurd: find c++ headers
This should be factorized with Linux.cpp and the GNU/kFreeBSD case.


Gbp-Pq: Topic hurd
Gbp-Pq: Name hurd-cxx-paths.diff
2022-07-16 17:45:42 +08:00
Nicholas D Steeves f084f48cc1 Use Debian-provided MathJax everywhere.
Gbp-Pq: Name 0049-Use-Debian-provided-MathJax-everywhere.patch
2022-07-16 17:45:42 +08:00
Ubuntu Developers e151f68e95 remove-apple-clang-manpage
===================================================================

Gbp-Pq: Name remove-apple-clang-manpage.diff
2022-07-16 17:45:41 +08:00
Ubuntu Developers cd2ea138fa clangd-atomic-cmake
===================================================================

Gbp-Pq: Name clangd-atomic-cmake.patch
2022-07-16 17:45:41 +08:00
Ubuntu Developers 323c4b0351 clang-arm-default-vfp3-on-armv7a
===================================================================

Gbp-Pq: Name clang-arm-default-vfp3-on-armv7a.patch
2022-07-16 17:45:41 +08:00
Ubuntu Developers 67d059392f disable-sse2-old-x86
===================================================================

Gbp-Pq: Name disable-sse2-old-x86.diff
2022-07-16 17:45:41 +08:00
Ubuntu Developers 8935bb65c5 clang-baseline-fix-i386
===================================================================

Gbp-Pq: Name clang-baseline-fix-i386.patch
2022-07-16 17:45:41 +08:00
Peter Michael Green 7d4022b799 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
2022-07-16 17:45:40 +08:00
Ubuntu Developers 3fbffaaa54 mips-fpxx-enable
===================================================================

Gbp-Pq: Name mips-fpxx-enable.diff
2022-07-16 17:45:40 +08:00
Ubuntu Developers 26045ae47a libcxx-silent-failure-arm64
===================================================================

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-silent-failure-arm64.diff
2022-07-16 17:45:40 +08:00
Ubuntu Developers 86a89e77ac libcxx-silent-failure-ppc64el
===================================================================

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-silent-failure-ppc64el.diff
2022-07-16 17:45:40 +08:00
Ubuntu Developers 3b8b99d7df libcxx-silent-test-libcxx
===================================================================

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-silent-test-libcxx.diff
2022-07-16 17:45:40 +08:00
Ubuntu Developers 01b6d58cac libcxx-test-atomics-set-compare-exchange-to-be-expected-fails-on-arm
Clang 3.9 regression causes a bug when generating code for
std::atomic_compare_and_exchange*(std::atomic<long long>,...) without
optimizations. If same code is compiled with -O2 tests pass without problems.
Atomics are implement in headers with builtin functions which makes this
affect application code instead of libc++ library code.

libcxx tests default to -O0 compilation so these test need to be marked failing
on arm to allow installing packages. Use cases is so borderline failure that it
shouldn't prevent building the package. (64bit atomics in 32bit mode)


Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-test-atomics-set-compare-exchange-to-be-expected-fails-on-arm.patch
2022-07-16 17:45:40 +08:00
Ubuntu Developers 53545228de 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
2022-07-16 17:45:39 +08:00
Ubuntu Developers fcb3ed7a3d 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
2022-07-16 17:45:39 +08:00
Ubuntu Developers 84cbc7d731 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
2022-07-16 17:45:39 +08:00
Ubuntu Developers c1e17ea118 bootstrap-with-openmp-version-export-missing
===================================================================

Gbp-Pq: Topic openmp
Gbp-Pq: Name bootstrap-with-openmp-version-export-missing.diff
2022-07-16 17:45:39 +08:00
Ubuntu Developers 576a4ce268 openmp-mips-affinity
===================================================================

Gbp-Pq: Topic openmp
Gbp-Pq: Name openmp-mips-affinity.patch
2022-07-16 17:45:38 +08:00
Ubuntu Developers bd4a63da50 openmp-check-execstack
===================================================================

Gbp-Pq: Topic openmp
Gbp-Pq: Name openmp-check-execstack.diff
2022-07-16 17:45:38 +08:00
Ubuntu Developers f037e8d979 disable-error-xray
===================================================================

Gbp-Pq: Name disable-error-xray.diff
2022-07-16 17:45:38 +08:00
Ubuntu Developers 4be721d499 lldb-disable-swig-error
===================================================================

Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-disable-swig-error.diff
2022-07-16 17:45:38 +08:00
Ubuntu Developers d936f31d6d lldb-missing-install
===================================================================

Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-missing-install.diff
2022-07-16 17:45:38 +08:00
Ubuntu Developers 9d680906c4 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
2022-07-16 17:45:38 +08:00
Gianfranco Costamagna 3c72a22599 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
2022-07-16 17:45:37 +08:00
Ubuntu Developers 7f065c6c09 fix-scan-view-path
===================================================================

Gbp-Pq: Name fix-scan-view-path.diff
2022-07-16 17:45:37 +08:00
Ubuntu Developers fd710779ae scan-view-fix-path
===================================================================

Gbp-Pq: Name scan-view-fix-path.diff
2022-07-16 17:45:37 +08:00
Ubuntu Developers e2e54ec9d3 install-scan-build-py
Gbp-Pq: Name install-scan-build-py.diff
2022-07-16 17:45:37 +08:00
Ubuntu Developers df4ed81ecd scan-build-clang-path
Gbp-Pq: Name scan-build-clang-path.diff
2022-07-16 17:45:37 +08:00
Ubuntu Developers f983286f08 test-keep-alive
===================================================================

Gbp-Pq: Name test-keep-alive.diff
2022-07-16 17:45:36 +08:00
Ubuntu Developers 6e8923774f disable-path-test-failing
===================================================================

Gbp-Pq: Name disable-path-test-failing.diff
2022-07-16 17:45:36 +08:00
Sylvestre fda2d0ddae Silent a test failing on yakkety amd64
/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
 ^
Last-Update: 2016-08-26

Gbp-Pq: Name disable-llvm-symbolizer-test.diff
2022-07-16 17:45:36 +08:00
Ubuntu Developers 75f50b124a remove-test-freezing
===================================================================

Gbp-Pq: Name remove-test-freezing.diff
2022-07-16 17:45:36 +08:00
Ubuntu Developers 423cce5b4a silent-llvm-isel-fuzzer
===================================================================

Gbp-Pq: Name silent-llvm-isel-fuzzer.diff
2022-07-16 17:45:36 +08:00
Ubuntu Developers 26603e81ef silent-test-macho
===================================================================

Gbp-Pq: Name silent-test-macho.diff
2022-07-16 17:45:36 +08:00
Ubuntu Developers 4da1d5b01d silent-amd-tet
===================================================================

Gbp-Pq: Name silent-amd-tet.diff
2022-07-16 17:45:35 +08:00
Ubuntu Developers 5e6b34d34a silent-test-failing-codeverage
===================================================================

Gbp-Pq: Name silent-test-failing-codeverage.diff
2022-07-16 17:45:35 +08:00
Ubuntu Developers bba3a5d7fb silent-gold-utils
Gbp-Pq: Name silent-gold-utils.diff
2022-07-16 17:45:35 +08:00
Ubuntu Developers bb639ca692 silent-MCJIIT-tests
Gbp-Pq: Name silent-MCJIIT-tests.diff
2022-07-16 17:45:35 +08:00
Ubuntu Developers af89b3cbe9 silent-more-tests
# Comment the tests for the code coverage (fails otherwise)



Gbp-Pq: Name silent-more-tests.diff
2022-07-16 17:45:35 +08:00
Ubuntu Developers 6e2dce2c95 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
2022-07-16 17:45:34 +08:00
Ubuntu Developers 1009b1acb6 openmp-soname
===================================================================

Gbp-Pq: Name openmp-soname.diff
2022-07-16 17:45:34 +08:00
Ubuntu Developers 35d667e14d lldb-soname
Gbp-Pq: Name lldb-soname.diff
2022-07-16 17:45:34 +08:00