-
Notifications
You must be signed in to change notification settings - Fork 159
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
PowerPC support? #1573
Comments
I think it is! Although there are some unit-test failures, many fundamental parts should be working. |
Thank you, sounds good. @catap Looks like we should try this. |
@liushuyu @ibuclaw BTW if you are familiar with Macports, does (A bit of context: On my main system, 10.6 PPC, gcc11/gcc12 builds only inside Macports. On 10.5.8 standalone build works as well. But to test it on 10.6 PPC, I need to either add |
I only have very rudimentary understanding of Macports. But
GCC 12 may not work with the |
Thank you. This should not be a problem in itself, we have GCC13 as |
You are very welcome to report your findings here. Although, if you want to do something serious, you may still find |
|
Oh, I see you are trying to take the source build approach to bootstrap If you don't care about using foreign binaries, you may want to use the binaries from the Rust CI. |
(As I understand from in person conversation with Phil) gccrs doesn't require #1543 to build on darwin-ppc64. Even without, it should already be supported, but you just won't be able to get any target-specific information out of the compiler. |
@liushuyu Why though? @catap has removed hard-coded x86: macports/macports-ports#16284
I would imagine no ready-made binaries for Darwin PPC exist. |
According to https://doc.rust-lang.org/beta/rustc/platform-support.html, PPC Darwin support does not seem to be mentioned. Maybe the page is outdated, you could try to find out yourself. |
@barracuda156 have you looked into https://github.com/rust-lang/rustc_codegen_gcc ? |
If |
LLVM is broken for PPC. We can only use GCC reliably, and that too with P. S. LLVM 7.1 is partially working: iains/darwin-toolchains-start-here#29 (reply in thread) |
Rustc only supports macOS targets that latest XCode can still compile for. If you need other targets, you can create a patch to add a target spec to rustc and add support for it to crates like libc. You will have to add support to crates like libc one way or another even if you use gccrs or mrustc. |
Does anyone know if some initial support for PowerPC exists with
gccrs
? Would be awesome to have it.If any testing needed, I am eager to join in.
P. S. I am primarily interested in Darwin PPC, but if Linux, *BSD or AIX version exists, that can be at least some start to fix things for MacOS PPC.
The text was updated successfully, but these errors were encountered: