Does anyone build for Android? Tons of link errors..
kinke
noone at nowhere.com
Fri Feb 18 19:13:52 UTC 2022
On Friday, 18 February 2022 at 16:28:56 UTC, Fry wrote:
> Does anyone know why the bfd linker is needed and why the gold
> linker doesn't work for the emulated TLS?
It's required for LDC's custom TLS emulation for Android, see 1st
point in
https://wiki.dlang.org/Build_D_for_Android#Directions_for_future_work. lld supports custom linker scripts AFAIK, so that should get it to work as well (putting the two sections adjacent to each other). There's a runtime check making sure the executable has been linked as expected.
More information about the Digitalmars-d-learn
mailing list