protonscr

[libcef] is ELF static TLS

steamopen Web Component
ValveSoftware/steam-for-linux#9476 · opened 2023-05-08 by sylware · updated 2024-05-24 · 2 comments · github
Ssylware 2023-05-08 github

Doing some ELF work and inventory on my distro, I noticed that libcef requires ELF static TLS. It should be ELF dynamic TLS at worse (and ultimately should move towards pthreads TLS).
It was the only "main" component, the others I could find seemed LD_PRELOAD only.

Ssylware 2023-11-18 github

Depending on its dependencies, libcef seems to miss the following compiling/linking options:

"-ftls-model=global-dynamic -fpic"

On, unfortunately, recent gcc.

Ssylware 2024-05-24 github

(a note: all that is to spare as many static TLS slots as possible for the system interface libs).

Nothing extracted yet.