-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
LDC crashes in LLVM when compiling msgpack-d for Android #3437
Comments
I can reproduce a crash when NOT specifying |
kinke
added a commit
to kinke/ldc
that referenced
this issue
May 20, 2020
Hardcoded instead of pre-setting ldc2.conf for the prebuilt Android packages, and thus simplifying cross-compilation (e.g., issue ldc-developers#3437). Also use `core2` instead of `x86-64` for Android x86_64.
I see. It used to working without the mcpu flag. |
Probably something's changed with LLVM 10 then. |
kinke
added a commit
that referenced
this issue
Jun 1, 2020
Hardcoded instead of pre-setting ldc2.conf for the prebuilt Android packages, and thus simplifying cross-compilation (e.g., issue #3437). Also use `core2` instead of `x86-64` for Android x86_64.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Last good LDC is 1.20.
$ dub init .
Package recipe format (sdl/json) [json]: sdl
Name [temp]:
Description [A minimal D application.]:
Author name [tbl]:
License [proprietary]:
Copyright string [Copyright © 2020, tbl]:
Add dependency (leave empty to skip) []: msgpack-d
Adding dependency msgpack-d ~>1.0.2
Add dependency (leave empty to skip) []:
Successfully created an empty project in '/home/tbl/projects/temp'.
Package successfully created in .
$ PATH=ldc2-1.21.0-linux-x86_64/bin:$PATH dub build --arch=armv7a-unknown-linux-androideabi
Performing "debug" build using /home/tbl/projects/temp/ldc2-1.21.0-linux-x86_64/bin/ldc2 for arm, arm_softfloat.
msgpack-d 1.0.2: building configuration "default"...
/home/tbl/projects/temp/ldc2-1.21.0-linux-x86_64/bin/ldc2 failed with exit code -11.
bt from ldc crash:
The text was updated successfully, but these errors were encountered: