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
Running 32 bit of dart sdk failed. #45222
Comments
AOT compilation is not supported on 32-bit Intel (aka ia32/x86), hence the missing pieces. We can probably make it emit a good error though. |
@mraleph Thanks, I see. Are there any plans for supporting 32-bit Intel (aka ia32/x86)? Is it a lot of code porting? |
No plans at the moment, because there is no clear demand. Most hardware is 64-bit at the moment already. Porting is non-trivial because it requires finding a good way to relocate IA32 code generated by our compiler (other architectures did not require that because they use object pools, which IA32 does not). It is not that hard, but given almost non-existing demand I don't think we are going to work on that. |
@mraleph Thanks for your helpful explanations and tips. 😄
In my opinion, it's true that most hardware is 64-bit compatible, however some of them maybe install a 32-bit OS, like win 7 32-bit, win 10 32-bit. And sometimes you want to just deploy only a single binary for windows users, so a x86 binary maybe more easier then x64 one because x86 binary could be run on x64 windows. I will try to do the porting job in my spare time, but I'm new to that field, and I could not guarantee I can finish it. If you could provide me more documentations about win32 porting, that's really awesome. |
@mraleph Nearly 10 percent of our users use Windows 7 32-bit or Windows 10 32-bit OS. Could you provide more information to help us support AOT on IA32, if you have no plan to implement it. |
Thank you for taking the time to file an issue!
This tracker is for issues related to:
Dart VM
dev_compiler
Dart SDK Version (
dart --version
): 1.12.0Whether you are using Windows, MacOSX, or Linux (if applicable): Windows
I want to compile and generate some 32-bit executable. So I download the sdk from https://storage.googleapis.com/dart-archive/channels/stable/release/2.12.0/sdk/dartsdk-windows-ia32-release.zip. Then I tried with a hello world example.
But the
dart compile exe
failed with the following errors.I download both 64-bit and 32-bit dart sdk. And I found the size is quite different. And some files like
bin\snapshots\gen_kernel.dart.snapshot
is missing from the 32-bit one.The text was updated successfully, but these errors were encountered: