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 [Wed, 7 Mar 2018 19:07:27 +0000 (19:07 +0000)]
u-reproducible-build

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

7 years agou-gperf-3.1
Rust Maintainers [Wed, 7 Mar 2018 19:07:27 +0000 (19:07 +0000)]
u-gperf-3.1

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

7 years agou-powerpcspe-support
Rust Maintainers [Wed, 7 Mar 2018 19:07:27 +0000 (19:07 +0000)]
u-powerpcspe-support

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

7 years agou-fix-sparc64-cabi
Rust Maintainers [Wed, 7 Mar 2018 19:07:27 +0000 (19:07 +0000)]
u-fix-sparc64-cabi

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

7 years agou-sparc64-detection
Rust Maintainers [Wed, 7 Mar 2018 19:07:27 +0000 (19:07 +0000)]
u-sparc64-detection

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

7 years agorustc (1.24.1+dfsg1-1) unstable; urgency=medium
Ximin Luo [Wed, 7 Mar 2018 19:07:27 +0000 (19:07 +0000)]
rustc (1.24.1+dfsg1-1) unstable; urgency=medium

  * Upload to unstable.
  * Raise allowed-test-failures to 160 on some non-release arches: powerpc,
    powerpcspe, sparc64, x32.

[dgit import unpatched rustc 1.24.1+dfsg1-1]

7 years agoImport rustc_1.24.1+dfsg1-1.debian.tar.xz
Ximin Luo [Wed, 7 Mar 2018 19:07:27 +0000 (19:07 +0000)]
Import rustc_1.24.1+dfsg1-1.debian.tar.xz

[dgit import tarball rustc 1.24.1+dfsg1-1 rustc_1.24.1+dfsg1-1.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]