Open
Description
Proc macros are dlopen'ed. -Ztls-model=initial-exec
is not allowed for dlopen'ed dynamic libraries. Only for dynamic libraries declared directly or indirectly as DT_NEEDED
of the main executable. While at least glibc reserves a bit of space just in case someone tries to dlopen a dynamic library compiled with the initial-exec tls model, this space is limited and running out of it will cause a failure to load.
Metadata
Metadata
Assignees
Labels
Area: linking into static, shared libraries and binariesArea: Thread local storage (TLS)Category: This is a bug.Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)