-
-
Notifications
You must be signed in to change notification settings - Fork 266
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
ldc2: Segmentation fault with -O #2885
Comments
Without any code for reproducibility, such a report is quite obviously useless. |
Can you run |
Linux localhost 3.18.71-14176914 #1 SMP PREEMPT Wed Sep 19 10:57:01 KST 2018 armv8l Android I will try Dustmite, not sure it can work on android. |
Hmm, haven't seen that reported before, ie |
@joakim-noah I forget to let you know, I am rung arm32 on a arm64 phone, because I can not find arm32 and I am not able to setup a cross build for arm32. to do this is modify the termux to make sure it always return arm32 type from Java. |
OK, in that case, does adding the 32-bit CPU flag fix the segfault? It usually does for me on 32-bit ARM. |
@joakim-noah |
Yes, it should. If adding that flag fixes this issue for you, you can close it. I will more prominently emphasize it on the wiki. |
I've updated the wiki to emphasize that you should pass that cpu flag. |
ldmd2 is run from termux32 with -O, remove -O it work fine.
LDC - the LLVM D compiler (1.12.0):
based on DMD v2.082.1 and LLVM 7.0.0
built with LDC - the LLVM D compiler (1.12.0)
The text was updated successfully, but these errors were encountered: