Opened 3 years ago

Last modified 7 months 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:
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 (5)

comment:1 by calvinb, 3 years ago

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 by korli, 3 years ago

Type: bugenhancement

comment:3 by calvinb, 3 years ago

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

comment:4 by X512, 7 months ago

Same issue for mesa-19.2.8 libOSMesa.so on x86_64.

~/downloads/osdemo> osdemo
runtime_loader: Static TLS model is not supported.
runtime_loader: /boot/home/downloads/mesa-19.2.8/builddir/install/lib/libOSMesa.so.8.0.0: Troubles handling dynamic section
Note: See TracTickets for help on using tickets.