Bug 253508 - [rtld] RTLD_STATIC_TLS_EXTRA should be incresed
Summary: [rtld] RTLD_STATIC_TLS_EXTRA should be incresed
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.2-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: toolchain
Depends on:
Blocks:
 
Reported: 2021-02-14 14:25 UTC by Markus Kohlmeyer
Modified: 2021-02-18 11:27 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Kohlmeyer 2021-02-14 14:25:00 UTC
As you can see in the referenced Bug, the value of RTLD_STATIC_TLS_EXTRA in /usr/src/libexec/rtld-elf/rtld.h should be increased.
I'm unsure how large it realy needs be to avoid such bugs, but according to http://lists.dragonflybsd.org/pipermail/bugs/2013-June/311813.html i tried it with 1280 and the failures in PHP went away.

Hopefully this is the correct way of fixings this issue.
Thanks for your great work!