Skip to content

Reapply "Store token literal data in PCH (ROOT-6794)." - #23235

Open
siliataider wants to merge 2 commits into
root-project:masterfrom
siliataider:clang-patch-revert
Open

Reapply "Store token literal data in PCH (ROOT-6794)."#23235
siliataider wants to merge 2 commits into
root-project:masterfrom
siliataider:clang-patch-revert

Conversation

@siliataider

@siliataider siliataider commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Reapplies 9c8a650, reverted by #23165 in commit aa5d17c.

The revert breaks the Python wheels.

The wheel's PCH is built on manylinux_2_28 (glibc 2.28) and run on the ubuntu-latest runner (glibc 2.39). The system headers are present but different enough that cling reads the wrong bytes, and the lexer desyncs such that we get failures of the sort:

    /usr/include/assert.h:37: error: failure when lexing a numeric literal

@siliataider siliataider self-assigned this Sep 2, 2026
@siliataider siliataider added the build-python-wheels Run the workflow to build Python wheels label Sep 2, 2026
@siliataider
siliataider requested a review from hahnjo as a code owner September 2, 2026 14:42
@siliataider siliataider added the clean build Ask CI to do non-incremental build on PR label Sep 2, 2026
@siliataider siliataider closed this Sep 2, 2026
@siliataider siliataider reopened this Sep 2, 2026
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Test Results

    19 files      19 suites   2d 14h 16m 14s ⏱️
 3 859 tests  3 859 ✅ 0 💤 0 ❌
63 660 runs  63 660 ✅ 0 💤 0 ❌

Results for commit 99711aa.

♻️ This comment has been updated with latest results.

@hahnjo hahnjo 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.

As discussed offline, needed for the Python wheels.

I pushed a new tag to https://github.com/root-project/llvm-project/, please update interpreter/llvm-project/llvm-project.tag to the value ROOT-llvm22-20260902-01 (once CI has passed and all is confirmed working). Also, can you put the information from the PR summary into the commit message so it is preserved in the git history? The correct git hash of the merged commit should be aa5d17c (instead of 13b7480, which was the commit in the PR).

… expansion (ROOT-6794)."

This reverts commit aa5d17c which breaks the Python wheels.

The wheel's PCH is built on `manylinux_2_28` (glibc 2.28) and run on the `ubuntu-latest` runner (glibc 2.39). The system headers are present but different enough that cling reads the wrong bytes, and the lexer desyncs such that we get failures of the sort:
 ```
     /usr/include/assert.h:37: error: failure when lexing a numeric literal
```
@vgvassilev

Copy link
Copy Markdown
Member

I believe somewhere on the llvm phabricator we had this opened as a change and was more or less fine but required a test.

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

Labels

build-python-wheels Run the workflow to build Python wheels clean build Ask CI to do non-incremental build on PR in:Cling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants