Skip to content

gh-117657: Use clang 18 in TSAN builds - #118533

Merged
encukou merged 1 commit into
python:mainfrom
mpage:gh-117657-upgrade-llvm-for-tsan
May 7, 2024
Merged

encukou merged 1 commit into
python:mainfrom
mpage:gh-117657-upgrade-llvm-for-tsan

Conversation

@mpage

@mpage mpage commented May 3, 2024 •

Copy link
Copy Markdown
Contributor

We were using clang 14 which is a couple of years old.

We were using clang 14 which is a couple of years old.
@mpage mpage added the skip news label May 3, 2024
@mpage
mpage requested review from DinoV and colesbury May 3, 2024 03:36
@mpage
mpage marked this pull request as ready for review May 3, 2024 03:36
@mpage
mpage requested review from ezio-melotti and hugovk as code owners May 3, 2024 03:36
@colesbury

Copy link
Copy Markdown
Contributor

Does the version matter? I've been using gcc 11.4 locally and haven't run into issues yet.

@mpage

mpage commented May 3, 2024

Copy link
Copy Markdown
Contributor Author

The main motivation is that we get a newer llvm-symbolizer for use in TSAN, which gives us (slightly) more helpful error messages. For example, instead of

LLVMSymbolizer: error reading file: No such file or directory

we get

/usr/bin/llvm-symbolizer-18: error: '[stack]': No such file or directory
@colesbury
colesbury requested a review from corona10 May 3, 2024 15:52

@corona10 corona10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@encukou

encukou commented May 7, 2024

Copy link
Copy Markdown
Member

I hope apt.llvm.org won't go down as often as Launchpad :)

@encukou
encukou merged commit 3a6ff1b into python:main May 7, 2024
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
Use clang 18 in TSAN builds

We were using clang 14 which is a couple of years old.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants