September 15, 2022

when use thread local storage for arm32 android with ubyte type. get this error:

static ubyte TLS = ubyte.max;
incompatible section flags for .tdata
test.o:(.tdata._D4testTLSh): 0x3
output section .tdata: 0x403

this work for aarch64 or x86.

September 15, 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:

static ubyte TLS = ubyte.max;
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.