D on android and d_android
burt
invalid_email_address at cab.abc
Wed Apr 1 14:20:25 UTC 2020
On Wednesday, 1 April 2020 at 14:16:28 UTC, Adam D. Ruppe wrote:
> On Wednesday, 1 April 2020 at 14:13:32 UTC, burt wrote:
>> I also wonder if there's a difference between the
>> libphobos2-ldc and libphobos2-ldc-debug.a libraries? Do those
>> mangle differently and could that cause the linker errors?
>
> maybe. what are the errors?
Some examples of errors are:
> ...\ldc2-1.19.0-windows-x64\bin\..\import\std/utf.d:0: error:
> undefined reference to '_D3std3utf12UTFException7__ClassZ'
> ...\dub\packages\arsd-official-7.0.0\arsd-official/jni.d:0:
> error: undefined reference to '_D9Exception6__initZ'
> ...\ldc2-1.19.0-windows-x64\bin\..\import/object.d:3109: error:
> undefined reference to '_d_arraysetcapacity'
> .../parser.d:697: error: undefined reference to '_d_newarrayU'
Strange is that even symbols that are not mangled (such as
_d_arraysetcapacity) cannot be found, even though these should
always mangle the same.
More information about the Digitalmars-d-learn
mailing list