Avoid using up static TLS surplus in glibc-2.27 in Ubuntu 18.04

Bug #1979319 reported by Steve Capper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello,
A bug has been fixed in glibc 2.32 that prevented certain combinations of libraries loading that employed TLS.

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

The glibc-2.31 in Debian Bullseye has been fixed with a similar bug raised at:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964141

Specifically the Debian package employed the following patchies:
https://salsa.debian.org/glibc-team/glibc/-/blob/bullseye/debian/patches/any/git-surplus-tls-accounting.diff

Could that patch please also be picked up by the glibc-2.27 package in Ubuntu 18.04?

FWIW, in addition to the Debian patches, I had to cherry-pick the following additional commits from upstream to allow this to work on Ubuntu 18.04:
3b856d093f elf: Ignore LD_AUDIT interfaces if la_version returns 0 [BZ #24122]
94b63e6620 support: Implement xdlmopen

Cheers,
--
Steve Capper

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.