-
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
base: main
Are you sure you want to change the base?
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 |
fix #52678