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

Add "the Rustc book" #49707

Merged
merged 18 commits into from
Apr 27, 2018
Merged

Add "the Rustc book" #49707

merged 18 commits into from
Apr 27, 2018

Conversation

steveklabnik
Copy link
Member

This PR introduces a new book into the documentation, "The rustc book". We already have books for Cargo, and for Rustdoc, rustc should have some too. This book is focused on users of rustc, and provides a nice place to write documentation for users.

I haven't put content here, but plan on scaffolding it out very soon, and wanted this PR open for a few discussions first. One of those is "what exactly should said TOC be?" I plan on having a proposed one up tomorrow, but figured I'd let people know to start thinking about it now.

The big one is that we also will want to put https://github.com/rust-lang-nursery/rustc-guide in-tree as well, and the naming is... tough. I'm proposing:

  • doc.rust-lang.org/rustc is "The Rustc book", to mirror the other tools' books.
  • doc.rust-lang.org/rustc-contribution is "The Rustc contribution guide", and contains that book

@nikomatsakis et al, any thoughts on this? I'm not attached to it in particular, but had to put something together to get this discussion going. I think mirroring the other tools is a good idea for this work, but am not sure where exactly that leaves yours.

Fixes rust-docs/team#11

@kennytm kennytm added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 5, 2018
@zackmdavis
Copy link
Member

I wouldn't have expected there to be enough material to cover in a special rustc-the-compiler book that doesn't already belong in the Rust-the-language book?

@steveklabnik
Copy link
Member Author

@zackmdavis tons and tons of stuff. we only mention rustc for hello world, and go to cargo from there. Even then, we don't talk about customizing builds for cargo very much. Even just documenting rustc's flags is a lot of material, and then there's stuff like custom target specs, lint listings.

@mark-i-m
Copy link
Member

mark-i-m commented Apr 6, 2018

  • doc.rust-lang.org/rustc is "The Rustc book", to mirror the other tools' books.
  • doc.rust-lang.org/rustc-contribution is "The Rustc contribution guide", and contains that book

How about

  • d.rl.o/rustc-user is "The Rustc User Guide"
  • d.rl.o/rustc-contrib is "The Rustc Contributer Guide"

@mark-i-m
Copy link
Member

mark-i-m commented Apr 6, 2018

The big one is that we also will want to put https://github.com/rust-lang-nursery/rustc-guide in-tree

