[llvm-dev] TLS in RuntimeDyld / Linux x86_64

Axel Naumann via llvm-dev llvm-dev at lists.llvm.org
Thu Sep 14 23:25:08 PDT 2017


Hi,

We're really missing TLS in the JIT on Linux / x86_64. With
multithreading taking over the world we have more and more people
noticing that the JIT won't let them run their code. There is e.g.

- <http://lists.llvm.org/pipermail/llvm-dev/2017-February/109906.html>
- <https://bugs.llvm.org/show_bug.cgi?id=21431> and its dupes
<https://bugs.llvm.org/buglist.cgi?quicksearch=TargetGlobalTLSAddress&list_id=123170>

which prove that we are not alone...

I'm not expert enough on x86_64 relocs to solve this one (I tried). Is
there anyone out there who might be able to help?

And yes I talked to Lang, but he is booked. He said "I think it should
be enough to support the general dynamic ELF TLS mode".

Any help is *very* much appreciated!

Cheers, Axel.

--
ROOT - http://root.cern
EP-SFT, CERN, 1211 Geneve 23, Switzerland
Tel: +41 22 7678225


More information about the llvm-dev mailing list