Fix building under clang-22#5064
Conversation
b1e749d to
414f739
Compare
|
Thanks for picking this up! I hadn't realized LLVM 22 isn't actually released yet. What platform are you running that you noticed the build failure? Probably makes sense to wait with merging until upstream puts out a proper release, since I remember LLVM 21 had a lot of back and forth with API changes during development. |
I'm running FEX on Ubuntu 24.04, AArch64.
That sounds good to me. I'm totally fine with waiting. and I'm happy to take care of any other API breaking changes in the meantime :) |
|
Clang-22 is released, I'll test whether current patch can compile later :) |
Great, thanks again for keeping an eye on this! Did you enable unit tests locally? I gave the patch a quick spin using the nix build, and it's failing to build in those: |
Sorry that I didn't enable it, I'll push a new commit when I fix the unittests build. |
414f739 to
48680d6
Compare
|
Hi, I've updated the patch and verified that the unittests and lib-thunking can all build as expected under I ran the unittests locally and observed some failures, primarily in x32. (I suspect they may be due to my local environment setup rather than the build fix itself). I also used Would you please take another look at this when you have time? Thanks in advance :) |
neobrain
left a comment
There was a problem hiding this comment.
Great! It now builds fine for me. For reference, I tested compiling against LLVM 19, 21, and 22.
Thanks yet again :)
Closes #5032