rustc.git
7 years agoUse a range to identify SIGSEGV in stack guards
Josh Stone [Wed, 31 Jan 2018 19:41:29 +0000 (11:41 -0800)]
Use a range to identify SIGSEGV in stack guards

Previously, the `guard::init()` and `guard::current()` functions were
returning a `usize` address representing the top of the stack guard,
respectively for the main thread and for spawned threads.  The `SIGSEGV`
handler on `unix` targets checked if a fault was within one page below
that address, if so reporting it as a stack overflow.

Now `unix` targets report a `Range<usize>` representing the guard
memory, so it can cover arbitrary guard sizes.  Non-`unix` targets which
always return `None` for guards now do so with `Option<!>`, so they
don't pay any overhead.

For `linux-gnu` in particular, the previous guard upper-bound was
`stackaddr + guardsize`, as the protected memory was *inside* the stack.
This was a glibc bug, and starting from 2.27 they are moving the guard
*past* the end of the stack.  However, there's no simple way for us to
know where the guard page actually lies, so now we declare it as the
whole range of `stackaddr ± guardsize`, and any fault therein will be
called a stack overflow.  This fixes #47863.

Gbp-Pq: Name u-0002-Use-a-range-to-identify-SIGSEGV-in-stack-guards.patch

7 years agoIgnore run-pass/sse2 when using system LLVM
Josh Stone [Tue, 30 Jan 2018 18:18:54 +0000 (10:18 -0800)]
Ignore run-pass/sse2 when using system LLVM

This is a test of `target_feature`, which needs a rust-specific patch to
LLVM to add `MCSubtargetInfo::getFeatureTable()`.

Gbp-Pq: Name u-0001-Ignore-run-pass-sse2-when-using-system-LLVM.patch

7 years agou-reproducible-build
Rust Maintainers [Sun, 8 Jul 2018 19:39:35 +0000 (20:39 +0100)]
u-reproducible-build

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

7 years agou-gperf-3.1
Rust Maintainers [Sun, 8 Jul 2018 19:39:35 +0000 (20:39 +0100)]
u-gperf-3.1

Gbp-Pq: Name u-gperf-3.1.patch

7 years agou-powerpcspe-support
Rust Maintainers [Sun, 8 Jul 2018 19:39:35 +0000 (20:39 +0100)]
u-powerpcspe-support

Gbp-Pq: Name u-powerpcspe-support.patch

7 years agou-fix-sparc64-cabi
Rust Maintainers [Sun, 8 Jul 2018 19:39:35 +0000 (20:39 +0100)]
u-fix-sparc64-cabi

Gbp-Pq: Name u-fix-sparc64-cabi.patch

7 years agou-sparc64-detection
Rust Maintainers [Sun, 8 Jul 2018 19:39:35 +0000 (20:39 +0100)]
u-sparc64-detection

Gbp-Pq: Name u-sparc64-detection.patch

7 years agorustc (1.24.1+dfsg1-1~deb9u2) stretch; urgency=medium
Moritz Mühlenhoff [Sun, 8 Jul 2018 19:39:35 +0000 (20:39 +0100)]
rustc (1.24.1+dfsg1-1~deb9u2) stretch; urgency=medium

  * Add Build-Depends on rustc [!amd64] to prevent buildds from attempting
    further builds, further supported architectures need to be cross-compiled
    (Closes: #903118)

[dgit import unpatched rustc 1.24.1+dfsg1-1~deb9u2]

7 years agoImport rustc_1.24.1+dfsg1-1~deb9u2.debian.tar.xz
Moritz Mühlenhoff [Sun, 8 Jul 2018 19:39:35 +0000 (20:39 +0100)]
Import rustc_1.24.1+dfsg1-1~deb9u2.debian.tar.xz

[dgit import tarball rustc 1.24.1+dfsg1-1~deb9u2 rustc_1.24.1+dfsg1-1~deb9u2.debian.tar.xz]

7 years agoImport rustc_1.24.1+dfsg1.orig.tar.xz
Ximin Luo [Sat, 3 Mar 2018 13:23:29 +0000 (13:23 +0000)]
Import rustc_1.24.1+dfsg1.orig.tar.xz

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

7 years agoImport rustc_1.24.1+dfsg1.orig-stage0.tar.xz
Ximin Luo [Sat, 3 Mar 2018 13:23:29 +0000 (13:23 +0000)]
Import rustc_1.24.1+dfsg1.orig-stage0.tar.xz

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