[Bug 1979319] [NEW] Avoid using up static TLS surplus in glibc-2.27 in Ubuntu 18.04

Steve Capper 1979319 at bugs.launchpad.net
Tue Jun 21 13:44:01 UTC 2022


Public bug reported:

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

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1979319

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

Status in glibc package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1979319/+subscriptions




More information about the foundations-bugs mailing list