-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[cling] Enable JITLink for x86_64 on Linux #14246
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Starting build on |
|
That’s a good direction. Let’s wait for the dust to settle after the upgrade for a few weeks before landing this. There were several significant changes between llvm16 and llvm17 in order for jitlink to become default. Can you check the llvm git history? |
56ad038 to
ad78956
Compare
Yes, we discussed to not merge before early next year.
I put a bit more documentation in #14209; the switch to default happened very early in the LLVM 17 cycle (February and April, after branching in January). I was hoping there are only very few fixes around that time, if at all... |
|
Starting build on |
Test Results 22 files 22 suites 3d 19h 1m 33s ⏱️ For more details on these failures, see this check. Results for commit d311996. ♻️ This comment has been updated with latest results. |
|
Hi @lhames, following the deprecation procedure for RuntimeDyld we are hitting a few test failures. Some of them have things like I am not sure what's our way forward here. |
|
I now understand what is going wrong: @Axel-Naumann pushed me into the right direction by noticing that the errors concern vtables and typeinfo symbols, which are subject to reemission on our side. Then our So tldr, we can fix the problems by reordering the passes. Let's slot this change in after the upgrade to LLVM 18, which is also where upstream changed to the default to JITLink. |
ef3a472 to
9ac8e63
Compare
This makes it easier to maintain and track changes later.
9ac8e63 to
d311996
Compare
This Pull request:
Changes or fixes:
Checklist:
This PR fixes #14209