Opened 2 years ago

Last modified 2 years ago

#13294 new enhancement

Static TLS model is not supported

Reported by: calvinb Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/runtime_loader Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

I've been working on a port of Mono to Haiku. It seems Mono requires a static TLS model, which isn't supported by Haiku. This blocks it.

runtime_loader: Static TLS model is not supported. runtime_loader: /boot/home/src/mono/mono/mini/mono-sgen: Troubles handling dynamic section

error is triggered by elf_load_image.cpp line 337

Change History (3)

comment:1 Changed 2 years ago by calvinb

Forgot to mention, but this is on a hybrid x86 build, and Mono was built with gcc5. I'm running Haiku hrev50941 inside of Hyper-V, with 2 cores and 1 GB RAM allocated to it.

comment:2 Changed 2 years ago by korli

Type: bugenhancement

comment:3 Changed 2 years ago by calvinb

I note that issue has a workaround in Mono; by using pthread TLS. Still may be desirable to dix.

Note: See TracTickets for help on using tickets.