Lintian ReportsBETA

shared-library-lacks-stack-section

The listed shared library lacks a PT_GNU_STACK section. This forces the dynamic linker to make the stack executable.

The shared lib is linked either with a non-GNU linker or a linker which is very old. This problem can be fixed with a rebuild.

To see whether a shared library has this section, run readelf -l on it and look for a program header of type GNU_STACK.

The tag is present in Lintian version 2.114.163. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.113.0 release tag in our Git repository.

You can find the detection logic for this version at commit 43a81d7. For merge requests, please use the latest version in the Lintian check libraries/shared/stack.

Visibility: error

Renamed from:
  • shlib-without-PT_GNU_STACK-section

The following 5 source packages in the archive triggered the tag 62 times (in any Lintian version).

There were no overrides.