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 , 8 years ago
comment:2 by , 8 years ago
Type: | bug → enhancement |
---|
comment:3 by , 8 years ago
I note that issue has a workaround in Mono; by using pthread TLS. Still may be desirable to dix.
follow-up: 8 comment:4 by , 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:5 by , 5 years ago
Static TLS is required for c++11: https://en.cppreference.com/w/cpp/keyword/thread_local.
comment:6 by , 3 years ago
Unable to compile Kuroko because of this. https://github.com/kuroko-lang/kuroko
comment:7 by , 17 months ago
Still true trying to checkout a build for mysql 8.0.33 (with boost headers)
comment:8 by , 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.
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.