-
Notifications
You must be signed in to change notification settings - Fork 546
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
CMake 3.20 breaks 32-bit building on GA CI: finds wrong libraries #4830
Comments
It does seem likely that these problems are coming from the announcement cited above as the VM's were deployed 1 hour ago: actions/runner-images#2950 (comment) |
Explicitly installing |
Based on actions/runner-images#2950 (comment) and the results in the PR, the 32-bit-toolchain problem is from a cmake upgrade to 3.20. For now we will downgrade to 3.19 to get things green, while we try to figure out what the underlying issue is. |
Adds an explicit install of clang-format-6.0 since it seems to no longer be installed in the base image. Adds an explicit setup of cmake 3.19 since cmake 3.20 on these VM's results in a broken 32-bit toolchain. This needs further investigation, but for now we have a workaround. Issue: #4830
Renamed the title to focus on the part that's left: figuring out why CMake 3.20 results in trying to use 64-bit libraries for 32-bit targets. Is it purely a CMake problem, or does it involve GA CI VM setup? First step would be to try to reproduce outside of GA of course. Now that we have the CI green by using 3.19 this is less urgent but we will all start hitting it as our own machines move to 3.20 at some point. |
Not seeing anything in the changelog that seems relevant: https://cmake.org/cmake/help/latest/release/3.20.html |
I downloaded https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0-linux-x86_64.tar.gz and ran:
And it worked fine. This is a Debian-ish distro with |
CMake 3.20 on GA CI fails to link 32-bit binaries, so we downgrade our jobs to 3.19.7 for now. Issue: DynamoRIO/dynamorio#4830
CMake 3.20 on GA CI fails to link 32-bit binaries, so we downgrade our jobs to 3.19.7 for now. Issue: DynamoRIO/dynamorio#4830
The clang-format and both Linux x86 jobs suddenly started failing about an hour ago.
Xref #4780 where 32-bit apt packages were messed up.
Clang-format says:
That may be related to this:
https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1604-README.md
Though it still lists clang 9 as being installed in the base.
For the 32-bit the failures look like a messed-up toolchain finding the wrong libraries:
https://github.com/DynamoRIO/dynamorio/pull/4829/checks?check_run_id=2247626216
This breaks 64-bit as well b/c it has one 32-bit build for cross-arch testing:
The text was updated successfully, but these errors were encountered: