rustc.git
5 years agoMerge version 1.47.0+dfsg1-1+rpi1 and 1.48.0+dfsg1-1 to produce 1.48.0+dfsg1-1+rpi1 archive/raspbian/1.48.0+dfsg1-1+rpi1 raspbian/1.48.0+dfsg1-1+rpi1
Raspbian automatic forward porter [Thu, 10 Dec 2020 15:10:00 +0000 (15:10 +0000)]
Merge version 1.47.0+dfsg1-1+rpi1 and 1.48.0+dfsg1-1 to produce 1.48.0+dfsg1-1+rpi1

5 years agoMerge rustc (1.48.0+dfsg1-1) import into refs/heads/workingbranch
Ximin Luo [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
Merge rustc (1.48.0+dfsg1-1) import into refs/heads/workingbranch

5 years agod-fix-mips64el-bootstrap
Debian Rust Maintainers [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
d-fix-mips64el-bootstrap

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

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

Gbp-Pq: Name d-fix-mips64el-bootstrap.patch

5 years agod-use-local-css
Debian Rust Maintainers [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
d-use-local-css

Gbp-Pq: Name d-use-local-css.patch

5 years agod-no-jemalloc
Debian Rust Maintainers [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
d-no-jemalloc

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

Gbp-Pq: Name d-no-jemalloc.patch

5 years agod-i686-baseline
Debian Rust Maintainers [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
d-i686-baseline

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

Gbp-Pq: Name d-i686-baseline.patch

5 years agod-ignore-avx-44056
Debian Rust Maintainers [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
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, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
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, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
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 agod-windows-ssp
Debian Rust Maintainers [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
d-windows-ssp

Bug: https://github.com/rust-lang/rust/issues/68973s

Gbp-Pq: Name d-windows-ssp.patch

5 years agod-rustflags
Debian Rust Maintainers [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
d-rustflags

Gbp-Pq: Name d-rustflags.patch

5 years agoSet DT_SONAME when building dylibs
Angus Lees [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
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, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
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, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
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, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
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 agod-custom-debuginfo-path
Debian Rust Maintainers [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
d-custom-debuginfo-path

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

Gbp-Pq: Name d-custom-debuginfo-path.patch

5 years agod-0004-cc-psm-rebuild-wasm32
Debian Rust Maintainers [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
d-0004-cc-psm-rebuild-wasm32

Gbp-Pq: Name d-0004-cc-psm-rebuild-wasm32.patch

5 years agoUse local web resources instead of remote ones
Matthijs van Otterdijk [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
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, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
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, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
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, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
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, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
u-reproducible-dl-stage0

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

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

5 years agou-dont-install-libllvm
Debian Rust Maintainers [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
u-dont-install-libllvm

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

Gbp-Pq: Name u-dont-install-libllvm.patch

5 years agou-rustc-llvm-cross-flags
Debian Rust Maintainers [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
u-rustc-llvm-cross-flags

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

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

5 years agou-ignore-endian-big
Debian Rust Maintainers [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
u-ignore-endian-big

Forwarded: https://github.com/rust-lang/rust/pull/77413

commit a311e14b9cb23419b6a287d651de7d02136a4be4
Author: Ximin Luo <infinity0@pwned.gg>
Date:   Thu Oct 1 18:53:49 2020 +0100

    Ignore mir tests on big-endian

Gbp-Pq: Name u-ignore-endian-big.patch

5 years agoVarious fixes for Rust on MIPS
Dragan Mladjenovic [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
Various fixes for Rust on MIPS

Bug-Debian: https://bugs.debian.org/881845
Last-Update: 2020-03-23

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, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
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, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
u-make-tests-work-without-rpath

Forwarded: TODO

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

5 years agoDon't split dwarf debug for a fully-reproducible build
Ximin Luo [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
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 agou-backtrace-373
Debian Rust Maintainers [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
u-backtrace-373

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

Gbp-Pq: Name u-backtrace-373.patch

5 years agou-update-version-check
Debian Rust Maintainers [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
u-update-version-check

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

Gbp-Pq: Name u-update-version-check.patch

5 years agou-ignore-gdb-10-failures
Debian Rust Maintainers [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
u-ignore-gdb-10-failures

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

Gbp-Pq: Name u-ignore-gdb-10-failures.patch

5 years agorustc (1.48.0+dfsg1-1) unstable; urgency=medium
Ximin Luo [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
rustc (1.48.0+dfsg1-1) unstable; urgency=medium

  * New upstream release.

[dgit import unpatched rustc 1.48.0+dfsg1-1]

5 years agoImport rustc_1.48.0+dfsg1.orig.tar.xz
Ximin Luo [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
Import rustc_1.48.0+dfsg1.orig.tar.xz

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

5 years agoImport rustc_1.48.0+dfsg1-1.debian.tar.xz
Ximin Luo [Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)]
Import rustc_1.48.0+dfsg1-1.debian.tar.xz

[dgit import tarball rustc 1.48.0+dfsg1-1 rustc_1.48.0+dfsg1-1.debian.tar.xz]

5 years agoMerge version 1.46.0+dfsg1-1+rpi1 and 1.47.0+dfsg1-1 to produce 1.47.0+dfsg1-1+rpi1 archive/raspbian/1.47.0+dfsg1-1+rpi1 raspbian/1.47.0+dfsg1-1+rpi1
Raspbian automatic forward porter [Tue, 17 Nov 2020 19:31:34 +0000 (19:31 +0000)]
Merge version 1.46.0+dfsg1-1+rpi1 and 1.47.0+dfsg1-1 to produce 1.47.0+dfsg1-1+rpi1

5 years agoMerge rustc (1.47.0+dfsg1-1) import into refs/heads/workingbranch
Ximin Luo [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
Merge rustc (1.47.0+dfsg1-1) import into refs/heads/workingbranch

5 years agod-fix-mips64el-bootstrap
Debian Rust Maintainers [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
d-fix-mips64el-bootstrap

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

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

Gbp-Pq: Name d-fix-mips64el-bootstrap.patch

5 years agod-use-local-css
Debian Rust Maintainers [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
d-use-local-css

Gbp-Pq: Name d-use-local-css.patch

5 years agod-no-jemalloc
Debian Rust Maintainers [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
d-no-jemalloc

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

Gbp-Pq: Name d-no-jemalloc.patch

5 years agod-i686-baseline
Debian Rust Maintainers [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
d-i686-baseline

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

Gbp-Pq: Name d-i686-baseline.patch

5 years agod-ignore-avx-44056
Debian Rust Maintainers [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
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 [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
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 [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
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 agod-windows-ssp
Debian Rust Maintainers [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
d-windows-ssp

Bug: https://github.com/rust-lang/rust/issues/68973s

Gbp-Pq: Name d-windows-ssp.patch

5 years agod-rustflags
Debian Rust Maintainers [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
d-rustflags

Gbp-Pq: Name d-rustflags.patch

5 years agoSet DT_SONAME when building dylibs
Angus Lees [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
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 [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
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 [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
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 [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
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 agod-custom-debuginfo-path
Debian Rust Maintainers [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
d-custom-debuginfo-path

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

Gbp-Pq: Name d-custom-debuginfo-path.patch

5 years agod-0004-cc-psm-rebuild-wasm32
Debian Rust Maintainers [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
d-0004-cc-psm-rebuild-wasm32

Gbp-Pq: Name d-0004-cc-psm-rebuild-wasm32.patch

5 years agoUse local web resources instead of remote ones
Matthijs van Otterdijk [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
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 [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
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 [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
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 [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
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 [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
u-reproducible-dl-stage0

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

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

5 years agou-rustc-llvm-cross-flags
Debian Rust Maintainers [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
u-rustc-llvm-cross-flags

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

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

5 years agou-ignore-endian-big
Debian Rust Maintainers [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
u-ignore-endian-big

Forwarded: https://github.com/rust-lang/rust/pull/77413

commit a311e14b9cb23419b6a287d651de7d02136a4be4
Author: Ximin Luo <infinity0@pwned.gg>
Date:   Thu Oct 1 18:53:49 2020 +0100

    Ignore mir tests on big-endian

Gbp-Pq: Name u-ignore-endian-big.patch

5 years agoVarious fixes for Rust on MIPS
Dragan Mladjenovic [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
Various fixes for Rust on MIPS

Bug-Debian: https://bugs.debian.org/881845
Last-Update: 2020-03-23

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 [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
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 [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
u-make-tests-work-without-rpath

Forwarded: TODO

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

5 years agoDon't split dwarf debug for a fully-reproducible build
Ximin Luo [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
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 agou-backtrace-373
Debian Rust Maintainers [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
u-backtrace-373

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

Gbp-Pq: Name u-backtrace-373.patch

5 years agorustc (1.47.0+dfsg1-1) unstable; urgency=medium
Ximin Luo [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
rustc (1.47.0+dfsg1-1) unstable; urgency=medium

  * New upstream release.
  * Update to LLVM 11.
  * Ignore more tests on big-endian.

[dgit import unpatched rustc 1.47.0+dfsg1-1]

5 years agoImport rustc_1.47.0+dfsg1.orig.tar.xz
Ximin Luo [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
Import rustc_1.47.0+dfsg1.orig.tar.xz

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

5 years agoImport rustc_1.47.0+dfsg1-1.debian.tar.xz
Ximin Luo [Sat, 7 Nov 2020 21:21:03 +0000 (21:21 +0000)]
Import rustc_1.47.0+dfsg1-1.debian.tar.xz

[dgit import tarball rustc 1.47.0+dfsg1-1 rustc_1.47.0+dfsg1-1.debian.tar.xz]

5 years agoMerge version 1.45.0+dfsg1-2+rpi1 and 1.46.0+dfsg1-1 to produce 1.46.0+dfsg1-1+rpi1 archive/raspbian/1.46.0+dfsg1-1+rpi1 raspbian/1.46.0+dfsg1-1+rpi1
Raspbian automatic forward porter [Sun, 6 Sep 2020 11:20:27 +0000 (12:20 +0100)]
Merge version 1.45.0+dfsg1-2+rpi1 and 1.46.0+dfsg1-1 to produce 1.46.0+dfsg1-1+rpi1

5 years agoMerge rustc (1.46.0+dfsg1-1) import into refs/heads/workingbranch
Ximin Luo [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
Merge rustc (1.46.0+dfsg1-1) import into refs/heads/workingbranch

5 years agoWork around #842634 on some machines, e.g. Debian porterboxes
Ximin Luo [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
Work around #842634 on some machines, e.g. Debian porterboxes

Forwarded: not-needed

This should remain commented-out in debian/patches/series, it's not needed everywhere
Forwarded: not-needed
Gbp-Pq: Name d-host-duplicates.patch

5 years agod-fix-mips64el-bootstrap
Debian Rust Maintainers [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
d-fix-mips64el-bootstrap

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

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

Gbp-Pq: Name d-fix-mips64el-bootstrap.patch

5 years agod-use-local-css
Debian Rust Maintainers [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
d-use-local-css

Gbp-Pq: Name d-use-local-css.patch

5 years agod-no-jemalloc
Debian Rust Maintainers [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
d-no-jemalloc

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

Gbp-Pq: Name d-no-jemalloc.patch

5 years agod-i686-baseline
Debian Rust Maintainers [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
d-i686-baseline

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

Gbp-Pq: Name d-i686-baseline.patch

5 years agod-ignore-avx-44056
Debian Rust Maintainers [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +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 [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +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 [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +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 agod-windows-ssp
Debian Rust Maintainers [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
d-windows-ssp

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

Gbp-Pq: Name d-windows-ssp.patch

5 years agod-rustflags
Debian Rust Maintainers [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
d-rustflags

Gbp-Pq: Name d-rustflags.patch

5 years agoSet DT_SONAME when building dylibs
Angus Lees [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +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 [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +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 [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +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 [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +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 agod-custom-debuginfo-path
Debian Rust Maintainers [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
d-custom-debuginfo-path

Gbp-Pq: Name d-custom-debuginfo-path.patch

5 years agoUse local web resources instead of remote ones
Matthijs van Otterdijk [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +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 [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +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 [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +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 [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +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 [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
u-reproducible-dl-stage0

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

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

5 years agou-rustc-llvm-cross-flags
Debian Rust Maintainers [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
u-rustc-llvm-cross-flags

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

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

5 years ago[PATCH] Fix ICE when using asm! on an unsupported architecture
Amanieu d'Antras [Thu, 6 Aug 2020 18:52:15 +0000 (19:52 +0100)]
[PATCH] Fix ICE when using asm! on an unsupported architecture

Fixes #75220

Gbp-Pq: Name u-9abdb6db6f7d50761a701fe17d384d7ea49b015d.patch

5 years ago[PATCH] Presort restrictions to make output consistent
Yuki Okushi [Fri, 31 Jul 2020 00:03:14 +0000 (09:03 +0900)]
[PATCH] Presort restrictions to make output consistent

Gbp-Pq: Name u-1629fed4c0bdc6d3246ea63a91f600bcb8874626.patch

5 years agou-ignore-endian
Debian Rust Maintainers [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
u-ignore-endian

Gbp-Pq: Name u-ignore-endian.patch

5 years ago[PATCH] rustbuild: fix bad usage of UNIX exec() in rustc wrapper
Ximin Luo [Mon, 27 Jul 2020 01:42:02 +0000 (02:42 +0100)]
[PATCH] rustbuild: fix bad usage of UNIX exec() in rustc wrapper

exec never returns, it replaces the current process. so anything after it is
unreachable. that's not how exec_cmd() is used in the surrounding code

Gbp-Pq: Name u-fix-exec.patch

5 years agoVarious fixes for Rust on MIPS
Dragan Mladjenovic [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
Various fixes for Rust on MIPS

Bug-Debian: https://bugs.debian.org/881845
Last-Update: 2020-03-23

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 [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +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 [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
u-make-tests-work-without-rpath

Forwarded: TODO

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

5 years agoDon't split dwarf debug for a fully-reproducible build
Ximin Luo [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +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 agorustc (1.46.0+dfsg1-1) unstable; urgency=medium
Ximin Luo [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
rustc (1.46.0+dfsg1-1) unstable; urgency=medium

  * New upstream release.

[dgit import unpatched rustc 1.46.0+dfsg1-1]

5 years agoImport rustc_1.46.0+dfsg1.orig.tar.xz
Ximin Luo [Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)]
Import rustc_1.46.0+dfsg1.orig.tar.xz

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