-
Notifications
You must be signed in to change notification settings - Fork 167
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
Compilation issues with RHEL8-arm64 and recent V8 #3595
Comments
Given that https://ci.nodejs.org/job/node-test-commit-arm/50511/nodes=ubuntu2004-arm64/ succeeded I'm wondering if this is an issue with gas (2.30 on rhel-arm64 vs 2.34 on ubuntu2004-arm64). Or if, for some reason, the arm architecture is being detected differently between the two environments -- according to https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html |
We'll probably need to add at least the gcc-toolset-10 version of bintutils to build/ansible/roles/docker/templates/rhel8.Dockerfile.j2 Lines 30 to 34 in 25bcaef
which should bring us up to binutils 2.35. |
PR (untested): #3596 |
Looks very much likely to be the version of binutils. Compare:
It appears that |
For the second issue, I tried to force gcc-11 on the release machine and rebuild. The error is still here:
We're also experiencing an issue on GitHub actions with today's canary build (GCC 11 is the default compiler on GH runners too): https://github.com/nodejs/node-v8/actions/runs/7271603973?check_suite_focus=true
We'll probably have to bump GCC to 12 or 13 for the next major. |
I wonder if the solution may be to add |
Here's a full CI to get more info: https://ci.nodejs.org/job/node-test-commit/67540/ |
Add the `gcc-toolset-10` version of `binutils` to all RHEL 8 based containers. Refs: #3595 (comment)
The default value of the flag is "all" in Clang: https://github.com/llvm/llvm-project/blob/54067c5fbe9fc13ab195cdddb8f17e18d72b5fe4/clang/include/clang/Basic/LangOptions.def#L133-L134 |
Testing with the option (nodejs/node-v8@4feafb2): https://ci.nodejs.org/job/node-test-commit-arm-debug/11012/ |
First issue fixed by #3596 |
V8 11.9, on
test-equinix-rhel8_container-arm64-1
(GCC 10.3.1): https://ci.nodejs.org/job/node-test-commit-arm/50511/nodes=rhel8-arm64/consoleV8 canary, on
release-osuosl-rhel8-arm64-1
(GCC 10.3.1): https://ci-release.nodejs.org/job/iojs+release/9842/nodes=rhel8-arm64-release/consoleThe text was updated successfully, but these errors were encountered: