-
Notifications
You must be signed in to change notification settings - Fork 13.3k
mk: Fix compiling powerpc64/armv7 #31290
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
Conversation
We forgot to pass down the `-m64` flag to gcc, so we were actually compiling powerpc code which would then later fail to link!
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
The cross prefix was not likely the actual compiler that needed to be used, but rather the standard `arm-linux-gnueabihf-gcc` compiler can just be used with `-march=armv7`.
Updated with an extra commit for armv7-unknown-linux-gnu as well (cc @fabricedesre) |
@bors r+ |
📌 Commit ea31ff2 has been approved by |
@bors: rollup |
⌛ Testing commit ea31ff2 with merge 37ffb15... |
💔 Test failed - auto-linux-cross-opt |
@bors: retry On Fri, Jan 29, 2016 at 9:38 PM, bors [email protected] wrote:
|
We forgot to pass down the `-m64` flag to gcc, so we were actually compiling powerpc code which would then later fail to link!
@alexcrichton why did you need the change to armv7? |
For me at least I'm not sure how to attain |
We forgot to pass down the
-m64
flag to gcc, so we were actually compilingpowerpc code which would then later fail to link!