I'm getting a ton of linker errors when building with LDC with the aarch64 release from here: https://github.com/ldc-developers/ldc/releases
Lib/Android/arm64-v8a/libphobos2-ldc.a(concurrency.o):(.data._D3std11concurrency12__ModuleInfoZ+0x20): undefined reference to `_D4core4sync9condition12__ModuleInfoZ'
Lib/Android/arm64-v8a/libphobos2-ldc.a(parallelism.o): In function `_D3std11parallelism13totalCPUsImplFNbNiNeZk':
parallelism.d:(.text._D3std11parallelism13totalCPUsImplFNbNiNeZk+0x20): undefined reference to `CPU_COUNT'
Lib/Android/arm64-v8a/libphobos2-ldc.a(parallelism.o): In function `_D3std11parallelism8TaskPool6__ctorMFNeZCQBnQBmQBc':
parallelism.d:(.text._D3std11parallelism8TaskPool6__ctorMFNeZCQBnQBmQBc+0x64): undefined reference to `CPU_COUNT'
Lib/Android/arm64-v8a/libphobos2-ldc.a(parallelism.o): In function `_D3std11parallelism8TaskPool6__ctorMFNemZCQBoQBnQBd':
parallelism.d:(.text._D3std11parallelism8TaskPool6__ctorMFNemZCQBoQBnQBd+0xc0): undefined reference to `_D4core4sync9condition9Condition7__ClassZ'
parallelism.d:(.text._D3std11parallelism8TaskPool6__ctorMFNemZCQBoQBnQBd+0xc4): undefined reference to `_D4core4sync9condition9Condition7__ClassZ'
parallelism.d:(.text._D3std11parallelism8TaskPool6__ctorMFNemZCQBoQBnQBd+0xd0): undefined reference to `_D4core4sync9condition9Condition6__vtblZ'
parallelism.d:(.text._D3std11parallelism8TaskPool6__ctorMFNemZCQBoQBnQBd+0xd4): undefined reference to `_D4core4sync9condition9Condition6__initZ'
parallelism.d:(.text._D3std11parallelism8TaskPool6__ctorMFNemZCQBoQBnQBd+0xd8): undefined reference to `_D4core4sync9condition9Condition6__vtblZ'
parallelism.d:(.text._D3std11parallelism8TaskPool6__ctorMFNemZCQBoQBnQBd+0xdc): undefined reference to `_D4core4sync9condition9Condition6__initZ'
parallelism.d:(.text._D3std11parallelism8TaskPool6__ctorMFNemZCQBoQBnQBd+0x108): undefined reference to `_D4core4sync9condition9Condition6__ctorMFNbNfCQBsQBq5mutex5MutexZCQCmQCkQCiQCb'
parallelism.d:(.text._D3std11parallelism8TaskPool6__ctorMFNemZCQBoQBnQBd+0x134): undefined reference to `_D4core4sync9condition9Condition6__ctorMFNbNfCQBsQBq5mutex5MutexZCQCmQCkQCiQCb'
Lib/Android/arm64-v8a/libphobos2-ldc.a(parallelism.o): In function `_D3std11parallelism__T27__lazilyInitializedConstantTykVki4294967295S_DQCqQCp13totalCPUsImplFNbNiNeZkZQDbFNaNbNdNiNfZyk':
parallelism.d:(.text._D3std11parallelism__T27__lazilyInitializedConstantTykVki4294967295S_DQCqQCp13totalCPUsImplFNbNiNeZkZQDbFNaNbNdNiNfZyk+0x60): undefined reference to `CPU_COUNT'
Lib/Android/arm64-v8a/libphobos2-ldc.a(parallelism.o): In function `_D3std11parallelism8taskPoolFNdNeZ9__lambda2FNfZCQBvQBu8TaskPool':
parallelism.d:(.text._D3std11parallelism8taskPoolFNdNeZ9__lambda2FNfZCQBvQBu8TaskPool+0xc0): undefined reference to `CPU_COUNT'
Lib/Android/arm64-v8a/libphobos2-ldc.a(parallelism.o): In function `_D3std11parallelism18defaultPoolThreadsFNdNeZk':
parallelism.d:(.text._D3std11parallelism18defaultPoolThreadsFNdNeZk+0x84): undefined reference to `CPU_COUNT'
A lot of unresolved references to just CPU_COUNT. The confusing part is that it has undefined referenced to parts of in core
, which I am linking the druntime as well. Is anyone able to build for android?