https://sourceware.org/bugzilla/show_bug.cgi?id=33314

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugdal at aerifal dot cx

--- Comment #15 from Rich Felker <bugdal at aerifal dot cx> ---
This issue is causing real-world breakage in mesa too (until it was worked
around with hacks that likely hurt performance a lot). See
https://gitlab.freedesktop.org/mesa/mesa/-/issues/13236

I think I know roughly what's going on. The TLSDESC dynamic relocations are
being put in the .rel[a].plt section, which normally doesn't have addends, and
it looks like some wrong adjustment to the addends is being made there,
possibly due to unnecessary slots getting dropped at a later stage after
they're calculated or something. Putting them where they belong in .rel[a].dyn,
where addends are known to work right, should avoid the problem.

This was fixed for x86 in https://sourceware.org/bugzilla/show_bug.cgi?id=28387
but other targets are still broken.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to