Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustc: Support auto-retry linking on a segfault #40422

Merged
merged 1 commit into from
Mar 11, 2017

Commits on Mar 10, 2017

  1. rustc: Support auto-retry linking on a segfault

    This is a last-ditch attempt to help our pain with dealing with rust-lang#38878 on the
    bots. A new environment variable is added to the compiler,
    `RUSTC_RETRY_LINKER_ON_SEGFAULT`, which will instruct the compiler to
    automatically retry the final linker invocation if it looks like the linker
    segfaulted (up to 2 extra times).
    
    Unfortunately there have been no successful attempts to debug rust-lang#38878. The only
    information seems to be that the linker (e.g. `ld` on OSX) is segfaulting
    somewhere in some thread pool implementation. This appears to be spurious as
    failed PRs will later merge.
    
    The hope is that this helps the queue keep moving without clogging and delaying
    PRs due to rust-lang#38878.
    alexcrichton committed Mar 10, 2017
    Configuration menu
    Copy the full SHA
    993eae1 View commit details
    Browse the repository at this point in the history