Replies: 0 comments 3 replies
-
@kapouer might be able to help you, but note that there is no official support for mips64. |
Beta Was this translation helpful? Give feedback.
-
Hi, indeed, we have a working nodejs 18 on debian/bookworm for mips64el. I suppose you are not using that distribution. |
Beta Was this translation helpful? Give feedback.
-
Hello, @leishan |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Version
v18.16.0
Platform
MIPS64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
No response
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
No response
What do you see instead?
I have a machine with a MIPS64 CPU architecture, and since node-v18.16.0 does not have a corresponding binary installer file for it, I compiled the source code on this machine using
node-v18.16.0.tar.xz
.My first step is installing
libssl-dev
The second step is to modify the
Makefile
file at line 937 of theand changed the
Makefile
file at line 975 of theFinally, compile the node-v18.16.0 source code using the following command:
This compilation went well and the generated
node
commands worked fine, but using commands such asnpm install xxx
andnpm ping
prompted the following error:So, I downloaded the v16.20.0 source code and compiled it again, the compilation went well and the generated
node
commands worked fine, but commands likenpm install xxx
andnpm ping
prompted the following error:floating point exception
Later, I tried to use the node-v18.16.0 and node-v16.20.0 generated node commands to test the following two files
a.js
andb.js
respectively, and found thatnode a.js
works normally, butnode b.js
will have the above "abandoned" and "floating point exception" respectively under node commands. The error message "floating point exception" appears inb.js
under node command.this is
a.js
:this is
b.js
:Later, I downloaded the
node-v18.16.0-linux-x64.tar.xz
binary package and installed it on both x64 and Arm64 machines, and there was no "abandoned" or "floating point exception " problems.I used
ldd
andreadelf
commands to compare thenode
commands generated by thenode-v18.16.0.tar.xz
compilation on the MIPS64 machine with thenode-v18.16.0-linux-x64.tar.xz
binary installation on the x86/Arm64 machine, and found that there is not much difference between the two.What is the problem? I've been puzzled.
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions