rustc.git
5 years agod-ignore-avx-44056
Debian Rust Maintainers [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
d-ignore-avx-44056

Bug: https://github.com/rust-lang/rust/pull/55667

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

Gbp-Pq: Name d-ignore-avx-44056.patch

5 years agod-read-beta-version-from-file
Debian Rust Maintainers [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
d-read-beta-version-from-file

Gbp-Pq: Name d-read-beta-version-from-file.patch

5 years agoDon't download SHA256 if it's already available locally
Ximin Luo [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
Don't download SHA256 if it's already available locally

Forwarded: not-needed

In Debian we provide the stage0 tarballs as a separate component so that the
buildds don't need to access the network during the build.
Forwarded: not-needed
Gbp-Pq: Name d-dont-download-stage0.patch

5 years agoSet DT_SONAME when building dylibs
Angus Lees [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
Set DT_SONAME when building dylibs

Forwarded: no

In Rust, library filenames include a version-specific hash to help
the run-time linker find the correct version.  Unlike in C/C++, the
compiler looks for all libraries matching a glob that ignores the
hash and reads embedded metadata to work out versions, etc.

The upshot is that there is no need for the usual "libfoo.so ->
libfoo-1.2.3.so" symlink common with C/C++ when building with Rust,
and no need to communicate an alternate filename to use at run-time
vs compile time.  If linking to a Rust dylib from C/C++ however, a
"libfoo.so -> libfoo-$hash.so" symlink may well be useful and in
this case DT_SONAME=libfoo-$hash.so would be required.  More
mundanely, various tools (eg: dpkg-shlibdeps) complain if they don't
find DT_SONAME on shared libraries in public directories.

This patch passes -Wl,-soname=$outfile when building dylibs (and
using a GNU linker).

Gbp-Pq: Name d-add-soname.patch

5 years agoHardcode LLDB python module directory
Angus Lees [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
Hardcode LLDB python module directory

Forwarded: not-needed

Debian package installs python modules into a fixed directory, so
just hardcode path in wrapper script.

Gbp-Pq: Name d-rust-lldb-paths

5 years agoHardcode GDB python module directory
Angus Lees [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
Hardcode GDB python module directory

Forwarded: not-needed

Debian package installs python modules into a fixed directory, so
just hardcode path in wrapper script.

Gbp-Pq: Name d-rust-gdb-paths

5 years agoDon't check for cargo-vendor when building from (Debian's) git
Matthijs van Otterdijk [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
Don't check for cargo-vendor when building from (Debian's) git

Forwarded: not-needed

Forwarded: not-needed
Gbp-Pq: Name d-disable-cargo-vendor.patch

5 years agoIgnore error details with $SRC_DIR
Debian Rust Maintainers [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
Ignore error details with $SRC_DIR

Bug: https://github.com/rust-lang/rust/issues/53081

We build with --remap-path-prefix so it doesn't work, see bug below
===================================================================

Gbp-Pq: Name d-ignore-error-detail-diff.patch

5 years agoUse local web resources instead of remote ones
Matthijs van Otterdijk [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
Use local web resources instead of remote ones

Bug: https://github.com/azerupi/mdBook/issues/271
Comment:
 Use https://github.com/infinity0/mdBook/tree/debian to help you rebase the
 patch on top of a newer version.
 .
 Make sure the paths here match the ones in debian/rust-doc.links

Comment: Use https://github.com/infinity0/mdBook/tree/debian to help you rebase the patch on top of a newer version. . Make sure the paths here match the ones in debian/rust-doc.links
Gbp-Pq: Name d-0003-mdbook-strip-embedded-libs.patch

5 years agod-0002-pkg-config-no-special-snowflake
Debian Rust Maintainers [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
d-0002-pkg-config-no-special-snowflake

Gbp-Pq: Name d-0002-pkg-config-no-special-snowflake.patch

5 years agod-0001-disable-miniz
Debian Rust Maintainers [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
d-0001-disable-miniz

Gbp-Pq: Name d-0001-disable-miniz.patch

5 years agoIgnore submodules that we're not building, or that are unused like
Ximin Luo [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
Ignore submodules that we're not building, or that are unused like

Forwarded: not-needed

mdbook-linkcheck that pull in a ton of dependencies that are unneeded.

Gbp-Pq: Name d-0000-ignore-removed-submodules.patch

5 years agou-reproducible-dl-stage0
Debian Rust Maintainers [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
u-reproducible-dl-stage0

Gbp-Pq: Name u-reproducible-dl-stage0.patch

5 years agou-rustc-llvm-cross-flags
Debian Rust Maintainers [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
u-rustc-llvm-cross-flags

Gbp-Pq: Name u-rustc-llvm-cross-flags.patch

5 years ago[PATCH] Update bindings for the wasm32-wasi target
Alex Crichton [Mon, 16 Dec 2019 15:57:52 +0000 (07:57 -0800)]
[PATCH] Update bindings for the wasm32-wasi target

This commit performs a number of updates for libc with the `wasm32-wasi`
target:

* Updates the `wasi-libc` repository commit used (previously known as
  `wasi-sysroot`)
* Updates the container to Ubuntu 19.10 which has Clang 9 packaged which
  is all we need.
* Avoids building `wasmtime` and instead downloads a precompiled binary.
* Updates bindings in `src/wasi.rs` to match the current upstream state.

Gbp-Pq: Name u-wasm32-libc-1625.patch

5 years agou-riscv64-compiletest
Debian Rust Maintainers [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
u-riscv64-compiletest

Gbp-Pq: Name u-riscv64-compiletest.patch

5 years ago[PATCH] Add cross prefix for riscv64gc-unknown-linux-gnu => riscv64-linux-gnu
Ximin Luo [Sat, 4 Jan 2020 05:11:21 +0000 (05:11 +0000)]
[PATCH] Add cross prefix for riscv64gc-unknown-linux-gnu => riscv64-linux-gnu

Add out-of-the-box cross-compiling support for riscv64gc-unknown-linux-gnu

Gbp-Pq: Name u-riscv64-cc-465.patch

5 years ago[PATCH] Enable -fPIC on non-bare-metal RISC-V
msizanoen1 [Thu, 5 Dec 2019 05:22:41 +0000 (12:22 +0700)]
[PATCH] Enable -fPIC on non-bare-metal RISC-V

Gbp-Pq: Name u-riscv64-cc-461.patch

5 years ago[PATCH 1/3] Support for RISC-V 64-bit GNU/Linux
msizanoen1 [Sat, 23 Nov 2019 07:02:48 +0000 (14:02 +0700)]
[PATCH 1/3] Support for RISC-V 64-bit GNU/Linux

Gbp-Pq: Name u-riscv64-libc-1606.patch

5 years ago[PATCH 1/2] Implement proper C ABI lowering for RISC-V
msizanoen1 [Tue, 21 Jan 2020 14:52:19 +0000 (21:52 +0700)]
[PATCH 1/2] Implement proper C ABI lowering for RISC-V

Gbp-Pq: Name u-riscv64-68452.patch

5 years ago[PATCH 1/2] Add support for RISC-V 64-bit GNU/Linux
msizanoen1 [Sat, 23 Nov 2019 07:22:05 +0000 (14:22 +0700)]
[PATCH 1/2] Add support for RISC-V 64-bit GNU/Linux

Gbp-Pq: Name u-riscv64-66899.patch

5 years agoVarious fixes for Rust on MIPS
Dragan Mladjenovic [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
Various fixes for Rust on MIPS

Bug-Debian: https://bugs.debian.org/881845
Last-Update: 2018-10-24

Gbp-Pq: Name u-mips-fixes.diff

5 years agothis test is new in 1.40 and the failure is present on many
Debian Rust Maintainers [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
this test is new in 1.40 and the failure is present on many

Bug: https://github.com/rust-lang/rust/issues/67242

previous rust versions without users having complained or noticed, so
just ignore the failure until upstream fixes it

Gbp-Pq: Name u-tests-ignore-arm.patch

5 years agou-make-tests-work-without-rpath
Chris Coulson [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
u-make-tests-work-without-rpath

Forwarded: TODO

Gbp-Pq: Name u-make-tests-work-without-rpath.patch

5 years agou-test-python-3
Debian Rust Maintainers [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
u-test-python-3

Gbp-Pq: Name u-test-python-3.patch

5 years agoPrefer local CSS to remote
Ximin Luo [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
Prefer local CSS to remote

Bug: https://github.com/rust-lang/rust/pull/45331

Gbp-Pq: Name u-prefer-local-css.patch

5 years agoDon't split dwarf debug for a fully-reproducible build
Ximin Luo [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
Don't split dwarf debug for a fully-reproducible build

Bug: https://github.com/rust-lang/rust/issues/34902

Gbp-Pq: Name u-reproducible-build.patch

5 years ago[PATCH 1/2] Remove obsolete llvm_tools flag
Josh Stone [Wed, 8 Jan 2020 17:44:45 +0000 (09:44 -0800)]
[PATCH 1/2] Remove obsolete llvm_tools flag

Gbp-Pq: Name rust-pr68019-in-tree-compiletest.patch

5 years ago[PATCH] Update the barrier cache during ARM EHABI unwinding
Amanieu d'Antras [Wed, 1 Jan 2020 16:11:45 +0000 (17:11 +0100)]
[PATCH] Update the barrier cache during ARM EHABI unwinding

Gbp-Pq: Name 0001-Update-the-barrier-cache-during-ARM-EHABI-unwinding.patch

5 years ago[PATCH] Fix compiletest fallout from stage0 bump
Mark Rousskov [Wed, 18 Dec 2019 18:28:14 +0000 (13:28 -0500)]
[PATCH] Fix compiletest fallout from stage0 bump

Gbp-Pq: Name 0001-Fix-compiletest-fallout-from-stage0-bump.patch

5 years agorustc (1.41.1+dfsg1-1~deb10u1) buster; urgency=medium
Emilio Pozuelo Monfort [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
rustc (1.41.1+dfsg1-1~deb10u1) buster; urgency=medium

  * Non-maintainer upload.
  * Backport to buster.
  * stage0 build.
    - Use arm-unknown-linux-gnueabi target for armel.
  * Use LLVM 7.
  * Disable wasm.
  * Reduce debugging symbols on i386 to avoid FTBFS due to OOM.

[dgit import unpatched rustc 1.41.1+dfsg1-1~deb10u1]

5 years agoImport rustc_1.41.1+dfsg1-1~deb10u1.debian.tar.xz
Emilio Pozuelo Monfort [Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)]
Import rustc_1.41.1+dfsg1-1~deb10u1.debian.tar.xz

[dgit import tarball rustc 1.41.1+dfsg1-1~deb10u1 rustc_1.41.1+dfsg1-1~deb10u1.debian.tar.xz]

5 years agoImport rustc_1.41.1+dfsg1.orig.tar.xz
Ximin Luo [Mon, 9 Mar 2020 00:31:34 +0000 (00:31 +0000)]
Import rustc_1.41.1+dfsg1.orig.tar.xz

[dgit import orig rustc_1.41.1+dfsg1.orig.tar.xz]

5 years agoImport rustc_1.41.1+dfsg1.orig-stage0.tar.xz
Ximin Luo [Mon, 9 Mar 2020 00:31:34 +0000 (00:31 +0000)]
Import rustc_1.41.1+dfsg1.orig-stage0.tar.xz

[dgit import orig rustc_1.41.1+dfsg1.orig-stage0.tar.xz]