Also, do you have a time line for when you want to do that? (cc #48478)

@steveklabnik
Copy link
Member Author

Also, do you have a time line for when you want to do that?

That's more up to them than to me, whenever they're comfy doing so, I'm happy to make it happen!

@TimNN
Copy link
Contributor

TimNN commented Apr 6, 2018

Your PR failed on Travis. Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
Receiving objects:  83% (633653/754749), 308.45 MiB | 1024.00 KiB/s
Receiving objects:  84% (633990/754749), 308.45 MiB | 1024.00 KiB/s
---
Resolving deltas: 100% (612506/612506), completed with 4864 local objects.
---
[00:00:52] configure: rust.quiet-tests     := True
---
[00:58:37] ..........................................................................i.........................
[00:58:45] .................i..................................................................................
---
[00:59:29] ..............................................................................................i.....
[00:59:38] ....................................................................i...............................
---
[01:00:54] .............................................i......................................................
---
[01:06:15] .............................i......................................................................
[01:06:34] ..............................................................i.....................................
[01:06:54] ...............................................i....................................................
[01:07:20] ....................................................................................................
[01:07:48] ....................................................................................................
[01:08:16] ....................................................................................................
[01:08:49] ..i...............................................................................................i.
[01:09:06] ......................................test [run-pass] run-pass/mir_heavy_promoted.rs has been running for over 60 seconds
[01:09:38] ..............................................................
[01:10:18] ....................................................................................................
[01:11:06] ..............................................................ii....................................
[01:11:45] .........................i.........................test [run-pass] run-pass/saturating-float-casts.rs has been running for over 60 seconds
[01:12:11] ...........................i.ii..................
[01:13:04] ......................................................................................iiiiiii.......
---
[01:16:30] ..................i............................................................ii.iii...............
[01:16:40] ....................................................................................................
[01:16:50] ........i..............................i............................................................
[01:16:59] ....................................................................................................
[01:17:08] ....................i...............................................................................
---
[01:18:24] .............i......................................................................................
[01:18:37] .................i..ii..............................................................................
[01:18:49] ....................................................................................................
[01:19:00] ....................................................................................................
[01:19:11] ....................................................................................i...............
[01:19:23] ..............................i.....................................................................
---
[01:20:06] ...........................i........................................................................
[01:20:08] ....................................................................i...............................
[01:20:09] ................i.......................................................
---
[01:20:29] ...........i........................
---
[01:21:05] i...i..ii....i.............ii........iii......i..i...i...ii..i..i..ii.....
---
[01:21:09] i.......i......................i......
---
[01:22:00] iiii.......i..i........i..i.i.............i..........iiii...........i...i..........ii.i.i.......ii..
[01:22:01] ....ii...
---
[01:35:13] .....i..............................................................................................
---
[01:38:10] .....................................i..............................................................
[01:38:41] ....................................................................................................
[01:39:12] ..........................................i.........................................................
---
[01:41:21] .........................................................ii.........................................
---
[01:42:50] ..............................................................i.....................................
---
[01:49:27] ii..................................................................................................
[01:49:50] ....................................................................................................
[01:50:10] ...................iii......i......i...i......i.....................................................
[01:50:23] ....................................................................................................
[01:50:43] .........................................iiii........ii.............................................
[01:50:57] ....................................................................................................
[01:51:18] ........................................................................................i...........
[01:51:51] ....................................................................................................
[01:52:05] ..................................................................................................ii
[01:52:18] ii...............................................
---
[02:05:13] command did not execute successfully: "/checkout/obj/build/bootstrap/debug/rustdoc" "--test" "/checkout/src/doc/rustc/src/lints/index.md" "--test-args" ""
---
[02:05:13] ---- /checkout/src/doc/rustc/src/lints/index.md - Lints (line 10) stdout ----
[02:05:13]  error: unknown start of token: `
[02:05:13]  --> /checkout/src/doc/rustc/src/lints/index.md:16:27
[02:05:13]   |
[02:05:13] 7 | warning: unused variable: `x`
[02:05:13]   |                           ^
[02:05:13]   |
[02:05:13] help: unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it's not
[02:05:13]  --> /checkout/src/doc/rustc/src/lints/index.md:16:27
[02:05:13]   |
[02:05:13] 7 | warning: unused variable: `x`
[02:05:13]   |                           ^
[02:05:13]
[02:05:13] thread '/checkout/src/doc/rustc/src/lints/index.md - Lints (line 10)' panicked at 'couldn't compile the test', librustdoc/test.rs:306:13
---
[02:05:13] Makefile:58: recipe for target 'check' failed
[02:05:13] make: *** [check] Error 1
---
$ ls -lat $HOME/Library/Logs/DiagnosticReports/
ls: cannot access /home/travis/Library/Logs/DiagnosticReports/: No such file or directory

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN.

@TimNN
Copy link
Contributor

TimNN commented Apr 6, 2018

Your PR failed on Travis. Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
Resolving deltas: 100% (612513/612513), completed with 4864 local objects.
---
[00:00:45] configure: rust.quiet-tests     := True
---
[00:43:55] ..........................................................................i.........................
[00:44:01] .................i..................................................................................
---
[00:44:37] ..............................................................................................i.....
[00:44:44] ....................................................................i...............................
---
[00:45:41] .............................................i......................................................
---
[00:49:42] .............................i......................................................................
[00:49:56] ..............................................................i.....................................
[00:50:12] ...............................................i....................................................
[00:50:33] ....................................................................................................
[00:50:55] ....................................................................................................
[00:51:17] ....................................................................................................
[00:51:43] ..i...............................................................................................i.
[00:52:09] .............................................................................test [run-pass] run-pass/mir_heavy_promoted.rs has been running for over 60 seconds
[00:52:21] .......................
[00:52:52] ....................................................................................................
[00:53:30] ..............................................................ii....................................
[00:54:14] .........................i....................................................itest [run-pass] run-pass/saturating-float-casts.rs has been running for over 60 seconds
[00:54:23] .ii..................
[00:55:06] ......................................................................................iiiiiii.......
---
[00:57:20] ..................i............................................................ii.iii...............
[00:57:28] ....................................................................................................
[00:57:35] ........i..............................i............................................................
[00:57:43] ....................................................................................................
[00:57:50] ....................i...............................................................................
[00:57:58] ....................................................................................................
[00:58:08] ....................................................................................................
[00:58:19] ....................................................................................................
[00:58:29] ....................................................................................................
[00:58:43] ....................................................................................................
[00:58:53] .............i......................................................................................
[00:59:02] .................i..ii..............................................................................
[00:59:12] ....................................................................................................
[00:59:22] ....................................................................................................
[00:59:32] ....................................................................................i...............
[00:59:42] ..............................i.....................................................................
---
[01:00:19] ...........................i........................................................................
[01:00:21] ....................................................................i...............................
[01:00:22] ................i.......................................................
---
[01:00:37] ...........i........................
---
[01:01:07] i...i..ii....i.............ii........iii......i..i...i...ii..i..i..ii.....
---
[01:01:10] i.......i......................i......
---
[01:01:49] iiii.......i..i........i..i.i.............i..........iiii...........i...i..........ii.i.i.......ii..
[01:01:50] ....ii...
---
[01:11:37] .....i..............................................................................................
---
[01:13:38] .....................................i..............................................................
[01:13:59] ....................................................................................................
[01:14:21] ..........................................i.........................................................
---
[01:15:50] .........................................................ii.........................................
---
[01:16:56] ..............................................................i.....................................
---
[01:21:57] ii..................................................................................................
[01:22:16] ....................................................................................................
[01:22:32] ...................iii......i......i...i......i.....................................................
[01:22:41] ....................................................................................................
[01:22:57] .........................................iiii........ii.............................................
[01:23:08] ....................................................................................................
[01:23:24] ........................................................................................i...........
[01:23:49] ....................................................................................................
[01:24:01] ..................................................................................................ii
[01:24:10] ii...............................................
---
[01:34:33] command did not execute successfully: "/checkout/obj/build/bootstrap/debug/rustdoc" "--test" "/checkout/src/doc/rustc/src/lints/index.md" "--test-args" ""
---
[01:34:33] ---- /checkout/src/doc/rustc/src/lints/index.md - Lints (line 10) stdout ----
[01:34:33]  error: unknown start of token: `
[01:34:33]  --> /checkout/src/doc/rustc/src/lints/index.md:16:27
[01:34:33]   |
[01:34:33] 7 | warning: unused variable: `x`
[01:34:33]   |                           ^
[01:34:33]   |
[01:34:33] help: unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it's not
[01:34:33]  --> /checkout/src/doc/rustc/src/lints/index.md:16:27
[01:34:33]   |
[01:34:33] 7 | warning: unused variable: `x`
[01:34:33]   |                           ^
[01:34:33]
[01:34:33] thread '/checkout/src/doc/rustc/src/lints/index.md - Lints (line 10)' panicked at 'couldn't compile the test', librustdoc/test.rs:306:13
---
[01:34:33] Makefile:58: recipe for target 'check' failed
[01:34:33] make: *** [check] Error 1
---
$ dmesg | grep -i kill
[   10.793162] init: failsafe main process (1094) killed by TERM signal

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN.


## `--error-format`: control how errors are produced

## `--color`: configur coloring of output
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: configure

@TimNN
Copy link
Contributor

TimNN commented Apr 6, 2018

Your PR failed on Travis. Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
Resolving deltas: 100% (612544/612544), completed with 4858 local objects.
---
[00:00:53] configure: rust.quiet-tests     := True
---
[00:38:18] ..........................................................................i.........................
[00:38:24] .................i..................................................................................
---
[00:38:57] ..............................................................................................i.....
[00:39:04] ....................................................................i...............................
---
[00:39:56] .............................................i......................................................
---
[00:43:37] .............................i......................................................................
[00:43:51] ..............................................................i.....................................
[00:44:06] ...............................................i....................................................
[00:44:25] ....................................................................................................
[00:44:45] ....................................................................................................
[00:45:05] ....................................................................................................
[00:45:29] ..i...............................................................................................i.
[00:45:58] ..........................................................................................test [run-pass] run-pass/mir_heavy_promoted.rs has been running for over 60 seconds
[00:46:03] ..........
[00:46:32] ....................................................................................................
[00:47:05] ..............................................................ii....................................
[00:47:52] .........................i....................................................i.ii...............test [run-pass] run-pass/saturating-float-casts.rs has been running for over 60 seconds
[00:47:53] ...
[00:48:30] ......................................................................................iiiiiii.......
---
[00:50:39] ..................i............................................................ii.iii...............
[00:50:47] ....................................................................................................
[00:50:54] ........i..............................i............................................................
[00:51:01] ....................................................................................................
[00:51:08] ....................i...............................................................................
[00:51:16] ....................................................................................................
[00:51:25] ....................................................................................................
[00:51:35] ....................................................................................................
[00:51:46] ....................................................................................................
[00:51:59] ....................................................................................................
[00:52:07] .............i......................................................................................
[00:52:16] .................i..ii..............................................................................
[00:52:26] ....................................................................................................
[00:52:35] ....................................................................................................
[00:52:45] ....................................................................................i...............
[00:52:55] ..............................i.....................................................................
---
[00:53:30] ...........................i........................................................................
[00:53:32] ....................................................................i...............................
[00:53:33] ................i.......................................................
---
[00:53:47] ...........i........................
---
[00:54:15] i...i..ii....i.............ii.........iii......i..i...i...ii..i..i..ii.....
---
[00:54:18] i.......i......................i.......
---
[00:54:54] iiii.......i..i........i..i.i.............i..........iiii...........i...i..........ii.i.i.......ii..
[00:54:55] ....ii...
---
[01:03:07] .....i..............................................................................................
---
[01:04:51] .....................................i..............................................................
[01:05:08] ....................................................................................................
[01:05:26] ..........................................i.........................................................
---
[01:06:45] .........................................................ii.........................................
---
[01:07:42] ..............................................................i.....................................
---
[01:12:03] ii..................................................................................................
[01:12:20] ....................................................................................................
[01:12:34] ...................iii......i......i...i......i.....................................................
[01:12:42] ....................................................................................................
[01:12:56] .........................................iiii........ii.............................................
[01:13:05] ....................................................................................................
[01:13:20] ........................................................................................i...........
[01:13:41] ....................................................................................................
[01:13:51] ..................................................................................................ii
[01:13:59] ii...............................................
---
[01:23:10] command did not execute successfully: "/checkout/obj/build/bootstrap/debug/rustdoc" "--test" "/checkout/src/doc/rustc/src/lints/index.md" "--test-args" ""
---
[01:23:10] ---- /checkout/src/doc/rustc/src/lints/index.md - Lints (line 10) stdout ----
[01:23:10]  error: unknown start of token: `
[01:23:10]  --> /checkout/src/doc/rustc/src/lints/index.md:16:27
[01:23:10]   |
[01:23:10] 7 | warning: unused variable: `x`
[01:23:10]   |                           ^
[01:23:10]   |
[01:23:10] help: unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it's not
[01:23:10]  --> /checkout/src/doc/rustc/src/lints/index.md:16:27
[01:23:10]   |
[01:23:10] 7 | warning: unused variable: `x`
[01:23:10]   |                           ^
[01:23:10]
[01:23:10] thread '/checkout/src/doc/rustc/src/lints/index.md - Lints (line 10)' panicked at 'couldn't compile the test', librustdoc/test.rs:306:13
---
[01:23:10] Makefile:58: recipe for target 'check' failed
[01:23:10] make: *** [check] Error 1
---
$ ls -lat $HOME/Library/Logs/DiagnosticReports/
ls: cannot access /home/travis/Library/Logs/DiagnosticReports/: No such file or directory
travis_time:end:166f3118:start=1523047194621800172,finish=1523047194635674619,duration=13874447
travis_fold:end:after_failure.2
travis_fold:start:after_failure.3
travis_time:start:09a45ee4
$ find $HOME/Library/Logs/DiagnosticReports -type f -name '*.crash' -not -name '*.stage2-*.crash' -not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash' -exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \; -exec head -750 {} \; -exec echo travis_fold":"end:crashlog \; || true
find: `/home/travis/Library/Logs/DiagnosticReports': No such file or directory
travis_time:end:09a45ee4:start=1523047194641609724,finish=1523047194647690626,duration=6080902
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0aff7134
$ dmesg | grep -i kill
[   10.320157] init: failsafe main process (1093) killed by TERM signal

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN.

@bors
Copy link
Contributor

bors commented Apr 7, 2018

☔ The latest upstream changes (presumably #49753) made this pull request unmergeable. Please resolve the merge conflicts.

@phansch
Copy link
Member

phansch commented Apr 9, 2018

I believe the rustc lint documentation would partly resolve #49416 as well 👍

@nikomatsakis
Copy link
Contributor

I think that the naming of "Rustc contributor guide" feels pretty ok. It doesn't sound quite as "weighy" as it might -- like it sounds sort of like "CONTRIBUTING.md" to me -- but then again once you open it, you'll see what it is. And certainly it contains material that would ordinarily be covered by a typical CONTRIBUTING.md -- that is, I envision it being the "one stop shop" for people who want to hack on rustc.

cc @mark-i-m, who may have an opinion here

@nikomatsakis
Copy link
Contributor

Oh I see @mark-i-m already commented :) d'oh

@mark-i-m
Copy link
Member

How about "Rustc Hackers Guide"?

@mark-i-m
Copy link
Member

"The Rustc Internals Book" (doc.rust-lang.org/rustc-internals)?

"Internals" doesn't really strike me as "how rustc works" somehow... It's not really what I would google if I was looking for it.

I've also thought about longer titles, like "How rustc works and how to contribute to it"

@steveklabnik
Copy link
Member Author

Updated to fix nits.

@illustrious-you i like it!

@audreyality
Copy link

audreyality commented Apr 23, 2018

@mark-i-m

Official documentation from other open-source projects often refers to "internals":

While there is no standard for this kind of documentation, there is a norm.

"Internals" doesn't really strike me as "how rustc works" somehow... It's not really what I would google if I was looking for it.

Huh. When I'm looking for a conceptual overview, it's my go-to term. I'm not sure where I picked that habit up, but it tends to produce reliable results*:

It's notable, however, that you said it's not the first thing you'd search for Rust, and the search results seem to bear that out: Google, Bing. Instead of finding articles about Rust internals, the search engines find the internals boards.

* Note: to avoid biasing results with your search history, open the links in a private browser session.

@QuietMisdreavus
Copy link
Member

Unless anyone has any major follow up issues, i'm ready to call this good! Little things can go in as PRs after this lands.

@bors r+

@bors
Copy link
Contributor

bors commented Apr 25, 2018

📌 Commit 36475d9 has been approved by QuietMisdreavus

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Apr 25, 2018
@bors
Copy link
Contributor

bors commented Apr 26, 2018

⌛ Testing commit 36475d9 with merge 4af44e06ec54a5f3f3e8152c2ce0c861be88209b...

@bors
Copy link
Contributor

bors commented Apr 26, 2018

💔 Test failed - status-travis

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Apr 26, 2018
@rust-highfive
Copy link
Collaborator

The job dist-powerpc-linux of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[00:46:38] [RUSTC-TIMING] num_cpus test:false 2.009
[00:46:40]    Compiling rustc_llvm v0.0.0 (file:///checkout/src/librustc_llvm)
[00:46:44] [RUSTC-TIMING] cc test:false 7.596
[00:46:45] [RUSTC-TIMING] rustc_llvm test:false 1.001
[00:47:40] error: linking with `powerpc-unknown-linux-gnu-gcc` failed: exit code: 1
[00:47:40]   |
[00:47:40]   = note: "powerpc-unknown-linux-gnu-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m32" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans0-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans1-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans10-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans11-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans12-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans13-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans14-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans15-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans2-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans3-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans4-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans5-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans6-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans7-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans8-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans9-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_trans-9a396dcc393436b2.so" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.crate.metadata.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.crate.allocator.rcgu.o" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/build/miniz-sys-f41ab63df334cec4/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/build/backtrace-sys-7ae218d03aeed25d/out/.libs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/build/rustc_llvm-5678f460b4340a13/out" "-L" "/checkout/obj/build/powerpc-unknown-linux-gnu/llvm/build/lib" "-L" "/x-tools/powerpc-unknown-linux-gnu/lib/gcc/powerpc-unknown-linux-gnu/4.9.3/../../../../powerpc-unknown-linux-gnu/lib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustc.U5bIPklY3dlQ/libtempdir-013abfb1baa355ce.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.U5bIPklY3dlQ/libremove_dir_all-c29c65f472758056.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.U5bIPklY3dlQ/libcc-a6d7ffd170f215ac.rlib" "-Wl,--no-whole-archive" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps" "-Wl,-Bdynamic" "-l" "rustc_trans_utils-cdd0d0e5b28a04ed" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps" "-l" "rustc_platform_intrinsics-4f5135aa61082379" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib" "-Wl,--no-whole-archive" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps" "-Wl,-Bdynamic" "-l" "rustc_incremental-3e1d61e61eeb4465" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps" "-l" "rustc_allocator-14394d3cf2821db1" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps" "-l" "rustc_mir-79de4e5875307feb" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustc.U5bIPklY3dlQ/libnum_cpus-fd45d8af0cd491d8.rlib" "-Wl,--no-whole-archive" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps" "-Wl,-Bdynamic" "-l" "rustc-c1147291c4eaac10" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "test-ecce787edabbd612" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "term-1ad7c9d074ceb316" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "proc_macro-e5ceff75886a0160" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "rustc_const_math-c432fa6ab3fc3334" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "rustc_back-ce987c05a302ac20" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "syntax-1e34197fe4270b0e" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "rustc_errors-3dd9b4506f1bfdc0" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "syntax_pos-5b3550209100a2a7" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "rustc_cratesio_shim-3c0872ba2604428e" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "graphviz-9d0f57dbc52d1f0f" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "fmt_macros-76dcf09216abefd1" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "arena-2ad6434f2f204041" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "rustc_data_structures-d26c100c0ac15571" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "serialize-4b645223ebdbe5a5" "-Wl,--start-group" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "std-f0a91543fbf02d87" "-Wl,--end-group" "-Wl,-Bstatic" "/tmp/rustc.U5bIPklY3dlQ/libcompiler_builtins-a891bfc55561d07c.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util" "-l" "util" "-shared" "-Wl,-rpath,$ORIGIN/../lib"
[00:47:40]   = note: /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `(anonymous namespace)::WorklistRemover::~WorklistRemover()':
[00:47:40]           DAGCombiner.cpp:(.text._ZN12_GLOBAL__N_115WorklistRemoverD0Ev+0xc): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitAND(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#1}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitAND(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#1}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner8visitANDEPN4llvm6SDNodeEEUlPNS3_14ConstantSDNodeES7_E_E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation+0x68): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitOR(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#1}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitOR(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#1}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner7visitOREPN4llvm6SDNodeEEUlPNS3_14ConstantSDNodeES7_E_E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation+0x68): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::MatchRotate(llvm::SDValue, llvm::SDValue, llvm::SDLoc const&)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#1}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::MatchRotate(llvm::SDValue, llvm::SDValue, llvm::SDLoc const&)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#1}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner11MatchRotateEN4llvm7SDValueES4_RKNS3_5SDLocEEUlPNS3_14ConstantSDNodeES9_E_E10_M_managerERSt9_Any_dataRKSC_St18_Manager_operation+0x80): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::MatchLoadCombine(llvm::SDNode*)::{lambda(unsigned int, unsigned int)#1}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::MatchLoadCombine(llvm::SDNode*)::{lambda(unsigned int, unsigned int)#1}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner16MatchLoadCombineEPN4llvm6SDNodeEEUljjE_E10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation+0x68): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::MatchLoadCombine(llvm::SDNode*)::{lambda(unsigned int, unsigned int)#2}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::MatchLoadCombine(llvm::SDNode*)::{lambda(unsigned int, unsigned int)#2}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner16MatchLoadCombineEPN4llvm6SDNodeEEUljjE0_E10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation+0x68): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSHL(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*)#1}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSHL(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*)#1}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner8visitSHLEPN4llvm6SDNodeEEUlPNS3_14ConstantSDNodeEE_E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation+0x80): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSHL(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#2}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSHL(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#2}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner8visitSHLEPN4llvm6SDNodeEEUlPNS3_14ConstantSDNodeES7_E0_E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation+0x80): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSHL(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#3}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSHL(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#3}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner8visitSHLEPN4llvm6SDNodeEEUlPNS3_14ConstantSDNodeES7_E1_E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation+0x80): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSRA(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*)#1}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSRA(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*)#1}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner8visitSRAEPN4llvm6SDNodeEEUlPNS3_14ConstantSDNodeEE_E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation+0x80): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSRA(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#2}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSRA(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#2}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner8visitSRAEPN4llvm6SDNodeEEUlPNS3_14ConstantSDNodeES7_E0_E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation+0x80): additional relocation overflows omitted from the output
[00:47:40]           collect2: error: ld returned 1 exit status
[00:47:40] 
[00:47:40] error: aborting due to previous error
[00:47:40] 
[00:47:40] [RUSTC-TIMING] rustc_trans test:false 55.360
[00:47:40] [RUSTC-TIMING] rustc_trans test:false 55.360
[00:47:40] error: Could not compile `rustc_trans`.
[00:47:40] 
[00:47:40] Caused by:
[00:47:40]   process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc --crate-name rustc_trans librustc_trans/lib.rs --color always --error-format json --crate-type dylib --emit=dep-info,link -C prefer-dynamic -C opt-level=2 --cfg feature="jemalloc" --cfg feature="rustc_back" -C metadata=9a396dcc393436b2 -C extra-filename=-9a396dcc393436b2 --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps --target powerpc-unknown-linux-gnu -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/release/deps --extern rustc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc-c1147291c4eaac10.so --extern syntax_pos=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libsyntax_pos-5b3550209100a2a7.so --extern rustc_const_math=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_const_math-c432fa6ab3fc3334.so --extern env_logger=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libenv_logger-db9b9d37836a52b9.rlib --extern flate2=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libflate2-4c48de9ce8c860ac.rlib --extern rustc_data_structures=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_data_structures-d26c100c0ac15571.so --extern libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/liblibc-2501bc2d0c286563.rlib --extern rustc_back=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_back-ce987c05a302ac20.so --extern num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libnum_cpus-fd45d8af0cd491d8.rlib --extern rustc_trans_utils=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_trans_utils-cdd0d0e5b28a04ed.so --extern rustc_apfloat=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_apfloat-6d76564c0443e0a5.rlib --extern rustc_demangle=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_demangle-f9c467aa50e2a242.rlib --extern rustc_incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_incremental-3e1d61e61eeb4465.so --extern serialize=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libserialize-4b645223ebdbe5a5.so --extern serialize=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libserialize-4b645223ebdbe5a5.rlib --extern jobserver=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libjobserver-b7a31ccbea4c181f.rlib --extern bitflags=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libbitflags-30a34c24d09f6f26.rlib --extern rustc_platform_intrinsics=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_platform_intrinsics-4f5135aa61082379.so --extern cc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libcc-a6d7ffd170f215ac.rlib --extern rustc_errors=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_errors-3dd9b4506f1bfdc0.so --extern rustc_allocator=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_allocator-14394d3cf2821db1.so --extern syntax=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libsyntax-1e34197fe4270b0e.so --extern log=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/liblog-db789d18af4a45bf.rlib --extern rustc_mir=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_mir-79de4e5875307feb.so --extern tempdir=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libtempdir-013abfb1baa355ce.rlib --extern rustc_llvm=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_llvm-2b39724d1aca5702.rlib -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/build/miniz-sys-f41ab63df334cec4/out -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/build/backtrace-sys-7ae218d03aeed25d/out/.libs -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/build/rustc_llvm-5678f460b4340a13/out -L native=/checkout/obj/build/powerpc-unknown-linux-gnu/llvm/build/lib -L native=/x-tools/powerpc-unknown-linux-gnu/lib/gcc/powerpc-unknown-linux-gnu/4.9.3/../../../../powerpc-unknown-linux-gnu/lib` (exit code: 101)
[00:47:40] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "powerpc-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--manifest-path" "/checkout/src/librustc_trans/Cargo.toml" "--features" " jemalloc" "--message-format" "json"
[00:47:40] travis_fold:start:stage1-rustc_trans
travis_time:start:stage1-rustc_trans
travis_fold:end:stage1-rustc_trans


[00:47:40] travis_time:end:stage1-rustc_trans:start=1524724581998080137,finish=1524724646195822144,duration=64197742007

[00:47:40] thread 'main' panicked at 'cargo must succeed', bootstrap/compile.rs:1091:9
[00:47:40] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap dist --host powerpc-unknown-linux-gnu --target powerpc-unknown-linux-gnu
[00:47:40] Build completed unsuccessfully in 0:44:50
travis_time:end:0177012c:start=1524721785665282356,finish=1524724646419002461,duration=2860753720105

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

1 similar comment
@rust-highfive
Copy link
Collaborator

The job dist-powerpc-linux of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[00:46:38] [RUSTC-TIMING] num_cpus test:false 2.009
[00:46:40]    Compiling rustc_llvm v0.0.0 (file:///checkout/src/librustc_llvm)
[00:46:44] [RUSTC-TIMING] cc test:false 7.596
[00:46:45] [RUSTC-TIMING] rustc_llvm test:false 1.001
[00:47:40] error: linking with `powerpc-unknown-linux-gnu-gcc` failed: exit code: 1
[00:47:40]   |
[00:47:40]   = note: "powerpc-unknown-linux-gnu-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m32" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans0-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans1-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans10-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans11-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans12-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans13-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans14-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans15-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans2-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans3-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans4-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans5-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans6-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans7-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans8-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.rustc_trans9-6d4e7ba6fb0683a2312be7d3356ebd60.rs.rcgu.o" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_trans-9a396dcc393436b2.so" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.crate.metadata.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/rustc_trans-9a396dcc393436b2.crate.allocator.rcgu.o" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/build/miniz-sys-f41ab63df334cec4/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/build/backtrace-sys-7ae218d03aeed25d/out/.libs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/build/rustc_llvm-5678f460b4340a13/out" "-L" "/checkout/obj/build/powerpc-unknown-linux-gnu/llvm/build/lib" "-L" "/x-tools/powerpc-unknown-linux-gnu/lib/gcc/powerpc-unknown-linux-gnu/4.9.3/../../../../powerpc-unknown-linux-gnu/lib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustc.U5bIPklY3dlQ/libtempdir-013abfb1baa355ce.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.U5bIPklY3dlQ/libremove_dir_all-c29c65f472758056.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.U5bIPklY3dlQ/libcc-a6d7ffd170f215ac.rlib" "-Wl,--no-whole-archive" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps" "-Wl,-Bdynamic" "-l" "rustc_trans_utils-cdd0d0e5b28a04ed" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps" "-l" "rustc_platform_intrinsics-4f5135aa61082379" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib" "-Wl,--no-whole-archive" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps" "-Wl,-Bdynamic" "-l" "rustc_incremental-3e1d61e61eeb4465" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps" "-l" "rustc_allocator-14394d3cf2821db1" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps" "-l" "rustc_mir-79de4e5875307feb" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustc.U5bIPklY3dlQ/libnum_cpus-fd45d8af0cd491d8.rlib" "-Wl,--no-whole-archive" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps" "-Wl,-Bdynamic" "-l" "rustc-c1147291c4eaac10" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "test-ecce787edabbd612" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "term-1ad7c9d074ceb316" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "proc_macro-e5ceff75886a0160" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "rustc_const_math-c432fa6ab3fc3334" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "rustc_back-ce987c05a302ac20" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "syntax-1e34197fe4270b0e" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "rustc_errors-3dd9b4506f1bfdc0" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "syntax_pos-5b3550209100a2a7" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "rustc_cratesio_shim-3c0872ba2604428e" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "graphviz-9d0f57dbc52d1f0f" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "fmt_macros-76dcf09216abefd1" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "arena-2ad6434f2f204041" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "rustc_data_structures-d26c100c0ac15571" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "serialize-4b645223ebdbe5a5" "-Wl,--start-group" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/powerpc-unknown-linux-gnu/lib" "-l" "std-f0a91543fbf02d87" "-Wl,--end-group" "-Wl,-Bstatic" "/tmp/rustc.U5bIPklY3dlQ/libcompiler_builtins-a891bfc55561d07c.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util" "-l" "util" "-shared" "-Wl,-rpath,$ORIGIN/../lib"
[00:47:40]   = note: /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `(anonymous namespace)::WorklistRemover::~WorklistRemover()':
[00:47:40]           DAGCombiner.cpp:(.text._ZN12_GLOBAL__N_115WorklistRemoverD0Ev+0xc): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitAND(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#1}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitAND(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#1}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner8visitANDEPN4llvm6SDNodeEEUlPNS3_14ConstantSDNodeES7_E_E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation+0x68): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitOR(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#1}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitOR(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#1}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner7visitOREPN4llvm6SDNodeEEUlPNS3_14ConstantSDNodeES7_E_E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation+0x68): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::MatchRotate(llvm::SDValue, llvm::SDValue, llvm::SDLoc const&)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#1}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::MatchRotate(llvm::SDValue, llvm::SDValue, llvm::SDLoc const&)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#1}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner11MatchRotateEN4llvm7SDValueES4_RKNS3_5SDLocEEUlPNS3_14ConstantSDNodeES9_E_E10_M_managerERSt9_Any_dataRKSC_St18_Manager_operation+0x80): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::MatchLoadCombine(llvm::SDNode*)::{lambda(unsigned int, unsigned int)#1}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::MatchLoadCombine(llvm::SDNode*)::{lambda(unsigned int, unsigned int)#1}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner16MatchLoadCombineEPN4llvm6SDNodeEEUljjE_E10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation+0x68): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::MatchLoadCombine(llvm::SDNode*)::{lambda(unsigned int, unsigned int)#2}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::MatchLoadCombine(llvm::SDNode*)::{lambda(unsigned int, unsigned int)#2}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner16MatchLoadCombineEPN4llvm6SDNodeEEUljjE0_E10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation+0x68): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSHL(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*)#1}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSHL(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*)#1}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner8visitSHLEPN4llvm6SDNodeEEUlPNS3_14ConstantSDNodeEE_E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation+0x80): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSHL(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#2}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSHL(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#2}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner8visitSHLEPN4llvm6SDNodeEEUlPNS3_14ConstantSDNodeES7_E0_E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation+0x80): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSHL(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#3}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSHL(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#3}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner8visitSHLEPN4llvm6SDNodeEEUlPNS3_14ConstantSDNodeES7_E1_E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation+0x80): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSRA(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*)#1}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSRA(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*)#1}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner8visitSRAEPN4llvm6SDNodeEEUlPNS3_14ConstantSDNodeEE_E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation+0x80): relocation truncated to fit: R_PPC_PLTREL24 against symbol `operator delete(void*)' defined in .text._ZdlPv section in /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(del_op.o)
[00:47:40]           /tmp/rustc.U5bIPklY3dlQ/librustc_llvm-2b39724d1aca5702.rlib(DAGCombiner.cpp.o): In function `std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSRA(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#2}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<(anonymous namespace)::DAGCombiner::visitSRA(llvm::SDNode*)::{lambda(llvm::ConstantSDNode*, llvm::ConstantSDNode*)#2}> const&, std::_Manager_operation)':
[00:47:40]           DAGCombiner.cpp:(.text._ZNSt14_Function_base13_Base_managerIZN12_GLOBAL__N_111DAGCombiner8visitSRAEPN4llvm6SDNodeEEUlPNS3_14ConstantSDNodeES7_E0_E10_M_managerERSt9_Any_dataRKSA_St18_Manager_operation+0x80): additional relocation overflows omitted from the output
[00:47:40]           collect2: error: ld returned 1 exit status
[00:47:40] 
[00:47:40] error: aborting due to previous error
[00:47:40] 
[00:47:40] [RUSTC-TIMING] rustc_trans test:false 55.360
[00:47:40] [RUSTC-TIMING] rustc_trans test:false 55.360
[00:47:40] error: Could not compile `rustc_trans`.
[00:47:40] 
[00:47:40] Caused by:
[00:47:40]   process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc --crate-name rustc_trans librustc_trans/lib.rs --color always --error-format json --crate-type dylib --emit=dep-info,link -C prefer-dynamic -C opt-level=2 --cfg feature="jemalloc" --cfg feature="rustc_back" -C metadata=9a396dcc393436b2 -C extra-filename=-9a396dcc393436b2 --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps --target powerpc-unknown-linux-gnu -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/release/deps --extern rustc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc-c1147291c4eaac10.so --extern syntax_pos=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libsyntax_pos-5b3550209100a2a7.so --extern rustc_const_math=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_const_math-c432fa6ab3fc3334.so --extern env_logger=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libenv_logger-db9b9d37836a52b9.rlib --extern flate2=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libflate2-4c48de9ce8c860ac.rlib --extern rustc_data_structures=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_data_structures-d26c100c0ac15571.so --extern libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/liblibc-2501bc2d0c286563.rlib --extern rustc_back=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_back-ce987c05a302ac20.so --extern num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libnum_cpus-fd45d8af0cd491d8.rlib --extern rustc_trans_utils=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_trans_utils-cdd0d0e5b28a04ed.so --extern rustc_apfloat=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_apfloat-6d76564c0443e0a5.rlib --extern rustc_demangle=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_demangle-f9c467aa50e2a242.rlib --extern rustc_incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_incremental-3e1d61e61eeb4465.so --extern serialize=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libserialize-4b645223ebdbe5a5.so --extern serialize=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libserialize-4b645223ebdbe5a5.rlib --extern jobserver=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libjobserver-b7a31ccbea4c181f.rlib --extern bitflags=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libbitflags-30a34c24d09f6f26.rlib --extern rustc_platform_intrinsics=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_platform_intrinsics-4f5135aa61082379.so --extern cc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libcc-a6d7ffd170f215ac.rlib --extern rustc_errors=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_errors-3dd9b4506f1bfdc0.so --extern rustc_allocator=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_allocator-14394d3cf2821db1.so --extern syntax=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libsyntax-1e34197fe4270b0e.so --extern log=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/liblog-db789d18af4a45bf.rlib --extern rustc_mir=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_mir-79de4e5875307feb.so --extern tempdir=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/libtempdir-013abfb1baa355ce.rlib --extern rustc_llvm=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/deps/librustc_llvm-2b39724d1aca5702.rlib -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/build/miniz-sys-f41ab63df334cec4/out -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/build/backtrace-sys-7ae218d03aeed25d/out/.libs -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/powerpc-unknown-linux-gnu/release/build/rustc_llvm-5678f460b4340a13/out -L native=/checkout/obj/build/powerpc-unknown-linux-gnu/llvm/build/lib -L native=/x-tools/powerpc-unknown-linux-gnu/lib/gcc/powerpc-unknown-linux-gnu/4.9.3/../../../../powerpc-unknown-linux-gnu/lib` (exit code: 101)
[00:47:40] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "powerpc-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--manifest-path" "/checkout/src/librustc_trans/Cargo.toml" "--features" " jemalloc" "--message-format" "json"
[00:47:40] travis_fold:start:stage1-rustc_trans
travis_time:start:stage1-rustc_trans
travis_fold:end:stage1-rustc_trans


[00:47:40] travis_time:end:stage1-rustc_trans:start=1524724581998080137,finish=1524724646195822144,duration=64197742007

[00:47:40] thread 'main' panicked at 'cargo must succeed', bootstrap/compile.rs:1091:9
[00:47:40] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap dist --host powerpc-unknown-linux-gnu --target powerpc-unknown-linux-gnu
[00:47:40] Build completed unsuccessfully in 0:44:50
travis_time:end:0177012c:start=1524721785665282356,finish=1524724646419002461,duration=2860753720105

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@pietroalbini
Copy link
Member

Spurious failure compiling rustc_trans.

@bors: retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 26, 2018
@pietroalbini
Copy link
Member

@bors rollup

@pietroalbini pietroalbini added the relnotes Marks issues that should be documented in the release notes of the next release. label Apr 27, 2018
kennytm added a commit to kennytm/rust that referenced this pull request Apr 27, 2018
…dreavus

Add "the Rustc book"

This PR introduces a new book into the documentation, "The rustc book". We already have books for Cargo, and for Rustdoc, rustc should have some too. This book is focused on *users* of rustc, and provides a nice place to write documentation for users.

I haven't put content here, but plan on scaffolding it out very soon, and wanted this PR open for a few discussions first. One of those is "what exactly should said TOC be?" I plan on having a proposed one up tomorrow, but figured I'd let people know to start thinking about it now.

The big one is that we also will want to put https://github.com/rust-lang-nursery/rustc-guide in-tree as well, and the naming is... tough. I'm proposing:

* doc.rust-lang.org/rustc is "The Rustc book", to mirror the other tools' books.
* doc.rust-lang.org/rustc-contribution is "The Rustc contribution guide", and contains that book

@nikomatsakis et al, any thoughts on this? I'm not attached to it in particular, but had to put something together to get this discussion going. I think mirroring the other tools is a good idea for this work, but am not sure where exactly that leaves yours.

Fixes rust-docs/team#11
bors added a commit that referenced this pull request Apr 27, 2018
Rollup of 7 pull requests

Successful merges:

 - #49707 (Add "the Rustc book")
 - #50222 (Bump bootstrap compiler to 2018-04-24)
 - #50227 (Fix ICE with erroneous `impl Trait` in a trait impl)
 - #50229 (Add setting to go to item if there is only one result)
 - #50231 (Add more doc aliases)
 - #50246 (Make dump_{alloc,allocs,local}() no-ops when tracing is disabled.)
 - #49894 (Rename InternedString to LocalInternedString and introduce a new thread-safe InternedString)

Failed merges:
@bors bors merged commit 36475d9 into rust-lang:master Apr 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relnotes Marks issues that should be documented in the release notes of the next release. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.