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.
Since 2017, Arch Linux has built its system libraries using the
-fno-pltcompiler flag. As a result, tools like Gotcha (used by Score-P since version 9.0) are unable to intercept certain function calls such aspthread_createfrom 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-pltby default to its system libraries.At the moment, the only known workaround is to build a custom version of Python without the
-fno-pltflag.