android arm32 link error with thread local storage
test123
test123 at gmail.com
Thu Sep 15 11:50:04 UTC 2022
On Thursday, 15 September 2022 at 10:03:08 UTC, test123 wrote:
> when use thread local storage for arm32 android with ubyte
> type. get this error:
>
>
> ```d
> static ubyte TLS = ubyte.max;
> ```
>
> ```sh
> incompatible section flags for .tdata
> test.o:(.tdata._D4testTLSh): 0x3
> output section .tdata: 0x403
> ```
>
> this work for aarch64 or x86.
not sure why I can not duplicate this error anymore.
More information about the digitalmars-d-ldc
mailing list