[Bug 2100297] [NEW] dlopen(libx264/libde265) fails on armhf with glibc 2.41

Simon Chopin 2100297 at bugs.launchpad.net
Wed Feb 26 16:27:30 UTC 2025


Public bug reported:

Due to the changes in GNU_STACK exec flag handling in 2.41, it is now
not possible to dlopen a shared library that requires an executable
stack.

Both x264 and libde265 produce such objects, simply because some of
their objects files for ARM are produced from assembly code that lack
any definition for the GNU_STACK ELF field, and for retrocompatibility
the tooling will default to an executable stack.

Both libs should be fixed, and glibc should probably declare some Breaks
on them.

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: In Progress

-- 
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/2100297

Title:
  dlopen(libx264/libde265) fails on armhf with glibc 2.41

Status in glibc package in Ubuntu:
  In Progress

Bug description:
  Due to the changes in GNU_STACK exec flag handling in 2.41, it is now
  not possible to dlopen a shared library that requires an executable
  stack.

  Both x264 and libde265 produce such objects, simply because some of
  their objects files for ARM are produced from assembly code that lack
  any definition for the GNU_STACK ELF field, and for retrocompatibility
  the tooling will default to an executable stack.

  Both libs should be fixed, and glibc should probably declare some
  Breaks on them.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2100297/+subscriptions




More information about the foundations-bugs mailing list