-
After diverse issues trying to cross-compile my project, I decided to upload a minimal version of the source to AWS and build there. The build however always gets stuck on the
There are no errors or warnings and I've waited for hours, tried again with a different instance etc. - it always gets stuck there. Building with --verbose shows this:
Relevant dependencies:
Cargo version:
(happens also with stable) Ubuntu version:
Storage:
It builds without problems on my Mac. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
How much RAM does the system it hangs on have? First thing that comes to mind for me is that if the system doesn't have a lot of memory, the compiler might be swapping a lot leading to an extremely long compile time. Our CI successfully compiles |
Beta Was this translation helpful? Give feedback.
-
Aah that was it! It had just 1GB, upgraded to 2 and now it finishes. |
Beta Was this translation helpful? Give feedback.
-
I'm hitting a similar issue, with the CPU is maxed out on both cores. It took about 15 minutes (out of a 16 minute build) before it progressed past the |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
-
Guys, I am trying to build it on my PC it has 16 GB of ram but still it's crashing |
Beta Was this translation helpful? Give feedback.
How much RAM does the system it hangs on have? First thing that comes to mind for me is that if the system doesn't have a lot of memory, the compiler might be swapping a lot leading to an extremely long compile time. Our CI successfully compiles
aws-sdk-s3
on Ubuntu 20.04, so not quite 22.04 but I can't imagine there would be too large of a difference there.