Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-112536: Define_Py_THREAD_SANITIZER on GCC when TSan is enabled#117702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
colesbury merged 1 commit intopython:mainfromcolesbury:gh-112536-gcc-tsan
Apr 10, 2024

Conversation

@colesbury
Copy link
Contributor

@colesburycolesbury commentedApr 9, 2024
edited by bedevere-appbot
Loading

The__has_feature(thread_sanitizer) is a Clang-ism. Although new versions of GCC implement__has_feature, thedefined(__has_feature) check still fails on GCC so we don't use that code path.

…abledThe `__has_feature(thread_sanitizer)` is a Clang-ism. Although newversions of GCC implement `__has_feature`, the `defined(__has_feature)`check still fails on GCC so we don't use that code path.
@colesburycolesbury merged commit79eec66 intopython:mainApr 10, 2024
@colesburycolesbury deleted the gh-112536-gcc-tsan branchApril 10, 2024 14:20
@miss-islington-app
Copy link

Thanks@colesbury for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@bedevere-app
Copy link

GH-117713 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelApr 10, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestApr 10, 2024
…abled (pythonGH-117702)The `__has_feature(thread_sanitizer)` is a Clang-ism. Although newversions of GCC implement `__has_feature`, the `defined(__has_feature)`check still fails on GCC so we don't use that code path.(cherry picked from commit79eec66)Co-authored-by: Sam Gross <colesbury@gmail.com>
colesbury added a commit that referenced this pull requestApr 10, 2024
…nabled (GH-117702) (#117713)gh-112536: Define `_Py_THREAD_SANITIZER` on GCC when TSan is enabled (GH-117702)The `__has_feature(thread_sanitizer)` is a Clang-ism. Although newversions of GCC implement `__has_feature`, the `defined(__has_feature)`check still fails on GCC so we don't use that code path.(cherry picked from commit79eec66)Co-authored-by: Sam Gross <colesbury@gmail.com>
diegorusso pushed a commit to diegorusso/cpython that referenced this pull requestApr 17, 2024
…abled (python#117702)The `__has_feature(thread_sanitizer)` is a Clang-ism. Although newversions of GCC implement `__has_feature`, the `defined(__has_feature)`check still fails on GCC so we don't use that code path.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@pitroupitroupitrou left review comments

@corona10corona10corona10 approved these changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@colesbury@pitrou@corona10

[8]ページ先頭

©2009-2025 Movatter.jp