-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
tools: fix riscv64 build failed #52888
Conversation
Review requested:
|
ff7cd6a
to
2674676
Compare
I had a try with your branch with GCC10 from Ubuntu 20.04/riscv64 and run into an issue with a number of symbols when building the test code - is that expected and do you get the same failure? I don't think I've seen these before.
EDIT: I'm going to be away for the next 2½ weeks - so until June - so if I don't respond to any further queries on this, that will be why |
Why does that check for host_arch=="arm64" or target_arch=="arm64"? |
- Backport nodejs/node#52888 - Seems crash when building with gcc had fixed, use GCC again.
- Backport nodejs/node#52888 - Seems crash when building with gcc had fixed, use GCC again.
- Backport nodejs/node#52888 - Seems crash when building with gcc had fixed, use GCC again.
70499c9
to
1d34529
Compare
Thanks. I had fix this. |
LGTM - three failures - all passed on first re-run. First two are marked flakey:
@luyahan Before I approve (it fixes the build failure for me on a recent gcc) is there a reason why this PR appears to add extra files into the x64 build as well? I would expect this fox to only be in riscv64 specific sections. |
@luyahan can you add the repair code for the loong64 architecture? Thanks you.
|
Fix build failure on riscv64 since v22. Ref: nodejs#52888 Ref: nodejs#52678
Is the riscv build for 22 still broken waiting for this to be reviewed? |
@luyahan and @sxa Can you get this sorted out? It would be great if Node.js supported Linux/RISC-V (64-bit) again. |
I had to pull this patch into Fedora/RISCV NodeJS 22 to get it building again. Could someone review this patch to unblock NodeJS 22? |
01ed478
to
075dddc
Compare
There have condition
The condition will be effective after the pr #55848 |
Hi @sxa |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 😁 (The PR tester above didn't complete properly but subsequent testing looks good)
@luyahan Can you adjust the commit message as per the "Merging is blocked" notification above please? |
You can ignore that -- the tooling for merging will take care of it. |
Landed in bdaa898 |
fix #52678