-
-
Notifications
You must be signed in to change notification settings - Fork 3
Check if turning off parallelism when building the stdlib gets it not to segfault #12
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
Conversation
Alright, memory exhaustion is not the problem. |
good to know and rule it out. |
Let me see if I can reproduce by building a standalone armv7 stdlib on my AArch64 phone with my 32-bit Android armv7 Swift compiler, which I've never tried since I cross-compile my Android armv7 toolchain from linux x86_64. If I cannot, this is likely an issue specific to linux armv7, some regression that has crept in. If so, I would need to debug more closely and need a shell account to figure this out. |
@buttaface I tested the same build on a Raspberry Pi 4 with 32bit OS installed and no Docker used. |
How will a shell account to the server help? |
I can check if memory is running out for this swift-frontend process that crashes, run it through a debugger in different configurations and so on, basic investigation that I can't do on this CI. Of course, if it's reproducible on my phone, I can just do all that there instead, so I'll let you know. |
Alright, tried building a standalone 5.6 stdlib for armv7 by running an Android armv7 compiler, no problem. I've been meaning to try running the compiler validation suite on the armv7 compiler for some time now and never bothered, but this finally spurred me to kick that off too. Some possibilities for why the build is failing for you, let me know what you think:
|
@futurejones, what do you think? |
@buttaface, sorry I haven't had any spare time to look at this recently. |
…stdlib gets it not to segfault
@futurejones, what do you think about that shell account so I can debug this? Ideally, it would be in the Docker image, so I can just run the armv7 build without having to set all this up again. |
@buttaface direct access to the server with a shell account is not possible. |
Not possible to your server at all, or just to the Docker? If you can give me ssh access to an AArch64 kvm or some other container, that would work too.
I've looked at those, they are useless since the newly-built Swift compiler is crashing. I would need a shell account with a debugger to track that down. |
@buttaface, |
Alright, I don't have access to any linux ARM hardware to debug this, as opposed to Android where the armv7 compiler runs fine, so closing this for now. |
No description provided.