-
Notifications
You must be signed in to change notification settings - Fork 18
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
Go 32-bit compilation fails when grumpc run on a 64-bit system #27
Comments
Comment by trotterdylan That's weird. The compiler is emitting Is your environment set up for some cross compilation or something like that? |
Comment by luca76 Yes, I have Go in 32 bit mode and the OS is in 64. |
Comment by trotterdylan I see. We don't support cross compilation of that kind currently. The basic technical problem is that the Python code generator assumes that a Python int on the host platform can be stored as a native int on the target platform. We would have to add some awareness to the grumpc compiler to support this use case. |
Comment by luca76 Thank you in advance. Now I can close this bug report. |
Comment by trotterdylan I think it's okay to leave this open. I'm sure it will come up again and supporting cross compilation seamlessly would be nice. |
Comment by xyproto When building the latest master commit of Grumpy (2c8ff4b) for 32-bit Arch Linux (in a chroot, but on a 64-bit host system), I get the following error messages when running
This is with Python 2.7.13 and Go 1.9. |
@xyproto: I may had fixed that after google#399 got merged here. Can you please try the v0.3.0 version on this repo? |
@alanjds: xyproto is no longer maintaining the package for archlinux on 32-bit - we from archlinux32 are doing this now. |
Sorry for that. I forgot to upload the tags after forking from Google. You can try the master. Tests are green here and my Android is compiling nicely on Go 1.10 . Had not tested with 1.11 yet. You can Thanks for testing. |
Yes, Arch Linux now only officially supports 64-bit x86. |
@alanjds: I'm still not sure where I find that repo of yours, but I can confirm, that grumpy builds when I apply the two patches in google#399 |
google#165 opened by @luca76 on 19 Jan 2017
See this error:
How can I fix it?
The text was updated successfully, but these errors were encountered: