found the answer: not possible out of the box, and...
# kotlin-native
b
found the answer: not possible out of the box, and when compiling to bc/obj manually, then linking to shared lib there's a problem with thread local relocation.