Skip to content
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

V8 will remove the MIPS(64) port #26179

Closed
natorion opened this issue Feb 18, 2019 · 13 comments
Closed

V8 will remove the MIPS(64) port #26179

natorion opened this issue Feb 18, 2019 · 13 comments
Labels
build Issues and PRs related to build files or the CI. mips Issues and PRs related to the MIPS architecture. v8 engine Issues and PRs related to the V8 dependency.

Comments

@natorion
Copy link

This is in the context of https://groups.google.com/forum/#!topic/v8-dev/oXkv5OVCXyc.

As nobody stepped up to maintain the ports, V8's current plan is to remove the MIPS(64) ports from the V8 codebase with V8 7.5 (~ mid March 2019).

As MIPS(64) is also not supported in Node.js (https://github.com/nodejs/node/blob/master/BUILDING.md#supported-platforms-1), I don't know if this is really relevant to you folks at all? Please speak up if this is not the case.

@natorion
Copy link
Author

natorion commented Feb 18, 2019

@addaleax addaleax added v8 engine Issues and PRs related to the V8 dependency. mips Issues and PRs related to the MIPS architecture. labels Feb 18, 2019
@hashseed
Copy link
Member

Note that the MIPS port has already been broken for a while.

bnoordhuis added a commit to bnoordhuis/io.js that referenced this issue Feb 18, 2019
Upstream V8 is dropping support for mips/mipsel/mips64/mips64el.
This commit removes the build flags from the configure script
and some loose ends from the documentation.

Fixes: nodejs#26179
@bnoordhuis bnoordhuis added the build Issues and PRs related to build files or the CI. label Feb 18, 2019
@richardlau
Copy link
Member

FYI @nodejs/distros

@bnoordhuis
Copy link
Member

bnoordhuis commented Feb 18, 2019

I did see the announcement but thanks for the reminder. :-)

We don't claim to support mips(64)(el) or test it regularly so I think it's just a matter of dropping it from the build scripts: #26192

@refack
Copy link
Contributor

refack commented Feb 18, 2019

I actually have node@8 running in OpenWRT on a TP-Link Archer C7 (CPU is a Qualcomm Atheros QCA9558) patched using https://github.com/openwrt/packages/tree/master/lang/node.
But AFAIK even node 9 and 10 were never properly ported.

@richardlau
Copy link
Member

Also cc @kapouer based on previous issues raised re. MIPS.

@glaubitz
Copy link

One of the problems here is that Firefox currently has a hard build dependency on nodejs, so distributions will no longer be able to build Firefox. On the other hand, it would be possible to perform the Firefox build steps which require nodejs on an x86_64 machine and then include these build artifacts in the MIPS builds.

@hashseed
Copy link
Member

One of the problems here is that Firefox currently has a hard build dependency on nodejs, so distributions will no longer be able to build Firefox. On the other hand, it would be possible to perform the Firefox build steps which require nodejs on an x86_64 machine and then include these build artifacts in the MIPS builds.

I think that would be preferable. Do you have the option to cross-compile?

@nxhack
Copy link

nxhack commented Feb 20, 2019

@refack
I ported v10.x v11.x to openwrt. The build is going well (mips, mipsel).

https://github.com/nxhack/openwrt-node-packages/tree/master/node

@natorion
Copy link
Author

FYI, it currently looks like another company is stepping up to maintain the MIPS(64) port modulo Big Endian. I will keep you posted.

@rwaldron
Copy link

@natorion link or reference? Thanks in advance.

@natorion
Copy link
Author

See the linked thread: https://groups.google.com/forum/#!topic/v8-dev/oXkv5OVCXyc

@axetroy
Copy link

axetroy commented Apr 26, 2021

Currently under active maintenance is loongson CPU. They use mips architecture and the company is well-funded.

A large number of orders have been obtained, and there will be a lot of mips demand in the next few years (in China)

http://www.loongson.cn/product/cpu/

arnout pushed a commit to buildroot/buildroot that referenced this issue Oct 30, 2022
The build of NodeJS fails on mipsel due to an issue in the V8 code:

../../deps/v8/src/compiler/backend/mips/code-generator-mips.cc:4106:48: error: call of overloaded 'Operand(int64_t)' is ambiguous
 4106 |                 Operand(static_cast<int64_t>(0)));

There is apparently a lack of maintenance of the MIPS port of V8, as
is discussed in the Github issue at
nodejs/node#26179.

Until this get improved/fixed, our best option is to drop support for
MIPS in our NodeJS package.

Fixes:

  http://autobuild.buildroot.net/results/0e6ee80c77bcb77afe18410e8d9da93b738cb0a4/

Signed-off-by: Thomas Petazzoni <[email protected]>
arnout pushed a commit to buildroot/buildroot that referenced this issue Nov 9, 2022
The build of NodeJS fails on mipsel due to an issue in the V8 code:

../../deps/v8/src/compiler/backend/mips/code-generator-mips.cc:4106:48: error: call of overloaded 'Operand(int64_t)' is ambiguous
 4106 |                 Operand(static_cast<int64_t>(0)));

There is apparently a lack of maintenance of the MIPS port of V8, as
is discussed in the Github issue at
nodejs/node#26179.

Until this get improved/fixed, our best option is to drop support for
MIPS in our NodeJS package.

Fixes:

  http://autobuild.buildroot.net/results/0e6ee80c77bcb77afe18410e8d9da93b738cb0a4/

Signed-off-by: Thomas Petazzoni <[email protected]>
(cherry picked from commit 69d3116)
Signed-off-by: Peter Korsgaard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. mips Issues and PRs related to the MIPS architecture. v8 engine Issues and PRs related to the V8 dependency.
Projects
None yet
Development

No branches or pull requests

10 participants