Opened 8 years ago

Last modified 17 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 (8)

comment:1 by calvinb, 8 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, 8 years ago

Type: bugenhancement

comment:3 by calvinb, 8 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, 5 years 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

comment:6 by Teashrock, 3 years ago

Unable to compile Kuroko because of this. https://github.com/kuroko-lang/kuroko

comment:7 by begasus, 17 months ago

Still true trying to checkout a build for mysql 8.0.33 (with boost headers)

in reply to:  4 comment:8 by X512, 17 months ago

Replying to X512:

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

Not actual anymore with current Mesa version. It currently do not need static TLS.

Note: See TracTickets for help on using tickets.