Skip to content

gh-98894: Fix DTrace test_check_probes for shared builds#151122

Open
stratakis wants to merge 1 commit into
python:mainfrom
stratakis:fix-dtrace-tests
Open

gh-98894: Fix DTrace test_check_probes for shared builds#151122
stratakis wants to merge 1 commit into
python:mainfrom
stratakis:fix-dtrace-tests

Conversation

@stratakis

@stratakis stratakis commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

When building with --enable-shared, the SystemTap/DTrace notes live in libpython. Add detection logic to be used by readelf.

When building with --enable-shared, the SystemTap/DTrace notes
live in libpython. Add detection logic to be used by readelf.
@bedevere-app bedevere-app Bot added awaiting review tests Tests in the Lib/test dir labels Jun 9, 2026
@stratakis

Copy link
Copy Markdown
Contributor Author

Easily reproducible traceback by:

./configure --with-dtrace --enable-shared && make -j && LD_LIBRARY_PATH=. ./python -m test -vv test_dtrace

This should cover also the install builds, the out of tree builds and their combination. Tested them all and it works.

I don't think a news entry is warranted here.

cc @pablogsal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant