-
Notifications
You must be signed in to change notification settings - Fork 26
Conversation
The cross toolchain provided by Docker defaults to generate code for Power ISA v.2.07 (POWER8). Select a generic profile instead.
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
Thanks for the PR! Perhaps though this could be added to the gcc crate which is then automatically used and plumbed for both rustbuild and the rest of the ecosystem? |
Well, it's your call. However:
|
We already pass similar flags for other architectures, and it seems totally reasonable that gcc-rs would have an option to override that. In that sense yeah let's go with patching gcc-rs rather than buildbot here. |
Well, the
bit seems like a very similar case, so I guess it could serve as a precedent. |
Ah yeah that's a case for a whole new target, but we should regardless encode the defaults in gcc-rs anyway so we can work with a maximal number of powerpc compilers. |
With #149, the cross-toolchain for powerpc64 should now default to |
@cuviper The latest nightly still gives me illegal instructions. Has this been deployed already? |
Assuming your latest nightly is the same as mine, 2017-01-25, then no, that's before my PR was merged. Plus I think @brson mentioned he only deployed the actual new image yesterday. See also rust-lang/rust#39382 with the same changes -- this is what builds will eventually use. |
Ok, I'll wait for a new build to drop and test again then. Using |
@cuviper Still getting illegal instructions ( |
I thought it had, but I also see version deps up to |
Soon! These changes aren't quite in nightlies yet but we plan on doing so in the next week or so |
Using the test server announced here, I can at least confirm the ABI part.
The highest symbol requirements are I don't know a complete way to verify the cpu target, but taking @zeldin's particular example, I see lots of |
Yay! |
(thanks for verifying!) |
I confirm that the "new nightly" ( |
The cross toolchain provided by Docker defaults to generate code
for Power ISA v.2.07 (POWER8). Select a generic profile instead.