-
Notifications
You must be signed in to change notification settings - Fork 75
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
Compilation fails on 32-bit architectures: LLVM ERROR: out of memory #1021
Comments
Thanks for opening this issue! Did you try to cross-compile on a powerful machine to your targets? |
We build from sources and natively for ALT Linux so I don't even tried to cross-compile. Some other packages I build with cargo-rust compile successfully on 32-bit architectures. I noticed a difference from them is that rustic have long rustc step at the end (before error) taking 2-3 minutes. There is (temporary) full build log (you may notice timestamps) https://git.altlinux.org/tasks/339191/build/100/i586/log (final step taking 3 minutes)
Maybe it's possible to split this step into smaller ones? |
Ah - you could try to remove
from These options enable heavy code optimization which maybe fails on your build machine... |
Thanks. I'm reading https://nnethercote.github.io/perf-book/build-configuration.html and planned to experiment with these too. |
OK, (If I'm not mistaken) in my tests, either one |
Note that as an alternative, you could also use a more powerful machine and cross-compile to the desired target. |
We cannot use cross-compile, since we only build natively for packages (neither our packaging system have cross-comilation infrastructure), but maybe this will help someone else. 🙏 |
JFYI Since |
Yeah, it's probably related to |
Compile fails on 32-bit architectures such as x86 (i586) and armv7hf:
The text was updated successfully, but these errors were encountered: