]> sourceware.org Git - systemtap.git/commit
Generate DWARF for HelperSDT/_HelperSDT*.so
authorMartin Cermak <mcermak@redhat.com>
Thu, 25 Jul 2024 14:15:53 +0000 (16:15 +0200)
committerMartin Cermak <mcermak@redhat.com>
Thu, 25 Jul 2024 14:15:53 +0000 (16:15 +0200)
commit4e8058f38d7f2ec2040d43ddcfddff5217e89423
treeee2477736f0d4343b9ed5ed8820597e636d25784
parenta64dc4e2e0195ca80c6509df511a42459b40e9af
Generate DWARF for HelperSDT/_HelperSDT*.so

Python Extension Flags Reduction effort [1] dropped GCC -g switch
from the build and linker flags (CFLAGS and LDFLAGS) saved internally
in the Python interpreter for use by distutils and other build systems.

For systemtap this means that the expected debugging symbols weren't
generated for the Helper SDT python module, e.g.:

/usr/lib/debug/usr/lib64/python3.12/site-packages/HelperSDT/_HelperSDT.\
cpython-312-x86_64-linux-gnu.so-5.1-7.el10.x86_64.debug
in systemtap-runtime-python3-debuginfo ... is missing debugging symbols.

To generate the needed debugging symbols, the -g switch  needs to be
passed explicitly to the Helper SDT gen script via extra_compile_args.

-------
[1] https://fedoraproject.org/wiki/Changes/Python_Extension_Flags_Reduction
python/setup.py
This page took 0.026913 seconds and 5 git commands to generate.