Skip to content

Arch Linux’s -fno-plt default prevents function interception in Score-P #173

@NanoNabla

Description

@NanoNabla

Since 2017, Arch Linux has built its system libraries using the -fno-plt compiler flag. As a result, tools like Gotcha (used by Score-P since version 9.0) are unable to intercept certain function calls such as pthread_create from the Python standard library or even I/O related functions.
User instrumented functions, including most of the Python code, are still visible.

Arch Linux appears to be the only major Linux distribution that applies -fno-plt by default to its system libraries.

At the moment, the only known workaround is to build a custom version of Python without the -fno-plt flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions