Skip to content

fix compilation errors of MIPS target #9277

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

Merged
merged 1 commit into from
Sep 18, 2013
Merged

fix compilation errors of MIPS target #9277

merged 1 commit into from
Sep 18, 2013

Conversation

crabtw
Copy link
Contributor

@crabtw crabtw commented Sep 18, 2013

This patch fixes some errors of MIPS target, however, MIPS C ABI is still broken. I will send another PR to fix the problem.

Because MIPS target has no "generic" CPU name, I add --target-cpu and --target-feature to RUST_FLAGS. In order to workaround the "compact frame descriptions incompatible with DWARF2 .eh_frame" problem, the linker I used is CXX but not CC.

@alexcrichton
Copy link
Member

Unfortunately I can imagine that this is going to just keep happening over time. We should probably decide to officially support mips (at least have a builder doing a cross-build), or that we're not officially supporting mips (although patches are always welcome).

@brson
Copy link
Contributor

brson commented Sep 18, 2013

I don't think we can officially support MIPS at this time. I'm sorry for the breakage but our resources are limited. Patches are always welcome.

bors added a commit that referenced this pull request Sep 18, 2013
This patch fixes some errors of MIPS target, however, MIPS C ABI is still broken. I will send another PR to fix the problem.

Because MIPS target has no "generic" CPU name, I add --target-cpu and --target-feature to RUST_FLAGS. In order to workaround the "compact frame descriptions incompatible with DWARF2 .eh_frame" problem, the linker I used is CXX but not CC.
@bors bors closed this Sep 18, 2013
@bors bors merged commit d11f746 into rust-lang:master Sep 18, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Aug 11, 2022
… r=flip1995

add paren before '?' when suggesting deref for clone_on_copy

changelog: none

fixes rust-lang#9277
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants